summaryrefslogtreecommitdiffstats
path: root/src/loanview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/loanview.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
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
Diffstat (limited to 'src/loanview.h')
-rw-r--r--src/loanview.h13
1 files changed, 7 insertions, 6 deletions
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 <qdict.h>
+#include <tqdict.h>
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<BorrowerItem> m_itemDict;
+ TQDict<BorrowerItem> m_itemDict;
};
} // end namespace