summaryrefslogtreecommitdiffstats
path: root/korganizer/koeventeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeventeditor.cpp')
-rw-r--r--korganizer/koeventeditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koeventeditor.cpp b/korganizer/koeventeditor.cpp
index c73a67ac2..dbbdfe127 100644
--- a/korganizer/koeventeditor.cpp
+++ b/korganizer/koeventeditor.cpp
@@ -26,7 +26,7 @@
#include <tqtooltip.h>
#include <tqframe.h>
#include <tqpixmap.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidgetstack.h>
#include <tqwhatsthis.h>
@@ -242,7 +242,7 @@ void KOEventEditor::setTexts( const TQString &summary, const TQString &descripti
void KOEventEditor::loadDefaults()
{
- TQDateTime from( TQDate::tqcurrentDate(), KOPrefs::instance()->mStartTime.time() );
+ TQDateTime from( TQDate::currentDate(), KOPrefs::instance()->mStartTime.time() );
int addSecs = ( KOPrefs::instance()->mDefaultDuration.time().hour()*3600 ) +
( KOPrefs::instance()->mDefaultDuration.time().minute()*60 );
TQDateTime to( from.addSecs( addSecs ) );
@@ -285,7 +285,7 @@ bool KOEventEditor::processInput()
// add dummy event at the position of the counter proposal
Event *event = mEvent->clone();
event->clearAttendees();
- event->setSummary( i18n("My counter proposal for: %1").tqarg( mEvent->summary() ) );
+ event->setSummary( i18n("My counter proposal for: %1").arg( mEvent->summary() ) );
mChanger->addIncidence( event, mResource, mSubResource, this );
} else {
if ( mRecurIncidence && mRecurIncidenceAfterDissoc ) {