@ -14,7 +14,7 @@
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
// Boston, MA 02110-1301, USA.
# include < tq layout.h>
# include < layout.h>
# include <tqgroupbox.h>
# include <tqwhatsthis.h>
# include <tqlabel.h>
@ -53,7 +53,7 @@ ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(Ico
configBoard = new ConfigBoard ( this , p_board , " configBoard " ) ;
configMonopigator = new ConfigMonopigator ( this , p_monopigator , " configMonopigator " ) ;
setMinimumSize ( tq sizeHint( ) ) ;
setMinimumSize ( sizeHint( ) ) ;
}
bool ConfigDialog : : chatTimestamps ( )
@ -114,23 +114,23 @@ AtlantikConfig ConfigDialog::config()
ConfigPlayer : : ConfigPlayer ( ConfigDialog * configDialog , TQWidget * parent , const char * name ) : TQWidget ( parent , name )
{
m_configDialog = configDialog ;
TQVBoxLayout * tq layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQVBoxLayout * layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQLabel * label = new TQLabel ( i18n ( " Player name: " ) , parent ) ;
tq layout- > addWidget ( label ) ;
layout- > addWidget ( label ) ;
m_playerName = new TQLineEdit ( parent ) ;
tq layout- > addWidget ( m_playerName ) ;
layout- > addWidget ( m_playerName ) ;
TQLabel * label2 = new TQLabel ( i18n ( " Player image: " ) , parent ) ;
tq layout- > addWidget ( label2 ) ;
layout- > addWidget ( label2 ) ;
m_playerIcon = new KPushButton ( parent , " playerIcon " ) ;
tq layout- > addWidget ( m_playerIcon ) ;
layout- > addWidget ( m_playerIcon ) ;
connect ( m_playerIcon , TQT_SIGNAL ( clicked ( ) ) , this , TQT_SLOT ( chooseImage ( ) ) ) ;
tq layout- > addStretch ( 1 ) ;
layout- > addStretch ( 1 ) ;
reset ( ) ;
}
@ -185,10 +185,10 @@ void ConfigPlayer::reset()
ConfigMonopigator : : ConfigMonopigator ( ConfigDialog * configDialog , TQWidget * parent , const char * name ) : TQWidget ( parent , name )
{
m_configDialog = configDialog ;
TQVBoxLayout * tq layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQVBoxLayout * layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
m_connectOnStart = new TQCheckBox ( i18n ( " Request list of Internet servers on start-up " ) , parent ) ;
tq layout- > addWidget ( m_connectOnStart ) ;
layout- > addWidget ( m_connectOnStart ) ;
TQString message = i18n (
" If checked, Atlantik connects to a meta server on start-up to \n "
@ -196,7 +196,7 @@ ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *paren
TQWhatsThis : : add ( m_connectOnStart , message ) ;
m_hideDevelopmentServers = new TQCheckBox ( i18n ( " Hide development servers " ) , parent ) ;
tq layout- > addWidget ( m_hideDevelopmentServers ) ;
layout- > addWidget ( m_hideDevelopmentServers ) ;
message = i18n (
" Some of the Internet servers might be running development \n "
@ -204,7 +204,7 @@ ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *paren
" display these servers. \n " ) ;
TQWhatsThis : : add ( m_hideDevelopmentServers , message ) ;
tq layout- > addStretch ( 1 ) ;
layout- > addStretch ( 1 ) ;
reset ( ) ;
}
@ -228,17 +228,17 @@ void ConfigMonopigator::reset()
ConfigGeneral : : ConfigGeneral ( ConfigDialog * configDialog , TQWidget * parent , const char * name ) : TQWidget ( parent , name )
{
m_configDialog = configDialog ;
TQVBoxLayout * tq layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQVBoxLayout * layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
m_chatTimestamps = new TQCheckBox ( i18n ( " Show timestamps in chat messages " ) , parent ) ;
tq layout- > addWidget ( m_chatTimestamps ) ;
layout- > addWidget ( m_chatTimestamps ) ;
TQString message = i18n (
" If checked, Atlantik will add timestamps in front of chat \n "
" messages. \n " ) ;
TQWhatsThis : : add ( m_chatTimestamps , message ) ;
tq layout- > addStretch ( 1 ) ;
layout- > addStretch ( 1 ) ;
reset ( ) ;
}
@ -256,10 +256,10 @@ void ConfigGeneral::reset()
ConfigBoard : : ConfigBoard ( ConfigDialog * configDialog , TQWidget * parent , const char * name ) : TQWidget ( parent , name )
{
m_configDialog = configDialog ;
TQVBoxLayout * tq layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQVBoxLayout * layout = new TQVBoxLayout ( parent , KDialog : : marginHint ( ) , KDialog : : spacingHint ( ) ) ;
TQGroupBox * box = new TQGroupBox ( 1 , Qt : : Horizontal , i18n ( " Game Status Feedback " ) , parent ) ;
tq layout- > addWidget ( box ) ;
layout- > addWidget ( box ) ;
m_indicateUnowned = new TQCheckBox ( i18n ( " Display title deed card on unowned properties " ) , box ) ;
TQString message = i18n (
@ -292,9 +292,9 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const cha
TQWhatsThis : : add ( m_quartzEffects , message ) ;
// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), parent);
// tq layout->addWidget(box);
// layout->addWidget(box);
tq layout- > addStretch ( 1 ) ;
layout- > addStretch ( 1 ) ;
reset ( ) ;
}