From 9f2c757e1a1694373c11427a00502c2ff4c2d403 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:32:27 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- blinken/src/button.cpp | 4 ++-- blinken/src/fontchecker.cpp | 2 +- blinken/src/highscoredialog.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'blinken/src') diff --git a/blinken/src/button.cpp b/blinken/src/button.cpp index b8eef48a..36f18511 100644 --- a/blinken/src/button.cpp +++ b/blinken/src/button.cpp @@ -17,7 +17,7 @@ button::button(blinkenGame::color c) : m_selected(false), m_color(c) { - KConfig *kc = kapp->config(); + TDEConfig *kc = kapp->config(); kc->setGroup("General"); TQString cs = getColorString(); TQString pixmap = TQString("images/%1h.png").arg(cs); @@ -58,7 +58,7 @@ void button::setShortcut(int key) m_key = key; m_selected = false; - KConfig *kc = kapp->config(); + TDEConfig *kc = kapp->config(); kc->setGroup("General"); kc->writeEntry(getColorString(), key); kc->sync(); diff --git a/blinken/src/fontchecker.cpp b/blinken/src/fontchecker.cpp index 55e18601..f6bc9440 100644 --- a/blinken/src/fontchecker.cpp +++ b/blinken/src/fontchecker.cpp @@ -20,7 +20,7 @@ bool fontChecker::checkInstalled(const TQFont &font, const TQString &fontPath) // Works with Steve may need some tweaking to work with other fonts if (!fi.exactMatch()) { - bool success = KIO::NetAccess::copy(fontPath, "fonts:/Personal/", 0); + bool success = TDEIO::NetAccess::copy(fontPath, "fonts:/Personal/", 0); return !success; } return true; diff --git a/blinken/src/highscoredialog.cpp b/blinken/src/highscoredialog.cpp index 46588f5f..1121eb30 100644 --- a/blinken/src/highscoredialog.cpp +++ b/blinken/src/highscoredialog.cpp @@ -130,7 +130,7 @@ highScoreDialog::highScoreDialog(TQWidget *parent) : KDialogBase(parent, 0, true m_tw = new myTabWidget(this); setMainWidget(m_tw); - KConfig *cfg = kapp -> config(); + TDEConfig *cfg = kapp -> config(); for (int i = 1; i <= 3; i++) { cfg -> setGroup(TQString("Level%1").arg(i)); @@ -169,7 +169,7 @@ void highScoreDialog::addScore(int level, int score, const TQString &name) m_scores[level].insert(it, tqMakePair(score, name)); m_scores[level].remove(--m_scores[level].end()); - KConfig *cfg = kapp -> config(); + TDEConfig *cfg = kapp -> config(); cfg -> setGroup(TQString("Level%1").arg(level + 1)); int j; for (it = m_scores[level].begin(), j = 1; it != m_scores[level].end(); ++it, j++) -- cgit v1.2.3