summaryrefslogtreecommitdiffstats
path: root/twin-styles/glow
diff options
context:
space:
mode:
Diffstat (limited to 'twin-styles/glow')
-rw-r--r--twin-styles/glow/config/glowconfigdialog.cpp2
-rw-r--r--twin-styles/glow/glowbutton.cpp4
-rw-r--r--twin-styles/glow/glowbutton.h2
-rw-r--r--twin-styles/glow/glowclient.cpp6
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);