diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kgantt | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kgantt')
-rw-r--r-- | kgantt/kgantt/KGantt.cpp | 4 | ||||
-rw-r--r-- | kgantt/kgantt/KGantt.h | 4 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttItem.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/KGanttRelation.h | 2 | ||||
-rw-r--r-- | kgantt/kgantt/itemedit.ui | 28 | ||||
-rw-r--r-- | kgantt/kgantt/itemedit2.ui | 10 |
6 files changed, 25 insertions, 25 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/KGanttItem.h b/kgantt/kgantt/KGanttItem.h index 1113c9d00..ee95ba48f 100644 --- a/kgantt/kgantt/KGanttItem.h +++ b/kgantt/kgantt/KGanttItem.h @@ -34,7 +34,7 @@ #include <tqobject.h> #include <tqdatetime.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqptrlist.h> #include <tqpainter.h> diff --git a/kgantt/kgantt/KGanttRelation.h b/kgantt/kgantt/KGanttRelation.h index 42323026e..ff2199c83 100644 --- a/kgantt/kgantt/KGanttRelation.h +++ b/kgantt/kgantt/KGanttRelation.h @@ -30,7 +30,7 @@ #include <tqobject.h> #include <tqdatetime.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqptrlist.h> #include <tqpainter.h> diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui index 3810b43a7..8ebfc02b1 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> @@ -47,7 +47,7 @@ <property name="text"> <string>Item text:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignBottom|AlignLeft</set> </property> <property name="vAlign" stdset="0"> @@ -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..4e990183c 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> @@ -314,7 +314,7 @@ <property name="textFormat"> <enum>PlainText</enum> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignBottom|AlignLeft</set> </property> <property name="vAlign" stdset="0"> |