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/loanview.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/loanview.h') diff --git a/src/loanview.h b/src/loanview.h index 59e4df4..60ee88a 100644 --- a/src/loanview.h +++ b/src/loanview.h @@ -18,7 +18,7 @@ #include "observer.h" #include "borroweritem.h" -#include +#include namespace Tellico { namespace Data { @@ -30,9 +30,10 @@ namespace Tellico { */ class LoanView : public GUI::ListView, public Observer { Q_OBJECT + TQ_OBJECT public: - LoanView(QWidget* parent, const char* name=0); + LoanView(TQWidget* tqparent, const char* name=0); virtual bool isSelectable(GUI::ListViewItem*) const; @@ -53,9 +54,9 @@ private slots: * @param point The location point * @param col The column number, not currently used */ - void contextMenuRequested(QListViewItem* item, const QPoint& point, int col); - void slotExpanded(QListViewItem* item); - void slotCollapsed(QListViewItem* item); + void contextMenuRequested(TQListViewItem* item, const TQPoint& point, int col); + void slotExpanded(TQListViewItem* item); + void slotCollapsed(TQListViewItem* item); void slotCheckIn(); void slotModifyLoan(); @@ -64,7 +65,7 @@ private: void resetComparisons(); bool m_notSortedYet; - QDict m_itemDict; + TQDict m_itemDict; }; } // end namespace -- cgit v1.2.1