summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_grid_data.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/karbon_grid_data.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/karbon_grid_data.cpp')
-rw-r--r--karbon/karbon_grid_data.cpp10
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();