summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneralevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorgeneralevent.cpp')
-rw-r--r--korganizer/koeditorgeneralevent.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/koeditorgeneralevent.cpp b/korganizer/koeditorgeneralevent.cpp
index 123632f3..e0900750 100644
--- a/korganizer/koeditorgeneralevent.cpp
+++ b/korganizer/koeditorgeneralevent.cpp
@@ -95,7 +95,7 @@ void KOEditorGeneralEvent::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
{
TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout);
- TQGroupBox *timeGroupBox = new TQGroupBox(1,TQGroupBox::Horizontal,
+ TQGroupBox *timeGroupBox = new TQGroupBox(1,Qt::Horizontal,
i18n("Date && Time"),tqparent);
TQWhatsThis::add( timeGroupBox,
i18n("Sets options related to the date and time of the "
@@ -253,7 +253,7 @@ void KOEditorGeneralEvent::setDateTimes( const TQDateTime &start, const TQDateTi
void KOEditorGeneralEvent::startTimeChanged( TQTime newtime )
{
- kdDebug(5850) << "KOEditorGeneralEvent::startTimeChanged() " << newtime.toString() << endl;
+ kdDebug(5850) << "KOEditorGeneralEvent::startTimeChanged() " << TQString(newtime.toString()) << endl;
int secsep = mCurrStartDateTime.secsTo(mCurrEndDateTime);
@@ -479,8 +479,8 @@ void KOEditorGeneralEvent::emitDateTimeStr()
to = l->formatDateTime(mCurrEndDateTime);
}
- TQString str = i18n("From: %1 To: %2 %3").arg(from).arg(to)
- .arg(mDurationLabel->text());
+ TQString str = i18n("From: %1 To: %2 %3").tqarg(from).tqarg(to)
+ .tqarg(mDurationLabel->text());
emit dateTimeStrChanged(str);
}
@@ -493,14 +493,14 @@ bool KOEditorGeneralEvent::validateInput()
if (!mStartTimeEdit->inputIsValid()) {
KMessageBox::sorry( 0,
i18n("Please specify a valid start time, for example '%1'.")
- .arg( KGlobal::locale()->formatTime( TQTime::currentTime() ) ) );
+ .tqarg( KGlobal::locale()->formatTime( TQTime::currentTime() ) ) );
return false;
}
if (!mEndTimeEdit->inputIsValid()) {
KMessageBox::sorry( 0,
i18n("Please specify a valid end time, for example '%1'.")
- .arg( KGlobal::locale()->formatTime( TQTime::currentTime() ) ) );
+ .tqarg( KGlobal::locale()->formatTime( TQTime::currentTime() ) ) );
return false;
}
}
@@ -508,14 +508,14 @@ bool KOEditorGeneralEvent::validateInput()
if (!mStartDateEdit->date().isValid()) {
KMessageBox::sorry( 0,
i18n("Please specify a valid start date, for example '%1'.")
- .arg( KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ) ) );
+ .tqarg( KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ) ) );
return false;
}
if (!mEndDateEdit->date().isValid()) {
KMessageBox::sorry( 0,
i18n("Please specify a valid end date, for example '%1'.")
- .arg( KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ) ) );
+ .tqarg( KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ) ) );
return false;
}