umbrello  2.39.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  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef FINDRESULTS_H
7 #define FINDRESULTS_H
8 
9 #include "umlfinder.h"
10 
11 #include <QList>
12 #include <QObject>
13 
14 class UMLDocFinder;
15 class UMLListViewFinder;
16 class UMLSceneFinder;
17 class QString;
18 
24 class FindResults : QObject
25 {
26  Q_OBJECT
27 public:
28 
29  FindResults();
30  virtual ~FindResults ();
31 
32  void clear();
33  int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString & text);
34 
35 public slots:
36  bool displayNext();
37  bool displayPrevious();
38 
39 protected:
40  QList<UMLSceneFinder> m_sceneFinder;
41  QList<UMLDocFinder> m_docFinder;
42  QList<UMLListViewFinder> m_listViewFinder;
43 };
44 
45 #endif // FINDRESULTS_H
Definition: findresults.h:25
QList< UMLSceneFinder > m_sceneFinder
Definition: findresults.h:40
bool displayPrevious()
Definition: findresults.cpp:93
bool displayNext()
Definition: findresults.cpp:66
void clear()
Definition: findresults.cpp:53
QList< UMLListViewFinder > m_listViewFinder
Definition: findresults.h:42
FindResults()
Definition: findresults.cpp:15
virtual ~FindResults()
Definition: findresults.cpp:19
QList< UMLDocFinder > m_docFinder
Definition: findresults.h:41
int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString &text)
Definition: findresults.cpp:31
Definition: umldocfinder.h:22
Category
Definition: umlfinder.h:25
Filter
Definition: umlfinder.h:26
Definition: umllistviewfinder.h:17
Definition: umlscenefinder.h:19