kleopatra
#include <keylistcontroller.h>
Inherits QObject.
Public Slots | |
| void | addView (QAbstractItemView *view) |
| void | cancelCommands () |
| void | removeView (QAbstractItemView *view) |
| void | setCurrentView (QAbstractItemView *view) |
| void | updateConfig () |
Signals | |
| void | commandsExecuting (bool) |
| void | contextMenuRequested (QAbstractItemView *view, const QPoint &p) |
| void | message (const QString &msg, int timeout=0) |
| void | progress (int current, int total) |
Public Member Functions | |
| KeyListController (QObject *parent=0) | |
| ~KeyListController () | |
| void | createActions (KActionCollection *collection) |
| QAbstractItemView * | currentView () const |
| void | enableDisableActions (const QItemSelectionModel *sm) const |
| AbstractKeyListModel * | flatModel () const |
| bool | hasRunningCommands () const |
| AbstractKeyListModel * | hierarchicalModel () const |
| QWidget * | parentWidget () const |
| template<typename T_Command > | |
| void | registerActionForCommand (QAction *action) |
| void | registerCommand (Command *cmd) |
| void | setFlatModel (AbstractKeyListModel *model) |
| void | setHierarchicalModel (AbstractKeyListModel *model) |
| void | setParentWidget (QWidget *parent) |
| void | setTabWidget (TabWidget *tabs) |
| bool | shutdownWarningRequired () const |
| TabWidget * | tabWidget () const |
| std::vector< QAbstractItemView * > | views () const |
Detailed Description
Definition at line 55 of file keylistcontroller.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 194 of file keylistcontroller.cpp.
| KeyListController::~KeyListController | ( | ) |
Definition at line 200 of file keylistcontroller.cpp.
Member Function Documentation
|
slot |
Definition at line 221 of file keylistcontroller.cpp.
|
slot |
Definition at line 481 of file keylistcontroller.cpp.
|
signal |
|
signal |
| void KeyListController::createActions | ( | KActionCollection * | collection | ) |
Definition at line 330 of file keylistcontroller.cpp.
| QAbstractItemView * KeyListController::currentView | ( | ) | const |
Definition at line 322 of file keylistcontroller.cpp.
| void KeyListController::enableDisableActions | ( | const QItemSelectionModel * | sm | ) | const |
Definition at line 562 of file keylistcontroller.cpp.
| AbstractKeyListModel * KeyListController::flatModel | ( | ) | const |
Definition at line 314 of file keylistcontroller.cpp.
| bool KeyListController::hasRunningCommands | ( | ) | const |
Definition at line 472 of file keylistcontroller.cpp.
| AbstractKeyListModel * KeyListController::hierarchicalModel | ( | ) | const |
Definition at line 318 of file keylistcontroller.cpp.
|
signal |
| QWidget * KeyListController::parentWidget | ( | ) | const |
Definition at line 284 of file keylistcontroller.cpp.
|
signal |
|
inline |
Definition at line 82 of file keylistcontroller.h.
| void KeyListController::registerCommand | ( | Command * | cmd | ) |
Definition at line 463 of file keylistcontroller.cpp.
|
slot |
Definition at line 227 of file keylistcontroller.cpp.
|
slot |
Definition at line 233 of file keylistcontroller.cpp.
| void KeyListController::setFlatModel | ( | AbstractKeyListModel * | model | ) |
Definition at line 241 of file keylistcontroller.cpp.
| void KeyListController::setHierarchicalModel | ( | AbstractKeyListModel * | model | ) |
Definition at line 254 of file keylistcontroller.cpp.
| void KeyListController::setParentWidget | ( | QWidget * | parent | ) |
Definition at line 280 of file keylistcontroller.cpp.
| void KeyListController::setTabWidget | ( | TabWidget * | tabs | ) |
Definition at line 267 of file keylistcontroller.cpp.
| bool KeyListController::shutdownWarningRequired | ( | ) | const |
Definition at line 476 of file keylistcontroller.cpp.
| TabWidget * KeyListController::tabWidget | ( | ) | const |
Definition at line 326 of file keylistcontroller.cpp.
|
slot |
Definition at line 679 of file keylistcontroller.cpp.
| std::vector< QAbstractItemView * > KeyListController::views | ( | ) | const |
Definition at line 237 of file keylistcontroller.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference