From 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:31:10 -0600 Subject: Rename old tq methods that no longer need a unique name --- ktron/ai.ui | 4 ++-- ktron/appearance.ui | 2 +- ktron/general.ui | 2 +- ktron/ktron.cpp | 4 ++-- ktron/ktron.h | 2 +- ktron/tron.cpp | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'ktron') diff --git a/ktron/ai.ui b/ktron/ai.ui index dc84bc32..7fcf5df8 100644 --- a/ktron/ai.ui +++ b/ktron/ai.ui @@ -78,7 +78,7 @@ Expanding - + 101 20 @@ -126,7 +126,7 @@ Expanding - + 20 60 diff --git a/ktron/appearance.ui b/ktron/appearance.ui index d6176a69..c97ccb04 100644 --- a/ktron/appearance.ui +++ b/ktron/appearance.ui @@ -261,7 +261,7 @@ Expanding - + 20 16 diff --git a/ktron/general.ui b/ktron/general.ui index 0971ec1a..c89b4b01 100644 --- a/ktron/general.ui +++ b/ktron/general.ui @@ -204,7 +204,7 @@ Expanding - + 20 21 diff --git a/ktron/ktron.cpp b/ktron/ktron.cpp index 9057f7c0..91ccdcc5 100644 --- a/ktron/ktron.cpp +++ b/ktron/ktron.cpp @@ -46,7 +46,7 @@ KTron::KTron(TQWidget *parent, const char *name) : KMainWindow(parent, name) { playerPoints[0]=playerPoints[1]=0; tron=new Tron(this, "Tron"); - connect(tron,TQT_SIGNAL(gameEnds(Player)),TQT_SLOT(changetqStatus(Player))); + connect(tron,TQT_SIGNAL(gameEnds(Player)),TQT_SLOT(changeStatus(Player))); setCentralWidget(tron); tron->setMinimumSize(200,180); @@ -118,7 +118,7 @@ void KTron::updateStatusbar(){ } } -void KTron::changetqStatus(Player player) { +void KTron::changeStatus(Player player) { // if player=Nobody, then new game if(player==Nobody){ playerPoints[0]=playerPoints[1]=0; diff --git a/ktron/ktron.h b/ktron/ktron.h index a46c008c..6008009d 100644 --- a/ktron/ktron.h +++ b/ktron/ktron.h @@ -58,7 +58,7 @@ protected: private slots: void loadSettings(); /** updates players points in statusbar and checks if someone has won */ - void changetqStatus(Player); + void changeStatus(Player); void showWinner(Player winner); void showSettings(); diff --git a/ktron/tron.cpp b/ktron/tron.cpp index 9ed00d8c..4f40dc99 100644 --- a/ktron/tron.cpp +++ b/ktron/tron.cpp @@ -313,8 +313,8 @@ void Tron::updatePixmap() } // draw frame - TQColor light=parentWidget()->tqcolorGroup().midlight(); - TQColor dark=parentWidget()->tqcolorGroup().mid(); + TQColor light=parentWidget()->colorGroup().midlight(); + TQColor dark=parentWidget()->colorGroup().mid(); p.setPen(NoPen); p.setBrush(light); -- cgit v1.2.1