author | zecke <zecke> | 2003-05-07 14:45:49 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-07 14:45:49 (UTC) |
commit | 9602e59e3baf01465f4b4139715f2196bb01e012 (patch) (side-by-side diff) | |
tree | 2d7f0dbf91e88de3981fcc82d49ba8ddc05cfbd5 | |
parent | da949558a957ec4817bf610d7c9186585c0d2d92 (diff) | |
download | opie-9602e59e3baf01465f4b4139715f2196bb01e012.zip opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.gz opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.bz2 |
Add d ptr
add comments and FIXMEs
three new signals for otodoaccess
-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 @@ -68,6 +68,7 @@ public: private: ~OColorDialog(); + // FIXME add WFlags? -zecke OColorDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE ); void setColor( const QColor& ); 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: * * Constructs a new OColorPopupMenu control with parent, name and initial color selected. */ + // FIXME add Wflags? -zecke OColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 ); /** 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: /** * emitted when the labels gets toggled - * @param the new new state of the label + * @param on the new new state of the label */ void toggled(bool on); private: @@ -59,6 +59,10 @@ public: void showState(bool on); void setInverted(bool on); + + private: + class Private; + Private *d; // private d pointer }; #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; class OColorButton : public QPushButton { Q_OBJECT public: + // FIXME Wflags? -zecke OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 ); virtual ~OColorButton ( ); 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: void init ( const QCString &m_channel, const QCString &message, const QByteArray &args ); OQCopMessageData *d; + class Private; + Private* data; }; @@ -94,6 +96,8 @@ private: OQCopMessage m_PressedAction; OQCopMessage m_FactoryPresetHeldAction; OQCopMessage m_HeldAction; + class Private; + Private *d; }; } 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: pid_t pid() const; /** - * Use pid(). - * @deprecated - */ - pid_t getPid() const { return pid(); } - - /** * Suspend processing of data from stdout of the child process. */ 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: repeatButtons currInterval; bool startWeekOnMonday : 1; DateBookMonth *repeatPicker; + + class Private; + Private *d; }; 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: * @param has_focus Boolean value not used, retained for compatibility reasons. */ void paintLabel( QPainter *, const QRect &, QTab *, bool ) const; + +private: + class Private; + Private *d; }; #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: QWidget *c; QString p; QString l; + class Private; + Private *d; }; /** 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: QComboBox *tabList; QWidgetStack *widgetStack; + class Private; + Private* d; /** * @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: * @param color QColor color of text * */ + // FIXME const QColor& please -zecke void setForegroundColor(QColor color); /*! * @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 { private: QTime m_time; + class Private; + Private* d; }; #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 { Q_OBJECT public: + // FIXME Wflags -zecke? OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE); ~OWait(); @@ -69,6 +70,8 @@ public: QTimer *m_waitTimer; int m_timerLength; int m_aniSize; + class Private; + Private *d; }; #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: /** * if the OTodoAccess was changed */ - void signalChanged( const OTodoAccess* ); + void changed( const OTodoAccess* ); + void changed( const OTodoAccess*, int uid ); + void added( const OTodoAccess*, int uid ); + void removed( const OTodoAccess*, int uid ); private: int m_cat; 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: XMLElement( const XMLElement &rhs ); XMLElement &operator=( const XMLElement &rhs ); + class Private; + Private* d; }; } // 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: XMLElement( const XMLElement &rhs ); XMLElement &operator=( const XMLElement &rhs ); + class Private; + Private* d; }; } // 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: /** * if the OTodoAccess was changed */ - void signalChanged( const OTodoAccess* ); + void changed( const OTodoAccess* ); + void changed( const OTodoAccess*, int uid ); + void added( const OTodoAccess*, int uid ); + void removed( const OTodoAccess*, int uid ); private: int m_cat; OTodoAccessBackend* m_todoBackEnd; |