summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/core.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /kontact/interfaces/core.cpp
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kontact/interfaces/core.cpp')
-rw-r--r--kontact/interfaces/core.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/interfaces/core.cpp b/kontact/interfaces/core.cpp
index e4e44e704..ed8848c61 100644
--- a/kontact/interfaces/core.cpp
+++ b/kontact/interfaces/core.cpp
@@ -42,7 +42,7 @@ Core::Core( TQWidget *parent, const char *name )
{
d = new Private;
TQTimer* timer = new TQTimer( this );
- mLastDate = TQDate::tqcurrentDate();
+ mLastDate = TQDate::currentDate();
connect(timer, TQT_SIGNAL( timeout() ), TQT_SLOT( checkNewDay() ) );
timer->start( 1000*60 );
}
@@ -114,10 +114,10 @@ void Core::slotPartDestroyed( TQObject * obj )
void Core::checkNewDay()
{
- if ( mLastDate != TQDate::tqcurrentDate() )
- emit dayChanged( TQDate::tqcurrentDate() );
+ if ( mLastDate != TQDate::currentDate() )
+ emit dayChanged( TQDate::currentDate() );
- mLastDate = TQDate::tqcurrentDate();
+ mLastDate = TQDate::currentDate();
}
TQString Core::lastErrorMessage() const