summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbookmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kaddressbookmain.cpp')
-rw-r--r--kaddressbook/kaddressbookmain.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kaddressbook/kaddressbookmain.cpp b/kaddressbook/kaddressbookmain.cpp
index a3a145b3c..7f521a0c6 100644
--- a/kaddressbook/kaddressbookmain.cpp
+++ b/kaddressbook/kaddressbookmain.cpp
@@ -34,7 +34,7 @@
#include "kaddressbookmain.h"
-KAddressBookMain::KAddressBookMain( const QString &file )
+KAddressBookMain::KAddressBookMain( const TQString &file )
: DCOPObject( "KAddressBookIface" ), KMainWindow( 0 )
{
// Set this to be the group leader for all subdialogs - this means
@@ -79,7 +79,7 @@ KAddressBookMain::~KAddressBookMain()
mCore->saveSettings();
}
-void KAddressBookMain::addEmail( QString addr )
+void KAddressBookMain::addEmail( TQString addr )
{
mCore->addEmail( addr );
}
@@ -89,12 +89,12 @@ void KAddressBookMain::importVCard( const KURL& url )
mCore->importVCard( url );
}
-void KAddressBookMain::importVCardFromData( const QString& vCard )
+void KAddressBookMain::importVCardFromData( const TQString& vCard )
{
mCore->importVCardFromData( vCard );
}
-ASYNC KAddressBookMain::showContactEditor( QString uid )
+ASYNC KAddressBookMain::showContactEditor( TQString uid )
{
mCore->editContact( uid );
}
@@ -109,7 +109,7 @@ void KAddressBookMain::newContact()
mCore->newContact();
}
-QString KAddressBookMain::getNameByPhone( QString phone )
+TQString KAddressBookMain::getNameByPhone( TQString phone )
{
return mCore->getNameByPhone( phone );
}
@@ -144,13 +144,13 @@ bool KAddressBookMain::queryClose()
void KAddressBookMain::initActions()
{
- KStdAction::quit( this, SLOT( close() ), actionCollection() );
+ KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
KAction *action;
- action = KStdAction::keyBindings( this, SLOT( configureKeyBindings() ), actionCollection() );
+ action = KStdAction::keyBindings( this, TQT_SLOT( configureKeyBindings() ), actionCollection() );
action->setWhatsThis( i18n( "You will be presented with a dialog, where you can configure the application wide shortcuts." ) );
- KStdAction::configureToolbars( this, SLOT( configureToolbars() ), actionCollection() );
+ KStdAction::configureToolbars( this, TQT_SLOT( configureToolbars() ), actionCollection() );
}
void KAddressBookMain::configureKeyBindings()
@@ -158,11 +158,11 @@ void KAddressBookMain::configureKeyBindings()
KKeyDialog::configure( actionCollection(), this );
}
-void KAddressBookMain::loadProfile( const QString& )
+void KAddressBookMain::loadProfile( const TQString& )
{
}
-void KAddressBookMain::saveToProfile( const QString& ) const
+void KAddressBookMain::saveToProfile( const TQString& ) const
{
}
@@ -171,8 +171,8 @@ void KAddressBookMain::configureToolbars()
saveMainWindowSettings( KGlobal::config(), "MainWindow" );
KEditToolbar edit( factory() );
- connect( &edit, SIGNAL( newToolbarConfig() ),
- this, SLOT( newToolbarConfig() ) );
+ connect( &edit, TQT_SIGNAL( newToolbarConfig() ),
+ this, TQT_SLOT( newToolbarConfig() ) );
edit.exec();
}