-rw-r--r-- | libopie/colordialog.h | 1 | ||||
-rw-r--r-- | libopie/colorpopupmenu.h | 1 | ||||
-rw-r--r-- | libopie/oclickablelabel.h | 6 | ||||
-rw-r--r-- | libopie/ocolorbutton.h | 1 | ||||
-rw-r--r-- | libopie/odevicebutton.h | 4 | ||||
-rw-r--r-- | libopie/oprocess.h | 6 | ||||
-rw-r--r-- | libopie/orecurrancewidget.h | 3 | ||||
-rw-r--r-- | libopie/otabbar.h | 4 | ||||
-rw-r--r-- | libopie/otabinfo.h | 2 | ||||
-rw-r--r-- | libopie/otabwidget.h | 2 | ||||
-rw-r--r-- | libopie/oticker.h | 1 | ||||
-rw-r--r-- | libopie/otimepicker.h | 2 | ||||
-rw-r--r-- | libopie/owait.h | 3 | ||||
-rw-r--r-- | libopie/pim/otodoaccess.h | 5 | ||||
-rw-r--r-- | libopie/xmltree.h | 2 | ||||
-rw-r--r-- | libopie2/opiecore/xmltree.h | 2 | ||||
-rw-r--r-- | libopie2/opiepim/core/otodoaccess.h | 5 |
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 | |||
@@ -59,24 +59,25 @@ class OColorDialogPrivate; | |||
59 | class Q_EXPORT OColorDialog : public QDialog | 59 | class Q_EXPORT OColorDialog : public QDialog |
60 | { | 60 | { |
61 | Q_OBJECT | 61 | Q_OBJECT |
62 | 62 | ||
63 | public: | 63 | public: |
64 | static QColor getColor( const QColor&, QWidget *parent=0, const char* name=0 ); | 64 | static QColor getColor( const QColor&, QWidget *parent=0, const char* name=0 ); |
65 | static QRgb getRgba( const QRgb&, bool* ok = 0, | 65 | static QRgb getRgba( const QRgb&, bool* ok = 0, |
66 | QWidget *parent=0, const char* name=0 ); | 66 | QWidget *parent=0, const char* name=0 ); |
67 | 67 | ||
68 | private: | 68 | private: |
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; |
74 | 75 | ||
75 | private: | 76 | private: |
76 | void setSelectedAlpha( int ); | 77 | void setSelectedAlpha( int ); |
77 | int selectedAlpha() const; | 78 | int selectedAlpha() const; |
78 | private: | 79 | private: |
79 | OColorDialogPrivate *d; | 80 | OColorDialogPrivate *d; |
80 | friend class OColorDialogPrivate; | 81 | friend class OColorDialogPrivate; |
81 | 82 | ||
82 | private:// Disabled copy constructor and operator= | 83 | private:// Disabled copy constructor and operator= |
diff --git a/libopie/colorpopupmenu.h b/libopie/colorpopupmenu.h index 3e90c5e..98d67cc 100644 --- a/libopie/colorpopupmenu.h +++ b/libopie/colorpopupmenu.h | |||
@@ -169,24 +169,25 @@ class OColorPopupMenu : public QPopupMenu | |||
169 | public: | 169 | public: |
170 | 170 | ||
171 | /** | 171 | /** |
172 | * @fn OColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 ) | 172 | * @fn OColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 ) |
173 | * @brief Object constructor. | 173 | * @brief Object constructor. |
174 | * | 174 | * |
175 | * @param color Initial color selected in menu. | 175 | * @param color Initial color selected in menu. |
176 | * @param parent Pointer to parent of this control. | 176 | * @param parent Pointer to parent of this control. |
177 | * @param name Name of control. | 177 | * @param name Name of control. |
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 | /** |
184 | * @fn ~OColorPopupMenu() | 185 | * @fn ~OColorPopupMenu() |
185 | * @brief Object destructor. | 186 | * @brief Object destructor. |
186 | */ | 187 | */ |
187 | ~OColorPopupMenu(); | 188 | ~OColorPopupMenu(); |
188 | 189 | ||
189 | private: | 190 | private: |
190 | class ColorPopupMenuPrivate; | 191 | class ColorPopupMenuPrivate; |
191 | ColorPopupMenuPrivate *d; | 192 | ColorPopupMenuPrivate *d; |
192 | QColor m_color; | 193 | QColor m_color; |
diff --git a/libopie/oclickablelabel.h b/libopie/oclickablelabel.h index 6e7a123..f93ade0 100644 --- a/libopie/oclickablelabel.h +++ b/libopie/oclickablelabel.h | |||
@@ -40,25 +40,29 @@ public: | |||
40 | void mouseMoveEvent( QMouseEvent *e ); | 40 | void mouseMoveEvent( QMouseEvent *e ); |
41 | 41 | ||
42 | public slots: | 42 | public slots: |
43 | void setOn(bool on); | 43 | void setOn(bool on); |
44 | signals: | 44 | signals: |
45 | /** | 45 | /** |
46 | * emitted when the labels gets clicked | 46 | * emitted when the labels gets clicked |
47 | */ | 47 | */ |
48 | void clicked(); | 48 | void clicked(); |
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: |
56 | bool isToggle : 1; | 56 | bool isToggle : 1; |
57 | bool isDown : 1; | 57 | bool isDown : 1; |
58 | bool textInverted : 1; | 58 | bool textInverted : 1; |
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 | |||
@@ -35,24 +35,25 @@ class OColorButtonPrivate; | |||
35 | class QColor; | 35 | class QColor; |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * | 38 | * |
39 | * @short A Button which will show a OColorPopupMenu | 39 | * @short A Button which will show a OColorPopupMenu |
40 | * @author Robert Griebl ( sandman@handhelds.org ) | 40 | * @author Robert Griebl ( sandman@handhelds.org ) |
41 | * @version 1.0 | 41 | * @version 1.0 |
42 | * @see QPushButton | 42 | * @see QPushButton |
43 | */ | 43 | */ |
44 | class OColorButton : public QPushButton { | 44 | class OColorButton : public QPushButton { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | public: | 46 | public: |
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 | ||
50 | QColor color ( ) const; | 51 | QColor color ( ) const; |
51 | 52 | ||
52 | signals: | 53 | signals: |
53 | /** | 54 | /** |
54 | * emitted when a color gets selected | 55 | * emitted when a color gets selected |
55 | */ | 56 | */ |
56 | void colorSelected ( const QColor & ); | 57 | void colorSelected ( const QColor & ); |
57 | 58 | ||
58 | public slots: | 59 | public slots: |
diff --git a/libopie/odevicebutton.h b/libopie/odevicebutton.h index cf91bbd..abe27d6 100644 --- a/libopie/odevicebutton.h +++ b/libopie/odevicebutton.h | |||
@@ -41,24 +41,26 @@ public: | |||
41 | void setData ( const QByteArray &ba ); | 41 | void setData ( const QByteArray &ba ); |
42 | 42 | ||
43 | QCString channel ( ) const; | 43 | QCString channel ( ) const; |
44 | QCString message ( ) const; | 44 | QCString message ( ) const; |
45 | QByteArray data ( ) const; | 45 | QByteArray data ( ) const; |
46 | 46 | ||
47 | bool send ( ); | 47 | bool send ( ); |
48 | 48 | ||
49 | private: | 49 | 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 | ||
56 | /** | 58 | /** |
57 | * This class represents a physical button on a Qtopia device. A device may | 59 | * This class represents a physical button on a Qtopia device. A device may |
58 | * have n "user programmable" buttons, which are number 1..n. The location | 60 | * have n "user programmable" buttons, which are number 1..n. The location |
59 | * and number of buttons will vary from device to device. userText() and pixmap() | 61 | * and number of buttons will vary from device to device. userText() and pixmap() |
60 | * may be used to describe this button to the user in help documentation. | 62 | * may be used to describe this button to the user in help documentation. |
61 | * | 63 | * |
62 | * @version 1.0 | 64 | * @version 1.0 |
63 | * @author Trolltech | 65 | * @author Trolltech |
64 | * @short A representation of buttons | 66 | * @short A representation of buttons |
@@ -85,17 +87,19 @@ public: | |||
85 | void setPressedAction ( const OQCopMessage& qcopMessage ); | 87 | void setPressedAction ( const OQCopMessage& qcopMessage ); |
86 | void setFactoryPresetHeldAction ( const OQCopMessage& qcopMessage ); | 88 | void setFactoryPresetHeldAction ( const OQCopMessage& qcopMessage ); |
87 | void setHeldAction ( const OQCopMessage& qcopMessage ); | 89 | void setHeldAction ( const OQCopMessage& qcopMessage ); |
88 | 90 | ||
89 | private: | 91 | private: |
90 | ushort m_Keycode; | 92 | ushort m_Keycode; |
91 | QString m_UserText; | 93 | QString m_UserText; |
92 | QPixmap m_Pixmap; | 94 | QPixmap m_Pixmap; |
93 | OQCopMessage m_FactoryPresetPressedAction; | 95 | OQCopMessage m_FactoryPresetPressedAction; |
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 | } |
100 | 104 | ||
101 | #endif | 105 | #endif |
diff --git a/libopie/oprocess.h b/libopie/oprocess.h index f2853b0..af7cddb 100644 --- a/libopie/oprocess.h +++ b/libopie/oprocess.h | |||
@@ -297,30 +297,24 @@ public: | |||
297 | /** Returns the process id of the process. | 297 | /** Returns the process id of the process. |
298 | * | 298 | * |
299 | * If it is called after | 299 | * If it is called after |
300 | * the process has exited, it returns the process id of the last | 300 | * the process has exited, it returns the process id of the last |
301 | * child process that was created by this instance of OProcess. | 301 | * child process that was created by this instance of OProcess. |
302 | * | 302 | * |
303 | * Calling it before any child process has been started by this | 303 | * Calling it before any child process has been started by this |
304 | * OProcess instance causes pid() to return 0. | 304 | * OProcess instance causes pid() to return 0. |
305 | **/ | 305 | **/ |
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(); |
318 | 312 | ||
319 | /** | 313 | /** |
320 | * Resume processing of data from stdout of the child process. | 314 | * Resume processing of data from stdout of the child process. |
321 | */ | 315 | */ |
322 | void resume(); | 316 | void resume(); |
323 | 317 | ||
324 | /** | 318 | /** |
325 | * @return @p true if the process has already finished and has exited | 319 | * @return @p true if the process has already finished and has exited |
326 | * "voluntarily", ie: it has not been killed by a signal. | 320 | * "voluntarily", ie: it has not been killed by a signal. |
diff --git a/libopie/orecurrancewidget.h b/libopie/orecurrancewidget.h index a5d6489..37a57f0 100644 --- a/libopie/orecurrancewidget.h +++ b/libopie/orecurrancewidget.h | |||
@@ -75,16 +75,19 @@ private: | |||
75 | enum repeatButtons { None, Day, Week, Month, Year }; | 75 | enum repeatButtons { None, Day, Week, Month, Year }; |
76 | void init(); | 76 | void init(); |
77 | void hideExtras(); | 77 | void hideExtras(); |
78 | void showRepeatStuff(); | 78 | void showRepeatStuff(); |
79 | 79 | ||
80 | QList<QToolButton> listRTypeButtons; | 80 | QList<QToolButton> listRTypeButtons; |
81 | QList<QToolButton> listExtra; | 81 | QList<QToolButton> listExtra; |
82 | QDate start; // only used in one spot... | 82 | QDate start; // only used in one spot... |
83 | QDate end; | 83 | QDate end; |
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 | ||
90 | #endif | 93 | #endif |
diff --git a/libopie/otabbar.h b/libopie/otabbar.h index 0b353e2..668187b 100644 --- a/libopie/otabbar.h +++ b/libopie/otabbar.h | |||
@@ -62,15 +62,19 @@ public: | |||
62 | 62 | ||
63 | protected: | 63 | protected: |
64 | /** | 64 | /** |
65 | * @fn paintLabel( QPainter* p, const QRect& br , QTab* t, bool has_focus)const | 65 | * @fn paintLabel( QPainter* p, const QRect& br , QTab* t, bool has_focus)const |
66 | * @brief Internal function to draw a tab's label. | 66 | * @brief Internal function to draw a tab's label. |
67 | * | 67 | * |
68 | * @param p Pointer to QPainter used for drawing. | 68 | * @param p Pointer to QPainter used for drawing. |
69 | * @param br QRect providing region to draw label in. | 69 | * @param br QRect providing region to draw label in. |
70 | * @param t Tab to draw label for. | 70 | * @param t Tab to draw label for. |
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 | |||
75 | private: | ||
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 | |||
@@ -112,21 +112,23 @@ public: | |||
112 | * @fn setIcon( const QString &icon ) | 112 | * @fn setIcon( const QString &icon ) |
113 | * @brief Set icon for tab. | 113 | * @brief Set icon for tab. |
114 | * | 114 | * |
115 | * @param icon QString name of icon file. | 115 | * @param icon QString name of icon file. |
116 | */ | 116 | */ |
117 | void setIcon( const QString &icon ) { p = icon; } | 117 | void setIcon( const QString &icon ) { p = icon; } |
118 | 118 | ||
119 | private: | 119 | private: |
120 | int i; | 120 | int i; |
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 | /** |
127 | * @class OTabInfoList | 129 | * @class OTabInfoList |
128 | * @brief A list of OTabInfo objects used by OTabWidget. | 130 | * @brief A list of OTabInfo objects used by OTabWidget. |
129 | */ | 131 | */ |
130 | typedef QList<OTabInfo> OTabInfoList; | 132 | typedef QList<OTabInfo> OTabInfoList; |
131 | 133 | ||
132 | #endif | 134 | #endif |
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index a67fe06..c140c0b 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h | |||
@@ -212,24 +212,26 @@ protected: | |||
212 | private: | 212 | private: |
213 | OTabInfoList tabs; | 213 | OTabInfoList tabs; |
214 | OTabInfo *currTab; | 214 | OTabInfo *currTab; |
215 | 215 | ||
216 | TabStyle tabBarStyle; | 216 | TabStyle tabBarStyle; |
217 | TabPosition tabBarPosition; | 217 | TabPosition tabBarPosition; |
218 | 218 | ||
219 | QWidgetStack *tabBarStack; | 219 | QWidgetStack *tabBarStack; |
220 | OTabBar *tabBar; | 220 | OTabBar *tabBar; |
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 ) |
227 | * @brief Loads icon for widget. | 229 | * @brief Loads icon for widget. |
228 | * | 230 | * |
229 | * @param name Name of icon image file. | 231 | * @param name Name of icon image file. |
230 | */ | 232 | */ |
231 | QPixmap loadSmooth( const QString & ); | 233 | QPixmap loadSmooth( const QString & ); |
232 | 234 | ||
233 | /** | 235 | /** |
234 | * @fn selectTab( OTabInfo *tab ) | 236 | * @fn selectTab( OTabInfo *tab ) |
235 | * @brief Internal function to select desired widget. | 237 | * @brief Internal function to select desired widget. |
diff --git a/libopie/oticker.h b/libopie/oticker.h index c848654..c52e317 100644 --- a/libopie/oticker.h +++ b/libopie/oticker.h | |||
@@ -77,24 +77,25 @@ public: | |||
77 | * @brief sets color of the ticker's background | 77 | * @brief sets color of the ticker's background |
78 | * @param color QColor color to be set. | 78 | * @param color QColor color to be set. |
79 | * | 79 | * |
80 | */ | 80 | */ |
81 | //FIXME const QColor& please -zecke | 81 | //FIXME const QColor& please -zecke |
82 | void setBackgroundColor(QColor color); | 82 | void setBackgroundColor(QColor color); |
83 | /*! | 83 | /*! |
84 | * @fn setForegroundColor(QColor color) | 84 | * @fn setForegroundColor(QColor color) |
85 | * @brief sets color of text | 85 | * @brief sets color of text |
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) |
92 | * @brief sets frame style | 93 | * @brief sets frame style |
93 | * @param style int Frame style to be see. See Qt::WidgetFlags. | 94 | * @param style int Frame style to be see. See Qt::WidgetFlags. |
94 | * | 95 | * |
95 | */ | 96 | */ |
96 | void setFrame(int style); | 97 | void setFrame(int style); |
97 | /*! | 98 | /*! |
98 | * @fn setUpdateTime(int timeout) | 99 | * @fn setUpdateTime(int timeout) |
99 | * @brief sets time of update | 100 | * @brief sets time of update |
100 | * @param timeout int time in milliseconds between updates. | 101 | * @param timeout int time in milliseconds between updates. |
diff --git a/libopie/otimepicker.h b/libopie/otimepicker.h index d501a95..6a9e040 100644 --- a/libopie/otimepicker.h +++ b/libopie/otimepicker.h | |||
@@ -68,14 +68,16 @@ class OTimePickerDialog: public OTimePickerDialogBase { | |||
68 | OTimePickerDialog ( QWidget* parent = 0, const char* name = NULL, WFlags fl = 0 ); | 68 | OTimePickerDialog ( QWidget* parent = 0, const char* name = NULL, WFlags fl = 0 ); |
69 | ~OTimePickerDialog() { }; | 69 | ~OTimePickerDialog() { }; |
70 | 70 | ||
71 | QTime time()const; | 71 | QTime time()const; |
72 | 72 | ||
73 | public slots: | 73 | public slots: |
74 | void setTime( const QTime& time ); | 74 | void setTime( const QTime& time ); |
75 | void setHour( const QString& hour ); | 75 | void setHour( const QString& hour ); |
76 | void setMinute( const QString& minute ); | 76 | void setMinute( const QString& minute ); |
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 | |||
@@ -30,24 +30,25 @@ | |||
30 | /** | 30 | /** |
31 | * This class displays a animated waiting icon in the middle of the screen. | 31 | * This class displays a animated waiting icon in the middle of the screen. |
32 | * | 32 | * |
33 | * @short modal hour glass dialog | 33 | * @short modal hour glass dialog |
34 | * @see QDialog | 34 | * @see QDialog |
35 | * @author Maximilian Reiß | 35 | * @author Maximilian Reiß |
36 | */ | 36 | */ |
37 | class OWait : public QDialog { | 37 | class OWait : public QDialog { |
38 | 38 | ||
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | 40 | ||
41 | public: | 41 | public: |
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 | ||
45 | /** | 46 | /** |
46 | * reimplemented for control reasons | 47 | * reimplemented for control reasons |
47 | */ | 48 | */ |
48 | void show(); | 49 | void show(); |
49 | 50 | ||
50 | /** | 51 | /** |
51 | * Set the time before the icon will be automaticly hidden | 52 | * Set the time before the icon will be automaticly hidden |
52 | * The timer will be started once the widget will be shown. | 53 | * The timer will be started once the widget will be shown. |
53 | * @param length - time in seconds | 54 | * @param length - time in seconds |
@@ -60,15 +61,17 @@ public: | |||
60 | */ | 61 | */ |
61 | void hide(); | 62 | void hide(); |
62 | 63 | ||
63 | private: | 64 | private: |
64 | void timerEvent( QTimerEvent * ) ; | 65 | void timerEvent( QTimerEvent * ) ; |
65 | void paintEvent( QPaintEvent * ); | 66 | void paintEvent( QPaintEvent * ); |
66 | 67 | ||
67 | QPixmap m_pix; | 68 | QPixmap m_pix; |
68 | QLabel *m_lb; | 69 | QLabel *m_lb; |
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 | |||
@@ -67,21 +67,24 @@ public: | |||
67 | */ | 67 | */ |
68 | void mergeWith( const QValueList<OTodo>& ); | 68 | void mergeWith( const QValueList<OTodo>& ); |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * delete all already completed items | 71 | * delete all already completed items |
72 | */ | 72 | */ |
73 | void removeAllCompleted(); | 73 | void removeAllCompleted(); |
74 | 74 | ||
75 | signals: | 75 | 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 ); | ||
80 | private: | 83 | private: |
81 | int m_cat; | 84 | int m_cat; |
82 | OTodoAccessBackend* m_todoBackEnd; | 85 | OTodoAccessBackend* m_todoBackEnd; |
83 | class OTodoAccessPrivate; | 86 | class OTodoAccessPrivate; |
84 | OTodoAccessPrivate* d; | 87 | OTodoAccessPrivate* d; |
85 | }; | 88 | }; |
86 | 89 | ||
87 | #endif | 90 | #endif |
diff --git a/libopie/xmltree.h b/libopie/xmltree.h index 4a6b6d9..4b6bdfa 100644 --- a/libopie/xmltree.h +++ b/libopie/xmltree.h | |||
@@ -101,17 +101,19 @@ private: | |||
101 | QString m_tag; | 101 | QString m_tag; |
102 | QString m_value; | 102 | QString m_value; |
103 | AttributeMap m_attributes; | 103 | AttributeMap m_attributes; |
104 | 104 | ||
105 | XMLElement *m_parent; | 105 | XMLElement *m_parent; |
106 | XMLElement *m_next; | 106 | XMLElement *m_next; |
107 | XMLElement *m_prev; | 107 | XMLElement *m_prev; |
108 | XMLElement *m_first; | 108 | XMLElement *m_first; |
109 | XMLElement *m_last; | 109 | XMLElement *m_last; |
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 |
116 | 118 | ||
117 | #endif | 119 | #endif |
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 | |||
@@ -101,17 +101,19 @@ private: | |||
101 | QString m_tag; | 101 | QString m_tag; |
102 | QString m_value; | 102 | QString m_value; |
103 | AttributeMap m_attributes; | 103 | AttributeMap m_attributes; |
104 | 104 | ||
105 | XMLElement *m_parent; | 105 | XMLElement *m_parent; |
106 | XMLElement *m_next; | 106 | XMLElement *m_next; |
107 | XMLElement *m_prev; | 107 | XMLElement *m_prev; |
108 | XMLElement *m_first; | 108 | XMLElement *m_first; |
109 | XMLElement *m_last; | 109 | XMLElement *m_last; |
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 |
116 | 118 | ||
117 | #endif | 119 | #endif |
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 | |||
@@ -67,21 +67,24 @@ public: | |||
67 | */ | 67 | */ |
68 | void mergeWith( const QValueList<OTodo>& ); | 68 | void mergeWith( const QValueList<OTodo>& ); |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * delete all already completed items | 71 | * delete all already completed items |
72 | */ | 72 | */ |
73 | void removeAllCompleted(); | 73 | void removeAllCompleted(); |
74 | 74 | ||
75 | signals: | 75 | 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 ); | ||
80 | private: | 83 | private: |
81 | int m_cat; | 84 | int m_cat; |
82 | OTodoAccessBackend* m_todoBackEnd; | 85 | OTodoAccessBackend* m_todoBackEnd; |
83 | class OTodoAccessPrivate; | 86 | class OTodoAccessPrivate; |
84 | OTodoAccessPrivate* d; | 87 | OTodoAccessPrivate* d; |
85 | }; | 88 | }; |
86 | 89 | ||
87 | #endif | 90 | #endif |