summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt')
-rw-r--r--kdgantt/KDGanttMinimizeSplitter.h4
-rw-r--r--kdgantt/KDGanttSemiSizingControl.h2
-rw-r--r--kdgantt/KDGanttSizingControl.h2
-rw-r--r--kdgantt/KDGanttView.h2
-rw-r--r--kdgantt/KDGanttViewSubwidgets.h10
5 files changed, 10 insertions, 10 deletions
diff --git a/kdgantt/KDGanttMinimizeSplitter.h b/kdgantt/KDGanttMinimizeSplitter.h
index 1ebf7b543..14731695e 100644
--- a/kdgantt/KDGanttMinimizeSplitter.h
+++ b/kdgantt/KDGanttMinimizeSplitter.h
@@ -43,7 +43,7 @@ class TQSplitterLayoutStruct;
class KDGanttMinimizeSplitter : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
Q_ENUMS( Direction )
TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
TQ_PROPERTY( Direction minimizeDirection READ minimizeDirection WRITE setMinimizeDirection )
@@ -138,7 +138,7 @@ private: // Disabled copy constructor and operator=
class KDGanttSplitterHandle : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
KDGanttSplitterHandle( Qt::Orientation o,
KDGanttMinimizeSplitter *parent, const char* name=0 );
diff --git a/kdgantt/KDGanttSemiSizingControl.h b/kdgantt/KDGanttSemiSizingControl.h
index 34b11a234..5b83657df 100644
--- a/kdgantt/KDGanttSemiSizingControl.h
+++ b/kdgantt/KDGanttSemiSizingControl.h
@@ -45,7 +45,7 @@ class KDGanttSemiSizingControl : public KDGanttSizingControl
TQ_PROPERTY( ArrowPosition arrowPosition READ arrowPosition WRITE setArrowPosition )
Q_ENUMS( ArrowPosition )
Q_OBJECT
- TQ_OBJECT
+
public:
enum ArrowPosition { Before, After };
diff --git a/kdgantt/KDGanttSizingControl.h b/kdgantt/KDGanttSizingControl.h
index ffdb0fa7d..733f60351 100644
--- a/kdgantt/KDGanttSizingControl.h
+++ b/kdgantt/KDGanttSizingControl.h
@@ -38,7 +38,7 @@
class KDGanttSizingControl : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
bool isMinimized() const;
diff --git a/kdgantt/KDGanttView.h b/kdgantt/KDGanttView.h
index b0acc96b0..30a84abb5 100644
--- a/kdgantt/KDGanttView.h
+++ b/kdgantt/KDGanttView.h
@@ -70,7 +70,7 @@ class KDGanttMinimizeSplitter;
class KDGanttView : public KDGanttMinimizeSplitter
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( bool showLegend READ showLegend WRITE setShowLegend )
TQ_PROPERTY( bool showListView READ showListView WRITE setShowListView )
diff --git a/kdgantt/KDGanttViewSubwidgets.h b/kdgantt/KDGanttViewSubwidgets.h
index 30ed39d4d..b793ac4b4 100644
--- a/kdgantt/KDGanttViewSubwidgets.h
+++ b/kdgantt/KDGanttViewSubwidgets.h
@@ -76,7 +76,7 @@ class KDTimeHeaderToolTip;
class KDTimeHeaderWidget : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
typedef KDGanttView::Scale Scale;
@@ -254,7 +254,7 @@ class KDListView ;
class KDTimeTableWidget : public TQCanvas
{
Q_OBJECT
- TQ_OBJECT
+
public:
KDTimeTableWidget (TQWidget* parent,KDGanttView* my);
@@ -331,7 +331,7 @@ private:
class KDLegendWidget : public KDGanttSemiSizingControl
{
Q_OBJECT
- TQ_OBJECT
+
public:
KDLegendWidget ( TQWidget* parent, KDGanttMinimizeSplitter* legendParent );
@@ -358,7 +358,7 @@ class KDGanttView;
class KDListView : public TQListView
{
Q_OBJECT
- TQ_OBJECT
+
public:
KDListView (TQWidget* parent,KDGanttView* gv );
@@ -487,7 +487,7 @@ class KDCanvasToolTip;
class KDGanttCanvasView : public TQCanvasView
{
Q_OBJECT
- TQ_OBJECT
+
public:
KDGanttCanvasView(KDGanttView* sender, TQCanvas* canvas = 0, TQWidget* parent = 0, const char* name = 0 );