diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korn/kornshell.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/kornshell.cpp')
-rw-r--r-- | korn/kornshell.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/korn/kornshell.cpp b/korn/kornshell.cpp index 3e87ba42f..4fccd0754 100644 --- a/korn/kornshell.cpp +++ b/korn/kornshell.cpp @@ -30,10 +30,10 @@ #include <kdialogbase.h> #include <klocale.h> -#include <qtimer.h> +#include <tqtimer.h> -KornShell::KornShell( QWidget * parent, const char * name ) - : QWidget( parent, name ), +KornShell::KornShell( TQWidget * parent, const char * name ) + : TQWidget( parent, name ), _config( new KConfig( "kornrc" ) ), _box( 0 ), _configDialog( 0 ), @@ -43,7 +43,7 @@ KornShell::KornShell( QWidget * parent, const char * name ) if( kapp->isRestored() ) { _config->setGroup( "korn" ); - QTimer::singleShot( _config->readNumEntry( "session_startup_delay", 2000 ), this, SLOT(readConfig()) ); + TQTimer::singleShot( _config->readNumEntry( "session_startup_delay", 2000 ), this, TQT_SLOT(readConfig()) ); kdDebug() << "startup delayed" << endl; } else @@ -84,8 +84,8 @@ void KornShell::optionDlg() KornCfgImpl *widget = new KornCfgImpl( _configDialog, "Configuration widget" ); _configDialog->setMainWidget( widget ); - connect( _configDialog, SIGNAL( finished() ), this, SLOT( slotDialogClosed() ) ); - connect( _configDialog, SIGNAL( applyClicked() ), this, SLOT( slotApply() ) ); + connect( _configDialog, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDialogClosed() ) ); + connect( _configDialog, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApply() ) ); _configDialog->show(); } @@ -95,7 +95,7 @@ void KornShell::readConfig() static bool shownConfig = false; _config->setGroup( "korn" ); - QChar layout = _config->readEntry( "layout", "Docked" )[0].upper(); + TQChar layout = _config->readEntry( "layout", "Docked" )[0].upper(); KOrnPassword::setUseWallet( _config->readBoolEntry( "usewallet", false ) ); if( layout == 'H' ) @@ -105,7 +105,7 @@ void KornShell::readConfig() else _box = new DockedContainer( this, "docked container" ); - connect( _box, SIGNAL( showConfiguration() ), this, SLOT( optionDlg() ) ); + connect( _box, TQT_SIGNAL( showConfiguration() ), this, TQT_SLOT( optionDlg() ) ); _box->readConfig( _config ); |