Diffstat (limited to 'examples/todayplugin/examplepluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/todayplugin/examplepluginwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/todayplugin/examplepluginwidget.cpp b/examples/todayplugin/examplepluginwidget.cpp index d66a11a..10fd39a 100644 --- a/examples/todayplugin/examplepluginwidget.cpp +++ b/examples/todayplugin/examplepluginwidget.cpp | |||
@@ -7,12 +7,13 @@ | |||
7 | 7 | ||
8 | #include <qpe/config.h> | 8 | #include <qpe/config.h> |
9 | #include <qpe/qcopenvelope_qws.h> | 9 | #include <qpe/qcopenvelope_qws.h> |
10 | 10 | ||
11 | #include "examplepluginwidget.h" | 11 | #include "examplepluginwidget.h" |
12 | 12 | ||
13 | |||
13 | ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name) | 14 | ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name) |
14 | : QWidget(parent, name ) { | 15 | : QWidget(parent, name ) { |
15 | 16 | ||
16 | m_exampleLabel = 0l; | 17 | m_exampleLabel = 0l; |
17 | m_layout = 0l; | 18 | m_layout = 0l; |
18 | 19 | ||
@@ -20,13 +21,13 @@ ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name) | |||
20 | delete m_exampleLabel; | 21 | delete m_exampleLabel; |
21 | } | 22 | } |
22 | 23 | ||
23 | // since here a OClickableLabel is used, the plugin part will be clickable, and the actions | 24 | // since here a OClickableLabel is used, the plugin part will be clickable, and the actions |
24 | // that should be triggered when clicked are defined in slotClicked() | 25 | // that should be triggered when clicked are defined in slotClicked() |
25 | // of course also normal widgets can be used. | 26 | // of course also normal widgets can be used. |
26 | m_exampleLabel = new OClickableLabel( this ); | 27 | m_exampleLabel = new Opie::Ui::OClickableLabel( this ); |
27 | connect( m_exampleLabel, SIGNAL( clicked() ), this, SLOT( slotClicked() ) ); | 28 | connect( m_exampleLabel, SIGNAL( clicked() ), this, SLOT( slotClicked() ) ); |
28 | 29 | ||
29 | if ( m_layout ) { | 30 | if ( m_layout ) { |
30 | delete m_layout; | 31 | delete m_layout; |
31 | } | 32 | } |
32 | m_layout = new QHBoxLayout( this ); | 33 | m_layout = new QHBoxLayout( this ); |