-rw-r--r-- | core/pim/today/todaybase.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 352c9c1..12e8411 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -23,2 +23,3 @@ #include <qapplication.h> +#include <qwhatsthis.h> @@ -27,4 +28,4 @@ -TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) { +TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) + : QWidget( parent, name, WStyle_ContextHelp ) { @@ -82,2 +83,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 ); + QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); @@ -94,2 +96,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) ConfigButton->setPixmap( config ); + QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) ); ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); |