summaryrefslogtreecommitdiffstats
path: root/twin-styles/icewm/icewm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin-styles/icewm/icewm.cpp')
-rw-r--r--twin-styles/icewm/icewm.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/twin-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp
index 324a736a..3c8441ee 100644
--- a/twin-styles/icewm/icewm.cpp
+++ b/twin-styles/icewm/icewm.cpp
@@ -388,8 +388,8 @@ void ThemeHandler::initTheme()
setPixmap( frameTR, "frame", "TR.xpm" );
// Sides
- setPixmap( frameL, "frame", "L.xpm", true,Qt::Vertical );
- setPixmap( frameR, "frame", "R.xpm", true,Qt::Vertical );
+ setPixmap( frameL, "frame", "L.xpm", true,TQt::Vertical );
+ setPixmap( frameR, "frame", "R.xpm", true,TQt::Vertical );
// Bottom
setPixmap( frameBL, "frame", "BL.xpm" );
@@ -843,7 +843,7 @@ void IceWMButton::mousePressEvent( TQMouseEvent* e )
{
last_button = e->button();
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 );
}
@@ -852,7 +852,7 @@ void IceWMButton::mouseReleaseEvent( TQMouseEvent* e )
{
last_button = e->button();
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 );
}
@@ -976,7 +976,7 @@ void IceWMClient::addClientButtons( const TQString& s )
if (showMenuButtonIcon) {
renderMenuIcons();
button[BtnSysMenu] = new IceWMButton(this, "menu",
- &menuButtonWithIconPix, false, i18n("Menu"), Qt::LeftButton|Qt::RightButton);
+ &menuButtonWithIconPix, false, i18n("Menu"), TQt::LeftButton|TQt::RightButton);
}
else
button[BtnSysMenu] = new IceWMButton(this, "menu",
@@ -1005,7 +1005,7 @@ void IceWMClient::addClientButtons( const TQString& s )
if ( validPixmaps(maximizePix) && !button[BtnMaximize] && isMaximizable() )
{
button[BtnMaximize] = new IceWMButton(this, "maximize",
- &maximizePix, false, i18n("Maximize"), Qt::LeftButton|Qt::MidButton|Qt::RightButton);
+ &maximizePix, false, i18n("Maximize"), TQt::LeftButton|TQt::MidButton|TQt::RightButton);
hb->addWidget( button[BtnMaximize] );
connect( button[BtnMaximize], TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMaximize()));
@@ -1456,7 +1456,7 @@ void IceWMClient::showEvent(TQShowEvent *ev)
void IceWMClient::mouseDoubleClickEvent( TQMouseEvent * e )
{
- if( e->button() != Qt::LeftButton )
+ if( e->button() != TQt::LeftButton )
return;
TQRect r;