diff options
Diffstat (limited to 'karbon/karbon_grid_data.cpp')
-rw-r--r-- | karbon/karbon_grid_data.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/karbon_grid_data.cpp b/karbon/karbon_grid_data.cpp index f1e45ce1..8f15c406 100644 --- a/karbon/karbon_grid_data.cpp +++ b/karbon/karbon_grid_data.cpp @@ -19,11 +19,11 @@ */ #include "karbon_grid_data.h" -#include <qdom.h> +#include <tqdom.h> KarbonGridData::KarbonGridData() { - color = QColor( 228, 228, 228 ); + color = TQColor( 228, 228, 228 ); freq = KoSize( 20, 20 ); snap = KoSize( 20, 20 ); isSnap = false; @@ -34,7 +34,7 @@ KarbonGridData::~KarbonGridData() { } -void KarbonGridData::save(QDomElement& /*element*/, const QString& /*name*/) +void KarbonGridData::save(TQDomElement& /*element*/, const TQString& /*name*/) { /* Karbon::saveSize(element, name + "Freg", freq); Karbon::saveSize(element, name + "Snap", snap); @@ -43,14 +43,14 @@ void KarbonGridData::save(QDomElement& /*element*/, const QString& /*name*/) element.setAttribute(name + "IsShow", (int)isShow);*/ } -void KarbonGridData::load(const QDomElement& /*element*/, const QString& /*name*/) +void KarbonGridData::load(const TQDomElement& /*element*/, const TQString& /*name*/) { /* KoSize sdef; sdef = KoSize(10.0, 10.0); freq = Karbon::loadSize(element, name + "Freg", sdef); snap = Karbon::loadSize(element, name + "Snap", sdef); - QColor def(QColor(228, 228, 228)); + TQColor def(TQColor(228, 228, 228)); color = XmlReadColor(element, name + "Color", def); isSnap = (bool)element.attribute(name + "IsSnap", "1").toInt(); |