From 0bd6e46b2b274be3b9cd9c3759b771abf04a6eb9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 16 Oct 2009 15:50:30 +0000 Subject: prepare the behavior-settings dialog to configure the shown meta data for tooltips svn path=/trunk/KDE/kdebase/apps/; revision=1036100 --- src/settings/behaviorsettingspage.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/settings/behaviorsettingspage.h') diff --git a/src/settings/behaviorsettingspage.h b/src/settings/behaviorsettingspage.h index 292a79576..331e45806 100644 --- a/src/settings/behaviorsettingspage.h +++ b/src/settings/behaviorsettingspage.h @@ -24,6 +24,7 @@ #include class QCheckBox; +class QLabel; class QRadioButton; /** @@ -43,6 +44,19 @@ public: /** @see SettingsPageBase::restoreDefaults() */ virtual void restoreDefaults(); +private slots: + /** + * Updates the visibility state of the configure + * button m_configureToolTips. + */ + void updateConfigureButton(); + + /** + * Opens a dialog which allows the user to specify which + * meta data should be shown in the tooltip. + */ + void configureToolTips(); + private: void loadSettings(); @@ -58,6 +72,7 @@ private: QCheckBox* m_renameInline; QCheckBox* m_showToolTips; + QLabel* m_configureToolTips; QCheckBox* m_showSelectionToggle; QCheckBox* m_naturalSorting; }; -- cgit v1.3.1