umbrello: umbrello/finder/umlscenefinder.h Source File

umbrello 2.32.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlscenefinder.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 UMLSCENEFINDER_H
12 #define UMLSCENEFINDER_H
13
14 #include "umlfinder.h"
15
16 class UMLView;
17
23 class UMLSceneFinder : public UMLFinder
24 {
25 public:
26 explicit UMLSceneFinder(UMLView *view);
27 virtual ~UMLSceneFinder();
28 virtual int collect(Category category, const QString &text);
29
30 virtual Result displayNext();
31 virtual Result displayPrevious();
32
33 protected:
34 Uml::ID::Type m_id;
35 bool showItem(Uml::ID::Type id);
36 };
37
38 #endif // UMLSCENEFINDER_H
UMLFinder
Definition: umlfinder.h:28
UMLFinder::Result
Result
Definition: umlfinder.h:32
UMLFinder::Category
Category
Definition: umlfinder.h:30
UMLSceneFinder
Definition: umlscenefinder.h:24
UMLSceneFinder::displayPrevious
virtual Result displayPrevious()
Definition: umlscenefinder.cpp:70
UMLSceneFinder::displayNext
virtual Result displayNext()
Definition: umlscenefinder.cpp:59
UMLSceneFinder::UMLSceneFinder
UMLSceneFinder(UMLView *view)
Definition: umlscenefinder.cpp:21
UMLSceneFinder::collect
virtual int collect(Category category, const QString &text)
Definition: umlscenefinder.cpp:31
UMLSceneFinder::showItem
bool showItem(Uml::ID::Type id)
Definition: umlscenefinder.cpp:88
UMLSceneFinder::~UMLSceneFinder
virtual ~UMLSceneFinder()
Definition: umlscenefinder.cpp:27
UMLSceneFinder::m_id
Uml::ID::Type m_id
id of scene
Definition: umlscenefinder.h:34
UMLView
Definition: umlview.h:35
Uml::ID::Type
std::string Type
Definition: basictypes.h:385
umlfinder.h