ktimetracker
treeviewheadercontextmenu.cpp
Go to the documentation of this file.
33 TreeViewHeaderContextMenu::TreeViewHeaderContextMenu( QObject *parent, QTreeView *widget, int style, QVector<int> excludedColumns )
44 connect( mWidget->header(), SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(slotCustomContextMenuRequested(QPoint)) );
141 action->setText( (mWidget->isColumnHidden(column) ? i18n("Show") : i18n("Hide")) + ' ' + text );
QVector< int > mExcludedColumns
Definition: treeviewheadercontextmenu.h:76
void slotAboutToShow()
Definition: treeviewheadercontextmenu.cpp:112
void updateActions()
Definition: treeviewheadercontextmenu.cpp:70
void columnToggled(int)
TreeViewHeaderContextMenu(QObject *parent, QTreeView *widget, int style=AlwaysCheckBox, QVector< int > excludedColumns=QVector< int >())
Definition: treeviewheadercontextmenu.cpp:33
KMenu * mContextMenu
Definition: treeviewheadercontextmenu.h:73
QVector< QAction * > mActions
Definition: treeviewheadercontextmenu.h:72
~TreeViewHeaderContextMenu()
Definition: treeviewheadercontextmenu.cpp:55
QHash< QAction *, int > mActionColumnMapping
Definition: treeviewheadercontextmenu.h:75
void slotTriggered(QAction *)
Definition: treeviewheadercontextmenu.cpp:99
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.