summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_iconview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-24 21:28:39 +0900
committerMichele Calgaro <[email protected]>2023-08-31 16:31:47 +0900
commit7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch)
treed92d61649487df1a2fbd200d4ead11a7f16ba63f /src/kvilib/tal/kvi_tal_iconview.cpp
parentcafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff)
downloadkvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz
kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/kvilib/tal/kvi_tal_iconview.cpp')
-rw-r--r--src/kvilib/tal/kvi_tal_iconview.cpp95
1 files changed, 0 insertions, 95 deletions
diff --git a/src/kvilib/tal/kvi_tal_iconview.cpp b/src/kvilib/tal/kvi_tal_iconview.cpp
index 45b640fd..9abe0f64 100644
--- a/src/kvilib/tal/kvi_tal_iconview.cpp
+++ b/src/kvilib/tal/kvi_tal_iconview.cpp
@@ -25,100 +25,6 @@
#define __KVILIB__
#include "kvi_tal_iconview.h"
-#ifdef COMPILE_USE_QT4
-
- KviTalIconView::KviTalIconView(TQWidget * pParent,TQt::WFlags f)
- : Q3IconView(pParent,0,f)
- {
- connect(this,TQT_SIGNAL(selectionChanged(Q3IconViewItem *)),this,TQT_SLOT(redirect_selectionChanged(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(currentChanged(Q3IconViewItem *)),this,TQT_SLOT(redirect_currentChanged(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(clicked(Q3IconViewItem *)),this,TQT_SLOT(redirect_clicked(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(clicked(Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_clicked(Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(pressed(Q3IconViewItem *)),this,TQT_SLOT(redirect_pressed(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(pressed(Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_pressed(Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(doubleClicked(Q3IconViewItem *)),this,TQT_SLOT(redirect_doubleClicked(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(returnPressed(Q3IconViewItem *)),this,TQT_SLOT(redirect_returnPressed(Q3IconViewItem *)));
- connect(this,TQT_SIGNAL(rightButtonClicked(Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_rightButtonClicked(Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(rightButtonPressed(Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_rightButtonPressed(Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(mouseButtonClicked(int,Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonClicked(int,Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(mouseButtonPressed(int,Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonPressed(int,Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(contextMenuRequested(Q3IconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_contextMenuRequested(Q3IconViewItem *,const TQPoint &)));
- connect(this,TQT_SIGNAL(onItem(Q3IconViewItem *)),this,TQT_SLOT(redirect_onItem(Q3IconViewItem *)));
- }
-
- void KviTalIconView::redirect_selectionChanged(Q3IconViewItem * pItem)
- {
- emit selectionChanged((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_currentChanged(Q3IconViewItem * pItem)
- {
- emit currentChanged((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_clicked(Q3IconViewItem * pItem)
- {
- emit clicked((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_clicked(Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit clicked((KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_pressed(Q3IconViewItem * pItem)
- {
- emit pressed((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_pressed(Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit pressed((KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_doubleClicked(Q3IconViewItem * pItem)
- {
- emit doubleClicked((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_returnPressed(Q3IconViewItem * pItem)
- {
- emit returnPressed((KviTalIconViewItem *)pItem);
- }
-
- void KviTalIconView::redirect_rightButtonClicked(Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit rightButtonClicked((KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_rightButtonPressed(Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit rightButtonPressed((KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_mouseButtonClicked(int iButton,Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit mouseButtonClicked(iButton,(KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_mouseButtonPressed(int iButton,Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit mouseButtonPressed(iButton,(KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_contextMenuRequested(Q3IconViewItem * pItem,const TQPoint &pnt)
- {
- emit contextMenuRequested((KviTalIconViewItem *)pItem,pnt);
- }
-
- void KviTalIconView::redirect_onItem(Q3IconViewItem * pItem)
- {
- emit onItem((KviTalIconViewItem *)pItem);
- }
-
-
- #include "kvi_tal_iconview_qt4.moc"
-#else
KviTalIconView::KviTalIconView(TQWidget * pParent,TQt::WFlags f)
: TQIconView(pParent,0,f)
@@ -211,5 +117,4 @@
#include "kvi_tal_iconview_qt3.moc"
-#endif