diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmpart.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
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
Diffstat (limited to 'kpovmodeler/pmpart.h')
-rw-r--r-- | kpovmodeler/pmpart.h | 16 |
1 files changed, 9 insertions, 7 deletions
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"); } |