summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdfb7562b7e607f0ae077a6a436966203029df56d (patch)
treed58abf870c3754458d44a192a0b9e186f506c4ed /kgantt
parentfc5197ec86abe5dc0fa4b48979684845b52357f2 (diff)
downloadtdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz
tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/kgantt/KGanttItem.cpp20
-rw-r--r--kgantt/kgantt/KGanttItem.h8
-rw-r--r--kgantt/kgantt/itemedit.ui6
-rw-r--r--kgantt/kgantt/itemedit2.ui6
4 files changed, 20 insertions, 20 deletions
diff --git a/kgantt/kgantt/KGanttItem.cpp b/kgantt/kgantt/KGanttItem.cpp
index 35af0c7a0..3b1525155 100644
--- a/kgantt/kgantt/KGanttItem.cpp
+++ b/kgantt/kgantt/KGanttItem.cpp
@@ -12,28 +12,28 @@
TQBrush KGanttItem::_selectBrush(TQColor(255,0,0));
-KGanttItem::KGanttItem(KGanttItem* tqparentItem, const TQString& text,
+KGanttItem::KGanttItem(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end)
: TQObject()
////////////////////////////////////////////////////////
{
- init(tqparentItem,text, start,end);
+ init(parentItem,text, start,end);
}
-KGanttItem::KGanttItem(KGanttItem* tqparentItem, const TQString& text,
+KGanttItem::KGanttItem(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, long durationMin)
: TQObject()
////////////////////////////////////////////////////////
{
- init(tqparentItem, text, start, start.addSecs( durationMin * 60));
+ init(parentItem, text, start, start.addSecs( durationMin * 60));
}
void
-KGanttItem::init(KGanttItem* tqparentItem, const TQString& text,
+KGanttItem::init(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end)
///////////////////////////////////////////////////////////////
{
@@ -55,10 +55,10 @@ KGanttItem::init(KGanttItem* tqparentItem, const TQString& text,
_start = start; _minDateTime = start;
_end = end; _maxDateTime = end;
- _tqparentItem = tqparentItem;
+ _parentItem = parentItem;
- if(_tqparentItem)
- _tqparentItem->registerItem(this);
+ if(_parentItem)
+ _parentItem->registerItem(this);
}
@@ -71,8 +71,8 @@ KGanttItem::~KGanttItem()
printf("-> delete %s \n", getText().latin1() );
#endif
- if(_tqparentItem)
- _tqparentItem->unregisterItem(this);
+ if(_parentItem)
+ _parentItem->unregisterItem(this);
_subitems.setAutoDelete(true);
_subitems.clear();
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h
index a49c825b7..b64c73392 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -139,7 +139,7 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* tqparentItem, const TQString& text,
+ KGanttItem(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end);
@@ -148,7 +148,7 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* tqparentItem, const TQString& text,
+ KGanttItem(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, long durationMin);
@@ -502,7 +502,7 @@ private:
void registerItem(KGanttItem* item);
void unregisterItem(KGanttItem* item);
- void init(KGanttItem* tqparentItem, const TQString& text,
+ void init(KGanttItem* parentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end);
@@ -526,7 +526,7 @@ private:
int _height, _style, _mode;
- KGanttItem* _tqparentItem;
+ KGanttItem* _parentItem;
TQPtrList<KGanttItem> _subitems;
TQPtrList<KGanttRelation> _relations;
diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui
index 4a4b8ac67..3810b43a7 100644
--- a/kgantt/kgantt/itemedit.ui
+++ b/kgantt/kgantt/itemedit.ui
@@ -12,9 +12,9 @@
<height>431</height>
</rect>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -605,7 +605,7 @@
</widget>
</grid>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>
diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui
index face07d59..999df7bde 100644
--- a/kgantt/kgantt/itemedit2.ui
+++ b/kgantt/kgantt/itemedit2.ui
@@ -12,9 +12,9 @@
<height>345</height>
</rect>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -322,7 +322,7 @@
</widget>
</grid>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>