diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:29:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 09:58:54 +0900 |
commit | 185ed081e216488c0e5dc3e64219cbaac6a5b471 (patch) | |
tree | 959c25b171b9eb8783ef7c1159eee67b21ca7e17 /twin-styles/glow | |
parent | b371ec89eb49b1a15fb97fef46c0ab1e88af9b01 (diff) | |
download | tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.tar.gz tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 96f53316c2d7b72477825b53206998efc9bfd315)
Diffstat (limited to 'twin-styles/glow')
-rw-r--r-- | twin-styles/glow/config/glowconfigdialog.cpp | 2 | ||||
-rw-r--r-- | twin-styles/glow/glowbutton.cpp | 4 | ||||
-rw-r--r-- | twin-styles/glow/glowbutton.h | 2 | ||||
-rw-r--r-- | twin-styles/glow/glowclient.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/twin-styles/glow/config/glowconfigdialog.cpp b/twin-styles/glow/config/glowconfigdialog.cpp index 3aa1d63a..f28e31c1 100644 --- a/twin-styles/glow/config/glowconfigdialog.cpp +++ b/twin-styles/glow/config/glowconfigdialog.cpp @@ -78,7 +78,7 @@ GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent ) slotLoadThemeList(); _button_glow_color_group_box = new TQGroupBox( - 0, Qt::Horizontal, i18n("Button Glow Colors"), _main_group_box); + 0, TQt::Horizontal, i18n("Button Glow Colors"), _main_group_box); TQHBoxLayout *colorHBoxLayout = new TQHBoxLayout(_button_glow_color_group_box->layout()); diff --git a/twin-styles/glow/glowbutton.cpp b/twin-styles/glow/glowbutton.cpp index 6dbe2df3..9baa98a3 100644 --- a/twin-styles/glow/glowbutton.cpp +++ b/twin-styles/glow/glowbutton.cpp @@ -184,7 +184,7 @@ void GlowButton::mousePressEvent( TQMouseEvent *e ) // without pretending LeftButton, clicking on the button with MidButton // or RightButton would cause unwanted titlebar action TQMouseEvent me (e->type(), e->pos(), e->globalPos(), - (e->button()&m_realizeButtons)?Qt::LeftButton:Qt::NoButton, e->state()); + (e->button()&m_realizeButtons)?TQt::LeftButton:TQt::NoButton, e->state()); TQButton::mousePressEvent(&me); } @@ -199,7 +199,7 @@ void GlowButton::mouseReleaseEvent( TQMouseEvent *e ) m_timerStatus = Stop; } TQMouseEvent me (e->type(), e->pos(), e->globalPos(), - (e->button()&m_realizeButtons)?Qt::LeftButton:Qt::NoButton, e->state()); + (e->button()&m_realizeButtons)?TQt::LeftButton:TQt::NoButton, e->state()); TQButton::mouseReleaseEvent(&me); } diff --git a/twin-styles/glow/glowbutton.h b/twin-styles/glow/glowbutton.h index 9bd56de6..31e185c1 100644 --- a/twin-styles/glow/glowbutton.h +++ b/twin-styles/glow/glowbutton.h @@ -118,7 +118,7 @@ public: const TQColor & glow_color); GlowButton* createGlowButton( - TQWidget *parent, const char* name, const TQString& tip, const int realizeBtns = Qt::LeftButton); + TQWidget *parent, const char* name, const TQString& tip, const int realizeBtns = TQt::LeftButton); private: int _steps; diff --git a/twin-styles/glow/glowclient.cpp b/twin-styles/glow/glowclient.cpp index 4c911194..f2df7b4b 100644 --- a/twin-styles/glow/glowclient.cpp +++ b/twin-styles/glow/glowclient.cpp @@ -529,7 +529,7 @@ void GlowClient::showEvent( TQShowEvent * ) void GlowClient::mouseDoubleClickEvent( TQMouseEvent *e ) { - if(e->button() == Qt::LeftButton && _title_spacer->geometry().contains(e->pos())) + if(e->button() == TQt::LeftButton && _title_spacer->geometry().contains(e->pos())) titlebarDblClickOperation(); } @@ -652,7 +652,7 @@ void GlowClient::createButtons() TQSize size = globals->theme()->buttonSize; m_stickyButton = factory->createGlowButton(widget(), - "StickyButton", isOnAllDesktops()?i18n("Not on all desktops"):i18n("On all desktops"), Qt::LeftButton|Qt::RightButton); + "StickyButton", isOnAllDesktops()?i18n("Not on all desktops"):i18n("On all desktops"), TQt::LeftButton|TQt::RightButton); m_stickyButton->setFixedSize(size); connect(m_stickyButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(toggleOnAllDesktops())); m_buttonList.insert(m_buttonList.end(), m_stickyButton); @@ -670,7 +670,7 @@ void GlowClient::createButtons() m_buttonList.insert(m_buttonList.end(), m_minimizeButton); m_maximizeButton=factory->createGlowButton(widget(), - "MaximizeButton", i18n("Maximize"), Qt::LeftButton|Qt::MidButton|Qt::RightButton); + "MaximizeButton", i18n("Maximize"), TQt::LeftButton|TQt::MidButton|TQt::RightButton); m_maximizeButton->setFixedSize(size); connect(m_maximizeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMaximize())); m_buttonList.insert(m_buttonList.end(), m_maximizeButton); |