diff options
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 ); |