summaryrefslogtreecommitdiffstats
path: root/tdecore/kpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kpalette.cpp')
-rw-r--r--tdecore/kpalette.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kpalette.cpp b/tdecore/kpalette.cpp
index 8cd25569b..9cc7b5635 100644
--- a/tdecore/kpalette.cpp
+++ b/tdecore/kpalette.cpp
@@ -22,7 +22,7 @@
#include "kpalette.h"
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kstandarddirs.h>
#include <kglobal.h>
#include <ksavefile.h>
@@ -176,7 +176,7 @@ KPalette::color(int index)
if ((index < 0) || (index >= nrColors()))
return TQColor();
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return TQColor();
@@ -202,7 +202,7 @@ KPalette::colorName(int index)
if ((index < 0) || (index >= nrColors()))
return TQString::null;
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return TQString::null;
@@ -227,7 +227,7 @@ KPalette::changeColor(int index,
if ((index < 0) || (index >= nrColors()))
return -1;
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return -1;