summaryrefslogtreecommitdiffstats
path: root/blinken
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:27 -0600
commit9f2c757e1a1694373c11427a00502c2ff4c2d403 (patch)
tree7d90e91214976a7d23d89ec3474515cf46069704 /blinken
parentcee429821aa6f1acc97fb482d325fb4eb37376ca (diff)
downloadtdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.tar.gz
tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'blinken')
-rw-r--r--blinken/src/button.cpp4
-rw-r--r--blinken/src/fontchecker.cpp2
-rw-r--r--blinken/src/highscoredialog.cpp4
3 files changed, 5 insertions, 5 deletions
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++)