summaryrefslogtreecommitdiffstats
path: root/src/resultlistview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-09 19:45:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-09 19:45:27 +0000
commitf4f8ac034fa04404e2fcd5029ba050c537c07d7a (patch)
tree0daa81b0533ce203c33d5571dcb842257dba4cd0 /src/resultlistview.h
parent4488b6112c4e22493ed88c68035b980a5b42228d (diff)
downloadabakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.tar.gz
abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.zip
TQt4 port Abakus
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1231045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/resultlistview.h')
-rw-r--r--src/resultlistview.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/resultlistview.h b/src/resultlistview.h
index c5ec724..3657b8b 100644
--- a/src/resultlistview.h
+++ b/src/resultlistview.h
@@ -23,8 +23,8 @@
#include "numerictypes.h"
class KPopupMenu;
-class QLabel;
-class QDragObject;
+class TQLabel;
+class TQDragObject;
class ResultListViewText;
namespace ResultList {
@@ -34,24 +34,25 @@ namespace ResultList {
class ResultListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- ResultListView(QWidget *parent = 0, const char *name = "result list view");
+ ResultListView(TQWidget *tqparent = 0, const char *name = "result list view");
bool getStackValue(unsigned stackPosition, Abakus::number_t &result);
ResultListViewText *lastItem() const;
protected:
- virtual void contextMenuEvent(QContextMenuEvent *e);
- virtual QDragObject *dragObject();
+ virtual void contextMenuEvent(TQContextMenuEvent *e);
+ virtual TQDragObject *dragObject();
signals:
- void signalEntrySelected(const QString &text);
- void signalResultSelected(const QString &text);
+ void signalEntrySelected(const TQString &text);
+ void signalResultSelected(const TQString &text);
private slots:
- void slotDoubleClicked(QListViewItem *item, const QPoint & /* Ignored */, int c);
+ void slotDoubleClicked(TQListViewItem *item, const TQPoint & /* Ignored */, int c);
void slotCopyResult();
private: