summaryrefslogtreecommitdiffstats
path: root/korganizer/koeventeditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/koeventeditor.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koeventeditor.cpp')
-rw-r--r--korganizer/koeventeditor.cpp4
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 ) );