summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/interfaces/plugin.cpp')
-rw-r--r--kontact/interfaces/plugin.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp
index 33662015c..6025664f1 100644
--- a/kontact/interfaces/plugin.cpp
+++ b/kontact/interfaces/plugin.cpp
@@ -20,7 +20,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <qobjectlist.h>
+#include <tqobjectlist.h>
#include <dcopclient.h>
#include <kaboutdata.h>
@@ -40,29 +40,29 @@ class Plugin::Private
public:
Kontact::Core *core;
DCOPClient *dcopClient;
- QPtrList<KAction> *newActions;
- QPtrList<KAction> *syncActions;
- QString identifier;
- QString title;
- QString icon;
- QString executableName;
- QCString partLibraryName;
+ TQPtrList<KAction> *newActions;
+ TQPtrList<KAction> *syncActions;
+ TQString identifier;
+ TQString title;
+ TQString icon;
+ TQString executableName;
+ TQCString partLibraryName;
bool hasPart;
KParts::ReadOnlyPart *part;
bool disabled;
};
-Plugin::Plugin( Kontact::Core *core, QObject *parent, const char *name )
- : KXMLGUIClient( core ), QObject( parent, name ), d( new Private )
+Plugin::Plugin( Kontact::Core *core, TQObject *parent, const char *name )
+ : KXMLGUIClient( core ), TQObject( parent, name ), d( new Private )
{
core->factory()->addClient( this );
KGlobal::locale()->insertCatalogue(name);
d->core = core;
d->dcopClient = 0;
- d->newActions = new QPtrList<KAction>;
- d->syncActions = new QPtrList<KAction>;
+ d->newActions = new TQPtrList<KAction>;
+ d->syncActions = new TQPtrList<KAction>;
d->hasPart = true;
d->part = 0;
d->disabled = false;
@@ -76,47 +76,47 @@ Plugin::~Plugin()
delete d;
}
-void Plugin::setIdentifier( const QString &identifier )
+void Plugin::setIdentifier( const TQString &identifier )
{
d->identifier = identifier;
}
-QString Plugin::identifier() const
+TQString Plugin::identifier() const
{
return d->identifier;
}
-void Plugin::setTitle( const QString &title )
+void Plugin::setTitle( const TQString &title )
{
d->title = title;
}
-QString Plugin::title() const
+TQString Plugin::title() const
{
return d->title;
}
-void Plugin::setIcon( const QString &icon )
+void Plugin::setIcon( const TQString &icon )
{
d->icon = icon;
}
-QString Plugin::icon() const
+TQString Plugin::icon() const
{
return d->icon;
}
-void Plugin::setExecutableName( const QString& bin )
+void Plugin::setExecutableName( const TQString& bin )
{
d->executableName = bin;
}
-QString Plugin::executableName() const
+TQString Plugin::executableName() const
{
return d->executableName;
}
-void Plugin::setPartLibraryName( const QCString &libName )
+void Plugin::setPartLibraryName( const TQCString &libName )
{
d->partLibraryName = libName;
}
@@ -147,16 +147,16 @@ KParts::ReadOnlyPart *Plugin::part()
if ( !d->part ) {
d->part = createPart();
if ( d->part ) {
- connect( d->part, SIGNAL( destroyed() ), SLOT( partDestroyed() ) );
+ connect( d->part, TQT_SIGNAL( destroyed() ), TQT_SLOT( partDestroyed() ) );
core()->partLoaded( this, d->part );
}
}
return d->part;
}
-QString Plugin::tipFile() const
+TQString Plugin::tipFile() const
{
- return QString::null;
+ return TQString::null;
}
@@ -183,12 +183,12 @@ void Plugin::insertSyncAction( KAction *action )
d->syncActions->append( action );
}
-QPtrList<KAction> *Plugin::newActions() const
+TQPtrList<KAction> *Plugin::newActions() const
{
return d->newActions;
}
-QPtrList<KAction> *Plugin::syncActions() const
+TQPtrList<KAction> *Plugin::syncActions() const
{
return d->syncActions;
}
@@ -242,11 +242,11 @@ bool Kontact::Plugin::disabled() const
return d->disabled;
}
-void Kontact::Plugin::loadProfile( const QString& )
+void Kontact::Plugin::loadProfile( const TQString& )
{
}
-void Kontact::Plugin::saveToProfile( const QString& ) const
+void Kontact::Plugin::saveToProfile( const TQString& ) const
{
}