summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSTicker')
-rw-r--r--ksirc/KSTicker/ksticker.cpp12
-rw-r--r--ksirc/KSTicker/ksttest.cpp8
-rw-r--r--ksirc/KSTicker/speeddialog.cpp8
-rw-r--r--ksirc/KSTicker/speeddialogData.cpp6
4 files changed, 17 insertions, 17 deletions
diff --git a/ksirc/KSTicker/ksticker.cpp b/ksirc/KSTicker/ksticker.cpp
index 8e81ae1d..5fe687e2 100644
--- a/ksirc/KSTicker/ksticker.cpp
+++ b/ksirc/KSTicker/ksticker.cpp
@@ -55,12 +55,12 @@ KSTicker::KSTicker(TQWidget * parent, const char * name, WFlags f)
chars = this->width() / onechar;
popup = new TQPopupMenu();
- popup->insertItem(i18n( "Font..." ), this, TQT_SLOT(fontSelector()));
- popup->insertItem(i18n( "Scroll Rate..." ), this, TQT_SLOT(scrollRate()));
- iScrollItem = popup->insertItem(i18n( "Scroll Constantly" ), this, TQT_SLOT(scrollConstantly()));
+ popup->insertItem(i18n( "Font..." ), this, TQ_SLOT(fontSelector()));
+ popup->insertItem(i18n( "Scroll Rate..." ), this, TQ_SLOT(scrollRate()));
+ iScrollItem = popup->insertItem(i18n( "Scroll Constantly" ), this, TQ_SLOT(scrollConstantly()));
popup->setItemChecked(iScrollItem, bScrollConstantly);
popup->insertSeparator();
- popup->insertItem(i18n( "Return to Normal Mode" ), this, TQT_SIGNAL(doubleClick()));
+ popup->insertItem(i18n( "Return to Normal Mode" ), this, TQ_SIGNAL(doubleClick()));
currentStr = "";
@@ -434,8 +434,8 @@ void KSTicker::scrollRate()
{
SpeedDialog *sd = new SpeedDialog(tickRate, tickStep);
sd->setLimit(5, 200, 1, onechar);
- connect(sd, TQT_SIGNAL(stateChange(int, int)),
- this, TQT_SLOT(setSpeed(int, int)));
+ connect(sd, TQ_SIGNAL(stateChange(int, int)),
+ this, TQ_SLOT(setSpeed(int, int)));
sd->show();
}
diff --git a/ksirc/KSTicker/ksttest.cpp b/ksirc/KSTicker/ksttest.cpp
index f11be8da..88669f8d 100644
--- a/ksirc/KSTicker/ksttest.cpp
+++ b/ksirc/KSTicker/ksttest.cpp
@@ -80,10 +80,10 @@ int main(int argc, char **argv){
StdInTicker *kst = new StdInTicker();
TQSocketNotifier *sn = new TQSocketNotifier(0, TQSocketNotifier::Read);
- TQObject::connect(sn, TQT_SIGNAL(activated(int)),
- kst, TQT_SLOT(readsocket(int)));
- TQObject::connect(kst, TQT_SIGNAL(doubleClick()), kst, TQT_SLOT(end()));
- TQObject::connect(kst, TQT_SIGNAL(closing()), kst, TQT_SLOT(end()));
+ TQObject::connect(sn, TQ_SIGNAL(activated(int)),
+ kst, TQ_SLOT(readsocket(int)));
+ TQObject::connect(kst, TQ_SIGNAL(doubleClick()), kst, TQ_SLOT(end()));
+ TQObject::connect(kst, TQ_SIGNAL(closing()), kst, TQ_SLOT(end()));
a.setMainWidget(kst);
kst->show();
return a.exec();
diff --git a/ksirc/KSTicker/speeddialog.cpp b/ksirc/KSTicker/speeddialog.cpp
index 8bc3ca0d..8a6628ae 100644
--- a/ksirc/KSTicker/speeddialog.cpp
+++ b/ksirc/KSTicker/speeddialog.cpp
@@ -21,10 +21,10 @@ SpeedDialog::SpeedDialog
: speeddialogData( parent, name )
{
setCaption(i18n( "Speed Setup") );
- connect(sliderTick, TQT_SIGNAL(valueChanged(int)),
- lcdTick, TQT_SLOT(display(int)));
- connect(sliderStep, TQT_SIGNAL(valueChanged(int)),
- lcdStep, TQT_SLOT(display(int)));
+ connect(sliderTick, TQ_SIGNAL(valueChanged(int)),
+ lcdTick, TQ_SLOT(display(int)));
+ connect(sliderStep, TQ_SIGNAL(valueChanged(int)),
+ lcdStep, TQ_SLOT(display(int)));
lcdTick->display(tick);
sliderTick->setValue(tick);
lcdStep->display(step);
diff --git a/ksirc/KSTicker/speeddialogData.cpp b/ksirc/KSTicker/speeddialogData.cpp
index 38d5b524..6e2c01bf 100644
--- a/ksirc/KSTicker/speeddialogData.cpp
+++ b/ksirc/KSTicker/speeddialogData.cpp
@@ -25,7 +25,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name )
TQGridLayout *grid = new TQGridLayout( this, 3, 2 , KDialog::marginHint(), KDialog::spacingHint());
sliderTick = new TQSlider( this, "Slider_1" );
grid->addWidget( sliderTick, 0, 1 );
- connect( sliderTick, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateTick(int)) );
+ connect( sliderTick, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateTick(int)) );
sliderTick->setOrientation( TQt::Horizontal );
sliderTick->setRange( 10, 200 );
sliderTick->setSteps( 10, 50 );
@@ -37,7 +37,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name )
sliderStep = new TQSlider( this, "Slider_2" );
grid->addWidget( sliderStep, 1, 1 );
- connect( sliderStep, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateStep(int)) );
+ connect( sliderStep, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateStep(int)) );
sliderStep->setOrientation( TQt::Horizontal );
sliderStep->setRange( 1, 10 );
sliderStep->setSteps( 1, 2 );
@@ -81,7 +81,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name )
TQPushButton* dlgedit_PushButton_2;
dlgedit_PushButton_2 = new KPushButton( KStdGuiItem::close(), this, "PushButton_2" );
- connect( dlgedit_PushButton_2, TQT_SIGNAL(pressed()), TQT_SLOT(terminate()) );
+ connect( dlgedit_PushButton_2, TQ_SIGNAL(pressed()), TQ_SLOT(terminate()) );
grid->addWidget( dlgedit_PushButton_2, 2, 2 );
//resize( 270,120 );