summaryrefslogtreecommitdiffstats
path: root/kcron
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:18 -0600
commitb836ed566cdce05ae8408705487cd10a423f3a90 (patch)
treeb37e97e4b5b83e83ba02c8e8db096303faff99bf /kcron
parent377fa3a2775cdb3194315bb83e21744dc7c97bbf (diff)
downloadtdeadmin-b836ed566cdce05ae8408705487cd10a423f3a90.tar.gz
tdeadmin-b836ed566cdce05ae8408705487cd10a423f3a90.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kcron')
-rw-r--r--kcron/kttask.cpp6
-rw-r--r--kcron/ktview.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kcron/kttask.cpp b/kcron/kttask.cpp
index 0568de5..7706644 100644
--- a/kcron/kttask.cpp
+++ b/kcron/kttask.cpp
@@ -269,7 +269,7 @@ KTTask::KTTask(CTTask* _cttask, const TQString & _caption)
v4->addSpacing( 2 * KDialogBase::spacingHint() );
labAM = new TQLabel( i18n("AM"), bgHour, "labAM");
- labAM->tqsetAlignment(AlignRight | AlignVCenter);
+ labAM->setAlignment(AlignRight | AlignVCenter);
v4->addWidget( labAM );
@@ -292,7 +292,7 @@ KTTask::KTTask(CTTask* _cttask, const TQString & _caption)
}
labPM = new TQLabel( i18n("PM"), bgHour, "labPM");
- labPM->tqsetAlignment(AlignRight | AlignVCenter);
+ labPM->setAlignment(AlignRight | AlignVCenter);
v4->addWidget( labPM );
hhours = new TQHBoxLayout( v4, KDialogBase::spacingHint() );
@@ -403,7 +403,7 @@ KTTask::KTTask(CTTask* _cttask, const TQString & _caption)
key_accel->insert(KStdAccel::Quit, TQT_TQOBJECT(this), TQT_SLOT(slotCancel()));
key_accel->readSettings();
- setFixedSize( tqminimumSize() );
+ setFixedSize( minimumSize() );
slotDailyChanged();
slotMonthChanged();
slotDayOfMonthChanged();
diff --git a/kcron/ktview.cpp b/kcron/ktview.cpp
index 7422aa5..af2b780 100644
--- a/kcron/ktview.cpp
+++ b/kcron/ktview.cpp
@@ -266,7 +266,7 @@ void KTView :: pageHeading (KTListItem* user, KTPrint &printer) const
{
TQFont stnd;
TQString logonInfo;
- TQDateTime now (TQDateTime::tqcurrentDateTime());
+ TQDateTime now (TQDateTime::currentDateTime());
char hostName[20];
gethostname(hostName, 20);