umbrello 2.32.3 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
UMLSceneFinder
Definition: umlscenefinder.h:24
umldocfinder.h
umlscenefinder.h
UMLListViewFinder
Definition: umllistviewfinder.h:22
umlview.h
findresults.h
umllistviewfinder.h
FindResults::clear
void clear()
Definition: findresults.cpp:58
FindResults::m_listViewFinder
QList< UMLListViewFinder > m_listViewFinder
Definition: findresults.h:47
FindResults::displayPrevious
bool displayPrevious()
Definition: findresults.cpp:98
FindResults::m_docFinder
QList< UMLDocFinder > m_docFinder
Definition: findresults.h:46
UMLFinder::Result
Result
Definition: umlfinder.h:32
UMLFinder::NotFound
@ NotFound
Definition: umlfinder.h:32
UMLFinder::End
@ End
Definition: umlfinder.h:32
FindResults
Definition: findresults.h:30
UMLFinder::Empty
@ Empty
Definition: umlfinder.h:32
UMLFinder::displayNext
virtual Result displayNext()=0
FindResults::collect
int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString &text)
Definition: findresults.cpp:36
FindResults::displayNext
bool displayNext()
Definition: findresults.cpp:71
UMLFinder::displayPrevious
virtual Result displayPrevious()=0
UMLDocFinder
Definition: umldocfinder.h:27
FindResults::FindResults
FindResults()
Definition: findresults.cpp:20
UMLFinder::TreeView
@ TreeView
Definition: umlfinder.h:31
UMLFinder::Category
Category
Definition: umlfinder.h:30
umlfinder.h
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
FindResults::m_sceneFinder
QList< UMLSceneFinder > m_sceneFinder
Definition: findresults.h:45
uml.h
UMLFinder::CurrentDiagram
@ CurrentDiagram
Definition: umlfinder.h:31
UMLFinder::Filter
Filter
Definition: umlfinder.h:31
UMLFinder::Found
@ Found
Definition: umlfinder.h:32
FindResults::~FindResults
virtual ~FindResults()
Definition: findresults.cpp:24
UMLFinder::AllDiagrams
@ AllDiagrams
Definition: umlfinder.h:31
UMLFinder
Definition: umlfinder.h:28