kleopatra
keylistcontroller.h
Go to the documentation of this file.
83 this->registerAction( action, T_Command::restrictions(), &KeyListController::template create<T_Command> );
92 void registerAction( QAction * action, Command::Restrictions restrictions , Command * (*create)( QAbstractItemView*, KeyListController* ) );
95 static Command * create( QAbstractItemView * v, KeyListController * c ) { return new T_Command( v, c ); }
void contextMenuRequested(QAbstractItemView *view, const QPoint &p)
void removeView(QAbstractItemView *view)
Definition: keylistcontroller.cpp:227
~KeyListController()
Definition: keylistcontroller.cpp:200
bool shutdownWarningRequired() const
Definition: keylistcontroller.cpp:474
TabWidget * tabWidget() const
Definition: keylistcontroller.cpp:326
void addView(QAbstractItemView *view)
Definition: keylistcontroller.cpp:221
Definition: tabwidget.h:58
void setCurrentView(QAbstractItemView *view)
Definition: keylistcontroller.cpp:233
Definition: keylistcontroller.h:55
void setFlatModel(AbstractKeyListModel *model)
Definition: keylistcontroller.cpp:241
void setTabWidget(TabWidget *tabs)
Definition: keylistcontroller.cpp:267
void setHierarchicalModel(AbstractKeyListModel *model)
Definition: keylistcontroller.cpp:254
KeyListController(QObject *parent=0)
Definition: keylistcontroller.cpp:194
void message(const QString &msg, int timeout=0)
void registerCommand(Command *cmd)
Definition: keylistcontroller.cpp:461
void registerActionForCommand(QAction *action)
Definition: keylistcontroller.h:82
Definition: keylistmodel.h:49
QWidget * parentWidget() const
Definition: keylistcontroller.cpp:284
AbstractKeyListModel * flatModel() const
Definition: keylistcontroller.cpp:314
void setParentWidget(QWidget *parent)
Definition: keylistcontroller.cpp:280
void commandsExecuting(bool)
void progress(int current, int total)
void createActions(KActionCollection *collection)
Definition: keylistcontroller.cpp:330
QObject * parent() const
QAbstractItemView * currentView() const
Definition: keylistcontroller.cpp:322
void enableDisableActions(const QItemSelectionModel *sm) const
Definition: keylistcontroller.cpp:560
Definition: commands/command.h:58
std::vector< QAbstractItemView * > views() const
Definition: keylistcontroller.cpp:237
bool hasRunningCommands() const
Definition: keylistcontroller.cpp:470
AbstractKeyListModel * hierarchicalModel() const
Definition: keylistcontroller.cpp:318
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.