From d28191c50b16ac38a44e155cddf7fd918d2cfafb Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 3 Aug 2011 18:10:36 +0000 Subject: Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knights/resource.cpp | 4 ++-- knights/setpagedisplay.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/knights/resource.cpp b/knights/resource.cpp index d8f2c57..2c5cbb1 100644 --- a/knights/resource.cpp +++ b/knights/resource.cpp @@ -174,7 +174,7 @@ void resource::ConfigRead( void ) OPTION_Show_Last_Move = CFG->readBoolEntry( "ShowLastMove", TRUE ); OPTION_Animate_Moves = CFG->readBoolEntry( "AnimateMoves", FALSE ); OPTION_Show_Coord = CFG->readBoolEntry( "ShowCoord", FALSE ); - OPTION_Board_Orientation = CFG->readBoolEntry( "BoardQt::Orientation", 0 ); + OPTION_Board_Orientation = CFG->readBoolEntry( "BoardOrientation", 0 ); /* ICS */ CFG->setGroup( "ICS" ); @@ -233,7 +233,7 @@ void resource::ConfigWrite( void ) CFG->writeEntry( "Ponder", OPTION_Ponder ); CFG->writeEntry( "BookWhite", OPTION_Book_White ); CFG->writeEntry( "BookBlack", OPTION_Book_Black ); - CFG->writeEntry( "BoardQt::Orientation", OPTION_Board_Orientation ); + CFG->writeEntry( "BoardOrientation", OPTION_Board_Orientation ); CFG->writeEntry( "PauseOnMinimize", OPTION_Pause_On_Minimize ); CFG->writeEntry( "ReusePGN", OPTION_Reuse_PGN ); CFG->writeEntry( "PGNFilename", PGN_Filename ); diff --git a/knights/setpagedisplay.cpp b/knights/setpagedisplay.cpp index aedeb91..a0e6bd9 100644 --- a/knights/setpagedisplay.cpp +++ b/knights/setpagedisplay.cpp @@ -107,7 +107,7 @@ void setPageDisplay::initTab1( void ) i18n( "Other Display Options" ), Tab1 ); - Board_Orientation = new TQCheckBox( i18n( "Reverse Board Qt::Orientation" ), GROUP_General_Graphics ); + Board_Orientation = new TQCheckBox( i18n( "Reverse Board Orientation" ), GROUP_General_Graphics ); Board_Orientation->setChecked( Resource->OPTION_Board_Orientation ); connect( Board_Orientation, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotToggle_Board_Orientation(bool) ) ); -- cgit v1.2.1