summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmobjectselect.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/pmobjectselect.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/pmobjectselect.h')
-rw-r--r--kpovmodeler/pmobjectselect.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kpovmodeler/pmobjectselect.h b/kpovmodeler/pmobjectselect.h
index 46d39d21..c8604eb4 100644
--- a/kpovmodeler/pmobjectselect.h
+++ b/kpovmodeler/pmobjectselect.h
@@ -34,7 +34,7 @@
/**
* TQListBoxItem for @ref PMObject
*/
-class PMListBoxObject : public QListBoxPixmap
+class PMListBoxObject : public TQListBoxPixmap
{
public:
/**
@@ -84,11 +84,12 @@ private:
class PMObjectSelect : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
- * Creates a selection widget with parent and name
+ * Creates a selection widget with tqparent and name
*/
- PMObjectSelect( TQWidget* parent = 0, const char* name = 0,
+ PMObjectSelect( TQWidget* tqparent = 0, const char* name = 0,
bool modal = true );
/**
* Deletes the dialog
@@ -112,13 +113,13 @@ public:
* Only objects above the object link are listed.
*/
static int selectObject( PMObject* link, const TQString& t, PMObject* & obj,
- TQWidget* parent = 0 );
+ TQWidget* tqparent = 0 );
static int selectObject( PMObject* link, const TQStringList& t,
- PMObject* & obj, TQWidget* parent = 0 );
+ PMObject* & obj, TQWidget* tqparent = 0 );
static int selectDeclare( PMObject* link, const TQString& declareType,
- PMObject* & obj, TQWidget* parent = 0 );
+ PMObject* & obj, TQWidget* tqparent = 0 );
static int selectDeclare( PMObject* link, const TQStringList& dt,
- PMObject* & obj, TQWidget* parent = 0 );
+ PMObject* & obj, TQWidget* tqparent = 0 );
protected slots:
void slotHighlighted( TQListBoxItem* lbi );