diff options
author | Timothy Pearson <[email protected]> | 2012-10-30 13:51:00 -0500 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-12-22 14:01:25 +0100 |
commit | 0ea1dc87b088a0d65f50820d1addefe9907b5469 (patch) | |
tree | 0ebd8426d4399ce420dc70ab4863462704a1301e /libkdegames/kgameprogress.h | |
parent | 787c8d6168852df3a07572f9117797534338f043 (diff) | |
download | tdegames-0ea1dc87b088a0d65f50820d1addefe9907b5469.tar.gz tdegames-0ea1dc87b088a0d65f50820d1addefe9907b5469.zip |
Fix FTBFS on TQt3
(cherry picked from commit 7b29b83606bd46489df68a8e429e62315ea91e28)
Diffstat (limited to 'libkdegames/kgameprogress.h')
-rw-r--r-- | libkdegames/kgameprogress.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdegames/kgameprogress.h b/libkdegames/kgameprogress.h index e4144b94..3e604538 100644 --- a/libkdegames/kgameprogress.h +++ b/libkdegames/kgameprogress.h @@ -56,7 +56,7 @@ class KDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl TQ_PROPERTY( BarStyle barStyle READ barStyle WRITE setBarStyle ) TQ_PROPERTY( TQColor barColor READ barColor WRITE setBarColor ) TQ_PROPERTY( TQPixmap barPixmap READ barPixmap WRITE setBarPixmap ) - TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation ) + TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation ) TQ_PROPERTY( bool textEnabled READ textEnabled WRITE setTextEnabled ) public: @@ -76,12 +76,12 @@ public: /** * Construct a progress bar with orientation @p orient. */ - KGameProgress(Qt::Orientation orient, TQWidget *parent=0, const char *name=0); + KGameProgress(Orientation orient, TQWidget *parent=0, const char *name=0); /** * Construct a progress bar with minimum, maximum and initial values. */ - KGameProgress(int minValue, int maxValue, int value, Qt::Orientation, + KGameProgress(int minValue, int maxValue, int value, Orientation, TQWidget *parent=0, const char *name=0); /** @@ -111,7 +111,7 @@ public: * * Allowed values are @pQt::Horizontal and @pQt::Vertical. */ - void setOrientation(Qt::Orientation); + void setOrientation(Orientation); /** * If this is set to @p true, the progress text will be displayed. @@ -150,7 +150,7 @@ public: * * @see setOrientation() */ - Qt::Orientation orientation() const; + Orientation orientation() const; /** * Returns @p true if progress text will be displayed, @@ -240,7 +240,7 @@ private: TQColor text_color; TQRect fr; BarStyle bar_style; - Qt::Orientation orient; + Orientation orient; bool text_enabled; TQString format_; void initialize(); |