From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korn/kornshell.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'korn/kornshell.cpp') diff --git a/korn/kornshell.cpp b/korn/kornshell.cpp index 553cac42..f7d30358 100644 --- a/korn/kornshell.cpp +++ b/korn/kornshell.cpp @@ -32,8 +32,8 @@ #include -KornShell::KornShell( TQWidget * parent, const char * name ) - : TQWidget( parent, name ), +KornShell::KornShell( TQWidget * tqparent, const char * name ) + : TQWidget( tqparent, name ), _config( new KConfig( "kornrc" ) ), _box( 0 ), _configDialog( 0 ), @@ -99,9 +99,9 @@ void KornShell::readConfig() KOrnPassword::setUseWallet( _config->readBoolEntry( "usewallet", false ) ); if( tqlayout == 'H' ) - _box = new HVContainer( Qt::Horizontal, this, "horizontal container" ); + _box = new HVContainer( TQt::Horizontal, this, "horizontal container" ); else if( tqlayout == 'V' ) - _box = new HVContainer( Qt::Vertical, this, "vertical container" ); + _box = new HVContainer( TQt::Vertical, this, "vertical container" ); else _box = new DockedContainer( this, "docked container" ); @@ -135,14 +135,14 @@ void KornShell::slotDialogClosed() _configDialog->deleteLater(); _configDialog = 0; //At this time, just delete all widgets and make a new one. - //Maybe, this should tqreplaces later by a better variant. + //Maybe, this should replaces later by a better variant. slotApply(); } void KornShell::slotApply() { //At this time, just delete all widgets and make a new one. - //Maybe, this should tqreplaces later by a better variant. + //Maybe, this should replaces later by a better variant. delete _box; _box = 0; -- cgit v1.2.3