summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/configwidget.h3
-rw-r--r--core/pim/today/plugins/datebook/datebook.pro2
-rw-r--r--core/pim/today/plugins/todolist/todolist.pro2
-rw-r--r--core/pim/today/today.pro2
-rw-r--r--core/pim/today/todaybase.h17
5 files changed, 14 insertions, 12 deletions
diff --git a/core/pim/today/configwidget.h b/core/pim/today/configwidget.h
index f449db4..f3a83f9 100644
--- a/core/pim/today/configwidget.h
+++ b/core/pim/today/configwidget.h
@@ -4,2 +4,3 @@
+#include <qwidget.h>
@@ -7,3 +8,3 @@
class ConfigWidget : public QWidget {
-
+ Q_OBJECT
public:
diff --git a/core/pim/today/plugins/datebook/datebook.pro b/core/pim/today/plugins/datebook/datebook.pro
index 615059a..7f5dfed 100644
--- a/core/pim/today/plugins/datebook/datebook.pro
+++ b/core/pim/today/plugins/datebook/datebook.pro
@@ -6,3 +6,3 @@ CONFIG += qt debug
HEADERS = datebookplugin.h datebookpluginimpl.h datebookpluginconfig.h \
- datebookevent.h datebookpluginwidget.h
+ datebookevent.h datebookpluginwidget.h ../../configwidget.h
SOURCES = datebookplugin.cpp datebookpluginimpl.cpp datebookpluginconfig.cpp \
diff --git a/core/pim/today/plugins/todolist/todolist.pro b/core/pim/today/plugins/todolist/todolist.pro
index 1f9c61c..8162985 100644
--- a/core/pim/today/plugins/todolist/todolist.pro
+++ b/core/pim/today/plugins/todolist/todolist.pro
@@ -7,3 +7,3 @@ CONFIG += qt debug
HEADERS = todoplugin.h todopluginimpl.h todopluginconfig.h \
- todopluginwidget.h
+ todopluginwidget.h ../../configwidget.h
SOURCES = todoplugin.cpp todopluginimpl.cpp todopluginconfig.cpp \
diff --git a/core/pim/today/today.pro b/core/pim/today/today.pro
index 8596da3..5328d9f 100644
--- a/core/pim/today/today.pro
+++ b/core/pim/today/today.pro
@@ -3,3 +3,3 @@ CONFIG = qt warn_on debug
#CONFIG = qt warn_on release
-HEADERS = today.h todaybase.h todayconfig.h
+HEADERS = today.h todaybase.h todayconfig.h configwidget.h
SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp
diff --git a/core/pim/today/todaybase.h b/core/pim/today/todaybase.h
index 7c50f32..0e53510 100644
--- a/core/pim/today/todaybase.h
+++ b/core/pim/today/todaybase.h
@@ -20,2 +20,3 @@
#include <qlayout.h>
+#include <qguardedptr.h>
#include <opie/oclickablelabel.h>
@@ -38,10 +39,10 @@ public:
- QFrame* Frame4;
- QPushButton* DatesButton;
- QVBoxLayout* layout;
- OClickableLabel* OwnerField;
- QLabel* Frame;
- QLabel* DateLabel;
- QFrame* Frame15;
- OClickableLabel* ConfigButton;
+ QGuardedPtr<QFrame> Frame4;
+ QGuardedPtr<QPushButton> DatesButton;
+ QGuardedPtr<QVBoxLayout> layout;
+ QGuardedPtr<OClickableLabel> OwnerField;
+ QGuardedPtr<QLabel> Frame;
+ QGuardedPtr<QLabel> DateLabel;
+ QGuardedPtr<QFrame> Frame15;
+ QGuardedPtr<OClickableLabel> ConfigButton;