summaryrefslogtreecommitdiffstats
path: root/kcron
diff options
context:
space:
mode:
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);