diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-18 03:28:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-18 03:28:57 +0000 |
commit | 1d9d9f5ce46f0220f7b1b350f5ad4e6dc5079ac6 (patch) | |
tree | 728d80ad748a95d7aa27ee020706dbe985e0e8cb /amarok/src/hintlineedit.cpp | |
parent | e9db3e45ed0189bbe18125b120da394a5bc8a832 (diff) | |
download | amarok-1d9d9f5ce46f0220f7b1b350f5ad4e6dc5079ac6.tar.gz amarok-1d9d9f5ce46f0220f7b1b350f5ad4e6dc5079ac6.zip |
Finish TQt4 porting of Amarok
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228394 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amarok/src/hintlineedit.cpp')
-rw-r--r-- | amarok/src/hintlineedit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/amarok/src/hintlineedit.cpp b/amarok/src/hintlineedit.cpp index a98a38f6..a5591b3b 100644 --- a/amarok/src/hintlineedit.cpp +++ b/amarok/src/hintlineedit.cpp @@ -3,24 +3,24 @@ #include <tqlabel.h> #include <tqfont.h> -HintLineEdit::HintLineEdit( const TQString &hint, const TQString &text, TQWidget *parent, const char *name ) +HintLineEdit::HintLineEdit( const TQString &hint, const TQString &text, TQWidget *tqparent, const char *name ) : KLineEdit( text, 0, name ) - , m_vbox( new TQVBox( parent ) ) + , m_vbox( new TQVBox( tqparent ) ) { init(); m_hint->setText( hint ); } -HintLineEdit::HintLineEdit( const TQString &text, TQWidget *parent, const char *name ) +HintLineEdit::HintLineEdit( const TQString &text, TQWidget *tqparent, const char *name ) : KLineEdit( text, 0, name ) - , m_vbox( new TQVBox( parent ) ) + , m_vbox( new TQVBox( tqparent ) ) { init(); } -HintLineEdit::HintLineEdit( TQWidget *parent, const char *name ) +HintLineEdit::HintLineEdit( TQWidget *tqparent, const char *name ) : KLineEdit( 0, name ) - , m_vbox( new TQVBox( parent ) ) + , m_vbox( new TQVBox( tqparent ) ) { init(); } @@ -31,7 +31,7 @@ HintLineEdit::init() reparent( m_vbox, 0, TQPoint(0,0), true ); m_hint = new TQLabel( m_vbox ); //m_hint->setBuddy( this ); - m_hint->setFocusPolicy( NoFocus ); + m_hint->setFocusPolicy( TQ_NoFocus ); TQFont font; font.setPointSize( font.pointSize() - 2); m_hint->setFont( font ); @@ -50,9 +50,9 @@ HintLineEdit::setHint( const TQString &hint ) } TQObject * -HintLineEdit::parent() +HintLineEdit::tqparent() { - return m_vbox->parent(); + return m_vbox->tqparent(); } #include "hintlineedit.moc" |