diff options
Diffstat (limited to 'kgeography/src/division.cpp')
-rw-r--r-- | kgeography/src/division.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/division.cpp b/kgeography/src/division.cpp index 7ef70353..c190fac5 100644 --- a/kgeography/src/division.cpp +++ b/kgeography/src/division.cpp @@ -16,7 +16,7 @@ division::division() { p_canAskAlways = true; p_canAskClickDivision = true; - p_flagFile = TQString::null; + p_flagFile = TQString(); } bool division::canAsk(bool clickDivisionMode) const @@ -30,7 +30,7 @@ TQString division::getName() const return p_name; } -QRgb division::getRGB() const +TQRgb division::getRGB() const { return p_color; } @@ -72,7 +72,7 @@ void division::setName(const TQString &name) void division::setRGB(int r, int g, int b) { - p_color = qRgb(r, g, b); + p_color = tqRgb(r, g, b); } bool division::setFlagFile(const TQString &path) |