summaryrefslogtreecommitdiffstats
path: root/twin-styles/icewm
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/icewm
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/icewm')
-rw-r--r--twin-styles/icewm/icewm.cpp14
-rw-r--r--twin-styles/icewm/icewm.h2
2 files changed, 8 insertions, 8 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;
diff --git a/twin-styles/icewm/icewm.h b/twin-styles/icewm/icewm.h
index debfbfb1..ef667f1e 100644
--- a/twin-styles/icewm/icewm.h
+++ b/twin-styles/icewm/icewm.h
@@ -101,7 +101,7 @@ class IceWMButton : public TQButton
public:
IceWMButton( IceWMClient *parent=0, const char *name=0,
TQPixmap* (*p)[2]=0L, bool isToggle=false,
- const TQString& tip=NULL, const int realizeBtns = Qt::LeftButton );
+ const TQString& tip=NULL, const int realizeBtns = TQt::LeftButton );
void setTipText(const TQString &tip);
void usePixmap( TQPixmap* (*p)[2] );
TQSize sizeHint() const;