diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:29:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 10:53:46 +0900 |
commit | f37c5af508b00cb3984ffbbd276387ac8f9a38ee (patch) | |
tree | 30dcbce15fc419eaaed73f0a3cdb043e5b2eeb0b /kicker-applets/kolourpicker | |
parent | 7683c5ed7cada26ddf6254e64da3afb74ced25c0 (diff) | |
download | tdeaddons-f37c5af508b00cb3984ffbbd276387ac8f9a38ee.tar.gz tdeaddons-f37c5af508b00cb3984ffbbd276387ac8f9a38ee.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 96f327c14acd697b936e88289165e0edb57d7fb6)
Diffstat (limited to 'kicker-applets/kolourpicker')
-rw-r--r-- | kicker-applets/kolourpicker/kolourpicker.cpp | 2 | ||||
-rw-r--r-- | kicker-applets/kolourpicker/simplebutton.cpp | 4 | ||||
-rw-r--r-- | kicker-applets/kolourpicker/simplebutton.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kicker-applets/kolourpicker/kolourpicker.cpp b/kicker-applets/kolourpicker/kolourpicker.cpp index 55b4ef4..91997b6 100644 --- a/kicker-applets/kolourpicker/kolourpicker.cpp +++ b/kicker-applets/kolourpicker/kolourpicker.cpp @@ -242,7 +242,7 @@ void KolourPicker::arrangeButtons() { int h, w, p; - if (orientation() ==Qt::Horizontal) + if (orientation() ==TQt::Horizontal) { h = height(); if (h > 40) diff --git a/kicker-applets/kolourpicker/simplebutton.cpp b/kicker-applets/kolourpicker/simplebutton.cpp index 98b7570..f95fbe8 100644 --- a/kicker-applets/kolourpicker/simplebutton.cpp +++ b/kicker-applets/kolourpicker/simplebutton.cpp @@ -35,7 +35,7 @@ SimpleButton::SimpleButton(TQWidget *parent, const char *name) : TQButton(parent, name), m_highlight(false), - m_orientation(Qt::Horizontal) + m_orientation(TQt::Horizontal) { setBackgroundOrigin( AncestorOrigin ); @@ -57,7 +57,7 @@ void SimpleButton::setPixmap(const TQPixmap &pix) update(); } -void SimpleButton::setOrientation(Qt::Orientation orientation) +void SimpleButton::setOrientation(TQt::Orientation orientation) { m_orientation = orientation; update(); diff --git a/kicker-applets/kolourpicker/simplebutton.h b/kicker-applets/kolourpicker/simplebutton.h index b3ab442..7243d50 100644 --- a/kicker-applets/kolourpicker/simplebutton.h +++ b/kicker-applets/kolourpicker/simplebutton.h @@ -34,7 +34,7 @@ class KDE_EXPORT SimpleButton : public TQButton public: SimpleButton(TQWidget *parent, const char *name = 0); void setPixmap(const TQPixmap &pix); - void setOrientation(Qt::Orientation orientaton); + void setOrientation(TQt::Orientation orientaton); TQSize sizeHint() const; TQSize minimumSizeHint() const; @@ -56,7 +56,7 @@ class KDE_EXPORT SimpleButton : public TQButton TQPixmap m_normalIcon; TQPixmap m_activeIcon; TQPixmap m_disabledIcon; - Qt::Orientation m_orientation; + TQt::Orientation m_orientation; class SimpleButtonPrivate; SimpleButtonPrivate* d; }; |