summaryrefslogtreecommitdiffstats
path: root/twin4
diff options
context:
space:
mode:
Diffstat (limited to 'twin4')
-rw-r--r--twin4/twin4/twin4.cpp12
-rw-r--r--twin4/twin4/twin4.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/twin4/twin4/twin4.cpp b/twin4/twin4/twin4.cpp
index f3a4df26..6a56bbb3 100644
--- a/twin4/twin4/twin4.cpp
+++ b/twin4/twin4/twin4.cpp
@@ -107,7 +107,7 @@ void ChatDlg::setPlayer(Kwin4Player *p)
/**
* Construct the main application window
*/
-Kwin4App::Kwin4App(TQWidget *parent, const char *name) : KMainWindow(parent,name), view(0), doc(0), mChat(0), mMyChatDlg(0)
+Kwin4App::Kwin4App(TQWidget *parent, const char *name) : TDEMainWindow(parent,name), view(0), doc(0), mChat(0), mMyChatDlg(0)
{
initGUI();
initStatusBar();
@@ -201,17 +201,17 @@ void Kwin4App::initGUI()
ACTION("end_game")->setStatusText(i18n("Ending the current game..."));
ACTION("end_game")->setWhatsThis(i18n("Aborts a currently played game. No winner will be declared."));
- new KAction(i18n("&Network Configuration..."),0, TQT_TQOBJECT(this), TQT_SLOT(slotInitNetwork()),
+ new TDEAction(i18n("&Network Configuration..."),0, TQT_TQOBJECT(this), TQT_SLOT(slotInitNetwork()),
actionCollection(), "network_conf");
- new KAction(i18n("Network Chat..."),0, TQT_TQOBJECT(this), TQT_SLOT(slotChat()),
+ new TDEAction(i18n("Network Chat..."),0, TQT_TQOBJECT(this), TQT_SLOT(slotChat()),
actionCollection(), "network_chat");
if (global_debug>0)
- new KAction(i18n("Debug KGame"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotDebugKGame()),
+ new TDEAction(i18n("Debug KGame"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotDebugKGame()),
actionCollection(), "file_debug");
- new KAction(i18n("&Show Statistics"),"flag", 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Show Statistics"),"flag", 0, TQT_TQOBJECT(this),
TQT_SLOT(showStatistics()), actionCollection(), "statistics");
ACTION("statistics")->setStatusText(i18n("Show statistics."));
@@ -280,7 +280,7 @@ void Kwin4App::changeAction(const char *action, bool enable){
if (!action)
return;
- KAction *act=actionCollection()->action(action);
+ TDEAction *act=actionCollection()->action(action);
if (act)
act->setEnabled(enable);
}
diff --git a/twin4/twin4/twin4.h b/twin4/twin4/twin4.h
index 717e19ed..b9663a50 100644
--- a/twin4/twin4/twin4.h
+++ b/twin4/twin4/twin4.h
@@ -53,7 +53,7 @@ private:
/**
* The base class for Kwin4 application window.
*/
-class Kwin4App : public KMainWindow
+class Kwin4App : public TDEMainWindow
{
Q_OBJECT