summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvectorlistedit.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/pmvectorlistedit.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/pmvectorlistedit.h')
-rw-r--r--kpovmodeler/pmvectorlistedit.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kpovmodeler/pmvectorlistedit.h b/kpovmodeler/pmvectorlistedit.h
index 73e32036..d84334a4 100644
--- a/kpovmodeler/pmvectorlistedit.h
+++ b/kpovmodeler/pmvectorlistedit.h
@@ -32,7 +32,7 @@
/*
const int c_pmTableRTTI = 14352;
-class PMTableItem : public QTableItem
+class PMTableItem : public TQTableItem
{
public:
PMTableItem( TQTable* table );
@@ -54,30 +54,31 @@ private:
/**
* Widget that displays a list of vectors, based on @ref TQTable.
*/
-class PMVectorListEdit : public QTable
+class PMVectorListEdit : public TQTable
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor for 3d vectors (x, y, z)
*/
- PMVectorListEdit( TQWidget* parent, const char* name = 0 );
+ PMVectorListEdit( TQWidget* tqparent, const char* name = 0 );
/**
* Constructor for 3d vectors
*/
PMVectorListEdit( const TQString& c1, const TQString& c2, const TQString& c3,
- TQWidget* parent, const char* name = 0 );
+ TQWidget* tqparent, const char* name = 0 );
/**
* Constructor for 2d vectors
*/
PMVectorListEdit( const TQString& c1, const TQString& c2,
- TQWidget* parent, const char* name = 0 );
+ TQWidget* tqparent, const char* name = 0 );
/**
* Constructor for 4d vectors
*/
PMVectorListEdit( const TQString& c1, const TQString& c2, const TQString& c3,
- const TQString& c4, TQWidget* parent, const char* name = 0 );
+ const TQString& c4, TQWidget* tqparent, const char* name = 0 );
/**
* Sets and displays the vectors. The widget will automatically
* resize if no link is set and resize is true.
@@ -136,7 +137,7 @@ public:
void select( int i, int j );
/**
* Blocks/unblocks selection updates. If block is false, the
- * selection is repainted.
+ * selection is tqrepainted.
*/
void blockSelectionUpdates( bool block );
@@ -146,7 +147,7 @@ public:
bool isDataValid( );
/** */
- virtual TQSize sizeHint( ) const;
+ virtual TQSize tqsizeHint( ) const;
/** */
bool eventFilter( TQObject* o, TQEvent* e );