From bd4ee3ccc15d0776614a8435850a2eb1faf5a71f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 18:26:21 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- kbattleship/kbattleship/kbattleship.cpp | 2 +- kbattleship/kbattleship/kchatwidget.cpp | 2 +- kbattleship/kbattleship/kclientdialog.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kbattleship') diff --git a/kbattleship/kbattleship/kbattleship.cpp b/kbattleship/kbattleship/kbattleship.cpp index 2db6be26..79c89005 100644 --- a/kbattleship/kbattleship/kbattleship.cpp +++ b/kbattleship/kbattleship/kbattleship.cpp @@ -65,7 +65,7 @@ void KBattleshipWindow::init() m_placeable = false; m_shootable = false; m_serverHasClient = false; - m_config = kapp->config(); + m_config = tdeApp->config(); initStatusBar(); initActions(); readOptions(); diff --git a/kbattleship/kbattleship/kchatwidget.cpp b/kbattleship/kbattleship/kchatwidget.cpp index 15449eaf..6a234dc8 100644 --- a/kbattleship/kbattleship/kchatwidget.cpp +++ b/kbattleship/kbattleship/kchatwidget.cpp @@ -63,7 +63,7 @@ bool KChatWidget::eventFilter(TQObject *obj, TQEvent *e) { if(obj == commentEdit && e->type() == TQEvent::Wheel) { - kapp->notify(chatView, e); + tdeApp->notify(chatView, e); return true; } return chatDlg::eventFilter(obj, e); diff --git a/kbattleship/kbattleship/kclientdialog.cpp b/kbattleship/kbattleship/kclientdialog.cpp index 022dd60b..e408c29b 100644 --- a/kbattleship/kbattleship/kclientdialog.cpp +++ b/kbattleship/kbattleship/kclientdialog.cpp @@ -34,7 +34,7 @@ KClientDialog::KClientDialog(TQWidget *parent, const char *name) pageLayout->addWidget(m_mainWidget, 0, 0); enableButtonOK(false); - m_config = kapp->config(); + m_config = tdeApp->config(); KUser u; m_mainWidget->nicknameEdit->setText(u.loginName()); -- cgit v1.2.1