summaryrefslogtreecommitdiffstats
path: root/kcontrol/clock
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/clock')
-rw-r--r--kcontrol/clock/dtime.cpp20
-rw-r--r--kcontrol/clock/dtime.h8
-rw-r--r--kcontrol/clock/main.cpp4
-rw-r--r--kcontrol/clock/main.h2
-rw-r--r--kcontrol/clock/tzone.cpp2
-rw-r--r--kcontrol/clock/tzone.h2
6 files changed, 19 insertions, 19 deletions
diff --git a/kcontrol/clock/dtime.cpp b/kcontrol/clock/dtime.cpp
index a492c9deb..3e45b3b19 100644
--- a/kcontrol/clock/dtime.cpp
+++ b/kcontrol/clock/dtime.cpp
@@ -70,14 +70,14 @@ Dtime::Dtime(TQWidget * parent, const char *name)
setDateTimeAuto = new TQCheckBox( privateLayoutWidget, "setDateTimeAuto" );
setDateTimeAuto->setText(i18n("Set date and time &automatically:"));
- connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(serverTimeCheck()));
- connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged()));
+ connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(serverTimeCheck()));
+ connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged()));
layout1->addWidget( setDateTimeAuto );
timeServerList = new TQComboBox( false, privateLayoutWidget, "timeServerList" );
- connect(timeServerList, TQT_SIGNAL(activated(int)), TQT_SLOT(configChanged()));
- connect(timeServerList, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(configChanged()));
- connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), timeServerList, TQT_SLOT(setEnabled(bool)));
+ connect(timeServerList, TQ_SIGNAL(activated(int)), TQ_SLOT(configChanged()));
+ connect(timeServerList, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(configChanged()));
+ connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), timeServerList, TQ_SLOT(setEnabled(bool)));
timeServerList->setEnabled(false);
timeServerList->setEditable(true);
layout1->addWidget( timeServerList );
@@ -164,12 +164,12 @@ Dtime::Dtime(TQWidget * parent, const char *name)
// End Dialog
// *************************************************************
- connect( hour, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) );
- connect( minute, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) );
- connect( second, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) );
- connect( cal, TQT_SIGNAL(dateChanged(TQDate)), TQT_SLOT(changeDate(TQDate)));
+ connect( hour, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) );
+ connect( minute, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) );
+ connect( second, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) );
+ connect( cal, TQ_SIGNAL(dateChanged(TQDate)), TQ_SLOT(changeDate(TQDate)));
- connect( &internalTimer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()) );
+ connect( &internalTimer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()) );
load();
diff --git a/kcontrol/clock/dtime.h b/kcontrol/clock/dtime.h
index 74680d579..ed8819502 100644
--- a/kcontrol/clock/dtime.h
+++ b/kcontrol/clock/dtime.h
@@ -39,7 +39,7 @@ class Kclock;
class HMSTimeWidget : public KIntSpinBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
HMSTimeWidget(TQWidget *parent=0, const char *name=0);
protected:
@@ -48,7 +48,7 @@ class HMSTimeWidget : public KIntSpinBox
class Dtime : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Dtime( TQWidget *parent=0, const char* name=0 );
@@ -97,7 +97,7 @@ private:
class Kclock : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Kclock( TQWidget *parent=0, const char *name=0 )
@@ -118,7 +118,7 @@ class KStrictIntValidator : public TQIntValidator
public:
KStrictIntValidator(int bottom, int top, TQWidget * parent,
const char * name = 0 )
- : TQIntValidator(bottom, top, TQT_TQOBJECT(parent), name) {};
+ : TQIntValidator(bottom, top, parent, name) {};
TQValidator::State validate( TQString & input, int & d ) const;
};
diff --git a/kcontrol/clock/main.cpp b/kcontrol/clock/main.cpp
index a59599b71..7d791b9f7 100644
--- a/kcontrol/clock/main.cpp
+++ b/kcontrol/clock/main.cpp
@@ -63,11 +63,11 @@ KclockModule::KclockModule(TQWidget *parent, const char *name, const TQStringLis
dtime = new Dtime(this);
layout->addWidget(dtime);
- connect(dtime, TQT_SIGNAL(timeChanged(bool)), this, TQT_SIGNAL(changed(bool)));
+ connect(dtime, TQ_SIGNAL(timeChanged(bool)), this, TQ_SIGNAL(changed(bool)));
tzone = new Tzone(this);
layout->addWidget(tzone);
- connect(tzone, TQT_SIGNAL(zoneChanged(bool)), this, TQT_SIGNAL(changed(bool)));
+ connect(tzone, TQ_SIGNAL(zoneChanged(bool)), this, TQ_SIGNAL(changed(bool)));
layout->addStretch();
diff --git a/kcontrol/clock/main.h b/kcontrol/clock/main.h
index 7754da34f..01c846f92 100644
--- a/kcontrol/clock/main.h
+++ b/kcontrol/clock/main.h
@@ -30,7 +30,7 @@ class TQTabWidget;
class KclockModule : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KclockModule(TQWidget *parent, const char *name, const TQStringList &);
diff --git a/kcontrol/clock/tzone.cpp b/kcontrol/clock/tzone.cpp
index 518c6663d..593b9ca1d 100644
--- a/kcontrol/clock/tzone.cpp
+++ b/kcontrol/clock/tzone.cpp
@@ -52,7 +52,7 @@ Tzone::Tzone(TQWidget * parent, const char *name)
setTitle(i18n("To change the timezone, select your area from the list below"));
tzonelist = new KTimezoneWidget(this, "ComboBox_1", &m_zoneDb);
- connect( tzonelist, TQT_SIGNAL(selectionChanged()), TQT_SLOT(handleZoneChange()) );
+ connect( tzonelist, TQ_SIGNAL(selectionChanged()), TQ_SLOT(handleZoneChange()) );
m_local = new TQLabel(this);
diff --git a/kcontrol/clock/tzone.h b/kcontrol/clock/tzone.h
index 1ecfc225e..8508c9ee0 100644
--- a/kcontrol/clock/tzone.h
+++ b/kcontrol/clock/tzone.h
@@ -31,7 +31,7 @@ class TQLabel;
class Tzone : public TQVGroupBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
Tzone( TQWidget *parent=0, const char* name=0 );