summaryrefslogtreecommitdiffstats
path: root/korn
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 18:43:57 +0900
commit762dc98fa6b143629c75b3bbe277228fb04e8324 (patch)
treedb3a5fb61d0c372eac307dcc69b1fccb413dbad2 /korn
parent6ab7f162f49900770424dba529cba4a8a8a4a242 (diff)
downloadtdepim-762dc98fa6b143629c75b3bbe277228fb04e8324.tar.gz
tdepim-762dc98fa6b143629c75b3bbe277228fb04e8324.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korn')
-rw-r--r--korn/account_input.cpp2
-rw-r--r--korn/dockeditem.cpp2
-rw-r--r--korn/hvitem.cpp2
-rw-r--r--korn/kornaccountcfgimpl.cpp2
-rw-r--r--korn/kornshell.cpp6
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() ) );