summaryrefslogtreecommitdiff
authorzecke <zecke>2003-05-07 14:45:49 (UTC)
committer zecke <zecke>2003-05-07 14:45:49 (UTC)
commit9602e59e3baf01465f4b4139715f2196bb01e012 (patch) (unidiff)
tree2d7f0dbf91e88de3981fcc82d49ba8ddc05cfbd5
parentda949558a957ec4817bf610d7c9186585c0d2d92 (diff)
downloadopie-9602e59e3baf01465f4b4139715f2196bb01e012.zip
opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.gz
opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.bz2
Add d ptr
add comments and FIXMEs three new signals for otodoaccess
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/colordialog.h1
-rw-r--r--libopie/colorpopupmenu.h1
-rw-r--r--libopie/oclickablelabel.h6
-rw-r--r--libopie/ocolorbutton.h1
-rw-r--r--libopie/odevicebutton.h4
-rw-r--r--libopie/oprocess.h6
-rw-r--r--libopie/orecurrancewidget.h3
-rw-r--r--libopie/otabbar.h4
-rw-r--r--libopie/otabinfo.h2
-rw-r--r--libopie/otabwidget.h2
-rw-r--r--libopie/oticker.h1
-rw-r--r--libopie/otimepicker.h2
-rw-r--r--libopie/owait.h3
-rw-r--r--libopie/pim/otodoaccess.h5
-rw-r--r--libopie/xmltree.h2
-rw-r--r--libopie2/opiecore/xmltree.h2
-rw-r--r--libopie2/opiepim/core/otodoaccess.h5
17 files changed, 41 insertions, 9 deletions
diff --git a/libopie/colordialog.h b/libopie/colordialog.h
index 1a6a3fd..c825a83 100644
--- a/libopie/colordialog.h
+++ b/libopie/colordialog.h
@@ -68,6 +68,7 @@ public:
68private: 68private:
69 ~OColorDialog(); 69 ~OColorDialog();
70 70
71 // FIXME add WFlags? -zecke
71 OColorDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE ); 72 OColorDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE );
72 void setColor( const QColor& ); 73 void setColor( const QColor& );
73 QColor color() const; 74 QColor color() const;
diff --git a/libopie/colorpopupmenu.h b/libopie/colorpopupmenu.h
index 3e90c5e..98d67cc 100644
--- a/libopie/colorpopupmenu.h
+++ b/libopie/colorpopupmenu.h
@@ -178,6 +178,7 @@ public:
178 * 178 *
179 * Constructs a new OColorPopupMenu control with parent, name and initial color selected. 179 * Constructs a new OColorPopupMenu control with parent, name and initial color selected.
180 */ 180 */
181 // FIXME add Wflags? -zecke
181 OColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 ); 182 OColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 );
182 183
183/** 184/**
diff --git a/libopie/oclickablelabel.h b/libopie/oclickablelabel.h
index 6e7a123..f93ade0 100644
--- a/libopie/oclickablelabel.h
+++ b/libopie/oclickablelabel.h
@@ -49,7 +49,7 @@ public:
49 49
50 /** 50 /**
51 * emitted when the labels gets toggled 51 * emitted when the labels gets toggled
52 * @param the new new state of the label 52 * @param on the new new state of the label
53 */ 53 */
54 void toggled(bool on); 54 void toggled(bool on);
55 private: 55 private:
@@ -59,6 +59,10 @@ public:
59 59
60 void showState(bool on); 60 void showState(bool on);
61 void setInverted(bool on); 61 void setInverted(bool on);
62
63 private:
64 class Private;
65 Private *d; // private d pointer
62}; 66};
63 67
64#endif 68#endif
diff --git a/libopie/ocolorbutton.h b/libopie/ocolorbutton.h
index 7ff9cd2..6196c83 100644
--- a/libopie/ocolorbutton.h
+++ b/libopie/ocolorbutton.h
@@ -44,6 +44,7 @@ class QColor;
44class OColorButton : public QPushButton { 44class OColorButton : public QPushButton {
45 Q_OBJECT 45 Q_OBJECT
46public: 46public:
47 // FIXME Wflags? -zecke
47 OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 ); 48 OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 );
48 virtual ~OColorButton ( ); 49 virtual ~OColorButton ( );
49 50
diff --git a/libopie/odevicebutton.h b/libopie/odevicebutton.h
index cf91bbd..abe27d6 100644
--- a/libopie/odevicebutton.h
+++ b/libopie/odevicebutton.h
@@ -50,6 +50,8 @@ private:
50 void init ( const QCString &m_channel, const QCString &message, const QByteArray &args ); 50 void init ( const QCString &m_channel, const QCString &message, const QByteArray &args );
51 51
52 OQCopMessageData *d; 52 OQCopMessageData *d;
53 class Private;
54 Private* data;
53}; 55};
54 56
55 57
@@ -94,6 +96,8 @@ private:
94 OQCopMessage m_PressedAction; 96 OQCopMessage m_PressedAction;
95 OQCopMessage m_FactoryPresetHeldAction; 97 OQCopMessage m_FactoryPresetHeldAction;
96 OQCopMessage m_HeldAction; 98 OQCopMessage m_HeldAction;
99 class Private;
100 Private *d;
97}; 101};
98 102
99} 103}
diff --git a/libopie/oprocess.h b/libopie/oprocess.h
index f2853b0..af7cddb 100644
--- a/libopie/oprocess.h
+++ b/libopie/oprocess.h
@@ -306,12 +306,6 @@ public:
306 pid_t pid() const; 306 pid_t pid() const;
307 307
308 /** 308 /**
309 * Use pid().
310 * @deprecated
311 */
312 pid_t getPid() const { return pid(); }
313
314 /**
315 * Suspend processing of data from stdout of the child process. 309 * Suspend processing of data from stdout of the child process.
316 */ 310 */
317 void suspend(); 311 void suspend();
diff --git a/libopie/orecurrancewidget.h b/libopie/orecurrancewidget.h
index a5d6489..37a57f0 100644
--- a/libopie/orecurrancewidget.h
+++ b/libopie/orecurrancewidget.h
@@ -84,6 +84,9 @@ private:
84 repeatButtons currInterval; 84 repeatButtons currInterval;
85 bool startWeekOnMonday : 1; 85 bool startWeekOnMonday : 1;
86 DateBookMonth *repeatPicker; 86 DateBookMonth *repeatPicker;
87
88 class Private;
89 Private *d;
87 90
88}; 91};
89 92
diff --git a/libopie/otabbar.h b/libopie/otabbar.h
index 0b353e2..668187b 100644
--- a/libopie/otabbar.h
+++ b/libopie/otabbar.h
@@ -71,6 +71,10 @@ protected:
71 * @param has_focus Boolean value not used, retained for compatibility reasons. 71 * @param has_focus Boolean value not used, retained for compatibility reasons.
72 */ 72 */
73 void paintLabel( QPainter *, const QRect &, QTab *, bool ) const; 73 void paintLabel( QPainter *, const QRect &, QTab *, bool ) const;
74
75private:
76 class Private;
77 Private *d;
74}; 78};
75 79
76#endif 80#endif
diff --git a/libopie/otabinfo.h b/libopie/otabinfo.h
index eebaf8e..00bb06d 100644
--- a/libopie/otabinfo.h
+++ b/libopie/otabinfo.h
@@ -121,6 +121,8 @@ private:
121 QWidget *c; 121 QWidget *c;
122 QString p; 122 QString p;
123 QString l; 123 QString l;
124 class Private;
125 Private *d;
124}; 126};
125 127
126/** 128/**
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h
index a67fe06..c140c0b 100644
--- a/libopie/otabwidget.h
+++ b/libopie/otabwidget.h
@@ -221,6 +221,8 @@ private:
221 QComboBox *tabList; 221 QComboBox *tabList;
222 222
223 QWidgetStack *widgetStack; 223 QWidgetStack *widgetStack;
224 class Private;
225 Private* d;
224 226
225/** 227/**
226 * @fn loadSmooth( const QString &name ) 228 * @fn loadSmooth( const QString &name )
diff --git a/libopie/oticker.h b/libopie/oticker.h
index c848654..c52e317 100644
--- a/libopie/oticker.h
+++ b/libopie/oticker.h
@@ -86,6 +86,7 @@ public:
86 * @param color QColor color of text 86 * @param color QColor color of text
87 * 87 *
88 */ 88 */
89 // FIXME const QColor& please -zecke
89 void setForegroundColor(QColor color); 90 void setForegroundColor(QColor color);
90/*! 91/*!
91 * @fn setFrame(int style) 92 * @fn setFrame(int style)
diff --git a/libopie/otimepicker.h b/libopie/otimepicker.h
index d501a95..6a9e040 100644
--- a/libopie/otimepicker.h
+++ b/libopie/otimepicker.h
@@ -77,5 +77,7 @@ class OTimePickerDialog: public OTimePickerDialogBase {
77 77
78 private: 78 private:
79 QTime m_time; 79 QTime m_time;
80 class Private;
81 Private* d;
80}; 82};
81#endif 83#endif
diff --git a/libopie/owait.h b/libopie/owait.h
index 6217e31..cbfc8d6 100644
--- a/libopie/owait.h
+++ b/libopie/owait.h
@@ -39,6 +39,7 @@ class OWait : public QDialog {
39 Q_OBJECT 39 Q_OBJECT
40 40
41public: 41public:
42 // FIXME Wflags -zecke?
42 OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE); 43 OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE);
43 ~OWait(); 44 ~OWait();
44 45
@@ -69,6 +70,8 @@ public:
69 QTimer *m_waitTimer; 70 QTimer *m_waitTimer;
70 int m_timerLength; 71 int m_timerLength;
71 int m_aniSize; 72 int m_aniSize;
73 class Private;
74 Private *d;
72}; 75};
73 76
74#endif 77#endif
diff --git a/libopie/pim/otodoaccess.h b/libopie/pim/otodoaccess.h
index 2bb87dc..a626731 100644
--- a/libopie/pim/otodoaccess.h
+++ b/libopie/pim/otodoaccess.h
@@ -76,7 +76,10 @@ signals:
76 /** 76 /**
77 * if the OTodoAccess was changed 77 * if the OTodoAccess was changed
78 */ 78 */
79 void signalChanged( const OTodoAccess* ); 79 void changed( const OTodoAccess* );
80 void changed( const OTodoAccess*, int uid );
81 void added( const OTodoAccess*, int uid );
82 void removed( const OTodoAccess*, int uid );
80private: 83private:
81 int m_cat; 84 int m_cat;
82 OTodoAccessBackend* m_todoBackEnd; 85 OTodoAccessBackend* m_todoBackEnd;
diff --git a/libopie/xmltree.h b/libopie/xmltree.h
index 4a6b6d9..4b6bdfa 100644
--- a/libopie/xmltree.h
+++ b/libopie/xmltree.h
@@ -110,6 +110,8 @@ private:
110 110
111 XMLElement( const XMLElement &rhs ); 111 XMLElement( const XMLElement &rhs );
112 XMLElement &operator=( const XMLElement &rhs ); 112 XMLElement &operator=( const XMLElement &rhs );
113 class Private;
114 Private* d;
113}; 115};
114 116
115} // namespace Opie 117} // namespace Opie
diff --git a/libopie2/opiecore/xmltree.h b/libopie2/opiecore/xmltree.h
index 4a6b6d9..4b6bdfa 100644
--- a/libopie2/opiecore/xmltree.h
+++ b/libopie2/opiecore/xmltree.h
@@ -110,6 +110,8 @@ private:
110 110
111 XMLElement( const XMLElement &rhs ); 111 XMLElement( const XMLElement &rhs );
112 XMLElement &operator=( const XMLElement &rhs ); 112 XMLElement &operator=( const XMLElement &rhs );
113 class Private;
114 Private* d;
113}; 115};
114 116
115} // namespace Opie 117} // namespace Opie
diff --git a/libopie2/opiepim/core/otodoaccess.h b/libopie2/opiepim/core/otodoaccess.h
index 2bb87dc..a626731 100644
--- a/libopie2/opiepim/core/otodoaccess.h
+++ b/libopie2/opiepim/core/otodoaccess.h
@@ -76,7 +76,10 @@ signals:
76 /** 76 /**
77 * if the OTodoAccess was changed 77 * if the OTodoAccess was changed
78 */ 78 */
79 void signalChanged( const OTodoAccess* ); 79 void changed( const OTodoAccess* );
80 void changed( const OTodoAccess*, int uid );
81 void added( const OTodoAccess*, int uid );
82 void removed( const OTodoAccess*, int uid );
80private: 83private:
81 int m_cat; 84 int m_cat;
82 OTodoAccessBackend* m_todoBackEnd; 85 OTodoAccessBackend* m_todoBackEnd;