summaryrefslogtreecommitdiffstats
path: root/korn/kornboxcfgimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kornboxcfgimpl.cpp')
-rw-r--r--korn/kornboxcfgimpl.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/korn/kornboxcfgimpl.cpp b/korn/kornboxcfgimpl.cpp
index f7c1845f7..58ffd4daf 100644
--- a/korn/kornboxcfgimpl.cpp
+++ b/korn/kornboxcfgimpl.cpp
@@ -38,8 +38,8 @@ class KConfig;
#include <tqlabel.h>
#include <tqstring.h>
-KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * parent, const char * name )
- : KornBoxCfg( parent, name ),
+KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * tqparent, const char * name )
+ : KornBoxCfg( tqparent, name ),
_config( 0 ),
_base( 0 ),
_index( -1 )
@@ -56,8 +56,8 @@ KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * parent, const char * name )
if( lbRight->text() == "Right" )
lbRight->setText( i18n( "Right" ) );
- connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) );
- connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) );
+ connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) );
+ connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) );
elbAccounts->setTitle( i18n( "Accounts" ) );
@@ -100,13 +100,13 @@ void KornBoxCfgImpl::writeConfig( KConfig * config, const int index )
void KornBoxCfgImpl::readViewConfig()
{
this->chNormalText->setChecked(_config->readBoolEntry ( "hasnormalfgcolour", true ) );
- this->cbNormalText->setColor( _config->readColorEntry( "normalfgcolour", &Qt::black ) );
+ this->cbNormalText->setColor( _config->readColorEntry( "normalfgcolour", &TQt::black ) );
this->chNewText->setChecked( _config->readBoolEntry ( "hasnewfgcolour", true ) );
- this->cbNewText->setColor( _config->readColorEntry( "newfgcolour", &Qt::black ) );
+ this->cbNewText->setColor( _config->readColorEntry( "newfgcolour", &TQt::black ) );
this->chNormalBack->setChecked(_config->readBoolEntry ( "hasnormalbgcolour", false ) );
- this->cbNormalBack->setColor( _config->readColorEntry( "normalbgcolour", &Qt::white ) );
+ this->cbNormalBack->setColor( _config->readColorEntry( "normalbgcolour", &TQt::white ) );
this->chNewBack->setChecked( _config->readBoolEntry ( "hasnewbgcolour", false ) );
- this->cbNewBack->setColor( _config->readColorEntry( "newbgcolour", &Qt::white ) );
+ this->cbNewBack->setColor( _config->readColorEntry( "newbgcolour", &TQt::white ) );
this->chNormalIcon->setChecked(_config->readBoolEntry( "hasnormalicon", false ) );
this->ibNormalIcon->setIcon( _config->readEntry ( "normalicon", "" ) );
@@ -274,13 +274,13 @@ void KornBoxCfgImpl::slotSetDefaults( const TQString& name, const int, KConfig*
{
config->writeEntry( "name", name );
config->writeEntry( "protocol", "mbox" );
- config->writeEntry( "host", TQString::null );
- config->writeEntry( "port", TQString::null );
- config->writeEntry( "username", TQString::null );
+ config->writeEntry( "host", 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", "" );