From 1c3e6a878f147d063b43948dd8a3f06da195e7ea Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:28:10 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdgantt/KDGanttMinimizeSplitter.cpp | 2 +- kdgantt/KDGanttSemiSizingControl.h | 4 ++-- kdgantt/KDGanttView.h | 4 ++-- kdgantt/KDGanttViewEventItem.cpp | 2 +- kdgantt/KDGanttViewSummaryItem.cpp | 4 ++-- kdgantt/KDGanttViewTaskItem.h | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kdgantt') diff --git a/kdgantt/KDGanttMinimizeSplitter.cpp b/kdgantt/KDGanttMinimizeSplitter.cpp index 60908e8e8..bdd166c5e 100644 --- a/kdgantt/KDGanttMinimizeSplitter.cpp +++ b/kdgantt/KDGanttMinimizeSplitter.cpp @@ -323,7 +323,7 @@ void kdganttGeomCalc( TQMemArray &chain, int start, int count, in widget with minimize buttons. This class (and its documentation) is largely a copy of Qt's - QSplitter; the copying was necessary because TQSplitter is not + TQSplitter; the copying was necessary because TQSplitter is not extensible at all. TQSplitter and its documentation are licensed according to the GPL and the Qt Professional License (if you hold such a license) and are (C) Trolltech AS. diff --git a/kdgantt/KDGanttSemiSizingControl.h b/kdgantt/KDGanttSemiSizingControl.h index af7a74e74..ad7569951 100644 --- a/kdgantt/KDGanttSemiSizingControl.h +++ b/kdgantt/KDGanttSemiSizingControl.h @@ -37,8 +37,8 @@ #include "KDGanttSizingControl.h" #include -class QPushButton; -class QBoxLayout; +class TQPushButton; +class TQBoxLayout; class KDGanttSemiSizingControl : public KDGanttSizingControl { diff --git a/kdgantt/KDGanttView.h b/kdgantt/KDGanttView.h index b3913d671..4e6b338a6 100644 --- a/kdgantt/KDGanttView.h +++ b/kdgantt/KDGanttView.h @@ -52,8 +52,8 @@ class KDIntervalColorRectangle; class KDGanttViewTaskLink; -class QPrinter; -class QIODevice; +class TQPrinter; +class TQIODevice; class itemAttributeDialog; class KDListView; class KDGanttViewItem; diff --git a/kdgantt/KDGanttViewEventItem.cpp b/kdgantt/KDGanttViewEventItem.cpp index 01172af82..19bfaeb90 100644 --- a/kdgantt/KDGanttViewEventItem.cpp +++ b/kdgantt/KDGanttViewEventItem.cpp @@ -166,7 +166,7 @@ void KDGanttViewEventItem::setStartTime( const TQDateTime& start ) void KDGanttViewEventItem::setLeadTime( const TQDateTime& leadTimeStart ) { - if (!myLeadTime) myLeadTime = new QDateTime; + if (!myLeadTime) myLeadTime = new TQDateTime; *myLeadTime = leadTimeStart; if ( startTime() < leadTime() ) setStartTime( leadTimeStart ); diff --git a/kdgantt/KDGanttViewSummaryItem.cpp b/kdgantt/KDGanttViewSummaryItem.cpp index d73a27257..cb7e2893c 100644 --- a/kdgantt/KDGanttViewSummaryItem.cpp +++ b/kdgantt/KDGanttViewSummaryItem.cpp @@ -141,7 +141,7 @@ void KDGanttViewSummaryItem::setMiddleTime( const TQDateTime& dateTime ) qDebug("KDGanttViewSummaryItem::setMiddleTime():Invalid parameter-no time set"); return; } - if (!myMiddleTime) myMiddleTime = new QDateTime; + if (!myMiddleTime) myMiddleTime = new TQDateTime; *myMiddleTime = dateTime; if ( myEndTime < middleTime() ) setEndTime( middleTime() ); @@ -223,7 +223,7 @@ void KDGanttViewSummaryItem::setStartTime( const TQDateTime& start ) */ void KDGanttViewSummaryItem::setActualEndTime( const TQDateTime& end ) { - if (!myActualEndTime) myActualEndTime = new QDateTime; + if (!myActualEndTime) myActualEndTime = new TQDateTime; *myActualEndTime = end; updateCanvasItems(); diff --git a/kdgantt/KDGanttViewTaskItem.h b/kdgantt/KDGanttViewTaskItem.h index 63b4678e2..6cdb92daf 100644 --- a/kdgantt/KDGanttViewTaskItem.h +++ b/kdgantt/KDGanttViewTaskItem.h @@ -38,7 +38,7 @@ #include "KDGanttViewItem.h" class KDCanvasRectangle; -class QBrush; +class TQBrush; class KDGanttViewTaskItem : public KDGanttViewItem { -- cgit v1.2.1