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

umllistviewfinder.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 UMLLISTVIEWFINDER_H
12 #define UMLLISTVIEWFINDER_H
13
14 #include "umlfinder.h"
15
21 class UMLListViewFinder : public UMLFinder
22 {
23 public:
24 UMLListViewFinder();
25 virtual ~UMLListViewFinder();
26 virtual int collect(Category category, const QString &text);
27
28 virtual Result displayNext();
29 virtual Result displayPrevious();
30 protected:
31 bool showItem(Uml::ID::Type id);
32 };
33
34 #endif // UMLLISTVIEWFINDER_H
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
UMLListViewFinder::displayNext
virtual Result displayNext()
Definition: umllistviewfinder.cpp:46
UMLListViewFinder
Definition: umllistviewfinder.h:22
UMLListViewItem::umlObject
UMLObject * umlObject() const
Definition: umllistviewitem.cpp:312
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
umllistviewfinder.h
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UMLFinder::Result
Result
Definition: umlfinder.h:32
UMLFinder::NotFound
@ NotFound
Definition: umlfinder.h:32
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLFinder::End
@ End
Definition: umlfinder.h:32
UMLListViewFinder::UMLListViewFinder
UMLListViewFinder()
Definition: umllistviewfinder.cpp:18
UMLListView::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistview.cpp:1412
UMLFinder::Empty
@ Empty
Definition: umlfinder.h:32
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1074
UMLFinder::includeObject
bool includeObject(Category category, UMLObject *o)
Definition: umlfinder.cpp:23
UMLListViewFinder::displayPrevious
virtual Result displayPrevious()
Definition: umllistviewfinder.cpp:57
UMLListViewFinder::~UMLListViewFinder
virtual ~UMLListViewFinder()
Definition: umllistviewfinder.cpp:23
UMLFinder::Category
Category
Definition: umlfinder.h:30
umlfinder.h
umllistview.h
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLFinder::m_items
QList< Uml::ID::Type > m_items
Definition: umlfinder.h:60
UMLListViewFinder::collect
virtual int collect(Category category, const QString &text)
Definition: umllistviewfinder.cpp:27
uml.h
UMLFinder::m_index
int m_index
Definition: umlfinder.h:59
UMLListViewFinder::showItem
bool showItem(Uml::ID::Type id)
Definition: umllistviewfinder.cpp:74
umlobject.h
UMLFinder::Found
@ Found
Definition: umlfinder.h:32
UMLFinder
Definition: umlfinder.h:28