diff options
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r-- | korn/korncfgimpl.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp index df4264643..487c48ba2 100644 --- a/korn/korncfgimpl.cpp +++ b/korn/korncfgimpl.cpp @@ -35,10 +35,10 @@ /* - * parent should be of type KDialogBase + * tqparent should be of type KDialogBase */ -KornCfgImpl::KornCfgImpl( TQWidget * parent, const char * name ) - : KornCfgWidget( parent, name ), +KornCfgImpl::KornCfgImpl( TQWidget * tqparent, const char * name ) + : KornCfgWidget( tqparent, name ), _config( new KConfig( "kornrc" ) ), _base( 0 ) { @@ -47,9 +47,9 @@ KornCfgImpl::KornCfgImpl( TQWidget * parent, const char * name ) elbBoxes->setConfig( _config ); elbBoxes->setTitle( i18n( "Boxes" ) ); - connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); - connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); - connect( parent, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApply() ) ); + connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); + connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); + connect( tqparent, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApply() ) ); connect( elbBoxes, TQT_SIGNAL( elementsSwapped( int, int ) ), this, TQT_SLOT( slotElementsSwapped( int, int ) ) ); connect( elbBoxes, TQT_SIGNAL( elementDeleted( int ) ), this, TQT_SLOT( slotElementDeleted( int ) ) ); @@ -131,14 +131,14 @@ void KornCfgImpl::slotSetDefaults( const TQString& name, const int index, KConfi config->writeEntry( "hasnewicon", false ); config->writeEntry( "hasnormalanim", false ); config->writeEntry( "hasnewanim", false ); - config->writeEntry( "normalfgcolour", Qt::black ); - config->writeEntry( "newfgcolour", Qt::black ); - config->writeEntry( "normalbgcolour", TQString::null ); - config->writeEntry( "newbgcolour", TQString::null ); - config->writeEntry( "normalicon", TQString::null ); - config->writeEntry( "newicon", TQString::null ); - config->writeEntry( "normalanim", TQString::null ); - config->writeEntry( "newanim", TQString::null ); + config->writeEntry( "normalfgcolour", TQt::black ); + config->writeEntry( "newfgcolour", TQt::black ); + config->writeEntry( "normalbgcolour", TQString() ); + config->writeEntry( "newbgcolour", TQString() ); + config->writeEntry( "normalicon", TQString() ); + config->writeEntry( "newicon", TQString() ); + config->writeEntry( "normalanim", TQString() ); + config->writeEntry( "newanim", TQString() ); config->writeEntry( "leftrecheck", true ); config->writeEntry( "middlerecheck", false ); config->writeEntry( "rightrecheck", false ); @@ -164,13 +164,13 @@ void KornCfgImpl::slotSetDefaults( const TQString& name, const int index, KConfi config->setGroup( TQString( "korn-%1-0" ).arg( index ) ); config->writeEntry( "name", name ); config->writeEntry( "protocol", "mbox" ); - config->writeEntry( "server", TQString::null ); - config->writeEntry( "port", TQString::null ); - config->writeEntry( "username", TQString::null ); + config->writeEntry( "server", TQString() ); + config->writeEntry( "port", TQString() ); + config->writeEntry( "username", TQString() ); config->writeEntry( "mailbox", "/var/spool/mail/" ); config->writeEntry( "savepassword", 0 ); - config->writeEntry( "password", TQString::null ); - config->writeEntry( "auth", TQString::null ); + config->writeEntry( "password", TQString() ); + config->writeEntry( "auth", TQString() ); config->writeEntry( "interval", 300 ); config->writeEntry( "boxsettings", true ); config->writeEntry( "command", "" ); |