diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:28:10 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:28:10 +0000 |
commit | 1c3e6a878f147d063b43948dd8a3f06da195e7ea (patch) | |
tree | 3d0575a90e6b1c3cedb0c7b1d86970eb4ca92354 /kdgantt | |
parent | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (diff) | |
download | tdepim-1c3e6a878f147d063b43948dd8a3f06da195e7ea.tar.gz tdepim-1c3e6a878f147d063b43948dd8a3f06da195e7ea.zip |
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt')
-rw-r--r-- | kdgantt/KDGanttMinimizeSplitter.cpp | 2 | ||||
-rw-r--r-- | kdgantt/KDGanttSemiSizingControl.h | 4 | ||||
-rw-r--r-- | kdgantt/KDGanttView.h | 4 | ||||
-rw-r--r-- | kdgantt/KDGanttViewEventItem.cpp | 2 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSummaryItem.cpp | 4 | ||||
-rw-r--r-- | kdgantt/KDGanttViewTaskItem.h | 2 |
6 files changed, 9 insertions, 9 deletions
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<QLayoutStruct> &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 <tqlayout.h> -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 { |