diff options
Diffstat (limited to 'src/entrygroupitem.h')
| -rw-r--r-- | src/entrygroupitem.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/entrygroupitem.h b/src/entrygroupitem.h index 827ce8d..e665132 100644 --- a/src/entrygroupitem.h +++ b/src/entrygroupitem.h @@ -16,8 +16,8 @@ #include "gui/counteditem.h" -#include <qpixmap.h> -#include <qguardedptr.h> +#include <tqpixmap.h> +#include <tqguardedptr.h> namespace Tellico { namespace Data { @@ -29,16 +29,16 @@ namespace Tellico { */ class EntryGroupItem : public GUI::CountedItem { public: - EntryGroupItem(GUI::ListView* parent, Data::EntryGroup* group, int fieldType); + EntryGroupItem(GUI::ListView* tqparent, Data::EntryGroup* group, int fieldType); virtual bool isEntryGroupItem() const { return true; } Data::EntryGroup* group() const { return m_group; } void setGroup(Data::EntryGroup* group) { m_group = group; } - QPixmap ratingPixmap(); + TQPixmap ratingPixmap(); - virtual void setPixmap(int col, const QPixmap& pix); - virtual void paintCell(QPainter* p, const QColorGroup& cg, + virtual void setPixmap(int col, const TQPixmap& pix); + virtual void paintCell(TQPainter* p, const TQColorGroup& cg, int column, int width, int align); /** * Returns the key for sorting the listitems. The text used for an empty @@ -49,21 +49,21 @@ public: * @param col The column number * @return The key */ - virtual QString key(int col, bool) const; + virtual TQString key(int col, bool) const; virtual int count() const; virtual Data::EntryVec entries() const; private: - QGuardedPtr<Data::EntryGroup> m_group; + TQGuardedPtr<Data::EntryGroup> m_group; int m_fieldType; - QPixmap m_pix; + TQPixmap m_pix; bool m_emptyGroup : 1; // since I do an expensive RegExp match for the surname prefixes, I want to // cache the text and the resulting key - mutable QString m_text; - mutable QString m_key; + mutable TQString m_text; + mutable TQString m_key; }; } |
