diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:13 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:13 -0600 |
commit | 56160bf4dfe503631ef6373367b281f081bab2b4 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /tdeui/kled.h | |
parent | 13281e2856a2ef43bbab78c5528470309c23aa77 (diff) | |
download | tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'tdeui/kled.h')
-rw-r--r-- | tdeui/kled.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeui/kled.h b/tdeui/kled.h index 7b9f327fa..7ae03e196 100644 --- a/tdeui/kled.h +++ b/tdeui/kled.h @@ -47,7 +47,7 @@ class TDEUI_EXPORT KLed : public TQWidget Q_OBJECT Q_ENUMS( State Shape Look ) Q_PROPERTY( State state READ state WRITE setState ) - Q_PROPERTY( Shape shape READ shape WRITE setShape ) + Q_PROPERTY( Shape tqshape READ tqshape WRITE setShape ) Q_PROPERTY( Look look READ look WRITE setLook ) Q_PROPERTY( TQColor color READ color WRITE setColor ) Q_PROPERTY( int darkFactor READ darkFactor WRITE setDarkFactor ) @@ -62,7 +62,7 @@ public: /** * Shades of the lamp. - * @short LED shape + * @short LED tqshape */ enum Shape { Rectangular, Circular }; @@ -114,12 +114,12 @@ public: * @param col Initial color of the LED. * @param state Sets the State. * @param look Sets the Look. - * @param shape Sets the Shape (rectangular or circular) + * @param tqshape Sets the Shape (rectangular or circular) * @param parent Will be handed over to TQWidget. * @param name Will be handed over to TQWidget. * @short Constructor */ - KLed(const TQColor& col, KLed::State state, KLed::Look look, KLed::Shape shape, + KLed(const TQColor& col, KLed::State state, KLed::Look look, KLed::Shape tqshape, TQWidget *parent=0, const char *name=0); @@ -137,7 +137,7 @@ public: */ State state() const; - Shape shape() const; + Shape tqshape() const; /** * Returns the color of the widget @@ -175,7 +175,7 @@ public: void setState( State state ); /** - * Set the shape of the LED to @p s. + * Set the tqshape of the LED to @p s. */ void setShape(Shape s); /** @@ -317,7 +317,7 @@ private: State led_state; TQColor led_color; Look led_look; - Shape led_shape; + Shape led_tqshape; protected: virtual void virtual_hook( int id, void* data ); |