diff options
Diffstat (limited to 'korn')
-rw-r--r-- | korn/account_input.cpp | 2 | ||||
-rw-r--r-- | korn/dockeditem.cpp | 2 | ||||
-rw-r--r-- | korn/hvitem.cpp | 2 | ||||
-rw-r--r-- | korn/kornaccountcfgimpl.cpp | 2 | ||||
-rw-r--r-- | korn/kornshell.cpp | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/korn/account_input.cpp b/korn/account_input.cpp index 7603e56b2..d75848052 100644 --- a/korn/account_input.cpp +++ b/korn/account_input.cpp @@ -65,7 +65,7 @@ TextInput::TextInput( TQWidget *parent, const TQString& title, int min, int max, { _left = new TQLabel( title, parent, "label" ); _right = new KLineEdit( "", parent, "edit" ); - _right->setValidator( new TQIntValidator( min, max, TQT_TQOBJECT(_right), "validator" ) ); + _right->setValidator( new TQIntValidator( min, max, _right, "validator" ) ); setValue( defaul ); } diff --git a/korn/dockeditem.cpp b/korn/dockeditem.cpp index 40274474d..b197a2d04 100644 --- a/korn/dockeditem.cpp +++ b/korn/dockeditem.cpp @@ -37,7 +37,7 @@ #include <tqmovie.h> DockedItem::DockedItem( TQWidget * parent, const char * name ) - : BoxContainerItem( TQT_TQOBJECT(parent), name ), + : BoxContainerItem( parent, name ), _systemtray( new SystemTray( parent, "System tray" ) ) { this->fillTDEPopupMenu( _systemtray->contextMenu(), _systemtray->actionCollection() ); diff --git a/korn/hvitem.cpp b/korn/hvitem.cpp index cede9c478..aaedb649e 100644 --- a/korn/hvitem.cpp +++ b/korn/hvitem.cpp @@ -39,7 +39,7 @@ HVItem::HVItem( TQWidget *parent, const char *name ) _popup->insertTitle( kapp->miniIcon(), kapp->caption() ); this->fillTDEPopupMenu( _popup, _actions ); _popup->insertSeparator(); - KStdAction::quit( TQT_TQOBJECT(kapp), TQT_SLOT( quit() ), _actions )->plug( _popup ); + KStdAction::quit( kapp, TQT_SLOT( quit() ), _actions )->plug( _popup ); connect( _label, TQT_SIGNAL( mouseButtonPressed( TQt::ButtonState ) ), this, TQT_SLOT( mouseButtonPressed( TQt::ButtonState ) ) ); } diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp index a6193e2eb..439a4aea6 100644 --- a/korn/kornaccountcfgimpl.cpp +++ b/korn/kornaccountcfgimpl.cpp @@ -195,7 +195,7 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto ) delete groupBoxes; AccountInput *input; - protocol->configFields( _groupBoxes, TQT_TQOBJECT(this), _accountinput ); + protocol->configFields( _groupBoxes, this, _accountinput ); for( unsigned int groupCounter = 0; groupCounter < _groupBoxes->count(); ++groupCounter ) { diff --git a/korn/kornshell.cpp b/korn/kornshell.cpp index 20533de3e..60c090b15 100644 --- a/korn/kornshell.cpp +++ b/korn/kornshell.cpp @@ -99,11 +99,11 @@ void KornShell::readConfig() KOrnPassword::setUseWallet( _config->readBoolEntry( "usewallet", false ) ); if( layout == 'H' ) - _box = new HVContainer( TQt::Horizontal, TQT_TQOBJECT(this), "horizontal container" ); + _box = new HVContainer( TQt::Horizontal, this, "horizontal container" ); else if( layout == 'V' ) - _box = new HVContainer( TQt::Vertical, TQT_TQOBJECT(this), "vertical container" ); + _box = new HVContainer( TQt::Vertical, this, "vertical container" ); else - _box = new DockedContainer( TQT_TQOBJECT(this), "docked container" ); + _box = new DockedContainer( this, "docked container" ); connect( _box, TQT_SIGNAL( showConfiguration() ), this, TQT_SLOT( optionDlg() ) ); |