summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /kgantt
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/kgantt/KGantt.cpp4
-rw-r--r--kgantt/kgantt/KGantt.h4
-rw-r--r--kgantt/kgantt/itemedit.ui26
-rw-r--r--kgantt/kgantt/itemedit2.ui8
4 files changed, 21 insertions, 21 deletions
diff --git a/kgantt/kgantt/KGantt.cpp b/kgantt/kgantt/KGantt.cpp
index 249f11ad9..f16d47762 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::tqcurrentDateTime(),
- TQDateTime::tqcurrentDateTime() );
+ TQDateTime::currentDateTime(),
+ TQDateTime::currentDateTime() );
_toplevelitem->setMode(KGanttItem::Rubberband);
_deleteItem = true;
}
diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h
index ca02a066d..2475b1211 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::tqcurrentDateTime().addDays(10),
- TQDateTime::tqcurrentDateTime().addDays(20) );
+ TQDateTime::currentDateTime().addDays(10),
+ TQDateTime::currentDateTime().addDays(20) );
...
diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui
index 3810b43a7..1922a3d1e 100644
--- a/kgantt/kgantt/itemedit.ui
+++ b/kgantt/kgantt/itemedit.ui
@@ -38,7 +38,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -74,7 +74,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -85,7 +85,7 @@
<property name="name">
<cstring>_minStartMinuetEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -99,7 +99,7 @@
<property name="name">
<cstring>_minStartHourEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -177,7 +177,7 @@
<property name="name">
<cstring>_maxStartHourEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -210,7 +210,7 @@
<property name="name">
<cstring>_maxStartMinuetEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -230,7 +230,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -308,7 +308,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -354,7 +354,7 @@
<property name="name">
<cstring>_startHourEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -368,7 +368,7 @@
<property name="name">
<cstring>_startMinuetEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -395,7 +395,7 @@
<property name="name">
<cstring>_endMinuetEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -415,7 +415,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -477,7 +477,7 @@
<property name="name">
<cstring>_endHourEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui
index 999df7bde..73532fe48 100644
--- a/kgantt/kgantt/itemedit2.ui
+++ b/kgantt/kgantt/itemedit2.ui
@@ -217,7 +217,7 @@
<property name="name">
<cstring>_dateTimeHourEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -245,7 +245,7 @@
<property name="name">
<cstring>_dateTimeMinuetEdit</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -265,7 +265,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>194</width>
<height>20</height>
@@ -302,7 +302,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>30</height>