summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/offline
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:46 -0600
commit58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch)
tree5a2fde6842fd422cae2d8670d382be965098cc32 /kbackgammon/engines/offline
parent2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff)
downloadtdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz
tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kbackgammon/engines/offline')
-rw-r--r--kbackgammon/engines/offline/kbgoffline.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kbackgammon/engines/offline/kbgoffline.cpp b/kbackgammon/engines/offline/kbgoffline.cpp
index b0b33034..57b6aa2a 100644
--- a/kbackgammon/engines/offline/kbgoffline.cpp
+++ b/kbackgammon/engines/offline/kbgoffline.cpp
@@ -70,8 +70,8 @@ public:
/*
* Game actions
*/
- KAction *mNew, *mSwap;
- KToggleAction *mEdit;
+ TDEAction *mNew, *mSwap;
+ TDEToggleAction *mEdit;
/*
* Player's names
@@ -120,10 +120,10 @@ KBgEngineOffline::KBgEngineOffline(TQWidget *parent, TQString *name, TQPopupMenu
/*
* Create engine specific actions
*/
- d->mNew = new KAction(i18n("&New Game..."), 0, this, TQT_SLOT(newGame()), this);
- d->mSwap = new KAction(i18n("&Swap Colors"), 0, this, TQT_SLOT(swapColors()), this);
+ d->mNew = new TDEAction(i18n("&New Game..."), 0, this, TQT_SLOT(newGame()), this);
+ d->mSwap = new TDEAction(i18n("&Swap Colors"), 0, this, TQT_SLOT(swapColors()), this);
- d->mEdit = new KToggleAction(i18n("&Edit Mode"), 0, this,
+ d->mEdit = new TDEToggleAction(i18n("&Edit Mode"), 0, this,
TQT_SLOT(toggleEditMode()), this);
d->mEdit->setChecked(false);