summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_iconview_qt3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/tal/kvi_tal_iconview_qt3.h')
-rw-r--r--src/kvilib/tal/kvi_tal_iconview_qt3.h87
1 files changed, 44 insertions, 43 deletions
diff --git a/src/kvilib/tal/kvi_tal_iconview_qt3.h b/src/kvilib/tal/kvi_tal_iconview_qt3.h
index 7cfec586..73d367c6 100644
--- a/src/kvilib/tal/kvi_tal_iconview_qt3.h
+++ b/src/kvilib/tal/kvi_tal_iconview_qt3.h
@@ -28,72 +28,73 @@
#include "kvi_settings.h"
#include "kvi_qstring.h"
-#include <qiconview.h>
+#include <tqiconview.h>
class KviTalIconViewItem;
-class KVILIB_API KviTalIconView : public QIconView
+class KVILIB_API KviTalIconView : public TQIconView
{
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(QIconViewItem * pItem);
- void redirect_currentChanged(QIconViewItem * pItem);
- void redirect_clicked(QIconViewItem * pItem);
- void redirect_clicked(QIconViewItem * pItem,const QPoint &pnt);
- void redirect_pressed(QIconViewItem * pItem);
- void redirect_pressed(QIconViewItem * pItem,const QPoint &pnt);
- void redirect_doubleClicked(QIconViewItem * pItem);
- void redirect_returnPressed(QIconViewItem * pItem);
- void redirect_rightButtonClicked(QIconViewItem * pItem,const QPoint &pnt);
- void redirect_rightButtonPressed(QIconViewItem * pItem,const QPoint &pnt);
- void redirect_mouseButtonClicked(int iButton,QIconViewItem * pItem,const QPoint &pnt);
- void redirect_mouseButtonPressed(int iButton,QIconViewItem * pItem,const QPoint &pnt);
- void redirect_contextMenuRequested(QIconViewItem * pItem,const QPoint &pnt);
- void redirect_onItem(QIconViewItem * pItem);
+ void redirect_selectionChanged(TQIconViewItem * pItem);
+ void redirect_currentChanged(TQIconViewItem * pItem);
+ void redirect_clicked(TQIconViewItem * pItem);
+ void redirect_clicked(TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_pressed(TQIconViewItem * pItem);
+ void redirect_pressed(TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_doubleClicked(TQIconViewItem * pItem);
+ void redirect_returnPressed(TQIconViewItem * pItem);
+ void redirect_rightButtonClicked(TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_rightButtonPressed(TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_mouseButtonClicked(int iButton,TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_mouseButtonPressed(int iButton,TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_contextMenuRequested(TQIconViewItem * pItem,const TQPoint &pnt);
+ void redirect_onItem(TQIconViewItem * pItem);
public:
- KviTalIconViewItem * firstItem() const { return (KviTalIconViewItem *)QIconView::firstItem(); };
- KviTalIconViewItem * lastItem() const { return (KviTalIconViewItem *)QIconView::lastItem(); };
- KviTalIconViewItem * currentItem() const { return (KviTalIconViewItem *)QIconView::currentItem(); };
+ KviTalIconViewItem * firstItem() const { return (KviTalIconViewItem *)TQIconView::firstItem(); };
+ KviTalIconViewItem * lastItem() const { return (KviTalIconViewItem *)TQIconView::lastItem(); };
+ KviTalIconViewItem * currentItem() const { return (KviTalIconViewItem *)TQIconView::currentItem(); };
};
-class KVILIB_API KviTalIconViewItem : public QIconViewItem
+class KVILIB_API KviTalIconViewItem : public TQIconViewItem
{
public:
- KviTalIconViewItem(KviTalIconView * parent)
- : QIconViewItem(parent) {};
- KviTalIconViewItem(KviTalIconView * parent,KviTalIconViewItem * after)
- : QIconViewItem(parent,after) {};
- KviTalIconViewItem(KviTalIconView * parent, const QString & text)
- : QIconViewItem(parent,text) {};
- KviTalIconViewItem(KviTalIconView * parent, KviTalIconViewItem * after, const QString & text)
- : QIconViewItem(parent,after,text) {};
- KviTalIconViewItem(KviTalIconView * parent, const QString & text, const QPixmap & icon)
- : QIconViewItem(parent,text,icon) {};
- KviTalIconViewItem(KviTalIconView * parent, KviTalIconViewItem * after, const QString & text, const QPixmap & icon)
- : QIconViewItem(parent,after,text,icon) {};
+ KviTalIconViewItem(KviTalIconView * tqparent)
+ : TQIconViewItem(tqparent) {};
+ KviTalIconViewItem(KviTalIconView * tqparent,KviTalIconViewItem * after)
+ : TQIconViewItem(tqparent,after) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, const TQString & text)
+ : TQIconViewItem(tqparent,text) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, KviTalIconViewItem * after, const TQString & text)
+ : TQIconViewItem(tqparent,after,text) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, const TQString & text, const TQPixmap & icon)
+ : TQIconViewItem(tqparent,text,icon) {};
+ KviTalIconViewItem(KviTalIconView * tqparent, KviTalIconViewItem * after, const TQString & text, const TQPixmap & icon)
+ : TQIconViewItem(tqparent,after,text,icon) {};
public:
- KviTalIconView * iconView() const { return (KviTalIconView *)QIconViewItem::iconView(); };
- KviTalIconViewItem * prevItem() const { return (KviTalIconViewItem *)QIconViewItem::prevItem(); };
- KviTalIconViewItem * nextItem() const { return (KviTalIconViewItem *)QIconViewItem::nextItem(); };
+ KviTalIconView * iconView() const { return (KviTalIconView *)TQIconViewItem::iconView(); };
+ KviTalIconViewItem * prevItem() const { return (KviTalIconViewItem *)TQIconViewItem::prevItem(); };
+ KviTalIconViewItem * nextItem() const { return (KviTalIconViewItem *)TQIconViewItem::nextItem(); };
};