summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/interfaces/plugin.h')
-rw-r--r--kontact/interfaces/plugin.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h
index c80227984..f3b44431d 100644
--- a/kontact/interfaces/plugin.h
+++ b/kontact/interfaces/plugin.h
@@ -24,10 +24,10 @@
#ifndef KONTACT_PLUGIN_H
#define KONTACT_PLUGIN_H
-#include <qobject.h>
+#include <tqobject.h>
#include <kxmlguiclient.h>
#include <kdepimmacros.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
class QStringList;
class DCOPClient;
@@ -55,7 +55,7 @@ class Summary;
to get a plugin. It can insert an icon into the sidepane,
add widgets to the widgetstack and add menu items via XMLGUI.
*/
-class KDE_EXPORT Plugin : public QObject, virtual public KXMLGUIClient
+class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
{
Q_OBJECT
@@ -68,61 +68,61 @@ class KDE_EXPORT Plugin : public QObject, virtual public KXMLGUIClient
provides the part! This is the name used for DCOP registration.
It's ok to have several plugins using the same application name.
*/
- Plugin( Core *core, QObject *parent, const char *name );
+ Plugin( Core *core, TQObject *parent, const char *name );
~Plugin();
/**
Sets the identifier.
*/
- void setIdentifier( const QString &identifier );
+ void setIdentifier( const TQString &identifier );
/**
Returns the identifier. It is used as argument for several
methods of Kontacts core.
*/
- QString identifier() const;
+ TQString identifier() const;
/**
Sets the localized title.
*/
- void setTitle( const QString &title );
+ void setTitle( const TQString &title );
/**
Returns the localized title.
*/
- QString title() const;
+ TQString title() const;
/**
Sets the icon name.
*/
- void setIcon( const QString &icon );
+ void setIcon( const TQString &icon );
/**
Returns the icon name.
*/
- QString icon() const;
+ TQString icon() const;
/**
Sets the name of executable (if existant).
*/
- void setExecutableName( const QString &bin );
+ void setExecutableName( const TQString &bin );
/**
Returns the name of the binary (if existant).
*/
- QString executableName() const;
+ TQString executableName() const;
/**
Set name of library which contains the KPart used by this plugin.
*/
- void setPartLibraryName( const QCString & );
+ void setPartLibraryName( const TQCString & );
/**
Create the DCOP interface for the given @p serviceType, if this
plugin provides it. Return false otherwise.
*/
- virtual bool createDCOPInterface( const QString& /*serviceType*/ ) { return false; }
+ virtual bool createDCOPInterface( const TQString& /*serviceType*/ ) { return false; }
/**
Reimplement this method and return wether a standalone application is still running
@@ -153,7 +153,7 @@ class KDE_EXPORT Plugin : public QObject, virtual public KXMLGUIClient
/**
Reimplement this method and return the a path relative to "data" to the tips file.
*/
- virtual QString tipFile() const;
+ virtual TQString tipFile() const;
/**
This function is called when the plugin is selected by the user before the
@@ -171,7 +171,7 @@ class KDE_EXPORT Plugin : public QObject, virtual public KXMLGUIClient
Reimplement this method if you want to add a widget for your application
to Kontact's summary page.
*/
- virtual Summary *createSummaryWidget( QWidget * /*parent*/ ) { return 0; }
+ virtual Summary *createSummaryWidget( TQWidget * /*parent*/ ) { return 0; }
/**
Returns wether the plugin provides a part that should be shown in the sidebar.
@@ -220,31 +220,31 @@ class KDE_EXPORT Plugin : public QObject, virtual public KXMLGUIClient
/**
FIXME: write API doc for Kontact::Plugin::newActions().
*/
- QPtrList<KAction>* newActions() const;
+ TQPtrList<KAction>* newActions() const;
/**
FIXME: write API doc for Kontact::Plugin::syncActions().
*/
- QPtrList<KAction>* syncActions() const;
+ TQPtrList<KAction>* syncActions() const;
/**
Returns a list of action name which shall be hidden in the main toolbar.
*/
- virtual QStringList invisibleToolbarActions() const { return QStringList(); }
+ virtual TQStringList invisibleToolbarActions() const { return TQStringList(); }
/**
Return, if the plugin can handle the drag object of the given mime type.
*/
- virtual bool canDecodeDrag( QMimeSource * ) { return false; }
+ virtual bool canDecodeDrag( TQMimeSource * ) { return false; }
/**
Process drop event.
*/
- virtual void processDropEvent( QDropEvent * ) {}
+ virtual void processDropEvent( TQDropEvent * ) {}
- virtual void loadProfile( const QString& directoryPath );
+ virtual void loadProfile( const TQString& directoryPath );
- virtual void saveToProfile( const QString& directoryPath ) const;
+ virtual void saveToProfile( const TQString& directoryPath ) const;
/**
* Session management: read properties