summaryrefslogtreecommitdiffstats
path: root/twin-styles/kde1
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-11 10:46:02 +0900
committerMichele Calgaro <[email protected]>2024-01-11 10:46:02 +0900
commit64efc076184547c5d23863fb027dd3a01d552f19 (patch)
treecbce71b757decf6ecf1b8cb324cedcaf0ec8a011 /twin-styles/kde1
parent10f6b171a83061ddb1feb22d148fc956eb7fe6a4 (diff)
downloadtdeartwork-64efc076184547c5d23863fb027dd3a01d552f19.tar.gz
tdeartwork-64efc076184547c5d23863fb027dd3a01d552f19.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin-styles/kde1')
-rw-r--r--twin-styles/kde1/kde1client.cpp16
-rw-r--r--twin-styles/kde1/kde1client.h2
2 files changed, 9 insertions, 9 deletions
diff --git a/twin-styles/kde1/kde1client.cpp b/twin-styles/kde1/kde1client.cpp
index c06af33d..1dbc4535 100644
--- a/twin-styles/kde1/kde1client.cpp
+++ b/twin-styles/kde1/kde1client.cpp
@@ -312,7 +312,7 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
button[ButtonMenu]->setIconSet(isActive() ? *menu_pix : *dis_menu_pix);
else
button[ButtonMenu]->setIconSet( icon().pixmap( TQIconSet::Small, TQIconSet::Normal ));
- connect( button[0], TQT_SIGNAL( pressed() ), this, TQT_SLOT( menuButtonPressed() ) );
+ connect( button[0], TQ_SIGNAL( pressed() ), this, TQ_SLOT( menuButtonPressed() ) );
hb->addWidget(button[ButtonMenu]);
}
break;
@@ -325,7 +325,7 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
button[ButtonSticky]->setCursor(ArrowCursor);
button[ButtonSticky]->setIconSet(isOnAllDesktops() ? isActive() ? *pindown_pix : *dis_pindown_pix :
isActive() ? *pinup_pix : *dis_pinup_pix );
- connect( button[ButtonSticky], TQT_SIGNAL( clicked() ), this, ( TQT_SLOT( toggleOnAllDesktops() ) ) );
+ connect( button[ButtonSticky], TQ_SIGNAL( clicked() ), this, ( TQ_SLOT( toggleOnAllDesktops() ) ) );
hb->addWidget(button[ButtonSticky]);
}
break;
@@ -335,7 +335,7 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
button[ButtonHelp] = new TQToolButton( widget(), 0 );
TQToolTip::add( button[ButtonHelp], i18n("Help") );
button[ButtonHelp]->setIconSet( isActive() ? *question_mark_pix : *dis_question_mark_pix);
- connect( button[ButtonHelp], TQT_SIGNAL( clicked() ), this, ( TQT_SLOT( showContextHelp() ) ) );
+ connect( button[ButtonHelp], TQ_SIGNAL( clicked() ), this, ( TQ_SLOT( showContextHelp() ) ) );
button[ButtonHelp]->setCursor(ArrowCursor);
hb->addWidget(button[ButtonHelp]);
}
@@ -347,7 +347,7 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
TQToolTip::add( button[ButtonMinimize], i18n("Minimize") );
button[ButtonMinimize]->setCursor(ArrowCursor);
button[ButtonMinimize]->setIconSet(isActive() ? *minimize_pix : *dis_minimize_pix);
- connect( button[ButtonMinimize], TQT_SIGNAL( clicked() ), this, ( TQT_SLOT( minimize() ) ) );
+ connect( button[ButtonMinimize], TQ_SIGNAL( clicked() ), this, ( TQ_SLOT( minimize() ) ) );
hb->addWidget(button[ButtonMinimize]);
}
break;
@@ -359,8 +359,8 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
TQToolTip::add( button[ButtonMaximize], max?i18n("Restore"):i18n("Maximize") );
button[ButtonMaximize]->setCursor(ArrowCursor);
button[ButtonMaximize]->setIconSet( max?(isActive() ? *normalize_pix : *dis_normalize_pix):(isActive() ? *maximize_pix : *dis_maximize_pix) );
- connect( button[ButtonMaximize], TQT_SIGNAL( clicked(ButtonState) ),
- this, ( TQT_SLOT( maxButtonClicked(ButtonState) ) ) );
+ connect( button[ButtonMaximize], TQ_SIGNAL( clicked(ButtonState) ),
+ this, ( TQ_SLOT( maxButtonClicked(ButtonState) ) ) );
hb->addWidget(button[ButtonMaximize]);
}
break;
@@ -371,7 +371,7 @@ void StdClient::addButtons(TQBoxLayout *hb, const TQString& s)
TQToolTip::add( button[ButtonClose], i18n("Close") );
button[ButtonClose]->setCursor(ArrowCursor);
button[ButtonClose]->setIconSet(isActive() ? *close_pix : *dis_close_pix);
- connect( button[ButtonClose], TQT_SIGNAL( clicked() ), this, ( TQT_SLOT( closeWindow() ) ) );
+ connect( button[ButtonClose], TQ_SIGNAL( clicked() ), this, ( TQ_SLOT( closeWindow() ) ) );
hb->addWidget(button[ButtonClose]);
}
break;
@@ -615,7 +615,7 @@ void StdToolClient::init()
closeBtn = new TQToolButton( widget(), 0 );
TQToolTip::add( closeBtn, i18n("Close") );
- connect( closeBtn, TQT_SIGNAL( clicked() ), this, ( TQT_SLOT( closeWindow() ) ) );
+ connect( closeBtn, TQ_SIGNAL( clicked() ), this, ( TQ_SLOT( closeWindow() ) ) );
closeBtn->setFixedSize( 13, 13);
reset( -1U );
diff --git a/twin-styles/kde1/kde1client.h b/twin-styles/kde1/kde1client.h
index 407c3993..be0a8bfa 100644
--- a/twin-styles/kde1/kde1client.h
+++ b/twin-styles/kde1/kde1client.h
@@ -110,7 +110,7 @@ public:
ThreeButtonButton ( TQWidget *parent = 0, const char* name = 0 )
: TQToolButton( parent, name )
{
- connect( this, TQT_SIGNAL( clicked() ), this, TQT_SLOT( handleClicked() ) );
+ connect( this, TQ_SIGNAL( clicked() ), this, TQ_SLOT( handleClicked() ) );
setCursor( arrowCursor );
}
~ThreeButtonButton () {}