summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrGroupObject.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 /kpresenter/KPrGroupObject.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 'kpresenter/KPrGroupObject.h')
-rw-r--r--kpresenter/KPrGroupObject.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpresenter/KPrGroupObject.h b/kpresenter/KPrGroupObject.h
index 0dfd28d2..f8183f77 100644
--- a/kpresenter/KPrGroupObject.h
+++ b/kpresenter/KPrGroupObject.h
@@ -33,7 +33,7 @@ class KPrGroupObject : public KPrObject
{
public:
KPrGroupObject();
- KPrGroupObject( const QPtrList<KPrObject> &objs );
+ KPrGroupObject( const TQPtrList<KPrObject> &objs );
virtual ~KPrGroupObject() {}
KPrGroupObject &operator=( const KPrGroupObject & );
@@ -47,7 +47,7 @@ public:
virtual void rotate( float _angle );
virtual void setShadowDistance( int _distance );
virtual void setShadowDirection( ShadowDirection _direction );
- virtual void setShadowColor( const QColor &_color );
+ virtual void setShadowColor( const TQColor &_color );
virtual void setEffect( Effect _effect );
virtual void setEffect2( Effect2 _effect2 );
virtual void setAppearStep( int _appearStep );
@@ -58,21 +58,21 @@ public:
virtual void setDisappearTimer( int _disappearTimer );
virtual void setAppearSoundEffect( bool b );
virtual void setDisappearSoundEffect( bool b );
- virtual void setAppearSoundEffectFileName( const QString &_a_fileName );
- virtual void setDisappearSoundEffectFileName( const QString &_d_fileName );
+ virtual void setAppearSoundEffectFileName( const TQString &_a_fileName );
+ virtual void setDisappearSoundEffectFileName( const TQString &_d_fileName );
- virtual void setShadowParameter(int _distance,ShadowDirection _direction,const QColor &_color);
+ virtual void setShadowParameter(int _distance,ShadowDirection _direction,const TQColor &_color);
virtual ObjType getType() const
{ return OT_GROUP; }
- virtual QString getTypeString() const
+ virtual TQString getTypeString() const
{ return i18n("Group"); }
- virtual QDomDocumentFragment save( QDomDocument& doc, double offset );
- virtual double load(const QDomElement &element, KPrDocument *doc);
- virtual void loadOasisGroupObject( KPrDocument *doc, KPrPage * newpage, QDomNode &element, KoOasisContext & context, KPrLoadingInfo *info);
+ virtual TQDomDocumentFragment save( TQDomDocument& doc, double offset );
+ virtual double load(const TQDomElement &element, KPrDocument *doc);
+ virtual void loadOasisGroupObject( KPrDocument *doc, KPrPage * newpage, TQDomNode &element, KoOasisContext & context, KPrLoadingInfo *info);
- virtual void draw( QPainter *_painter, KoTextZoomHandler *_zoomhandler,
+ virtual void draw( TQPainter *_painter, KoTextZoomHandler *_zoomhandler,
int pageNum, SelectionMode selectionMode, bool drawContour = FALSE );
void addObjects( KPrObject * obj );
@@ -80,11 +80,11 @@ public:
void setUpdateObjects( bool b )
{ updateObjs = b; }
- QPtrList<KPrObject> getObjects()
+ TQPtrList<KPrObject> getObjects()
{ return objects; }
- const QPtrList<KPrObject> &objectList() const
+ const TQPtrList<KPrObject> &objectList() const
{ return objects; }
- virtual void addTextObjects( QPtrList<KoTextObject> & ) const;
+ virtual void addTextObjects( TQPtrList<KoTextObject> & ) const;
void selectAllObj();
void deSelectAllObj();
@@ -92,7 +92,7 @@ public:
virtual void setOwnClipping( bool _ownClipping );
virtual void setSubPresStep( int _subPresStep );
virtual void doSpecificEffects( bool _specEffects, bool _onlyCurrStep = true );
- virtual void getAllObjectSelectedList(QPtrList<KPrObject> &lst,bool force=false );
+ virtual void getAllObjectSelectedList(TQPtrList<KPrObject> &lst,bool force=false );
virtual void flip( bool horizontal );
virtual void removeFromObjList();
@@ -108,7 +108,7 @@ protected:
void updateSizes( double fx, double fy );
void updateCoords( double dx, double dy );
- QPtrList<KPrObject> objects;
+ TQPtrList<KPrObject> objects;
bool updateObjs;
};