From 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:13:25 +0200 Subject: Initial TQt conversion --- src/historyview.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/historyview.h') diff --git a/src/historyview.h b/src/historyview.h index 38a0c46..ab34b37 100644 --- a/src/historyview.h +++ b/src/historyview.h @@ -32,14 +32,14 @@ /** * A list view item for holding position history records. - * A QListViewItem cannot reference its preceding item, which is required to + * A TQListViewItem cannot reference its preceding item, which is required to * create a stack-like history list. Therefore a HistoryItem object * stores a pointer to the item just above it in the list. The pointer is * persistent, since the list cannot be sorted. * @author Elad Lahav */ -class HistoryItem : public QListViewItem +class HistoryItem : public TQListViewItem { public: /** @@ -49,9 +49,9 @@ public: * @param sLine The line number * @param sText The contents of the line in the given file */ - HistoryItem(QListView* pList, QString sFile, QString sLine, - QString sText) : - QListViewItem(pList, "", sFile, sLine, sText), + HistoryItem(TQListView* pList, TQString sFile, TQString sLine, + TQString sText) : + TQListViewItem(pList, "", sFile, sLine, sText), m_pPrevSibling(NULL) { HistoryItem* pNext; @@ -76,16 +76,16 @@ class HistoryView : public QueryView { Q_OBJECT public: - HistoryView(QWidget* pParent = 0, const char* szName = 0); + HistoryView(TQWidget* pParent = 0, const char* szName = 0); ~HistoryView(); - virtual void addRecord(const QString&, const QString&, const QString&, - const QString&, QListViewItem*); + virtual void addRecord(const TQString&, const TQString&, const TQString&, + const TQString&, TQListViewItem*); virtual void selectNext(); virtual void selectPrev(); protected slots: - virtual void slotRemoveItem(QListViewItem*); + virtual void slotRemoveItem(TQListViewItem*); }; #endif -- cgit v1.2.1