summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSummaryItem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kdgantt/KDGanttViewSummaryItem.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewSummaryItem.cpp')
-rw-r--r--kdgantt/KDGanttViewSummaryItem.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdgantt/KDGanttViewSummaryItem.cpp b/kdgantt/KDGanttViewSummaryItem.cpp
index 95ca682d2..7237cf31e 100644
--- a/kdgantt/KDGanttViewSummaryItem.cpp
+++ b/kdgantt/KDGanttViewSummaryItem.cpp
@@ -26,8 +26,8 @@
** licensing are not clear to you.
**
** As a special exception, permission is given to link this program
- ** with any edition of Qt, and distribute the resulting executable,
- ** without including the source code for Qt in the source distribution.
+ ** with any edition of TQt, and distribute the resulting executable,
+ ** without including the source code for TQt in the source distribution.
**
**********************************************************************/
@@ -65,15 +65,15 @@ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view,
/*!
Constructs an empty Gantt item of type event.
- \param parent a parent item under which this one goes
+ \param tqparent a tqparent item under which this one goes
\param lvtext the text to show in the list view
\param name the name by which the item can be identified. If no name
is specified, a unique name will be generated
*/
-KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* parent,
+KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* tqparent,
const TQString& lvtext,
const TQString& name ) :
- KDGanttViewItem( Summary, parent, lvtext, name )
+ KDGanttViewItem( Summary, tqparent, lvtext, name )
{
initItem();
}
@@ -101,17 +101,17 @@ KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttView* view,
/*!
Constructs an empty Gantt item of type event.
- \param parent a parent item under which this one goes
+ \param tqparent a tqparent item under which this one goes
\param after another item at the same level behind which this one should go
\param lvtext the text to show in the list view
\param name the name by which the item can be identified. If no name
is specified, a unique name will be generated
*/
-KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* parent,
+KDGanttViewSummaryItem::KDGanttViewSummaryItem( KDGanttViewItem* tqparent,
KDGanttViewItem* after,
const TQString& lvtext,
const TQString& name ) :
- KDGanttViewItem( Summary, parent, after, lvtext, name )
+ KDGanttViewItem( Summary, tqparent, after, lvtext, name )
{
initItem();
@@ -272,7 +272,7 @@ void KDGanttViewSummaryItem::showItem( bool show, int coordY )
hideMe();
return;
}
- if ( displaySubitemsAsGroup() && !parent() && !isOpen() ) {
+ if ( displaySubitemsAsGroup() && !tqparent() && !isOpen() ) {
hideMe();
return;
}