summaryrefslogtreecommitdiffstats
path: root/src/queryresultsmenu.h
diff options
context:
space:
mode:
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;