summaryrefslogtreecommitdiffstats
path: root/src/cscopefrontend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cscopefrontend.h')
-rw-r--r--src/cscopefrontend.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/cscopefrontend.h b/src/cscopefrontend.h
index 2b2c569..1743e34 100644
--- a/src/cscopefrontend.h
+++ b/src/cscopefrontend.h
@@ -28,9 +28,9 @@
#ifndef CSCOPEFRONTEND_H
#define CSCOPEFRONTEND_H
-#include <qstringlist.h>
-#include <qprogressbar.h>
-#include <qlabel.h>
+#include <ntqstringlist.h>
+#include <ntqprogressbar.h>
+#include <ntqlabel.h>
#include "frontend.h"
#define CSCOPE_RECORD_SIZE 4
@@ -71,10 +71,10 @@ public:
enum Options { VerboseOut = 0x01, SlowPathDef = 0x02,
Kernel = 0x04, InvIndex = 0x08, NoCompression = 0x10 };
- void query(uint, const QString&, bool bCase = true, uint nMaxRecords = 0);
+ void query(uint, const TQString&, bool bCase = true, uint nMaxRecords = 0);
void rebuild();
- static void init(const QString&, uint);
+ static void init(const TQString&, uint);
/**
* @param nArgs The command-line arguments supported by the version of
@@ -92,8 +92,8 @@ signals:
void buildInvIndex();
protected:
- virtual ParseResult parseStdout(QString&, ParserDelim);
- virtual void parseStderr(const QString&);
+ virtual ParseResult parseStdout(TQString&, ParserDelim);
+ virtual void parseStderr(const TQString&);
virtual void finalize();
private:
@@ -107,7 +107,7 @@ private:
ParserState m_state;
/** Accumulates text sent by Cscope to the standard error stream. */
- QString m_sErrMsg;
+ TQString m_sErrMsg;
/** If true, the rebuild process will be restarted when the process
exits. */
@@ -118,7 +118,7 @@ private:
int m_nMaxRecords;
/** The full path of the directory holding the project files. */
- static QString s_sProjPath;
+ static TQString s_sProjPath;
/** Project-specific options for the command-line arguments. */
static uint s_nProjArgs;
@@ -126,7 +126,7 @@ private:
/** The command line arguments supported by this version of Cscope. */
static uint s_nSupArgs;
- bool run(const QStringList&);
+ bool run(const TQStringList&);
};
/**
@@ -136,12 +136,12 @@ private:
* output is being processed.
* @author Elad Lahav
*/
-class CscopeProgress : public QObject
+class CscopeProgress : public TQObject
{
Q_OBJECT
public:
- CscopeProgress(QWidget*);
+ CscopeProgress(TQWidget*);
~CscopeProgress();
void setProgress(int, int);
@@ -149,20 +149,20 @@ public:
private:
/** The parent widget for the progress bar and label. */
- QWidget* m_pMainWidget;
+ TQWidget* m_pMainWidget;
/** A bar used to display query progress information. */
- QProgressBar* m_pProgressBar;
+ TQProgressBar* m_pProgressBar;
/** A label used to display a "Please wait..." message. */
- QLabel* m_pLabel;
+ TQLabel* m_pLabel;
private slots:
void slotShowProgressBar();
void slotShowLabel();
};
-class CscopeVerifier : public QObject
+class CscopeVerifier : public TQObject
{
Q_OBJECT
@@ -179,7 +179,7 @@ private:
uint m_nArgs;
private slots:
- void slotConfigResult(uint, const QString&);
+ void slotConfigResult(uint, const TQString&);
void slotFinished();
};