diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /ksim/library/progress.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip |
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/library/progress.h')
-rw-r--r-- | ksim/library/progress.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/ksim/library/progress.h b/ksim/library/progress.h index 7f0f68a..40eca5c 100644 --- a/ksim/library/progress.h +++ b/ksim/library/progress.h @@ -33,6 +33,7 @@ namespace KSim class KDE_EXPORT Progress : public KSim::Label { Q_OBJECT + TQ_OBJECT public: enum ProgressType { Panel, Meter }; /** @@ -41,9 +42,9 @@ namespace KSim * @param maxValue is the maximum value * that the progress bar will show * @param label is the text that will be displayed - * @param parent is the parent widget + * @param tqparent is the tqparent widget */ - Progress(int maxValue, TQWidget *parent, + Progress(int maxValue, TQWidget *tqparent, const char *name = 0, WFlags fl = 0); /** * constructs a KSim::Progress @@ -52,10 +53,10 @@ namespace KSim * that the progress bar will show * @param type is the theme type * @param label is the text that will be displayed - * @param parent is the parent widget + * @param tqparent is the tqparent widget */ Progress(int maxValue, int type, const TQString &label, - TQWidget *parent, const char *name = 0, WFlags fl = 0); + TQWidget *tqparent, const char *name = 0, WFlags fl = 0); /** * constructs a KSim::Progress * @@ -64,10 +65,10 @@ namespace KSim * @param type is the theme type * @param label is the text that will be displayed * @param value is the initial value to be displayed - * @param parent is the parent widget + * @param tqparent is the tqparent widget */ Progress(int maxValue, int type, const TQString &label, - int value, TQWidget *parent, const char *name = 0, + int value, TQWidget *tqparent, const char *name = 0, WFlags fl = 0); /** * constructs a KSim::Progress @@ -75,9 +76,9 @@ namespace KSim * @param maxValue is the maximum value * that the progress bar will show * @param type is the theme type - * @param parent is the parent widget + * @param tqparent is the tqparent widget */ - Progress(int maxValue, int type, TQWidget *parent, + Progress(int maxValue, int type, TQWidget *tqparent, const char *name = 0, WFlags fl = 0); /** * constructs a KSim::Progress @@ -86,11 +87,11 @@ namespace KSim * that the progress bar will show * @param type is the theme type * @param progressType is onr of Progress::ProgressType - * @param parent is the parent widget + * @param tqparent is the tqparent widget */ Progress(int maxValue, int type, ProgressType progressType, - TQWidget *parent, const char *name = 0, + TQWidget *tqparent, const char *name = 0, WFlags fl = 0); /** * destructs KSim::Chart @@ -117,11 +118,11 @@ namespace KSim /** * reimplemented for internal reasons */ - virtual void configureObject(bool repaintWidget = true); + virtual void configureObject(bool tqrepaintWidget = true); /** * reimplemented for internal reasons */ - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; public slots: /** |