summaryrefslogtreecommitdiffstats
path: root/karm/task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/task.cpp')
-rw-r--r--karm/task.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/karm/task.cpp b/karm/task.cpp
index 7d84bcd2c..b150a94db 100644
--- a/karm/task.cpp
+++ b/karm/task.cpp
@@ -75,13 +75,13 @@ void Task::init( const TQString& taskName, long minutes, long sessionTime,
_removing = false;
_name = taskName.stripWhiteSpace();
- _lastStart = TQDateTime::currentDateTime();
+ _lastStart = TQDateTime::tqcurrentDateTime();
_totalTime = _time = minutes;
_totalSessionTime = _sessionTime = sessionTime;
_timer = new TQTimer(this);
_desktops = desktops;
connect(_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateActiveIcon()));
- setPixmap(1, UserIcon(TQString::fromLatin1("empty-watch.xpm")));
+ setPixmap(1, UserIcon(TQString::tqfromLatin1("empty-watch.xpm")));
_currentPic = 0;
_percentcomplete = percent_complete;
@@ -119,7 +119,7 @@ void Task::setRunning( bool on, KarmStorage* storage, TQDateTime whenStarted, TQ
if ( ! _removing )
{
storage->stopTimer(this, whenStopped);
- setPixmap(1, UserIcon(TQString::fromLatin1("empty-watch.xpm")));
+ setPixmap(1, UserIcon(TQString::tqfromLatin1("empty-watch.xpm")));
}
}
}
@@ -290,7 +290,7 @@ TQString Task::fullName() const
if (isRoot())
return name();
else
- return parent()->fullName() + TQString::fromLatin1("/") + name();
+ return parent()->fullName() + TQString::tqfromLatin1("/") + name();
}
KCal::Todo* Task::asTodo(KCal::Todo* todo) const
@@ -349,7 +349,7 @@ bool Task::parseIncidence( KCal::Incidence* incident, long& minutes,
TQString desktopList = incident->customProperty( kapp->instanceName(),
TQCString( "desktopList" ) );
- TQStringList desktopStrList = TQStringList::split( TQString::fromLatin1(","),
+ TQStringList desktopStrList = TQStringList::split( TQString::tqfromLatin1(","),
desktopList );
desktops.clear();
@@ -380,7 +380,7 @@ TQString Task::getDesktopStr() const
for ( DesktopList::const_iterator iter = _desktops.begin();
iter != _desktops.end();
++iter ) {
- desktopstr += TQString::number( *iter ) + TQString::fromLatin1( "," );
+ desktopstr += TQString::number( *iter ) + TQString::tqfromLatin1( "," );
}
desktopstr.remove( desktopstr.length() - 1, 1 );
return desktopstr;
@@ -419,7 +419,7 @@ void Task::update()
void Task::addComment( TQString comment, KarmStorage* storage )
{
- _comment = _comment + TQString::fromLatin1("\n") + comment;
+ _comment = _comment + TQString::tqfromLatin1("\n") + comment;
storage->addComment(this, comment);
}