From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/entryitem.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/entryitem.h') diff --git a/src/entryitem.h b/src/entryitem.h index 4e529c8..d0063c9 100644 --- a/src/entryitem.h +++ b/src/entryitem.h @@ -34,22 +34,22 @@ namespace Tellico { class EntryItem : public GUI::ListViewItem { public: /** - * This constructor is for items which are direct children of a ListView object, + * This constructor is for items which are direct tqchildren of a ListView object, * which is just the @ref DetailedListView. * - * @param parent A pointer to the parent + * @param tqparent A pointer to the tqparent * @param entry A pointer to the entry to which the item refers */ - EntryItem(GUI::ListView* parent, Data::EntryPtr entry); + EntryItem(GUI::ListView* tqparent, Data::EntryPtr entry); /** - * This constructor is for items which have other KListViewItems as parents. It + * This constructor is for items which have other KListViewItems as tqparents. It * initializes the text in the first column, as well. * - * @param parent A pointer to the parent + * @param tqparent A pointer to the tqparent * @param text The text in the first column * @param entry A pointer to the entry to which the item refers */ - EntryItem(GUI::CountedItem* parent, Data::EntryPtr entry); + EntryItem(GUI::CountedItem* tqparent, Data::EntryPtr entry); virtual bool isEntryItem() const { return true; } @@ -60,7 +60,7 @@ public: * @param col Column to compare * @return The key string */ - virtual QString key(int col, bool) const; + virtual TQString key(int col, bool) const; /** * Returns a const pointer to the entry to which the item refers * @@ -73,7 +73,7 @@ public: private: Data::EntryPtr m_entry; - // if the parent is a DetailedListView + // if the tqparent is a DetailedListView // this way, I don't have to call listView()->isA("Tellico::DetailedListView") every time // when I want to do funky comparisons bool m_isDetailedList : 1; -- cgit v1.2.1