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/pmlinkedit.cpp | |
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/pmlinkedit.cpp')
-rw-r--r-- | kpovmodeler/pmlinkedit.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpovmodeler/pmlinkedit.cpp b/kpovmodeler/pmlinkedit.cpp index 8ebca5c6..2114c5fa 100644 --- a/kpovmodeler/pmlinkedit.cpp +++ b/kpovmodeler/pmlinkedit.cpp @@ -28,23 +28,23 @@ #include "pmobjectselect.h" PMLinkEdit::PMLinkEdit( const TQString& declareType, - TQWidget* parent, const char* name ) - : TQWidget( parent, name ) + TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { m_declareTypes.append( declareType ); init( ); } PMLinkEdit::PMLinkEdit( const TQStringList& declareTypes, - TQWidget* parent, const char* name ) - : TQWidget( parent, name ) + TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { m_declareTypes = declareTypes; init( ); } -PMLinkEdit::PMLinkEdit( TQWidget* parent, const char* name ) - : TQWidget( parent, name ) +PMLinkEdit::PMLinkEdit( TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { init( ); } @@ -64,12 +64,12 @@ void PMLinkEdit::init( ) m_pIDEdit->setReadOnly( true ); grid->addWidget( m_pIDEdit, 0, 1 ); - TQHBoxLayout* layout = new TQHBoxLayout( ); - grid->addLayout( layout, 1, 1 ); + TQHBoxLayout* tqlayout = new TQHBoxLayout( ); + grid->addLayout( tqlayout, 1, 1 ); m_pSelectButton = new TQPushButton( i18n( "Select..." ), this ); - layout->addWidget( m_pSelectButton ); + tqlayout->addWidget( m_pSelectButton ); m_pClearButton = new KPushButton( KStdGuiItem::clear(), this ); - layout->addWidget( m_pClearButton ); + tqlayout->addWidget( m_pClearButton ); connect( m_pSelectButton, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotSelectClicked( ) ) ); connect( m_pClearButton, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotClearClicked( ) ) ); |