author | zecke <zecke> | 2004-03-14 20:08:59 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:08:59 (UTC) |
commit | 0d79c003839718ae70b3b997162044abd5c26bf6 (patch) (unidiff) | |
tree | 19708b041da3a09df8f3b571cd634a846f4ad6d7 /examples/todayplugin | |
parent | 05c8d999941989a97a581fb5822437034ec10fd7 (diff) | |
download | opie-0d79c003839718ae70b3b997162044abd5c26bf6.zip opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.gz opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.bz2 |
Update the Examples
-rw-r--r-- | examples/todayplugin/config.in | 2 | ||||
-rw-r--r-- | examples/todayplugin/example.pro | 2 | ||||
-rw-r--r-- | examples/todayplugin/exampleplugin.h | 4 | ||||
-rw-r--r-- | examples/todayplugin/examplepluginimpl.h | 2 | ||||
-rw-r--r-- | examples/todayplugin/examplepluginwidget.cpp | 3 | ||||
-rw-r--r-- | examples/todayplugin/examplepluginwidget.h | 4 |
6 files changed, 9 insertions, 8 deletions
diff --git a/examples/todayplugin/config.in b/examples/todayplugin/config.in index 53004cb..0a6a573 100644 --- a/examples/todayplugin/config.in +++ b/examples/todayplugin/config.in | |||
@@ -2,4 +2,4 @@ | |||
2 | boolean "Opie-Today Plugin Example" | 2 | boolean "Opie-Today Plugin Example" |
3 | default "n" | 3 | default "n" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && EXAMPLES && LIBOPIE | 4 | depends ( LIBQPE || LIBQPE-X11 ) && EXAMPLES && LIBOPIEUI2 |
5 | 5 | ||
diff --git a/examples/todayplugin/example.pro b/examples/todayplugin/example.pro index 4c8c942..f4bca36 100644 --- a/examples/todayplugin/example.pro +++ b/examples/todayplugin/example.pro | |||
@@ -10,5 +10,5 @@ INCLUDEPATH += $(OPIEDIR)/include | |||
10 | DEPENDPATH += $(OPIEDIR)/include | 10 | DEPENDPATH += $(OPIEDIR)/include |
11 | 11 | ||
12 | LIBS+= -lqpe -lopie | 12 | LIBS+= -lqpe -lopieui2 |
13 | 13 | ||
14 | DESTDIR = $(OPIEDIR)/plugins/today | 14 | DESTDIR = $(OPIEDIR)/plugins/today |
diff --git a/examples/todayplugin/exampleplugin.h b/examples/todayplugin/exampleplugin.h index a1df923..94f5b37 100644 --- a/examples/todayplugin/exampleplugin.h +++ b/examples/todayplugin/exampleplugin.h | |||
@@ -13,6 +13,6 @@ | |||
13 | #include <qguardedptr.h> | 13 | #include <qguardedptr.h> |
14 | 14 | ||
15 | #include <opie/todayplugininterface.h> | 15 | #include <opie2/todayplugininterface.h> |
16 | #include <opie/todayconfigwidget.h> | 16 | #include <opie2/todayconfigwidget.h> |
17 | 17 | ||
18 | #include "examplepluginwidget.h" | 18 | #include "examplepluginwidget.h" |
diff --git a/examples/todayplugin/examplepluginimpl.h b/examples/todayplugin/examplepluginimpl.h index 77ec4f6..31f8907 100644 --- a/examples/todayplugin/examplepluginimpl.h +++ b/examples/todayplugin/examplepluginimpl.h | |||
@@ -9,5 +9,5 @@ | |||
9 | #define EXAMPLE_PLUGIN_IMPL_H | 9 | #define EXAMPLE_PLUGIN_IMPL_H |
10 | 10 | ||
11 | #include <opie/todayplugininterface.h> | 11 | #include <opie2/todayplugininterface.h> |
12 | 12 | ||
13 | class ExamplePlugin; | 13 | class ExamplePlugin; |
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 | |||
@@ -11,4 +11,5 @@ | |||
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 ) { |
@@ -24,5 +25,5 @@ ExamplePluginWidget::ExamplePluginWidget( QWidget *parent, const char* name) | |||
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 | ||
diff --git a/examples/todayplugin/examplepluginwidget.h b/examples/todayplugin/examplepluginwidget.h index eb3c660..70e717e 100644 --- a/examples/todayplugin/examplepluginwidget.h +++ b/examples/todayplugin/examplepluginwidget.h | |||
@@ -11,5 +11,5 @@ | |||
11 | #include <qlayout.h> | 11 | #include <qlayout.h> |
12 | 12 | ||
13 | #include <opie/oclickablelabel.h> | 13 | #include <opie2/oclickablelabel.h> |
14 | 14 | ||
15 | class ExamplePluginWidget : public QWidget { | 15 | class ExamplePluginWidget : public QWidget { |
@@ -27,5 +27,5 @@ private slots: | |||
27 | 27 | ||
28 | private: | 28 | private: |
29 | OClickableLabel* m_exampleLabel; | 29 | Opie::Ui::OClickableLabel* m_exampleLabel; |
30 | QHBoxLayout* m_layout; | 30 | QHBoxLayout* m_layout; |
31 | void readConfig(); | 31 | void readConfig(); |