summaryrefslogtreecommitdiffstats
path: root/src/querypage.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/querypage.h
parent57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff)
downloadkscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz
kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip
Initial TQt conversion
Diffstat (limited to 'src/querypage.h')
-rw-r--r--src/querypage.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/querypage.h b/src/querypage.h
index 59d6ea2..a1a78e0 100644
--- a/src/querypage.h
+++ b/src/querypage.h
@@ -28,9 +28,9 @@
#ifndef QUERYPAGE_H
#define QUERYPAGE_H
-#include <qwidget.h>
-#include <qlistview.h>
-#include <qregexp.h>
+#include <ntqwidget.h>
+#include <ntqlistview.h>
+#include <ntqregexp.h>
#include "querypagebase.h"
#include "cscopefrontend.h"
@@ -47,36 +47,36 @@ class QueryPage : public QueryPageBase
Q_OBJECT
public:
- QueryPage(QWidget* pParent = 0, const char* szName = 0);
+ QueryPage(TQWidget* pParent = 0, const char* szName = 0);
~QueryPage();
- void query(uint, const QString&, bool);
+ void query(uint, const TQString&, bool);
void refresh();
void clear();
bool isRunning();
- virtual QString getCaption(bool bBrief = false) const;
+ virtual TQString getCaption(bool bBrief = false) const;
protected:
- virtual void addRecord(const QString&, const QString&, const QString&,
- const QString&);
- virtual QString getFileName(const QString&) const;
- virtual bool readHeader(QTextStream&);
- virtual void writeHeader(QTextStream&);
+ virtual void addRecord(const TQString&, const TQString&, const TQString&,
+ const TQString&);
+ virtual TQString getFileName(const TQString&) const;
+ virtual bool readHeader(TQTextStream&);
+ virtual void writeHeader(TQTextStream&);
private:
/** The type of query whose results are listed on this page. */
uint m_nType;
/** The text given as a parameter to the query. */
- QString m_sText;
+ TQString m_sText;
/** Whether the query is case-sensitive. */
bool m_bCase;
/** A formatted caption for this query, including the type of query and
its text. */
- QString m_sName;
+ TQString m_sName;
private:
/** Runs Cscope queries whose results are displayed in this page. */