diff options
Diffstat (limited to 'kdgantt/KDGanttViewSummaryItem.cpp')
-rw-r--r-- | kdgantt/KDGanttViewSummaryItem.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdgantt/KDGanttViewSummaryItem.cpp b/kdgantt/KDGanttViewSummaryItem.cpp index a9cf23c6a..d73a27257 100644 --- a/kdgantt/KDGanttViewSummaryItem.cpp +++ b/kdgantt/KDGanttViewSummaryItem.cpp @@ -54,8 +54,8 @@ is specified, a unique name will be generated */ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view, - const QString& lvtext, - const QString& name ) : + const TQString& lvtext, + const TQString& name ) : KDGanttViewItem( Summary, view, lvtext, name ) { initItem(); @@ -71,8 +71,8 @@ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view, is specified, a unique name will be generated */ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* parent, - const QString& lvtext, - const QString& name ) : + const TQString& lvtext, + const TQString& name ) : KDGanttViewItem( Summary, parent, lvtext, name ) { initItem(); @@ -90,8 +90,8 @@ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* parent, */ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view, KDGanttViewItem* after, - const QString& lvtext, - const QString& name ) : + const TQString& lvtext, + const TQString& name ) : KDGanttViewItem( Summary, view, after, lvtext, name ) { initItem(); @@ -109,8 +109,8 @@ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view, */ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* parent, KDGanttViewItem* after, - const QString& lvtext, - const QString& name ) : + const TQString& lvtext, + const TQString& name ) : KDGanttViewItem( Summary, parent, after, lvtext, name ) { @@ -135,7 +135,7 @@ KDGanttViewSummaryItem::~KDGanttViewSummaryItem() \param dateTime the middle time \sa middleTime() */ -void KDGanttViewSummaryItem::setMiddleTime( const QDateTime& dateTime ) +void KDGanttViewSummaryItem::setMiddleTime( const TQDateTime& dateTime ) { if (! dateTime.isValid() ) { qDebug("KDGanttViewSummaryItem::setMiddleTime():Invalid parameter-no time set"); @@ -158,7 +158,7 @@ void KDGanttViewSummaryItem::setMiddleTime( const QDateTime& dateTime ) \return the middle time of this summary item. If there is no middle time defined, the start time is returned. */ -QDateTime KDGanttViewSummaryItem::middleTime() const +TQDateTime KDGanttViewSummaryItem::middleTime() const { if(myMiddleTime) return *myMiddleTime; @@ -174,7 +174,7 @@ QDateTime KDGanttViewSummaryItem::middleTime() const \param end the end time \sa endTime(), setStartTime(), startTime() */ -void KDGanttViewSummaryItem::setEndTime( const QDateTime& end ) +void KDGanttViewSummaryItem::setEndTime( const TQDateTime& end ) { if (! end.isValid() ) { qDebug("KDGanttViewSummaryItem::setEndTime():Invalid parameter-no time set"); @@ -197,7 +197,7 @@ void KDGanttViewSummaryItem::setEndTime( const QDateTime& end ) \param start the start time \sa startTime(), setEndTime(), endTime() */ -void KDGanttViewSummaryItem::setStartTime( const QDateTime& start ) +void KDGanttViewSummaryItem::setStartTime( const TQDateTime& start ) { if (! start.isValid() ) { qDebug("KDGanttViewSummaryItem::setStartTime():Invalid parameter-no time set"); @@ -221,7 +221,7 @@ void KDGanttViewSummaryItem::setStartTime( const QDateTime& start ) \sa actualEndTime() startTime() */ -void KDGanttViewSummaryItem::setActualEndTime( const QDateTime& end ) +void KDGanttViewSummaryItem::setActualEndTime( const TQDateTime& end ) { if (!myActualEndTime) myActualEndTime = new QDateTime; *myActualEndTime = end; @@ -238,7 +238,7 @@ void KDGanttViewSummaryItem::setActualEndTime( const QDateTime& end ) \sa setActualEndTime() */ -QDateTime KDGanttViewSummaryItem::actualEndTime() const +TQDateTime KDGanttViewSummaryItem::actualEndTime() const { if(myActualEndTime) return *myActualEndTime; |