diff options
Diffstat (limited to 'korganizer/koeventeditor.cpp')
-rw-r--r-- | korganizer/koeventeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koeventeditor.cpp b/korganizer/koeventeditor.cpp index 8a8340fc0..69cb9c76f 100644 --- a/korganizer/koeventeditor.cpp +++ b/korganizer/koeventeditor.cpp @@ -230,7 +230,7 @@ void KOEventEditor::setDates( const TQDateTime &from, const TQDateTime &to, bool void KOEventEditor::setTexts( const TQString &summary, const TQString &description ) { - if ( description.isEmpty() && summary.contains("\n") ) { + if ( description.isEmpty() && summary.tqcontains("\n") ) { mGeneral->setDescription( summary ); int pos = summary.find( "\n" ); mGeneral->setSummary( summary.left( pos ) ); @@ -242,7 +242,7 @@ void KOEventEditor::setTexts( const TQString &summary, const TQString &descripti void KOEventEditor::loadDefaults() { - TQDateTime from( TQDate::currentDate(), KOPrefs::instance()->mStartTime.time() ); + TQDateTime from( TQDate::tqcurrentDate(), KOPrefs::instance()->mStartTime.time() ); int addSecs = ( KOPrefs::instance()->mDefaultDuration.time().hour()*3600 ) + ( KOPrefs::instance()->mDefaultDuration.time().minute()*60 ); TQDateTime to( from.addSecs( addSecs ) ); |