From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmpart.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'kpovmodeler/pmpart.h') diff --git a/kpovmodeler/pmpart.h b/kpovmodeler/pmpart.h index e1b36b46..0fe3bd22 100644 --- a/kpovmodeler/pmpart.h +++ b/kpovmodeler/pmpart.h @@ -70,21 +70,22 @@ class KProcess; class PMPart : public KParts::ReadWritePart, virtual public PMPartIface { Q_OBJECT + TQ_OBJECT public: /** * construtor of PMPart, calls all init functions to create the * application. */ - PMPart( TQWidget* parentWidget, const char* widgetName, - TQObject* parent, const char* name, bool readWrite, + PMPart( TQWidget* tqparentWidget, const char* widgetName, + TQObject* tqparent, const char* name, bool readWrite, PMShell* shell = 0 ); /** * construtor of PMPart, calls all init functions to create the * application. It does not create the main widget. */ - PMPart( TQWidget* parentWidget, const char* widgetName, - TQObject* parent, const char* name, bool readWrite, + PMPart( TQWidget* tqparentWidget, const char* widgetName, + TQObject* tqparent, const char* name, bool readWrite, bool onlyCutPaste, PMShell* shell = 0 ); /** @@ -770,7 +771,7 @@ protected: * creates the widget of the part instance and sets * it as the view */ - void initView( TQWidget* parent, const char* name ); + void initView( TQWidget* tqparent, const char* name ); /** * initializes the documents contents */ @@ -1025,10 +1026,11 @@ private: class PMBrowserExtension : public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT friend class PMPart; public: - PMBrowserExtension( PMPart* parent ) - : KParts::BrowserExtension( parent, "PMBrowserExtension" ) + PMBrowserExtension( PMPart* tqparent ) + : KParts::BrowserExtension( tqparent, "PMBrowserExtension" ) { KGlobal::locale()->insertCatalogue("kpovmodeler"); } -- cgit v1.2.3