summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_iconview_qt4.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/kvilib/tal/kvi_tal_iconview_qt4.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/tal/kvi_tal_iconview_qt4.h')
-rw-r--r--src/kvilib/tal/kvi_tal_iconview_qt4.h57
1 files changed, 29 insertions, 28 deletions
diff --git a/src/kvilib/tal/kvi_tal_iconview_qt4.h b/src/kvilib/tal/kvi_tal_iconview_qt4.h
index 899acaac..99554341 100644
--- a/src/kvilib/tal/kvi_tal_iconview_qt4.h
+++ b/src/kvilib/tal/kvi_tal_iconview_qt4.h
@@ -28,45 +28,46 @@
#include "kvi_settings.h"
#include "kvi_qstring.h"
-#include <q3iconview.h>
+#include <tq3iconview.h>
class KviTalIconViewItem;
class KVILIB_API KviTalIconView : public Q3IconView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviTalIconView(QWidget * pParent,Qt::WFlags f = 0);
+ KviTalIconView(TQWidget * pParent,TQt::WFlags f = 0);
virtual ~KviTalIconView() {};
signals:
void selectionChanged(KviTalIconViewItem * pItem);
void currentChanged(KviTalIconViewItem * pItem);
void clicked(KviTalIconViewItem * pItem);
- void clicked(KviTalIconViewItem * pItem,const QPoint &pnt);
+ void clicked(KviTalIconViewItem * pItem,const TQPoint &pnt);
void pressed(KviTalIconViewItem * pItem);
- void pressed(KviTalIconViewItem * pItem,const QPoint &pnt);
+ void pressed(KviTalIconViewItem * pItem,const TQPoint &pnt);
void doubleClicked(KviTalIconViewItem * pItem);
void returnPressed(KviTalIconViewItem * pItem);
- void rightButtonClicked(KviTalIconViewItem * pItem,const QPoint &pnt);
- void rightButtonPressed(KviTalIconViewItem * pItem,const QPoint &pnt);
- void mouseButtonClicked(int iButton,KviTalIconViewItem * pItem,const QPoint &pnt);
- void mouseButtonPressed(int iButton,KviTalIconViewItem * pItem,const QPoint &pnt);
- void contextMenuRequested(KviTalIconViewItem * pItem,const QPoint &pnt);
+ void rightButtonClicked(KviTalIconViewItem * pItem,const TQPoint &pnt);
+ void rightButtonPressed(KviTalIconViewItem * pItem,const TQPoint &pnt);
+ void mouseButtonClicked(int iButton,KviTalIconViewItem * pItem,const TQPoint &pnt);
+ void mouseButtonPressed(int iButton,KviTalIconViewItem * pItem,const TQPoint &pnt);
+ void contextMenuRequested(KviTalIconViewItem * pItem,const TQPoint &pnt);
void onItem(KviTalIconViewItem * pItem);
protected slots:
void redirect_selectionChanged(Q3IconViewItem * pItem);
void redirect_currentChanged(Q3IconViewItem * pItem);
void redirect_clicked(Q3IconViewItem * pItem);
- void redirect_clicked(Q3IconViewItem * pItem,const QPoint &pnt);
+ void redirect_clicked(Q3IconViewItem * pItem,const TQPoint &pnt);
void redirect_pressed(Q3IconViewItem * pItem);
- void redirect_pressed(Q3IconViewItem * pItem,const QPoint &pnt);
+ void redirect_pressed(Q3IconViewItem * pItem,const TQPoint &pnt);
void redirect_doubleClicked(Q3IconViewItem * pItem);
void redirect_returnPressed(Q3IconViewItem * pItem);
- void redirect_rightButtonClicked(Q3IconViewItem * pItem,const QPoint &pnt);
- void redirect_rightButtonPressed(Q3IconViewItem * pItem,const QPoint &pnt);
- void redirect_mouseButtonClicked(int iButton,Q3IconViewItem * pItem,const QPoint &pnt);
- void redirect_mouseButtonPressed(int iButton,Q3IconViewItem * pItem,const QPoint &pnt);
- void redirect_contextMenuRequested(Q3IconViewItem * pItem,const QPoint &pnt);
+ void redirect_rightButtonClicked(Q3IconViewItem * pItem,const TQPoint &pnt);
+ void redirect_rightButtonPressed(Q3IconViewItem * pItem,const TQPoint &pnt);
+ void redirect_mouseButtonClicked(int iButton,Q3IconViewItem * pItem,const TQPoint &pnt);
+ void redirect_mouseButtonPressed(int iButton,Q3IconViewItem * pItem,const TQPoint &pnt);
+ void redirect_contextMenuRequested(Q3IconViewItem * pItem,const TQPoint &pnt);
void redirect_onItem(Q3IconViewItem * pItem);
public:
KviTalIconViewItem * firstItem() const { return (KviTalIconViewItem *)Q3IconView::firstItem(); };
@@ -77,18 +78,18 @@ public:
class KVILIB_API KviTalIconViewItem : public Q3IconViewItem
{
public:
- KviTalIconViewItem(KviTalIconView * parent)
- : Q3IconViewItem(parent) {};
- KviTalIconViewItem(KviTalIconView * parent,KviTalIconViewItem * after)
- : Q3IconViewItem(parent,after) {};
- KviTalIconViewItem(KviTalIconView * parent, const QString & text)
- : Q3IconViewItem(parent,text) {};
- KviTalIconViewItem(KviTalIconView * parent, KviTalIconViewItem * after, const QString & text)
- : Q3IconViewItem(parent,after,text) {};
- KviTalIconViewItem(KviTalIconView * parent, const QString & text, const QPixmap & icon)
- : Q3IconViewItem(parent,text,icon) {};
- KviTalIconViewItem(KviTalIconView * parent, KviTalIconViewItem * after, const QString & text, const QPixmap & icon)
- : Q3IconViewItem(parent,after,text,icon) {};
+ KviTalIconViewItem(KviTalIconView * tqparent)
+ : Q3IconViewItem(tqparent) {};
+ KviTalIconViewItem(KviTalIconView * tqparent,KviTalIconViewItem * after)
+ : Q3IconViewItem(tqparent,after) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, const TQString & text)
+ : Q3IconViewItem(tqparent,text) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, KviTalIconViewItem * after, const TQString & text)
+ : Q3IconViewItem(tqparent,after,text) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, const TQString & text, const TQPixmap & icon)
+ : Q3IconViewItem(tqparent,text,icon) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, KviTalIconViewItem * after, const TQString & text, const TQPixmap & icon)
+ : Q3IconViewItem(tqparent,after,text,icon) {};
public:
KviTalIconView * iconView() const { return (KviTalIconView *)Q3IconViewItem::iconView(); };
KviTalIconViewItem * prevItem() const { return (KviTalIconViewItem *)Q3IconViewItem::prevItem(); };