From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/interfaces/plugin.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kontact/interfaces/plugin.h') diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h index 5a62beea4..f0fcc1547 100644 --- a/kontact/interfaces/plugin.h +++ b/kontact/interfaces/plugin.h @@ -58,6 +58,7 @@ class Summary; class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient { Q_OBJECT + TQ_OBJECT public: /** @@ -68,7 +69,7 @@ class KDE_EXPORT Plugin : public TQObject, 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, TQObject *parent, const char *name ); + Plugin( Core *core, TQObject *tqparent, const char *name ); ~Plugin(); @@ -114,7 +115,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient TQString executableName() const; /** - Set name of library which tqcontains the KPart used by this plugin. + Set name of library which contains the KPart used by this plugin. */ void setPartLibraryName( const TQCString & ); @@ -171,7 +172,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient Reimplement this method if you want to add a widget for your application to Kontact's summary page. */ - virtual Summary *createSummaryWidget( TQWidget * /*parent*/ ) { return 0; } + virtual Summary *createSummaryWidget( TQWidget * /*tqparent*/ ) { return 0; } /** Returns whether the plugin provides a part that should be shown in the sidebar. @@ -196,7 +197,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient The clients name is taken from the name argument in the constructor. @note: The DCOPClient object will only be created when this method is called for the first time. Make sure that the part has been loaded - before calling this method, if it's the one that tqcontains the DCOP + before calling this method, if it's the one that contains the DCOP interface that other parts might use. */ DCOPClient *dcopClient() const; -- cgit v1.2.1