summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:50 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kgantt
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/kgantt/KGantt.cpp4
-rw-r--r--kgantt/kgantt/KGantt.h4
-rw-r--r--kgantt/kgantt/KGanttItem.h2
-rw-r--r--kgantt/kgantt/KGanttRelation.h2
-rw-r--r--kgantt/kgantt/itemedit.ui28
-rw-r--r--kgantt/kgantt/itemedit2.ui10
6 files changed, 25 insertions, 25 deletions
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 2475b1211..ca02a066d 100644
--- a/kgantt/kgantt/KGantt.h
+++ b/kgantt/kgantt/KGantt.h
@@ -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) );
...
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h
index ee95ba48f..1113c9d00 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -34,7 +34,7 @@
#include <tqobject.h>
#include <tqdatetime.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqptrlist.h>
#include <tqpainter.h>
diff --git a/kgantt/kgantt/KGanttRelation.h b/kgantt/kgantt/KGanttRelation.h
index ff2199c83..42323026e 100644
--- a/kgantt/kgantt/KGanttRelation.h
+++ b/kgantt/kgantt/KGanttRelation.h
@@ -30,7 +30,7 @@
#include <tqobject.h>
#include <tqdatetime.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqptrlist.h>
#include <tqpainter.h>
diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui
index 8ebfc02b1..3810b43a7 100644
--- a/kgantt/kgantt/itemedit.ui
+++ b/kgantt/kgantt/itemedit.ui
@@ -38,7 +38,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -47,7 +47,7 @@
<property name="text">
<string>Item text:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignBottom|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">
@@ -74,7 +74,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -85,7 +85,7 @@
<property name="name">
<cstring>_minStartMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -99,7 +99,7 @@
<property name="name">
<cstring>_minStartHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -177,7 +177,7 @@
<property name="name">
<cstring>_maxStartHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -210,7 +210,7 @@
<property name="name">
<cstring>_maxStartMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -230,7 +230,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -308,7 +308,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -354,7 +354,7 @@
<property name="name">
<cstring>_startHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -368,7 +368,7 @@
<property name="name">
<cstring>_startMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -395,7 +395,7 @@
<property name="name">
<cstring>_endMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -415,7 +415,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -477,7 +477,7 @@
<property name="name">
<cstring>_endHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui
index 4e990183c..999df7bde 100644
--- a/kgantt/kgantt/itemedit2.ui
+++ b/kgantt/kgantt/itemedit2.ui
@@ -217,7 +217,7 @@
<property name="name">
<cstring>_dateTimeHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -245,7 +245,7 @@
<property name="name">
<cstring>_dateTimeMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -265,7 +265,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>194</width>
<height>20</height>
@@ -302,7 +302,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -314,7 +314,7 @@
<property name="textFormat">
<enum>PlainText</enum>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>WordBreak|AlignBottom|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">