summaryrefslogtreecommitdiffstats
path: root/kontact/interfaces/plugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kontact/interfaces/plugin.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 '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