From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kgantt/kgantt/KGantt.cpp | 4 ++-- kgantt/kgantt/KGantt.h | 8 ++++---- kgantt/kgantt/KGanttItem.cpp | 2 +- kgantt/kgantt/KGanttItem.h | 8 ++++---- kgantt/kgantt/KGanttRelation.h | 6 +++--- kgantt/kgantt/itemedit.ui | 36 ++++++++++++++++++------------------ kgantt/kgantt/itemedit2.ui | 18 +++++++++--------- kgantt/kgantt/xQGanttBarViewPort.cpp | 2 +- 8 files changed, 42 insertions(+), 42 deletions(-) (limited to 'kgantt') diff --git a/kgantt/kgantt/KGantt.cpp b/kgantt/kgantt/KGantt.cpp index f16d47762..249f11ad9 100644 --- a/kgantt/kgantt/KGantt.cpp +++ b/kgantt/kgantt/KGantt.cpp @@ -24,8 +24,8 @@ KGantt::KGantt(KGanttItem* toplevelitem, if(toplevelitem == 0) { _toplevelitem = new KGanttItem(0, "toplevelitem", - TQDateTime::currentDateTime(), - TQDateTime::currentDateTime() ); + TQDateTime::tqcurrentDateTime(), + TQDateTime::tqcurrentDateTime() ); _toplevelitem->setMode(KGanttItem::Rubberband); _deleteItem = true; } diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h index fbde52d73..5cfe559c1 100644 --- a/kgantt/kgantt/KGantt.h +++ b/kgantt/kgantt/KGantt.h @@ -49,7 +49,7 @@ /** * \mainpage KGantt Module
* - * The kgantt module contains several classes (KGanttItem, KGantt) + * The kgantt module tqcontains several classes (KGanttItem, KGantt) * for drawing and editing gantt-diagramms. * * This example shows how to use the gantt module: @@ -66,8 +66,8 @@ KGanttItem* t1 = new KGanttItem(toplevel, "task 1, no subtasks", - TQDateTime::currentDateTime().addDays(10), - TQDateTime::currentDateTime().addDays(20) ); + TQDateTime::tqcurrentDateTime().addDays(10), + TQDateTime::tqcurrentDateTime().addDays(20) ); ... @@ -83,7 +83,7 @@ /// Gantt Widget. /*! - * A gantt widget contains two parts, a list view and a + * A gantt widget tqcontains two parts, a list view and a * bar view. */ //////////////////////////////// diff --git a/kgantt/kgantt/KGanttItem.cpp b/kgantt/kgantt/KGanttItem.cpp index 4ddddf01a..3632e1706 100644 --- a/kgantt/kgantt/KGanttItem.cpp +++ b/kgantt/kgantt/KGanttItem.cpp @@ -90,7 +90,7 @@ KGanttRelation* KGanttItem::addRelation(KGanttItem* from, KGanttItem* to, const TQString& text) { - if(_subitems.containsRef(from) > 0 && _subitems.containsRef(to) >0) { + if(_subitems.tqcontainsRef(from) > 0 && _subitems.tqcontainsRef(to) >0) { KGanttRelation* rel = new KGanttRelation(from,to,text); _relations.append(rel); diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h index 9971508cc..fb7feb04d 100644 --- a/kgantt/kgantt/KGanttItem.h +++ b/kgantt/kgantt/KGanttItem.h @@ -46,8 +46,8 @@ /// KGanttItem. /*! - * This class describes a item. It contains dates on which the item starts and - * ends. It also contains attributes that gouverns the graphical representation + * This class describes a item. It tqcontains dates on which the item starts and + * ends. It also tqcontains attributes that gouverns the graphical representation * in a gantt diagramm. */ ////////////////////////////////// @@ -121,7 +121,7 @@ public: // Draw handlke for opening/closing item. DrawHandle = 16, - /// Draw handle only if item contains subitems + /// Draw handle only if item tqcontains subitems DrawHandleWSubitems = 32, DrawAll = 255 @@ -342,7 +342,7 @@ public: /// Get date of starting. /*! - * If mode == ´Rubberband´ and this item contains + * If mode == ´Rubberband´ and this item tqcontains * subitems, start of the item is determined by the start of the * earliest subitem.
*/ diff --git a/kgantt/kgantt/KGanttRelation.h b/kgantt/kgantt/KGanttRelation.h index 548789500..8ab96c5df 100644 --- a/kgantt/kgantt/KGanttRelation.h +++ b/kgantt/kgantt/KGanttRelation.h @@ -40,8 +40,8 @@ class KGanttItem; /// KGanttRelation. /*! - * This class describes a item. It contains dates on which the item starts and - * ends. It also contains attributes that gouverns the graphical representation + * This class describes a item. It tqcontains dates on which the item starts and + * ends. It also tqcontains attributes that gouverns the graphical representation * in a gantt diagramm. */ ////////////////////////////////// @@ -175,7 +175,7 @@ public: /// Get date of starting. /*! - * If mode == ´Rubberband´ and this item contains + * If mode == ´Rubberband´ and this item tqcontains * subitems, start of the item is determined by the start of the * earliest subitem.
*/ diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui index e50689e68..3be22f9e4 100644 --- a/kgantt/kgantt/itemedit.ui +++ b/kgantt/kgantt/itemedit.ui @@ -4,7 +4,7 @@ Form1 - + 0 0 @@ -12,9 +12,9 @@ 431 - + - + @@ -38,7 +38,7 @@ 0 - + 32767 30 @@ -47,7 +47,7 @@ Item text: - + AlignBottom|AlignLeft @@ -74,7 +74,7 @@ Expanding - + 50 20 @@ -85,7 +85,7 @@ _minStartMinuetEdit - + 20 30 @@ -99,7 +99,7 @@ _minStartHourEdit - + 20 30 @@ -177,7 +177,7 @@ _maxStartHourEdit - + 20 30 @@ -210,7 +210,7 @@ _maxStartMinuetEdit - + 20 30 @@ -230,7 +230,7 @@ Expanding - + 50 20 @@ -308,7 +308,7 @@ Expanding - + 356 20 @@ -354,7 +354,7 @@ _startHourEdit - + 20 30 @@ -368,7 +368,7 @@ _startMinuetEdit - + 20 30 @@ -395,7 +395,7 @@ _endMinuetEdit - + 20 30 @@ -415,7 +415,7 @@ Expanding - + 356 20 @@ -477,7 +477,7 @@ _endHourEdit - + 20 30 @@ -605,7 +605,7 @@ - + knuminput.h diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui index 7ef1fa002..bdcc0eb70 100644 --- a/kgantt/kgantt/itemedit2.ui +++ b/kgantt/kgantt/itemedit2.ui @@ -4,7 +4,7 @@ Form1 - + 0 0 @@ -12,9 +12,9 @@ 345 - + - + @@ -217,7 +217,7 @@ _dateTimeHourEdit - + 20 30 @@ -245,7 +245,7 @@ _dateTimeMinuetEdit - + 20 30 @@ -265,7 +265,7 @@ Expanding - + 194 20 @@ -302,7 +302,7 @@ 0 - + 32767 30 @@ -314,7 +314,7 @@ PlainText - + WordBreak|AlignBottom|AlignLeft @@ -322,7 +322,7 @@ - + knuminput.h diff --git a/kgantt/kgantt/xQGanttBarViewPort.cpp b/kgantt/kgantt/xQGanttBarViewPort.cpp index b0985dd7f..2ee7ad02f 100644 --- a/kgantt/kgantt/xQGanttBarViewPort.cpp +++ b/kgantt/kgantt/xQGanttBarViewPort.cpp @@ -424,7 +424,7 @@ xQGanttBarViewPort::recalc(KGanttItem* item, int xPos, int yPos, new xQTaskPosition(nr, xPos, yPos, _screenW, _screenH, _screenHS, _textPosX, _textPosY, depth); - _gItemList.replace(item, tpos ); + _gItemList.tqreplace(item, tpos ); tpos->_screenHandleX = xPos + dd; tpos->_screenHandleW = 2 * dd; -- cgit v1.2.1