summaryrefslogtreecommitdiffstats
path: root/kgeography/src/division.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kgeography/src/division.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/division.cpp')
-rw-r--r--kgeography/src/division.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kgeography/src/division.cpp b/kgeography/src/division.cpp
index 733b6d3f..7ef70353 100644
--- a/kgeography/src/division.cpp
+++ b/kgeography/src/division.cpp
@@ -8,7 +8,7 @@
* (at your option) any later version. *
***************************************************************************/
-#include <qfile.h>
+#include <tqfile.h>
#include "division.h"
@@ -16,7 +16,7 @@ division::division()
{
p_canAskAlways = true;
p_canAskClickDivision = true;
- p_flagFile = QString::null;
+ p_flagFile = TQString::null;
}
bool division::canAsk(bool clickDivisionMode) const
@@ -25,7 +25,7 @@ bool division::canAsk(bool clickDivisionMode) const
else return p_canAskAlways;
}
-QString division::getName() const
+TQString division::getName() const
{
return p_name;
}
@@ -35,18 +35,18 @@ QRgb division::getRGB() const
return p_color;
}
-QString division::getFlagFile() const
+TQString division::getFlagFile() const
{
return p_flagFile;
}
-QString division::getCapital() const
+TQString division::getCapital() const
{
if (p_capital.isEmpty()) return "";
return p_capital;
}
-void division::setCapital(const QString &name)
+void division::setCapital(const TQString &name)
{
p_capital = name;
}
@@ -65,7 +65,7 @@ void division::setIgnore(bool ignore, bool canAskClickDivision)
}
}
-void division::setName(const QString &name)
+void division::setName(const TQString &name)
{
p_name = name;
}
@@ -75,8 +75,8 @@ void division::setRGB(int r, int g, int b)
p_color = qRgb(r, g, b);
}
-bool division::setFlagFile(const QString &path)
+bool division::setFlagFile(const TQString &path)
{
p_flagFile = path;
- return QFile::exists(path);
+ return TQFile::exists(path);
}