umbrello: umbrello/finder/findresults.h Source File

umbrello 2.32.1 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
FindResults
Definition: findresults.h:30
FindResults::m_sceneFinder
QList< UMLSceneFinder > m_sceneFinder
Definition: findresults.h:45
FindResults::displayPrevious
bool displayPrevious()
Definition: findresults.cpp:98
FindResults::displayNext
bool displayNext()
Definition: findresults.cpp:71
FindResults::clear
void clear()
Definition: findresults.cpp:58
FindResults::m_listViewFinder
QList< UMLListViewFinder > m_listViewFinder
Definition: findresults.h:47
FindResults::FindResults
FindResults()
Definition: findresults.cpp:20
FindResults::~FindResults
virtual ~FindResults()
Definition: findresults.cpp:24
FindResults::m_docFinder
QList< UMLDocFinder > m_docFinder
Definition: findresults.h:46
FindResults::collect
int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString &text)
Definition: findresults.cpp:36
UMLDocFinder
Definition: umldocfinder.h:27
UMLFinder::Category
Category
Definition: umlfinder.h:30
UMLFinder::Filter
Filter
Definition: umlfinder.h:31
UMLListViewFinder
Definition: umllistviewfinder.h:22
UMLSceneFinder
Definition: umlscenefinder.h:24
umlfinder.h