From 701d92857caed18c0099b264c45a0b0edce782f2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 28 Aug 2023 10:59:35 +0900 Subject: Drop USE_QT3/4 code Signed-off-by: Michele Calgaro --- qtinterface/interface_tqt3/tqstyle.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'qtinterface/interface_tqt3/tqstyle.cpp') diff --git a/qtinterface/interface_tqt3/tqstyle.cpp b/qtinterface/interface_tqt3/tqstyle.cpp index 6763365..6615053 100644 --- a/qtinterface/interface_tqt3/tqstyle.cpp +++ b/qtinterface/interface_tqt3/tqstyle.cpp @@ -21,27 +21,3 @@ Boston, MA 02110-1301, USA. #include #include - -#ifdef USE_QT4 - -// TQStyle::TQStyle() : QStyle(), def(TRUE) {} - -// bool TQStyle::isDefault() const { -// return def; -// } - -bool QStyle::isDefault() const { - return def; -} - -bool QStyleOption::isDefault() const { - return def; -} - -Q3ListViewItem* QStyleOption::listViewItem() const { - const QStyleOptionQ3ListView *lv = qstyleoption_cast(this); - QStyleOptionQ3ListViewItem item = lv->items.at(0); - return (Q3ListViewItem*)&item; -} - -#endif // USE_QT4 -- cgit v1.2.1