diff options
Diffstat (limited to 'ktron')
-rw-r--r-- | ktron/ai.ui | 4 | ||||
-rw-r--r-- | ktron/appearance.ui | 2 | ||||
-rw-r--r-- | ktron/general.ui | 2 | ||||
-rw-r--r-- | ktron/ktron.cpp | 4 | ||||
-rw-r--r-- | ktron/ktron.h | 2 | ||||
-rw-r--r-- | ktron/tron.cpp | 4 |
6 files changed, 9 insertions, 9 deletions
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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>101</width> <height>20</height> @@ -126,7 +126,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>60</height> 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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>16</height> 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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>21</height> 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); |