summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/core.cpp
diff options
context:
space:
mode:
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 3c270aa8..859e76fa 100644
--- a/kontact/interfaces/core.cpp
+++ b/kontact/interfaces/core.cpp
@@ -43,7 +43,7 @@ Core::Core( TQWidget *parent, const char *name )
d = new Private;
TQTimer* timer = new TQTimer( this );
mLastDate = TQDate::currentDate();
- connect(timer, TQT_SIGNAL( timeout() ), TQT_SLOT( checkNewDay() ) );
+ connect(timer, TQ_SIGNAL( timeout() ), TQ_SLOT( checkNewDay() ) );
timer->start( 1000*60 );
}
@@ -66,13 +66,13 @@ KParts::ReadOnlyPart *Core::createPart( const char *libname )
KParts::ReadOnlyPart *part =
KParts::ComponentFactory::
createPartInstanceFromLibrary<KParts::ReadOnlyPart>
- ( libname, this, 0, TQT_TQOBJECT(this), "kontact", TQStringList(), &error );
+ ( libname, this, 0, this, "kontact", TQStringList(), &error );
KParts::ReadOnlyPart *pimPart = dynamic_cast<KParts::ReadOnlyPart*>( part );
if ( pimPart ) {
mParts.insert( libname, pimPart );
- QObject::connect( pimPart, TQT_SIGNAL( destroyed( TQObject * ) ),
- TQT_SLOT( slotPartDestroyed( TQObject * ) ) );
+ TQObject::connect( pimPart, TQ_SIGNAL( destroyed( TQObject * ) ),
+ TQ_SLOT( slotPartDestroyed( TQObject * ) ) );
} else {
// TODO move to KParts::ComponentFactory
switch( error ) {