summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdialogeditbase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmdialogeditbase.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-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/pmdialogeditbase.h')
-rw-r--r--kpovmodeler/pmdialogeditbase.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kpovmodeler/pmdialogeditbase.h b/kpovmodeler/pmdialogeditbase.h
index 6057648e..04a3dad7 100644
--- a/kpovmodeler/pmdialogeditbase.h
+++ b/kpovmodeler/pmdialogeditbase.h
@@ -42,7 +42,7 @@ class PMPovrayOutputWidget;
/**
* Base class for all widgets for editing object attributes.
*
- * Ensures a consistent layout for all widgets. Widgets should not
+ * Ensures a consistent tqlayout for all widgets. Widgets should not
* created within the constructor, but with the functions @ref createTopWidgets
* and @ref createBottomWidgets.
*
@@ -51,9 +51,10 @@ class PMPovrayOutputWidget;
* of solid objects. Subclasses like the widget for the box object add their
* object specific controls.
*/
-class PMDialogEditBase : public QWidget
+class PMDialogEditBase : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Creates a new PMDialogEditBase widget objectType is
@@ -62,7 +63,7 @@ public:
* No widgets are created within the constructor! You have to call
* @ref createWidgets after creating a new edit widget.
*/
- PMDialogEditBase( TQWidget* parent, const char* name = 0 );
+ PMDialogEditBase( TQWidget* tqparent, const char* name = 0 );
/**
* Destructor
*/
@@ -275,7 +276,7 @@ protected:
* of the sub class.
*
* First call the function of the base class, then create and append
- * the widgets to the top layout.
+ * the widgets to the top tqlayout.
*/
virtual void createTopWidgets( ) { };
@@ -283,7 +284,7 @@ protected:
* Create widgets here, that should be placed under the widgets
* of the sub class.
*
- * First create and append the widgets to the top layout, then
+ * First create and append the widgets to the top tqlayout, then
* call the function of the base class
*/
virtual void createBottomWidgets( );
@@ -295,7 +296,7 @@ protected:
virtual void saveContents( );
/**
- * Returns a pointer to the top layout
+ * Returns a pointer to the top tqlayout
*/
TQBoxLayout* topLayout( ) const { return m_pTopLayout; }