diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/kaddressbook_part.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/kaddressbook_part.cpp')
-rw-r--r-- | kaddressbook/kaddressbook_part.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/kaddressbook_part.cpp b/kaddressbook/kaddressbook_part.cpp index f2a23ec4f..3acb85aab 100644 --- a/kaddressbook/kaddressbook_part.cpp +++ b/kaddressbook/kaddressbook_part.cpp @@ -21,7 +21,7 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> +#include <tqlayout.h> #include <kaction.h> #include <kapplication.h> @@ -42,19 +42,19 @@ typedef KParts::GenericFactory< KAddressbookPart > KAddressbookFactory; K_EXPORT_COMPONENT_FACTORY( libkaddressbookpart, KAddressbookFactory ) -KAddressbookPart::KAddressbookPart( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const QStringList & ) +KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const TQStringList & ) : DCOPObject( "KAddressBookIface" ), KParts::ReadOnlyPart( parent, name ) { setInstance( KAddressbookFactory::instance() ); // create a canvas to insert our widget - QWidget *canvas = new QWidget( parentWidget, widgetName ); - canvas->setFocusPolicy( QWidget::ClickFocus ); + TQWidget *canvas = new TQWidget( parentWidget, widgetName ); + canvas->setFocusPolicy( TQWidget::ClickFocus ); setWidget( canvas ); - QVBoxLayout *topLayout = new QVBoxLayout( canvas ); + TQVBoxLayout *topLayout = new TQVBoxLayout( canvas ); KGlobal::iconLoader()->addAppDir( "kaddressbook" ); @@ -82,7 +82,7 @@ KAboutData *KAddressbookPart::createAboutData() return KABCore::createAboutData(); } -void KAddressbookPart::addEmail( QString addr ) +void KAddressbookPart::addEmail( TQString addr ) { mCore->addEmail( addr ); } @@ -92,12 +92,12 @@ void KAddressbookPart::importVCard( const KURL& url ) mCore->importVCard( url ); } -void KAddressbookPart::importVCardFromData( const QString& vCard ) +void KAddressbookPart::importVCardFromData( const TQString& vCard ) { mCore->importVCardFromData( vCard ); } -ASYNC KAddressbookPart::showContactEditor( QString uid ) +ASYNC KAddressbookPart::showContactEditor( TQString uid ) { mCore->editContact( uid ); } @@ -113,7 +113,7 @@ void KAddressbookPart::newDistributionList() mCore->newDistributionList(); } -QString KAddressbookPart::getNameByPhone( QString phone ) +TQString KAddressbookPart::getNameByPhone( TQString phone ) { return mCore->getNameByPhone( phone ); } @@ -168,11 +168,11 @@ void KAddressbookPart::guiActivateEvent( KParts::GUIActivateEvent *e ) } } -void KAddressbookPart::loadProfile( const QString& ) +void KAddressbookPart::loadProfile( const TQString& ) { } -void KAddressbookPart::saveToProfile( const QString& ) const +void KAddressbookPart::saveToProfile( const TQString& ) const { } |