summaryrefslogtreecommitdiffstats
path: root/src/queryresultsmenu.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-08 00:13:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:53 +0200
commit84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch)
tree770861aa9033e1dc6c5168358194ff85b32dd429 /src/queryresultsmenu.h
parent57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff)
downloadkscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz
kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip
Initial TQt conversion
Diffstat (limited to 'src/queryresultsmenu.h')
-rw-r--r--src/queryresultsmenu.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/queryresultsmenu.h b/src/queryresultsmenu.h
index 099dd2e..8a34af5 100644
--- a/src/queryresultsmenu.h
+++ b/src/queryresultsmenu.h
@@ -28,9 +28,9 @@
#ifndef QUERYRESULTSMENU_H
#define QUERYRESULTSMENU_H
-#include <qpopupmenu.h>
-#include <qlistview.h>
-#include <qregexp.h>
+#include <ntqpopupmenu.h>
+#include <ntqlistview.h>
+#include <ntqregexp.h>
/**
* Provides a popup-menu for list views containing query results.
@@ -41,36 +41,36 @@
* constructing the object.
* @author Elad Lahav
*/
-class QueryResultsMenu : public QPopupMenu
+class QueryResultsMenu : public TQPopupMenu
{
Q_OBJECT
public:
- QueryResultsMenu(QWidget* pParent = 0, const char* szName = 0);
+ QueryResultsMenu(TQWidget* pParent = 0, const char* szName = 0);
~QueryResultsMenu();
public slots:
- void slotShow(QListViewItem*, const QPoint&, int nCol);
+ void slotShow(TQListViewItem*, const TQPoint&, int nCol);
signals:
/**
* Indicates that the "View Source" menu item was selected.
* @param pItem The item for which the menu was displayed
*/
- void viewSource(QListViewItem* pItem);
+ void viewSource(TQListViewItem* pItem);
/**
* Indicates that the "Find Definition" menu item was selected.
* @param sFunc The function to look for
*/
- void findDef(const QString& sFunc);
+ void findDef(const TQString& sFunc);
/**
* Indicates that the "Copy [Column]" menu item was selected.
* @param pItem The item for which the menu was displayed
* @param nCol The requested column
*/
- void copy(QListViewItem* pItem, int nCol);
+ void copy(TQListViewItem* pItem, int nCol);
/**
* Indicates that the "Filter..." menu item was selected.
@@ -87,14 +87,14 @@ signals:
* Indicates that the "Remove Item" menu item was selected.
* @param pItem The item for which the menu was displayed
*/
- void remove(QListViewItem* pItem);
+ void remove(TQListViewItem* pItem);
private:
/** Menu item IDs. */
enum { ViewSource, FindDef, Copy, Filter, ShowAll, Remove };
/** The item for which the popup menu is provided (cannot be NULL). */
- QListViewItem* m_pItem;
+ TQListViewItem* m_pItem;
/** The list column for which the query was invoked. */
int m_nCol;