summaryrefslogtreecommitdiffstats
path: root/kugar/lib/mreportobject.h
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 /kugar/lib/mreportobject.h
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 'kugar/lib/mreportobject.h')
-rw-r--r--kugar/lib/mreportobject.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kugar/lib/mreportobject.h b/kugar/lib/mreportobject.h
index ce28cf753..c85ca80aa 100644
--- a/kugar/lib/mreportobject.h
+++ b/kugar/lib/mreportobject.h
@@ -11,10 +11,10 @@
#ifndef MREPORTOBJECT_H
#define MREPORTOBJECT_H
-#include <qobject.h>
-#include <qpainter.h>
-#include <qpaintdevice.h>
-#include <qcolor.h>
+#include <tqobject.h>
+#include <tqpainter.h>
+#include <tqpaintdevice.h>
+#include <tqcolor.h>
/**Kugar report object baseclass
*@author Mutiny Bay Software
@@ -23,7 +23,7 @@
namespace Kugar
{
-class MReportObject : public QObject
+class MReportObject : public TQObject
{
public:
@@ -51,12 +51,12 @@ protected:
int height;
/** Object's background color */
- QColor backgroundColor;
+ TQColor backgroundColor;
/** Object's foreground color */
- QColor foregroundColor;
+ TQColor foregroundColor;
/** Object's border color */
- QColor borderColor;
+ TQColor borderColor;
/** Object's border width */
int borderWidth;
/** Object's border style */
@@ -72,7 +72,7 @@ protected:
public:
/** Draws the object to the specified painter & x/y offsets */
- virtual void draw( QPainter* p, int xoffset, int yoffset );
+ virtual void draw( TQPainter* p, int xoffset, int yoffset );
/** Sets the object's position and size */
void setGeometry( int x, int y, int w, int h );
/** Sets the object's position */
@@ -112,7 +112,7 @@ public:
protected:
/** Draws the base object to the specified painter & x/y offsets */
- void drawBase( QPainter* p, int xoffset, int yoffset );
+ void drawBase( TQPainter* p, int xoffset, int yoffset );
private:
/** Copies member data from one object to another.