summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbookmain.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/kaddressbookmain.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();
}