summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewItem.h
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/KDGanttViewItem.h
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/KDGanttViewItem.h')
-rw-r--r--kdgantt/KDGanttViewItem.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kdgantt/KDGanttViewItem.h b/kdgantt/KDGanttViewItem.h
index 80cc258d4..8c29760ae 100644
--- a/kdgantt/KDGanttViewItem.h
+++ b/kdgantt/KDGanttViewItem.h
@@ -27,8 +27,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.
**
**********************************************************************/
@@ -55,7 +55,7 @@ class KDCanvasText;
class KDCanvasPolygonItem;
class KDGanttViewTaskLinkGroup;
-class KDGanttViewItem : public QListViewItem
+class KDGanttViewItem : public TQListViewItem
{
public:
enum Type { Event, Task, Summary };
@@ -63,18 +63,18 @@ public:
protected:
KDGanttViewItem( Type type, KDGanttView* view,
- const TQString& lvtext = TQString::null,
- const TQString& name = TQString::null );
- KDGanttViewItem( Type type, KDGanttViewItem* parent,
- const TQString& lvtext = TQString::null,
- const TQString& name = TQString::null );
+ const TQString& lvtext = TQString(),
+ const TQString& name = TQString() );
+ KDGanttViewItem( Type type, KDGanttViewItem* tqparent,
+ const TQString& lvtext = TQString(),
+ const TQString& name = TQString() );
KDGanttViewItem( Type type, KDGanttView* view, KDGanttViewItem* after,
- const TQString& lvtext = TQString::null,
- const TQString& name = TQString::null );
- KDGanttViewItem( Type type, KDGanttViewItem* parent,
+ const TQString& lvtext = TQString(),
+ const TQString& name = TQString() );
+ KDGanttViewItem( Type type, KDGanttViewItem* tqparent,
KDGanttViewItem* after,
- const TQString& lvtext = TQString::null,
- const TQString& name = TQString::null );
+ const TQString& lvtext = TQString(),
+ const TQString& name = TQString() );
//bool _isCalendar;
bool isVisibleInGanttView;
@@ -166,23 +166,23 @@ public:
KDGanttViewItem* firstChild() const;
KDGanttViewItem* nextSibling() const;
- KDGanttViewItem* parent() const;
+ KDGanttViewItem* tqparent() const;
KDGanttViewItem* itemAbove();
KDGanttViewItem* itemBelow( bool includeDisabled = true );
KDGanttViewItem* getChildByName( const TQString& name );
TQString name() const;
- static KDGanttViewItem* find( const TQString& name );
+ static KDGanttViewItem* tqfind( const TQString& name );
void createNode( TQDomDocument& doc,
- TQDomElement& parentElement );
+ TQDomElement& tqparentElement );
static KDGanttViewItem* createFromDomElement( KDGanttView* view,
TQDomElement& element );
static KDGanttViewItem* createFromDomElement( KDGanttView* view,
KDGanttViewItem* previous,
TQDomElement& element );
- static KDGanttViewItem* createFromDomElement( KDGanttViewItem* parent,
+ static KDGanttViewItem* createFromDomElement( KDGanttViewItem* tqparent,
TQDomElement& element );
- static KDGanttViewItem* createFromDomElement( KDGanttViewItem* parent,
+ static KDGanttViewItem* createFromDomElement( KDGanttViewItem* tqparent,
KDGanttViewItem* previous,
TQDomElement& element );