summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-11 21:56:44 (UTC)
committer zecke <zecke>2004-05-11 21:56:44 (UTC)
commite58a9f83f1bd385aad687daa166077602e921494 (patch) (unidiff)
tree23e52d2670f39747bda9dd871588f0cd098dc841
parentee881675ee5f0df15cc19e7ab2d18ee9f13bf438 (diff)
downloadopie-e58a9f83f1bd385aad687daa166077602e921494.zip
opie-e58a9f83f1bd385aad687daa166077602e921494.tar.gz
opie-e58a9f83f1bd385aad687daa166077602e921494.tar.bz2
Comment on virtual method and maybe the lack of them
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/okeyconfigwidget.h10
-rw-r--r--libopie2/opieui/otaskbarapplet.h1
2 files changed, 8 insertions, 3 deletions
diff --git a/libopie2/opieui/okeyconfigwidget.h b/libopie2/opieui/okeyconfigwidget.h
index d11054c..3d2260c 100644
--- a/libopie2/opieui/okeyconfigwidget.h
+++ b/libopie2/opieui/okeyconfigwidget.h
@@ -37,5 +37,9 @@ namespace Internal {
37 * all changes are immediately getting into effect or in a queue 37 * all changes are immediately getting into effect or in a queue
38 * were you ask for saving. Save won't write the data but only set 38 * were you ask for saving. Save won't write the data but only set
39 * it to the OKeyConfigManager 39 * it to the OKeyConfigManager.
40 *
41 * Normally subclassing this widget does not make much sense as the widget content
42 * as such is immutable. If I'm wrong I'm willing to learn and you could mail me which
43 * functions do make sense with virtual on it (zecke@handhelds.org).
40 * 44 *
41 * @since 1.2 45 * @since 1.2
@@ -51,5 +55,5 @@ public:
51 enum ChangeMode { Imediate, Queue }; 55 enum ChangeMode { Imediate, Queue };
52 OKeyConfigWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 56 OKeyConfigWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
53 ~OKeyConfigWidget(); 57 virtual ~OKeyConfigWidget();
54 58
55 void setChangeMode( enum ChangeMode ); 59 void setChangeMode( enum ChangeMode );
@@ -61,5 +65,5 @@ public:
61 void save(); 65 void save();
62 66
63private slots: 67protected slots:
64 void slotListViewItem( QListViewItem* ); 68 void slotListViewItem( QListViewItem* );
65 void slotNoKey(); 69 void slotNoKey();
diff --git a/libopie2/opieui/otaskbarapplet.h b/libopie2/opieui/otaskbarapplet.h
index ec7b9c4..77cc461 100644
--- a/libopie2/opieui/otaskbarapplet.h
+++ b/libopie2/opieui/otaskbarapplet.h
@@ -112,4 +112,5 @@ class OTaskbarApplet : public QWidget
112 virtual ~OTaskbarApplet(); 112 virtual ~OTaskbarApplet();
113 113
114
114 protected: 115 protected:
115 virtual void popup( QWidget* widget ); 116 virtual void popup( QWidget* widget );