diff options
Diffstat (limited to 'atlantik/client')
-rw-r--r-- | atlantik/client/atlantik.cpp | 2 | ||||
-rw-r--r-- | atlantik/client/atlantik.h | 2 | ||||
-rw-r--r-- | atlantik/client/configdlg.cpp | 38 | ||||
-rw-r--r-- | atlantik/client/configdlg.h | 10 | ||||
-rw-r--r-- | atlantik/client/eventlogwidget.cpp | 4 | ||||
-rw-r--r-- | atlantik/client/eventlogwidget.h | 2 | ||||
-rw-r--r-- | atlantik/client/monopigator.cpp | 4 | ||||
-rw-r--r-- | atlantik/client/monopigator.h | 2 | ||||
-rw-r--r-- | atlantik/client/selectconfiguration_widget.cpp | 2 | ||||
-rw-r--r-- | atlantik/client/selectconfiguration_widget.h | 2 | ||||
-rw-r--r-- | atlantik/client/selectgame_widget.cpp | 2 | ||||
-rw-r--r-- | atlantik/client/selectgame_widget.h | 2 | ||||
-rw-r--r-- | atlantik/client/selectserver_widget.cpp | 2 | ||||
-rw-r--r-- | atlantik/client/selectserver_widget.h | 2 |
14 files changed, 38 insertions, 38 deletions
diff --git a/atlantik/client/atlantik.cpp b/atlantik/client/atlantik.cpp index 2ad1bf98..7d2f8e9f 100644 --- a/atlantik/client/atlantik.cpp +++ b/atlantik/client/atlantik.cpp @@ -64,7 +64,7 @@ #include "selectgame_widget.h" #include "selectconfiguration_widget.h" -LogTextEdit::LogTextEdit( TQWidget *tqparent, const char *name ) : TQTextEdit( tqparent, name ) +LogTextEdit::LogTextEdit( TQWidget *parent, const char *name ) : TQTextEdit( parent, name ) { #ifdef KDE_3_2_FEATURES m_clear = KStdAction::clear( TQT_TQOBJECT(this), TQT_SLOT( clear() ), 0 ); diff --git a/atlantik/client/atlantik.h b/atlantik/client/atlantik.h index 24b989d3..7e8ff1b0 100644 --- a/atlantik/client/atlantik.h +++ b/atlantik/client/atlantik.h @@ -74,7 +74,7 @@ Q_OBJECT TQ_OBJECT public: - LogTextEdit( TQWidget *tqparent = 0, const char *name = 0 ); + LogTextEdit( TQWidget *parent = 0, const char *name = 0 ); virtual ~LogTextEdit(); TQPopupMenu *createPopupMenu( const TQPoint & pos ); diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp index b5d1ecae..d6f32a9a 100644 --- a/atlantik/client/configdlg.cpp +++ b/atlantik/client/configdlg.cpp @@ -40,9 +40,9 @@ #include "atlantik.h" #include "configdlg.moc" -ConfigDialog::ConfigDialog(Atlantik* tqparent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, tqparent, "config_atlantik", false, name) +ConfigDialog::ConfigDialog(Atlantik* parent, const char *name) : KDialogBase(IconList, i18n("Configure Atlantik"), Ok|Cancel, Ok, parent, "config_atlantik", false, name) { - m_parent = tqparent; + m_parent = parent; p_general = addPage(i18n("General"), i18n("General"), BarIcon("configure", KIcon::SizeMedium)); p_p13n = addPage(i18n("Personalization"), i18n("Personalization"), BarIcon("personal", KIcon::SizeMedium)); p_board = addPage(i18n("Board"), i18n("Board"), BarIcon("monop_board", KIcon::SizeMedium)); @@ -111,21 +111,21 @@ AtlantikConfig ConfigDialog::config() return m_parent->config(); } -ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +ConfigPlayer::ConfigPlayer(ConfigDialog* configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_configDialog = configDialog; - TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint()); - TQLabel *label = new TQLabel(i18n("Player name:"), tqparent); + TQLabel *label = new TQLabel(i18n("Player name:"), parent); tqlayout->addWidget(label); - m_playerName = new TQLineEdit(tqparent); + m_playerName = new TQLineEdit(parent); tqlayout->addWidget(m_playerName); - TQLabel *label2 = new TQLabel(i18n("Player image:"), tqparent); + TQLabel *label2 = new TQLabel(i18n("Player image:"), parent); tqlayout->addWidget(label2); - m_playerIcon = new KPushButton(tqparent, "playerIcon"); + m_playerIcon = new KPushButton(parent, "playerIcon"); tqlayout->addWidget(m_playerIcon); connect( m_playerIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseImage()) ); @@ -182,12 +182,12 @@ void ConfigPlayer::reset() setImage(); } -ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_configDialog = configDialog; - TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint()); - m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), tqparent); + m_connectOnStart = new TQCheckBox(i18n("Request list of Internet servers on start-up"), parent); tqlayout->addWidget(m_connectOnStart); TQString message=i18n( @@ -195,7 +195,7 @@ ConfigMonopigator::ConfigMonopigator(ConfigDialog *configDialog, TQWidget *tqpar "request a list of Internet servers.\n"); TQWhatsThis::add(m_connectOnStart, message); - m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), tqparent); + m_hideDevelopmentServers = new TQCheckBox(i18n("Hide development servers"), parent); tqlayout->addWidget(m_hideDevelopmentServers); message=i18n( @@ -225,12 +225,12 @@ void ConfigMonopigator::reset() m_hideDevelopmentServers->setChecked(m_configDialog->config().hideDevelopmentServers); } -ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +ConfigGeneral::ConfigGeneral(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_configDialog = configDialog; - TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint()); - m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), tqparent); + m_chatTimestamps = new TQCheckBox(i18n("Show timestamps in chat messages"), parent); tqlayout->addWidget(m_chatTimestamps); TQString message=i18n( @@ -253,12 +253,12 @@ void ConfigGeneral::reset() m_chatTimestamps->setChecked(m_configDialog->config().chatTimestamps); } -ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_configDialog = configDialog; - TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent, KDialog::marginHint(), KDialog::spacingHint()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint()); - TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game tqStatus Feedback"), tqparent); + TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game tqStatus Feedback"), parent); tqlayout->addWidget(box); m_indicateUnowned = new TQCheckBox(i18n("Display title deed card on unowned properties"), box); @@ -291,7 +291,7 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const c "will have a Quartz effect similar to the Quartz KWin style.\n"); TQWhatsThis::add(m_quartzEffects, message); -// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), tqparent); +// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), parent); // tqlayout->addWidget(box); tqlayout->addStretch(1); diff --git a/atlantik/client/configdlg.h b/atlantik/client/configdlg.h index c28e3a98..305a9b8f 100644 --- a/atlantik/client/configdlg.h +++ b/atlantik/client/configdlg.h @@ -38,7 +38,7 @@ Q_OBJECT TQ_OBJECT public: - ConfigPlayer(ConfigDialog *configDialog, TQWidget *tqparent, const char *name=0); + ConfigPlayer(ConfigDialog *configDialog, TQWidget *parent, const char *name=0); TQString playerName(); TQString playerImage(); @@ -62,7 +62,7 @@ Q_OBJECT TQ_OBJECT public: - ConfigBoard(ConfigDialog *configDialog, TQWidget *tqparent, const char *name=0); + ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const char *name=0); bool indicateUnowned(); bool highliteUnowned(); @@ -83,7 +83,7 @@ Q_OBJECT TQ_OBJECT public: - ConfigMonopigator(ConfigDialog *dialog, TQWidget *tqparent, const char *name = 0); + ConfigMonopigator(ConfigDialog *dialog, TQWidget *parent, const char *name = 0); bool connectOnStart(); bool hideDevelopmentServers(); @@ -101,7 +101,7 @@ Q_OBJECT TQ_OBJECT public: - ConfigGeneral(ConfigDialog *dialog, TQWidget *tqparent, const char *name = 0); + ConfigGeneral(ConfigDialog *dialog, TQWidget *parent, const char *name = 0); bool chatTimestamps(); @@ -118,7 +118,7 @@ Q_OBJECT TQ_OBJECT public: - ConfigDialog(Atlantik *tqparent, const char *name=0); + ConfigDialog(Atlantik *parent, const char *name=0); bool chatTimestamps(); bool indicateUnowned(); diff --git a/atlantik/client/eventlogwidget.cpp b/atlantik/client/eventlogwidget.cpp index 2821253a..9636e6e2 100644 --- a/atlantik/client/eventlogwidget.cpp +++ b/atlantik/client/eventlogwidget.cpp @@ -47,8 +47,8 @@ TQPtrList<Event> EventLog::events() return m_events; } -EventLogWidget::EventLogWidget(EventLog *eventLog, TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name, +EventLogWidget::EventLogWidget(EventLog *eventLog, TQWidget *parent, const char *name) + : TQWidget(parent, name, WType_Dialog | WStyle_Customize | WStyle_DialogBorder | WStyle_Title | WStyle_Minimize | WStyle_ContextHelp ) { diff --git a/atlantik/client/eventlogwidget.h b/atlantik/client/eventlogwidget.h index 3b2d1883..753a59fc 100644 --- a/atlantik/client/eventlogwidget.h +++ b/atlantik/client/eventlogwidget.h @@ -55,7 +55,7 @@ Q_OBJECT public: enum EventLogType { Default, Net_In, Net_Out }; - EventLogWidget(EventLog *eventLog, TQWidget *tqparent=0, const char *name = 0); + EventLogWidget(EventLog *eventLog, TQWidget *parent=0, const char *name = 0); public slots: void addEvent(Event *event); diff --git a/atlantik/client/monopigator.cpp b/atlantik/client/monopigator.cpp index 1fe68cef..e07a184a 100644 --- a/atlantik/client/monopigator.cpp +++ b/atlantik/client/monopigator.cpp @@ -108,12 +108,12 @@ void Monopigator::processData(const TQByteArray &data, bool okSoFar) } } -MonopigatorEntry::MonopigatorEntry(TQListView *tqparent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip) : TQObject(), TQListViewItem(tqparent, host, latency, version, users, port) +MonopigatorEntry::MonopigatorEntry(TQListView *parent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip) : TQObject(), TQListViewItem(parent, host, latency, version, users, port) { m_isDev = ( version.find( TQRegExp("(CVS|-dev)") ) != -1 ) ? true : false; setEnabled(false); - tqparent->sort(); + parent->sort(); if ( !ip.isEmpty() ) host = ip; diff --git a/atlantik/client/monopigator.h b/atlantik/client/monopigator.h index c785b980..abdc2b7a 100644 --- a/atlantik/client/monopigator.h +++ b/atlantik/client/monopigator.h @@ -62,7 +62,7 @@ Q_OBJECT TQ_OBJECT public: - MonopigatorEntry(TQListView *tqparent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip); + MonopigatorEntry(TQListView *parent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip); int compare(TQListViewItem *i, int col, bool ascending) const; bool isDev() const; diff --git a/atlantik/client/selectconfiguration_widget.cpp b/atlantik/client/selectconfiguration_widget.cpp index 1cb7a142..700856f2 100644 --- a/atlantik/client/selectconfiguration_widget.cpp +++ b/atlantik/client/selectconfiguration_widget.cpp @@ -33,7 +33,7 @@ #include "selectconfiguration_widget.moc" -SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +SelectConfiguration::SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_atlanticCore = atlanticCore; m_game = 0; diff --git a/atlantik/client/selectconfiguration_widget.h b/atlantik/client/selectconfiguration_widget.h index 0ad747d0..88108f8f 100644 --- a/atlantik/client/selectconfiguration_widget.h +++ b/atlantik/client/selectconfiguration_widget.h @@ -38,7 +38,7 @@ Q_OBJECT TQ_OBJECT public: - SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name=0); + SelectConfiguration(AtlanticCore *atlanticCore, TQWidget *parent, const char *name=0); void setCanStart(const bool &canStart); TQString hostToConnect() const; diff --git a/atlantik/client/selectgame_widget.cpp b/atlantik/client/selectgame_widget.cpp index e634b3c2..a4072044 100644 --- a/atlantik/client/selectgame_widget.cpp +++ b/atlantik/client/selectgame_widget.cpp @@ -29,7 +29,7 @@ #include "selectgame_widget.h" -SelectGame::SelectGame(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +SelectGame::SelectGame(AtlanticCore *atlanticCore, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_atlanticCore = atlanticCore; diff --git a/atlantik/client/selectgame_widget.h b/atlantik/client/selectgame_widget.h index 42ec3350..5b9a523d 100644 --- a/atlantik/client/selectgame_widget.h +++ b/atlantik/client/selectgame_widget.h @@ -33,7 +33,7 @@ Q_OBJECT TQ_OBJECT public: - SelectGame(AtlanticCore *atlanticCore, TQWidget *tqparent, const char *name=0); + SelectGame(AtlanticCore *atlanticCore, TQWidget *parent, const char *name=0); void initPage(); bool validateNext(); diff --git a/atlantik/client/selectserver_widget.cpp b/atlantik/client/selectserver_widget.cpp index 2404ebd1..3b5bcf1a 100644 --- a/atlantik/client/selectserver_widget.cpp +++ b/atlantik/client/selectserver_widget.cpp @@ -28,7 +28,7 @@ #include "selectserver_widget.moc" -SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *tqparent, const char *name) : TQWidget(tqparent, name) +SelectServer::SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *parent, const char *name) : TQWidget(parent, name) { m_hideDevelopmentServers = hideDevelopmentServers; diff --git a/atlantik/client/selectserver_widget.h b/atlantik/client/selectserver_widget.h index 7e4ba45d..f663422d 100644 --- a/atlantik/client/selectserver_widget.h +++ b/atlantik/client/selectserver_widget.h @@ -35,7 +35,7 @@ Q_OBJECT TQ_OBJECT public: - SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *tqparent, const char *name=0); + SelectServer(bool useMonopigatorOnStart, bool hideDevelopmentServers, TQWidget *parent, const char *name=0); virtual ~SelectServer(); void initPage(); |