summaryrefslogtreecommitdiff
path: root/examples/todayplugin/examplepluginwidget.cpp
authorzecke <zecke>2004-03-14 20:08:59 (UTC)
committer zecke <zecke>2004-03-14 20:08:59 (UTC)
commit0d79c003839718ae70b3b997162044abd5c26bf6 (patch) (side-by-side diff)
tree19708b041da3a09df8f3b571cd634a846f4ad6d7 /examples/todayplugin/examplepluginwidget.cpp
parent05c8d999941989a97a581fb5822437034ec10fd7 (diff)
downloadopie-0d79c003839718ae70b3b997162044abd5c26bf6.zip
opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.gz
opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.bz2
Update the Examples
Diffstat (limited to 'examples/todayplugin/examplepluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--examples/todayplugin/examplepluginwidget.cpp3
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 @@
#include <qpe/config.h>
#include <qpe/qcopenvelope_qws.h>
#include "examplepluginwidget.h"
+
ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name)
: QWidget(parent, name ) {
m_exampleLabel = 0l;
m_layout = 0l;
@@ -20,13 +21,13 @@ ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name)
delete m_exampleLabel;
}
// since here a OClickableLabel is used, the plugin part will be clickable, and the actions
// that should be triggered when clicked are defined in slotClicked()
// of course also normal widgets can be used.
- m_exampleLabel = new OClickableLabel( this );
+ m_exampleLabel = new Opie::Ui::OClickableLabel( this );
connect( m_exampleLabel, SIGNAL( clicked() ), this, SLOT( slotClicked() ) );
if ( m_layout ) {
delete m_layout;
}
m_layout = new QHBoxLayout( this );