┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/behaviorsettingspage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-10-16 15:50:30 +0000
committerPeter Penz <[email protected]>2009-10-16 15:50:30 +0000
commit0bd6e46b2b274be3b9cd9c3759b771abf04a6eb9 (patch)
tree64ae04d10f49d3420b51bb3fc56438f18d315f42 /src/settings/behaviorsettingspage.h
parenta6355d1ca42ae6ff57da81dbc1a3b097fbc333ca (diff)
prepare the behavior-settings dialog to configure the shown meta data for tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=1036100
Diffstat (limited to 'src/settings/behaviorsettingspage.h')
-rw-r--r--src/settings/behaviorsettingspage.h15
1 files changed, 15 insertions, 0 deletions
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 <kurl.h>
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;
};