diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kdgantt/KDGanttView.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttView.h')
-rw-r--r-- | kdgantt/KDGanttView.h | 270 |
1 files changed, 135 insertions, 135 deletions
diff --git a/kdgantt/KDGanttView.h b/kdgantt/KDGanttView.h index c0c9bbba9..b3913d671 100644 --- a/kdgantt/KDGanttView.h +++ b/kdgantt/KDGanttView.h @@ -35,14 +35,14 @@ #ifndef KDGANTTVIEW_H #define KDGANTTVIEW_H -#include <qptrlist.h> -#include <qwidget.h> -#include <qlistview.h> -#include <qsplitter.h> -#include <qlayout.h> -#include <qfont.h> -#include <qdom.h> -#include <qvbox.h> +#include <tqptrlist.h> +#include <tqwidget.h> +#include <tqlistview.h> +#include <tqsplitter.h> +#include <tqlayout.h> +#include <tqfont.h> +#include <tqdom.h> +#include <tqvbox.h> #include "KDGanttViewItem.h" @@ -75,15 +75,15 @@ class KDGanttView : public KDGanttMinimizeSplitter Q_PROPERTY( bool showListView READ showListView WRITE setShowListView ) Q_PROPERTY( bool showTaskLinks READ showTaskLinks WRITE setShowTaskLinks ) Q_PROPERTY( bool editorEnabled READ editorEnabled WRITE setEditorEnabled ) - Q_PROPERTY( QDateTime horizonStart READ horizonStart WRITE setHorizonStart ) - Q_PROPERTY( QDateTime horizonEnd READ horizonEnd WRITE setHorizonEnd ) + Q_PROPERTY( TQDateTime horizonStart READ horizonStart WRITE setHorizonStart ) + Q_PROPERTY( TQDateTime horizonEnd READ horizonEnd WRITE setHorizonEnd ) Q_PROPERTY( Scale scale READ scale WRITE setScale ) Q_PROPERTY( YearFormat yearFormat READ yearFormat WRITE setYearFormat ) Q_PROPERTY( HourFormat hourFormat READ hourFormat WRITE setHourFormat ) Q_PROPERTY( bool showMinorTicks READ showMinorTicks WRITE setShowMinorTicks ) Q_PROPERTY( bool showMajorTicks READ showMajorTicks WRITE setShowMajorTicks ) Q_PROPERTY( bool editable READ editable WRITE setEditable ) - Q_PROPERTY( QColor textColor READ textColor WRITE setTextColor ) + Q_PROPERTY( TQColor textColor READ textColor WRITE setTextColor ) Q_PROPERTY( int majorScaleCount READ majorScaleCount WRITE setMajorScaleCount ) Q_PROPERTY( int minorScaleCount READ minorScaleCount WRITE setMinorScaleCount ) Q_PROPERTY( int autoScaleMinorTickCount READ autoScaleMinorTickCount WRITE setAutoScaleMinorTickCount ) @@ -91,11 +91,11 @@ class KDGanttView : public KDGanttMinimizeSplitter Q_PROPERTY( Scale minimumScale READ minimumScale WRITE setMinimumScale ) Q_PROPERTY( int minimumColumnWidth READ minimumColumnWidth WRITE setMinimumColumnWidth ) Q_PROPERTY( int ganttMaximumWidth READ ganttMaximumWidth WRITE setGanttMaximumWidth ) - Q_PROPERTY( QColor weekendBackgroundColor READ weekendBackgroundColor WRITE setWeekendBackgroundColor ) - Q_PROPERTY( QColor ganttViewBackgroundColor READ gvBackgroundColor WRITE setGvBackgroundColor ) - Q_PROPERTY( QColor listViewBackgroundColor READ lvBackgroundColor WRITE setLvBackgroundColor ) - Q_PROPERTY( QColor timeHeaderBackgroundColor READ timeHeaderBackgroundColor WRITE setTimeHeaderBackgroundColor ) - Q_PROPERTY( QColor legendHeaderBackgroundColor READ legendHeaderBackgroundColor WRITE setLegendHeaderBackgroundColor ) + Q_PROPERTY( TQColor weekendBackgroundColor READ weekendBackgroundColor WRITE setWeekendBackgroundColor ) + Q_PROPERTY( TQColor ganttViewBackgroundColor READ gvBackgroundColor WRITE setGvBackgroundColor ) + Q_PROPERTY( TQColor listViewBackgroundColor READ lvBackgroundColor WRITE setLvBackgroundColor ) + Q_PROPERTY( TQColor timeHeaderBackgroundColor READ timeHeaderBackgroundColor WRITE setTimeHeaderBackgroundColor ) + Q_PROPERTY( TQColor legendHeaderBackgroundColor READ legendHeaderBackgroundColor WRITE setLegendHeaderBackgroundColor ) Q_PROPERTY( double zoomFactor READ zoomFactor ) Q_PROPERTY( bool showHeaderPopupMenu READ showHeaderPopupMenu WRITE setShowHeaderPopupMenu ) Q_PROPERTY( bool showTimeTablePopupMenu READ showTimeTablePopupMenu WRITE setShowTimeTablePopupMenu ) @@ -103,7 +103,7 @@ class KDGanttView : public KDGanttMinimizeSplitter Q_PROPERTY( bool showLegendButton READ showLegendButton WRITE setShowLegendButton ) Q_PROPERTY( bool legendIsDockwindow READ legendIsDockwindow WRITE setLegendIsDockwindow ) Q_PROPERTY( bool displayEmptyTasksAsLine READ displayEmptyTasksAsLine WRITE setDisplayEmptyTasksAsLine ) - Q_PROPERTY( QBrush noInformationBrush READ noInformationBrush WRITE setNoInformationBrush ) + Q_PROPERTY( TQBrush noInformationBrush READ noInformationBrush WRITE setNoInformationBrush ) Q_PROPERTY( bool dragEnabled READ dragEnabled WRITE setDragEnabled ) Q_PROPERTY( bool dropEnabled READ dropEnabled WRITE setDropEnabled ) Q_PROPERTY( bool calendarMode READ calendarMode WRITE setCalendarMode ) @@ -118,7 +118,7 @@ public: enum HourFormat { Hour_24, Hour_12, Hour_24_FourDigit }; enum RepaintMode { No, Medium, Always }; - KDGanttView( QWidget* parent = 0, const char* name = 0 ); + KDGanttView( TQWidget* parent = 0, const char* name = 0 ); ~KDGanttView(); virtual void show(); @@ -133,7 +133,7 @@ public: bool showLegend() const; void setLegendIsDockwindow( bool dock ); bool legendIsDockwindow( ) const; - QDockWindow* legendDockwindow( ) const; + TQDockWindow* legendDockwindow( ) const; void setShowListView( bool show ); bool showListView() const; void setEditorEnabled( bool enable ); @@ -150,16 +150,16 @@ public: bool displayEmptyTasksAsLine() const; void setHorBackgroundLines( int count = 2, - QBrush brush = - QBrush( QColor ( 200,200,200 ), + TQBrush brush = + TQBrush( TQColor ( 200,200,200 ), Qt::Dense6Pattern )); - int horBackgroundLines( QBrush& brush ); - bool saveProject( QIODevice* ); - bool loadProject( QIODevice* ); - void print( QPrinter* printer = 0 , + int horBackgroundLines( TQBrush& brush ); + bool saveProject( TQIODevice* ); + bool loadProject( TQIODevice* ); + void print( TQPrinter* printer = 0 , bool printListView = true, bool printTimeLine = true, bool printLegend = false ); - QSize drawContents( QPainter* p = 0, + TQSize drawContents( TQPainter* p = 0, bool drawListView = true, bool drawTimeLine = true, bool drawLegend = false ); void setZoomFactor( double factor, bool absolute ); @@ -167,8 +167,8 @@ public: void zoomToFit(); void ensureVisible( KDGanttViewItem* ); void center( KDGanttViewItem* ); - void centerTimeline( const QDateTime& center ); - void centerTimelineAfterShow( const QDateTime& center ); + void centerTimeline( const TQDateTime& center ); + void centerTimelineAfterShow( const TQDateTime& center ); void setTimelineToStart(); void setTimelineToEnd(); void addTicksLeft( int num = 1 ); @@ -176,7 +176,7 @@ public: void setShowTaskLinks( bool show ); bool showTaskLinks() const; - void setFont(const QFont& f); + void setFont(const TQFont& f); void setShowHeaderPopupMenu( bool show = true, bool showZoom = true, bool showScale = true, @@ -197,43 +197,43 @@ public: KDGanttViewItem::Shape& middle, KDGanttViewItem::Shape& end ) const; void setColors( KDGanttViewItem::Type type, - const QColor& start, const QColor& middle, - const QColor& end, + const TQColor& start, const TQColor& middle, + const TQColor& end, bool overwriteExisting = true ); bool colors( KDGanttViewItem::Type type, - QColor& start, QColor& middle, QColor& end ) const; + TQColor& start, TQColor& middle, TQColor& end ) const; void setDefaultColor( KDGanttViewItem::Type type, - const QColor&, + const TQColor&, bool overwriteExisting = true ); - QColor defaultColor( KDGanttViewItem::Type type ) const; + TQColor defaultColor( KDGanttViewItem::Type type ) const; void setHighlightColors( KDGanttViewItem::Type type, - const QColor& start, const QColor& middle, - const QColor& end, + const TQColor& start, const TQColor& middle, + const TQColor& end, bool overwriteExisting = true ); bool highlightColors( KDGanttViewItem::Type type, - QColor& start, QColor& middle, QColor& end ) const; + TQColor& start, TQColor& middle, TQColor& end ) const; void setDefaultHighlightColor( KDGanttViewItem::Type type, - const QColor&, + const TQColor&, bool overwriteExisting = true ); - QColor defaultHighlightColor( KDGanttViewItem::Type type ) const; - void setTextColor( const QColor& color ); - QColor textColor() const; + TQColor defaultHighlightColor( KDGanttViewItem::Type type ) const; + void setTextColor( const TQColor& color ); + TQColor textColor() const; - void setNoInformationBrush( const QBrush& brush ); - QBrush noInformationBrush() const; + void setNoInformationBrush( const TQBrush& brush ); + TQBrush noInformationBrush() const; // Link-related stuff - QPtrList<KDGanttViewTaskLink> taskLinks() const; - QPtrList<KDGanttViewTaskLinkGroup> taskLinkGroups() const; + TQPtrList<KDGanttViewTaskLink> taskLinks() const; + TQPtrList<KDGanttViewTaskLinkGroup> taskLinkGroups() const; // Legend-related stuff - void addLegendItem( KDGanttViewItem::Shape shape, const QColor& shapeColor, const QString& text ); + void addLegendItem( KDGanttViewItem::Shape shape, const TQColor& shapeColor, const TQString& text ); void clearLegend(); // Header-related stuff - void setHorizonStart( const QDateTime& start ); - QDateTime horizonStart() const; - void setHorizonEnd( const QDateTime& start ); - QDateTime horizonEnd() const; + void setHorizonStart( const TQDateTime& start ); + TQDateTime horizonStart() const; + void setHorizonEnd( const TQDateTime& start ); + TQDateTime horizonEnd() const; void setScale( Scale ); Scale scale() const; void setMaximumScale( Scale ); @@ -256,48 +256,48 @@ public: bool showMajorTicks() const; void setShowMinorTicks( bool ); bool showMinorTicks() const; - void setColumnBackgroundColor( const QDateTime& column, - const QColor& color, + void setColumnBackgroundColor( const TQDateTime& column, + const TQColor& color, Scale mini = KDGanttView::Minute , Scale maxi = KDGanttView::Month); #if 0 // This API has been replaced with KDIntervalColorRectangle and addIntervalBackgroundColor - void setIntervalBackgroundColor( const QDateTime& start, - const QDateTime& end, - const QColor& color, + void setIntervalBackgroundColor( const TQDateTime& start, + const TQDateTime& end, + const TQColor& color, Scale mini = KDGanttView::Minute , Scale maxi = KDGanttView::Month); - bool changeBackgroundInterval( const QDateTime& oldstart, - const QDateTime& oldend, - const QDateTime& newstart, - const QDateTime& newend ); - bool deleteBackgroundInterval( const QDateTime& start, - const QDateTime& end ); + bool changeBackgroundInterval( const TQDateTime& oldstart, + const TQDateTime& oldend, + const TQDateTime& newstart, + const TQDateTime& newend ); + bool deleteBackgroundInterval( const TQDateTime& start, + const TQDateTime& end ); #endif void addIntervalBackgroundColor( KDIntervalColorRectangle* newItem ); void clearBackgroundColor(); - QColor columnBackgroundColor( const QDateTime& column ) const; - void setWeekendBackgroundColor( const QColor& color ); - QColor weekendBackgroundColor() const; - void setWeekdayBackgroundColor( const QColor& color, int weekday ); - QColor weekdayBackgroundColor(int weekday) const; - - - void setPaletteBackgroundColor(const QColor& col); - void setGvBackgroundColor ( const QColor & ); - void setLvBackgroundColor ( const QColor & ); - void setTimeHeaderBackgroundColor ( const QColor & ); - void setLegendHeaderBackgroundColor ( const QColor & ); - QColor gvBackgroundColor () const ; - QColor lvBackgroundColor () const ; - QColor timeHeaderBackgroundColor () const ; - QColor legendHeaderBackgroundColor () const ; - void addUserdefinedLegendHeaderWidget( QWidget * w ); + TQColor columnBackgroundColor( const TQDateTime& column ) const; + void setWeekendBackgroundColor( const TQColor& color ); + TQColor weekendBackgroundColor() const; + void setWeekdayBackgroundColor( const TQColor& color, int weekday ); + TQColor weekdayBackgroundColor(int weekday) const; + + + void setPaletteBackgroundColor(const TQColor& col); + void setGvBackgroundColor ( const TQColor & ); + void setLvBackgroundColor ( const TQColor & ); + void setTimeHeaderBackgroundColor ( const TQColor & ); + void setLegendHeaderBackgroundColor ( const TQColor & ); + TQColor gvBackgroundColor () const ; + TQColor lvBackgroundColor () const ; + TQColor timeHeaderBackgroundColor () const ; + TQColor legendHeaderBackgroundColor () const ; + void addUserdefinedLegendHeaderWidget( TQWidget * w ); void setWeekendDays( int start, int end ); void weekendDays( int& start, int& end ) const; - static QPixmap getPixmap( KDGanttViewItem::Shape shape, const QColor& shapeColor,const QColor& backgroundColor, int itemSize); + static TQPixmap getPixmap( KDGanttViewItem::Shape shape, const TQColor& shapeColor,const TQColor& backgroundColor, int itemSize); void setHeaderVisible( bool ); bool headerVisible() const; @@ -306,8 +306,8 @@ public: bool showLegendButton() const; // Pass-through methods from QListView - virtual int addColumn( const QString& label, int width = -1 ); - virtual int addColumn( const QIconSet& iconset, const QString& label, + virtual int addColumn( const TQString& label, int width = -1 ); + virtual int addColumn( const TQIconSet& iconset, const TQString& label, int width = -1 ); virtual void removeColumn( int index ); KDGanttViewItem* selectedItem() const; @@ -325,21 +325,21 @@ public: bool isDragEnabled() const; bool isDropEnabled() const; - virtual bool lvDropEvent ( QDropEvent *e, KDGanttViewItem*, KDGanttViewItem*); + virtual bool lvDropEvent ( TQDropEvent *e, KDGanttViewItem*, KDGanttViewItem*); virtual void lvStartDrag (KDGanttViewItem*); - virtual bool lvDragMoveEvent (QDragMoveEvent * e,KDGanttViewItem*, KDGanttViewItem*); - virtual void lvDragEnterEvent (QDragEnterEvent * e ); - virtual QSize sizeHint() const; - KDGanttViewItem* getItemByName( const QString& name ) const; - QDateTime getDateTimeForCoordX(int coordX, bool global = true ) const; - KDGanttViewItem* getItemByListViewPos( const QPoint& pos ) const; - KDGanttViewItem* getItemByGanttViewPos( const QPoint& pos ) const; - KDGanttViewItem* getItemAt( const QPoint& pos , bool global = true ) const; + virtual bool lvDragMoveEvent (TQDragMoveEvent * e,KDGanttViewItem*, KDGanttViewItem*); + virtual void lvDragEnterEvent (TQDragEnterEvent * e ); + virtual TQSize sizeHint() const; + KDGanttViewItem* getItemByName( const TQString& name ) const; + TQDateTime getDateTimeForCoordX(int coordX, bool global = true ) const; + KDGanttViewItem* getItemByListViewPos( const TQPoint& pos ) const; + KDGanttViewItem* getItemByGanttViewPos( const TQPoint& pos ) const; + KDGanttViewItem* getItemAt( const TQPoint& pos , bool global = true ) const; // setting the vertical scrollbars of the listview and the timetable // default values: always off for the listview, always on for the timetable - void setLvVScrollBarMode( QScrollView::ScrollBarMode ); - void setGvVScrollBarMode( QScrollView::ScrollBarMode ); + void setLvVScrollBarMode( TQScrollView::ScrollBarMode ); + void setGvVScrollBarMode( TQScrollView::ScrollBarMode ); void setLinkItemsEnabled(bool on); bool isLinkItemsEnabled() const; @@ -351,13 +351,13 @@ public: public slots: void editItem( KDGanttViewItem* ); - void zoomToSelection( const QDateTime& start, const QDateTime& end); + void zoomToSelection( const TQDateTime& start, const TQDateTime& end); signals: - void timeIntervallSelected( const QDateTime& start, const QDateTime& end); - void timeIntervalSelected( const QDateTime& start, const QDateTime& end); + void timeIntervallSelected( const TQDateTime& start, const TQDateTime& end); + void timeIntervalSelected( const TQDateTime& start, const TQDateTime& end); void rescaling( KDGanttView::Scale ); - void intervalColorRectangleMoved( const QDateTime& start, const QDateTime& end ); + void intervalColorRectangleMoved( const TQDateTime& start, const TQDateTime& end ); // the following signals are emitted if an item is clicked in the // listview (inclusive) or in the ganttview @@ -378,21 +378,21 @@ signals: void gvItemMidClicked( KDGanttViewItem* ); void gvItemRightClicked( KDGanttViewItem* ); // the point is the global position!! - void gvMouseButtonClicked ( int button, KDGanttViewItem* item, const QPoint & pos); + void gvMouseButtonClicked ( int button, KDGanttViewItem* item, const TQPoint & pos); void gvItemDoubleClicked( KDGanttViewItem* ); // the point is the global position!! - void gvContextMenuRequested ( KDGanttViewItem * item, const QPoint & pos ); + void gvContextMenuRequested ( KDGanttViewItem * item, const TQPoint & pos ); void gvItemMoved( KDGanttViewItem* ); // lv... means item in listview clicked void lvCurrentChanged( KDGanttViewItem* ); - void lvItemRenamed( KDGanttViewItem* , int col, const QString & text ); - void lvMouseButtonPressed( int button, KDGanttViewItem * item, const QPoint & pos, int c ); + void lvItemRenamed( KDGanttViewItem* , int col, const TQString & text ); + void lvMouseButtonPressed( int button, KDGanttViewItem * item, const TQPoint & pos, int c ); void lvItemLeftClicked( KDGanttViewItem* ); void lvItemMidClicked( KDGanttViewItem* ); void lvItemRightClicked( KDGanttViewItem* ); - void lvContextMenuRequested ( KDGanttViewItem * item, const QPoint & pos, int col ); - void lvMouseButtonClicked ( int button, KDGanttViewItem* item, const QPoint & pos, int c ); + void lvContextMenuRequested ( KDGanttViewItem * item, const TQPoint & pos, int col ); + void lvMouseButtonClicked ( int button, KDGanttViewItem* item, const TQPoint & pos, int c ); void lvItemDoubleClicked( KDGanttViewItem* ); void lvSelectionChanged( KDGanttViewItem* ); @@ -403,39 +403,39 @@ signals: void taskLinkRightClicked( KDGanttViewTaskLink* ); void taskLinkDoubleClicked( KDGanttViewTaskLink* ); - void dateTimeDoubleClicked (const QDateTime& ); + void dateTimeDoubleClicked (const TQDateTime& ); - void dropped ( QDropEvent * e, KDGanttViewItem* droppedItem, KDGanttViewItem* itemBelowMouse); + void dropped ( TQDropEvent * e, KDGanttViewItem* droppedItem, KDGanttViewItem* itemBelowMouse); private slots: void forceRepaint( int val = 0 ); - void slotSelectionChanged( QListViewItem* item ); - void slotCurrentChanged ( QListViewItem * item ); - void slotItemRenamed ( QListViewItem * item, int col, const QString & text ); - void slotMouseButtonPressed ( int button, QListViewItem * item, const QPoint & pos, int c ); - void slotmouseButtonClicked ( int button, QListViewItem * item, const QPoint & pos, int c ); - void slotcontextMenuRequested ( QListViewItem * item, const QPoint & pos, int col ); + void slotSelectionChanged( TQListViewItem* item ); + void slotCurrentChanged ( TQListViewItem * item ); + void slotItemRenamed ( TQListViewItem * item, int col, const TQString & text ); + void slotMouseButtonPressed ( int button, TQListViewItem * item, const TQPoint & pos, int c ); + void slotmouseButtonClicked ( int button, TQListViewItem * item, const TQPoint & pos, int c ); + void slotcontextMenuRequested ( TQListViewItem * item, const TQPoint & pos, int col ); void slotHeaderSizeChanged(); void addTickRight(); void addTickLeft(); void enableAdding( int ); - void slot_lvDropped(QDropEvent* e, KDGanttViewItem* droppedItem, KDGanttViewItem* itemBelowMouse ); + void slot_lvDropped(TQDropEvent* e, KDGanttViewItem* droppedItem, KDGanttViewItem* itemBelowMouse ); private: struct legendItem { KDGanttViewItem::Shape shape; - QColor color; - QString text; + TQColor color; + TQString text; }; - bool loadXML( const QDomDocument& doc ); - QDomDocument saveXML( bool withPI = true ) const; + bool loadXML( const TQDomDocument& doc ); + TQDomDocument saveXML( bool withPI = true ) const; - void emptySpaceDoubleClicked( QMouseEvent* e ); + void emptySpaceDoubleClicked( TQMouseEvent* e ); - static QString scaleToString( Scale scale ); - static QString yearFormatToString( YearFormat format ); - static QString hourFormatToString( HourFormat format ); - static Scale stringToScale( const QString& string ); - static YearFormat stringToYearFormat( const QString& string ); - static HourFormat stringToHourFormat( const QString& string ); + static TQString scaleToString( Scale scale ); + static TQString yearFormatToString( YearFormat format ); + static TQString hourFormatToString( HourFormat format ); + static Scale stringToScale( const TQString& string ); + static YearFormat stringToYearFormat( const TQString& string ); + static HourFormat stringToHourFormat( const TQString& string ); // PENDING(lutz) Review these friend class KDGanttCanvasView; @@ -457,12 +457,12 @@ private: KDTimeTableWidget * myTimeTable; KDLegendWidget * myLegend; itemAttributeDialog* myItemAttributeDialog; - QVBox * leftWidget, * rightWidget; - QHBox * spacerLeft; - QScrollView* myTimeHeaderScroll; - QHBox* myTimeHeaderContainer ; - QWidget* timeHeaderSpacerWidget; - QWidget *spacerRight; + TQVBox * leftWidget, * rightWidget; + TQHBox * spacerLeft; + TQScrollView* myTimeHeaderScroll; + TQHBox* myTimeHeaderContainer ; + TQWidget* timeHeaderSpacerWidget; + TQWidget *spacerRight; bool listViewIsVisible; bool chartIsEditable; @@ -476,14 +476,14 @@ private: bool fDragEnabled; bool fDropEnabled; bool closingBlocked; - QDateTime dtCenterTimeLineAfterShow; + TQDateTime dtCenterTimeLineAfterShow; KDGanttViewItem::Shape myDefaultShape [9]; - QColor myColor[9],myColorHL[9]; + TQColor myColor[9],myColorHL[9]; bool undefinedShape[3],undefinedColor[3],undefinedColorHL[3]; - QColor myTextColor; - QColor myDefaultColor[3],myDefaultColorHL[3]; - QPtrList<KDGanttViewTaskLinkGroup> myTaskLinkGroupList; - QPtrList<legendItem> *myLegendItems; + TQColor myTextColor; + TQColor myDefaultColor[3],myDefaultColorHL[3]; + TQPtrList<KDGanttViewTaskLinkGroup> myTaskLinkGroupList; + TQPtrList<legendItem> *myLegendItems; void addTaskLinkGroup(KDGanttViewTaskLinkGroup*); void removeTaskLinkGroup(KDGanttViewTaskLinkGroup*); int getIndex( KDGanttViewItem::Type ) const; @@ -493,7 +493,7 @@ private: KDGanttMinimizeSplitter *mySplitter; bool mFixedHorizon; protected: - virtual QDragObject * dragObject (); + virtual TQDragObject * dragObject (); virtual void startDrag (); }; |