umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
findresults.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2014-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef FINDRESULTS_H
12 #define FINDRESULTS_H
13 
14 #include "umlfinder.h"
15 
16 #include <QList>
17 #include <QObject>
18 
19 class UMLDocFinder;
20 class UMLListViewFinder;
21 class UMLSceneFinder;
22 class QString;
23 
29 class FindResults : QObject
30 {
31  Q_OBJECT
32 public:
33 
34  FindResults();
35  virtual ~FindResults ();
36 
37  void clear();
38  int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString & text);
39 
40 public slots:
41  bool displayNext();
42  bool displayPrevious();
43 
44 protected:
45  QList<UMLSceneFinder> m_sceneFinder;
46  QList<UMLDocFinder> m_docFinder;
47  QList<UMLListViewFinder> m_listViewFinder;
48 };
49 
50 #endif // FINDRESULTS_H
Definition: findresults.h:30
QList< UMLSceneFinder > m_sceneFinder
Definition: findresults.h:45
bool displayPrevious()
Definition: findresults.cpp:98
bool displayNext()
Definition: findresults.cpp:71
void clear()
Definition: findresults.cpp:58
QList< UMLListViewFinder > m_listViewFinder
Definition: findresults.h:47
FindResults()
Definition: findresults.cpp:20
virtual ~FindResults()
Definition: findresults.cpp:24
QList< UMLDocFinder > m_docFinder
Definition: findresults.h:46
int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString &text)
Definition: findresults.cpp:36
Definition: umldocfinder.h:27
Category
Definition: umlfinder.h:30
Filter
Definition: umlfinder.h:31
Definition: umllistviewfinder.h:22
Definition: umlscenefinder.h:24