summaryrefslogtreecommitdiffstats
path: root/kspread/KSpreadCellIface.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/KSpreadCellIface.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/KSpreadCellIface.h')
-rw-r--r--kspread/KSpreadCellIface.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/kspread/KSpreadCellIface.h b/kspread/KSpreadCellIface.h
index f172d9f7..a1304c01 100644
--- a/kspread/KSpreadCellIface.h
+++ b/kspread/KSpreadCellIface.h
@@ -28,11 +28,11 @@
#ifndef KSPREAD_CELL_IFACE_H
#define KSPREAD_CELL_IFACE_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <dcopobject.h>
-class QPoint;
+class TQPoint;
namespace KSpread
{
@@ -44,45 +44,45 @@ class CellIface : virtual public DCOPObject
public:
CellIface();
- void setCell( Sheet* sheet, const QPoint& point );
+ void setCell( Sheet* sheet, const TQPoint& point );
k_dcop:
virtual bool isDefault() const;
virtual bool isEmpty() const;
- virtual QString text() const;
- virtual void setText( const QString& text );
+ virtual TQString text() const;
+ virtual void setText( const TQString& text );
virtual void setValue( int value );
virtual void setValue( double value );
virtual double value() const;
- virtual QString visibleContentAsString() const;
- virtual void setBgColor(const QString& _c);
+ virtual TQString visibleContentAsString() const;
+ virtual void setBgColor(const TQString& _c);
virtual void setBgColor(int r,int g,int b);
- virtual QString bgColor() const;
- virtual void setTextColor(const QString& _c);
+ virtual TQString bgColor() const;
+ virtual void setTextColor(const TQString& _c);
virtual void setTextColor(int r,int g,int b);
- virtual QString textColor()const ;
- virtual void setComment(const QString &_comment);
- virtual QString comment()const;
+ virtual TQString textColor()const ;
+ virtual void setComment(const TQString &_comment);
+ virtual TQString comment()const;
virtual void setAngle(int angle);
virtual int angle() const ;
virtual void setVerticalText(bool _vertical);
virtual bool verticalText() const ;
virtual void setMultiRow(bool _multi);
virtual bool multiRow() const;
- virtual void setAlign(const QString &_align);
- virtual QString align() const;
- virtual void setAlignY(const QString &_alignY);
- virtual QString alignY() const;
- virtual void setPrefix(const QString &_prefix);
- virtual QString prefix() const;
- virtual void setPostfix(const QString &_postfix);
- virtual QString postfix() const;
+ virtual void setAlign(const TQString &_align);
+ virtual TQString align() const;
+ virtual void setAlignY(const TQString &_alignY);
+ virtual TQString alignY() const;
+ virtual void setPrefix(const TQString &_prefix);
+ virtual TQString prefix() const;
+ virtual void setPostfix(const TQString &_postfix);
+ virtual TQString postfix() const;
/** @deprecated use setFormatType*/
- virtual void setFormatNumber(const QString &ft) { setFormatType(ft); }
- virtual void setFormatType(const QString &formatType);
+ virtual void setFormatNumber(const TQString &ft) { setFormatType(ft); }
+ virtual void setFormatType(const TQString &formatType);
/** @deprecated use getFormatType */
- virtual QString getFormatNumber() const { return getFormatType(); }
- virtual QString getFormatType() const;
+ virtual TQString getFormatNumber() const { return getFormatType(); }
+ virtual TQString getFormatType() const;
virtual void setPrecision(int _p);
virtual int precision() const;
//font
@@ -96,56 +96,56 @@ k_dcop:
virtual bool textFontStrike( ) const;
virtual void setTextFontSize( int _size );
virtual int textFontSize() const;
- virtual void setTextFontFamily( const QString& _font );
- virtual QString textFontFamily() const;
+ virtual void setTextFontFamily( const TQString& _font );
+ virtual TQString textFontFamily() const;
//border left
- virtual void setLeftBorderStyle( const QString& _style );
- virtual void setLeftBorderColor(const QString& _c);
+ virtual void setLeftBorderStyle( const TQString& _style );
+ virtual void setLeftBorderColor(const TQString& _c);
virtual void setLeftBorderColor(int r,int g,int b);
virtual void setLeftBorderWidth( int _size );
virtual int leftBorderWidth() const;
- virtual QString leftBorderColor() const;
- virtual QString leftBorderStyle() const;
+ virtual TQString leftBorderColor() const;
+ virtual TQString leftBorderStyle() const;
//border right
- virtual void setRightBorderStyle( const QString& _style );
- virtual void setRightBorderColor(const QString& _c);
+ virtual void setRightBorderStyle( const TQString& _style );
+ virtual void setRightBorderColor(const TQString& _c);
virtual void setRightBorderColor(int r,int g,int b);
virtual void setRightBorderWidth( int _size );
virtual int rightBorderWidth() const;
- virtual QString rightBorderColor() const;
- virtual QString rightBorderStyle() const;
+ virtual TQString rightBorderColor() const;
+ virtual TQString rightBorderStyle() const;
//border top
- virtual void setTopBorderStyle( const QString& _style );
- virtual void setTopBorderColor(const QString& _c);
+ virtual void setTopBorderStyle( const TQString& _style );
+ virtual void setTopBorderColor(const TQString& _c);
virtual void setTopBorderColor(int r,int g,int b);
virtual void setTopBorderWidth( int _size );
virtual int topBorderWidth() const;
- virtual QString topBorderColor() const;
- virtual QString topBorderStyle() const;
+ virtual TQString topBorderColor() const;
+ virtual TQString topBorderStyle() const;
//border bottom
- virtual void setBottomBorderStyle( const QString& _style );
- virtual void setBottomBorderColor(const QString& _c);
+ virtual void setBottomBorderStyle( const TQString& _style );
+ virtual void setBottomBorderColor(const TQString& _c);
virtual void setBottomBorderColor(int r,int g,int b);
virtual void setBottomBorderWidth( int _size );
virtual int bottomBorderWidth() const;
- virtual QString bottomBorderColor() const;
- virtual QString bottomBorderStyle() const;
+ virtual TQString bottomBorderColor() const;
+ virtual TQString bottomBorderStyle() const;
// fall back diagonal
- virtual void setFallDiagonalStyle( const QString& _style );
- virtual void setFallDiagonalColor(const QString& _c);
+ virtual void setFallDiagonalStyle( const TQString& _style );
+ virtual void setFallDiagonalColor(const TQString& _c);
virtual void setFallDiagonalColor(int r,int g,int b);
virtual void setFallDiagonalWidth( int _size );
virtual int fallDiagonalWidth() const;
- virtual QString fallDiagonalColor() const;
- virtual QString fallDiagonalStyle() const;
+ virtual TQString fallDiagonalColor() const;
+ virtual TQString fallDiagonalStyle() const;
//GoUpDiagonal
- virtual void setGoUpDiagonalStyle( const QString& _style );
- virtual void setGoUpDiagonalColor(const QString& _c);
+ virtual void setGoUpDiagonalStyle( const TQString& _style );
+ virtual void setGoUpDiagonalColor(const TQString& _c);
virtual void setGoUpDiagonalColor(int r,int g,int b);
virtual void setGoUpDiagonalWidth( int _size );
virtual int goUpDiagonalWidth() const;
- virtual QString goUpDiagonalColor() const;
- virtual QString goUpDiagonalStyle() const;
+ virtual TQString goUpDiagonalColor() const;
+ virtual TQString goUpDiagonalStyle() const;
//indent
virtual void setIndent(double indent);
virtual double getIndent() const ;
@@ -155,18 +155,18 @@ k_dcop:
virtual bool hasValidation() const;
virtual void removeValidity();
- virtual QString validationTitle() const;
- virtual QString validationMessage() const;
+ virtual TQString validationTitle() const;
+ virtual TQString validationMessage() const;
virtual bool displayValidationMessage() const;
virtual bool validationAllowEmptyCell() const;
virtual bool displayValidationInformation() const;
- virtual QStringList listValidation() const;
+ virtual TQStringList listValidation() const;
- virtual QString validationTitleInfo() const;
- virtual QString validationMessageInfo() const;
+ virtual TQString validationTitleInfo() const;
+ virtual TQString validationMessageInfo() const;
private:
- QPoint m_point;
+ TQPoint m_point;
Sheet* m_sheet;
};