summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/mediummount/mainwindow.cc4
-rw-r--r--noncore/settings/mediummount/mainwindow.h2
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc5
3 files changed, 7 insertions, 4 deletions
diff --git a/noncore/settings/mediummount/mainwindow.cc b/noncore/settings/mediummount/mainwindow.cc
index 88f7c61..cf8ad6c 100644
--- a/noncore/settings/mediummount/mainwindow.cc
+++ b/noncore/settings/mediummount/mainwindow.cc
@@ -13,8 +13,8 @@
using namespace MediumMountSetting;
-MainWindow::MainWindow( QWidget *parent, const char *name )
- : QMainWindow( parent, name )
+MainWindow::MainWindow( QWidget *parent, const char *name, WFlags )
+ : QMainWindow( parent, name, WStyle_ContextHelp )
{
// m_lay = new QVBoxLayout( this );
diff --git a/noncore/settings/mediummount/mainwindow.h b/noncore/settings/mediummount/mainwindow.h
index 1e60e12..ce54674 100644
--- a/noncore/settings/mediummount/mainwindow.h
+++ b/noncore/settings/mediummount/mainwindow.h
@@ -15,7 +15,7 @@ namespace MediumMountSetting {
class MainWindow : public QMainWindow {
Q_OBJECT
public:
- MainWindow(QWidget *parent = 0, const char *name = 0 );
+ MainWindow(QWidget *parent = 0, const char *name = 0 , WFlags = 0);
~MainWindow();
private slots:
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index 921fcd1..c1ad415 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -7,6 +7,7 @@
#include <qlayout.h>
#include <qframe.h>
#include <qgroupbox.h>
+#include <qwhatsthis.h>
#include <qpe/config.h>
@@ -31,13 +32,15 @@ void MediumGlobalWidget::initGUI()
m_label = new QLabel( this );
m_label->setTextFormat( Qt::RichText );
- m_label->setText( tr("If a medium gets inserted into this device Opie "
+ m_label->setText( tr("") );
+ QWhatsThis::add( this, ("If a medium gets inserted into this device Opie "
"tries to search the medium for Dcouments. On "
"large mediums this can take some time. You can choose "
"if Opie should scan for Documents globally or on a "
"per medium level. You're also able to reconfigure "
"each medium."
) );
+
m_layout->addWidget( m_label );
m_check = new QCheckBox( tr("Enable medium checking" ), this );