summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_brush.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 /kspread/kspread_brush.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 'kspread/kspread_brush.h')
-rw-r--r--kspread/kspread_brush.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/kspread_brush.h b/kspread/kspread_brush.h
index 436ae612..ebb0c5f6 100644
--- a/kspread/kspread_brush.h
+++ b/kspread/kspread_brush.h
@@ -21,30 +21,30 @@
#ifndef KSPREADBRUSH_H
#define KSPREADBRUSH_H
-#include <qbrush.h>
+#include <tqbrush.h>
#include "kspread_global.h"
class KoGenStyle;
class KoGenStyles;
class KoOasisContext;
-class QDomElement;
+class TQDomElement;
class KSpreadBrush
{
public:
KSpreadBrush();
- KSpreadBrush( const QBrush &brush, const QColor &gColor1, const QColor &gColor2,
+ KSpreadBrush( const TQBrush &brush, const TQColor &gColor1, const TQColor &gColor2,
BCType gType, FillType fillType, bool unbalanced,
int xfactor, int yfactor );
KSpreadBrush &operator=( const KSpreadBrush &brush );
- void setBrush( const QBrush &brush )
+ void setBrush( const TQBrush &brush )
{ m_brush = brush; }
- void setGColor1( const QColor &gColor1 )
+ void setGColor1( const TQColor &gColor1 )
{ m_gColor1 = gColor1; }
- void setGColor2( const QColor &gColor2 )
+ void setGColor2( const TQColor &gColor2 )
{ m_gColor2 = gColor2; }
void setGType( BCType gType )
{ m_gType = gType; }
@@ -57,11 +57,11 @@ public:
void setGYFactor( int yfactor )
{ m_yfactor = yfactor; }
- QBrush getBrush() const
+ TQBrush getBrush() const
{ return m_brush; }
- QColor getGColor1() const
+ TQColor getGColor1() const
{ return m_gColor1; }
- QColor getGColor2() const
+ TQColor getGColor2() const
{ return m_gColor2; }
BCType getGType() const
{ return m_gType; }
@@ -78,10 +78,10 @@ public:
void loadOasisFillStyle( KoOasisContext &context, const char * propertyType );
private:
- //QString saveOasisGradientStyle( KoGenStyles& mainStyles ) const;
- QBrush m_brush;
- QColor m_gColor1;
- QColor m_gColor2;
+ //TQString saveOasisGradientStyle( KoGenStyles& mainStyles ) const;
+ TQBrush m_brush;
+ TQColor m_gColor1;
+ TQColor m_gColor2;
BCType m_gType;
FillType m_fillType;
bool m_unbalanced;