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/icewm | |
| parent | b371ec89eb49b1a15fb97fef46c0ab1e88af9b01 (diff) | |
| download | tdeartwork-185ed081.tar.gz tdeartwork-185ed081.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 96f53316c2d7b72477825b53206998efc9bfd315)
Diffstat (limited to 'twin-styles/icewm')
| -rw-r--r-- | twin-styles/icewm/icewm.cpp | 14 | ||||
| -rw-r--r-- | twin-styles/icewm/icewm.h | 2 |
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; |
