summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-31 10:46:45 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-10-31 10:46:45 -0500
commitaa0e597d69c5fee77817b37b89407137893b3baf (patch)
tree422e2369183d90bf9e03cabad1eacd1e1d2ee76c /kdgantt
parentd2b03dad3d0b458ab4146b4e51756e3ce8efe7cc (diff)
downloadkoffice-aa0e597d69c5fee77817b37b89407137893b3baf.tar.gz
koffice-aa0e597d69c5fee77817b37b89407137893b3baf.zip
Fix FTBFS on TQt3
Diffstat (limited to 'kdgantt')
-rw-r--r--kdgantt/KDGanttMinimizeSplitter.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdgantt/KDGanttMinimizeSplitter.h b/kdgantt/KDGanttMinimizeSplitter.h
index a99b84c7..839a7aa8 100644
--- a/kdgantt/KDGanttMinimizeSplitter.h
+++ b/kdgantt/KDGanttMinimizeSplitter.h
@@ -47,7 +47,7 @@ class KDGanttMinimizeSplitter : public TQFrame
Q_OBJECT
TQ_ENUMS( Direction )
- TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation )
+ TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
TQ_PROPERTY( Direction minimizeDirection READ minimizeDirection WRITE setMinimizeDirection )
public:
@@ -55,11 +55,11 @@ public:
enum Direction { Left, Right, Up, Down };
KDGanttMinimizeSplitter( TQWidget* parent=0, const char* name=0 );
- KDGanttMinimizeSplitter( Qt::Orientation, TQWidget* parent=0, const char* name=0 );
+ KDGanttMinimizeSplitter( Orientation, TQWidget* parent=0, const char* name=0 );
~KDGanttMinimizeSplitter();
- virtual void setOrientation( Qt::Orientation );
- Qt::Orientation orientation() const { return orient; }
+ virtual void setOrientation( Orientation );
+ Orientation orientation() const { return orient; }
void setMinimizeDirection( Direction );
Direction minimizeDirection() const;
@@ -120,7 +120,7 @@ private:
TQSplitterData *data;
private:
- Qt::Orientation orient;
+ Orientation orient;
Direction _direction;
#ifndef DOXYGEN_SKIP_INTERNAL
friend class KDGanttSplitterHandle;
@@ -142,10 +142,10 @@ class KDGanttSplitterHandle : public TQWidget
Q_OBJECT
public:
- KDGanttSplitterHandle( Qt::Orientation o,
+ KDGanttSplitterHandle( Orientation o,
KDGanttMinimizeSplitter *parent, const char* name=0 );
- void setOrientation( Qt::Orientation o );
- Qt::Orientation orientation() const { return orient; }
+ void setOrientation( Orientation o );
+ Orientation orientation() const { return orient; }
bool opaque() const { return s->opaqueResize(); }
@@ -164,7 +164,7 @@ protected:
void updateCursor( const TQPoint& p );
private:
- Qt::Orientation orient;
+ Orientation orient;
bool opaq;
int myId;