summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbook_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kaddressbook_part.cpp')
-rw-r--r--kaddressbook/kaddressbook_part.cpp26
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
{
}