summaryrefslogtreecommitdiffstats
path: root/twin-styles/riscos
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:29:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 09:57:47 +0900
commit96f53316c2d7b72477825b53206998efc9bfd315 (patch)
treebccae9b5638d64deb8a0bdf749bf9a1597021fdb /twin-styles/riscos
parentf0e925909a8e02822e322d87db8d4af43284d298 (diff)
downloadtdeartwork-96f53316c2d7b72477825b53206998efc9bfd315.tar.gz
tdeartwork-96f53316c2d7b72477825b53206998efc9bfd315.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin-styles/riscos')
-rw-r--r--twin-styles/riscos/Button.cpp6
-rw-r--r--twin-styles/riscos/Button.h2
-rw-r--r--twin-styles/riscos/Manager.cpp2
-rw-r--r--twin-styles/riscos/MaximiseButton.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/twin-styles/riscos/Button.cpp b/twin-styles/riscos/Button.cpp
index f1f150d1..4d11e0c7 100644
--- a/twin-styles/riscos/Button.cpp
+++ b/twin-styles/riscos/Button.cpp
@@ -31,7 +31,7 @@ Button::Button(TQWidget *parent, const TQString& tip,
const ButtonState realizeButtons)
: TQWidget(parent, "Button", 0),
realizeButtons_(realizeButtons),
- lastButton_(Qt::NoButton),
+ lastButton_(TQt::NoButton),
alignment_(Left),
down_ (false),
active_ (false)
@@ -72,7 +72,7 @@ void Button::mousePressEvent(TQMouseEvent *e)
repaint();
TQMouseEvent me(e->type(), e->pos(), e->globalPos(),
- (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton,
+ (e->button()&realizeButtons_) ? TQt::LeftButton : TQt::NoButton,
e->state());
TQWidget::mousePressEvent(&me);
}
@@ -83,7 +83,7 @@ void Button::mouseReleaseEvent(TQMouseEvent *e)
lastButton_ = e->button();
repaint();
TQMouseEvent me(e->type(), e->pos(), e->globalPos(),
- (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton,
+ (e->button()&realizeButtons_) ? TQt::LeftButton : TQt::NoButton,
e->state());
TQWidget::mouseReleaseEvent(&me);
}
diff --git a/twin-styles/riscos/Button.h b/twin-styles/riscos/Button.h
index 5d20e9a6..afff9925 100644
--- a/twin-styles/riscos/Button.h
+++ b/twin-styles/riscos/Button.h
@@ -43,7 +43,7 @@ class Button : public TQWidget
enum Alignment { Left, Right };
Button(TQWidget *parent, const TQString &tip,
- const ButtonState realizeButton = Qt::LeftButton);
+ const ButtonState realizeButton = TQt::LeftButton);
virtual ~Button();
void setAlignment(Alignment);
diff --git a/twin-styles/riscos/Manager.cpp b/twin-styles/riscos/Manager.cpp
index 14c81a84..ada3336f 100644
--- a/twin-styles/riscos/Manager.cpp
+++ b/twin-styles/riscos/Manager.cpp
@@ -352,7 +352,7 @@ KDecoration::Position Manager::mousePosition(const TQPoint& p) const
void Manager::mouseDoubleClickEvent(TQMouseEvent *e)
{
- if (e->button() == Qt::LeftButton && titleSpacer_->geometry().contains(e->pos()))
+ if (e->button() == TQt::LeftButton && titleSpacer_->geometry().contains(e->pos()))
titlebarDblClickOperation();
}
diff --git a/twin-styles/riscos/MaximiseButton.cpp b/twin-styles/riscos/MaximiseButton.cpp
index aa54b52a..524c2a8a 100644
--- a/twin-styles/riscos/MaximiseButton.cpp
+++ b/twin-styles/riscos/MaximiseButton.cpp
@@ -67,7 +67,7 @@ static const char * const unmaximise_xpm[] = {
MaximiseButton::MaximiseButton(TQWidget * parent)
: Button(parent, i18n("Maximize"),
- (ButtonState)(Qt::LeftButton|Qt::MidButton|Qt::RightButton)),
+ (ButtonState)(TQt::LeftButton|TQt::MidButton|TQt::RightButton)),
on_(false)
{
setPixmap(TQPixmap((const char **)maximise_xpm));