summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopeteplugin.h')
-rw-r--r--kopete/libkopete/kopeteplugin.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/libkopete/kopeteplugin.h b/kopete/libkopete/kopeteplugin.h
index 43a80849..eebad0d2 100644
--- a/kopete/libkopete/kopeteplugin.h
+++ b/kopete/libkopete/kopeteplugin.h
@@ -21,7 +21,7 @@
#define KOPETEPLUGIN_H
#include <kxmlguiclient.h>
-#include <qobject.h>
+#include <tqobject.h>
#include <kdemacros.h>
#include "kopete_export.h"
@@ -71,7 +71,7 @@ Comment=Plugin that do some nice stuff
static const KAboutData aboutdata("kopete_myplugin", I18N_NOOP("MyPlugin") , "1.0" );
K_EXPORT_COMPONENT_FACTORY( kopete_myplugin, MyPluginFactory( &aboutdata ) )
- MyPlugin::MyPlugin( QObject *parent, const char *name, const QStringList & args )
+ MyPlugin::MyPlugin( TQObject *parent, const char *name, const TQStringList & args )
: Kopete::Plugin( MyPluginFactory::instance(), parent, name )
{
//...
@@ -87,12 +87,12 @@ Comment=Plugin that do some nice stuff
* @author Duncan Mac-Vicar P. <[email protected]>
* @author Olivier Goffart <ogoffart @ tiscalinet.be>
*/
-class KOPETE_EXPORT Plugin : public QObject, public KXMLGUIClient
+class KOPETE_EXPORT Plugin : public TQObject, public KXMLGUIClient
{
Q_OBJECT
public:
- Plugin( KInstance *instance, QObject *parent, const char *name );
+ Plugin( KInstance *instance, TQObject *parent, const char *name );
virtual ~Plugin();
/**
@@ -109,35 +109,35 @@ public:
*
* This is a convenience method that simply calls @ref pluginInfo()->icon().
*/
- QString pluginIcon() const;
+ TQString pluginIcon() const;
/**
* Returns the display name of this plugin.
*
* This is a convenience method that simply calls @ref pluginInfo()->name().
*/
- QString displayName() const;
+ TQString displayName() const;
/**
* @brief Get the plugin id
- * @return the plugin's id which is gotten by calling QObject::className().
+ * @return the plugin's id which is gotten by calling TQObject::className().
*/
- QString pluginId() const;
+ TQString pluginId() const;
/**
* Return the list of all keys from the address book in which the plugin
* is interested. Those keys are monitored for changes upon load and
* during runtime. When the key actually changes, the plugin's
- * addressBookKeyChanged( Kopete::MetaContact *mc, const QString &key )
+ * addressBookKeyChanged( Kopete::MetaContact *mc, const TQString &key )
* is called.
* You can add fields to the list using @ref addAddressBookField()
*/
- QStringList addressBookFields() const;
+ TQStringList addressBookFields() const;
/**
* Return the index field as set by @ref addAddressBookField()
*/
- QString addressBookIndexField() const;
+ TQString addressBookIndexField() const;
/**
* Mode for an address book field as used by @ref addAddressBookField()
@@ -155,7 +155,7 @@ public:
* Only one field can be index field. Calling this method multiple times
* as index field will reset the value of index field!
*/
- void addAddressBookField( const QString &field, AddressBookFieldAddMode mode = AddOnly );
+ void addAddressBookField( const TQString &field, AddressBookFieldAddMode mode = AddOnly );
/**
* @brief Prepare for unloading a plugin
@@ -199,7 +199,7 @@ public slots:
*
* @todo we probably should think to another way to save the contacltist.
*/
- virtual void deserialize( MetaContact *metaContact, const QMap<QString, QString> &data );
+ virtual void deserialize( MetaContact *metaContact, const TQMap<TQString, TQString> &data );
protected: