summaryrefslogtreecommitdiffstats
path: root/src/querypagebase.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/querypagebase.h
parent57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff)
downloadkscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz
kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip
Initial TQt conversion
Diffstat (limited to 'src/querypagebase.h')
-rw-r--r--src/querypagebase.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/querypagebase.h b/src/querypagebase.h
index 8603874..1fe086c 100644
--- a/src/querypagebase.h
+++ b/src/querypagebase.h
@@ -28,7 +28,7 @@
#ifndef QUERYPAGEBASE_H
#define QUERYPAGEBASE_H
-#include <qhbox.h>
+#include <ntqhbox.h>
class QueryView;
@@ -42,16 +42,16 @@ class QueryView;
* of widget is defined by the different page classes.
* @author Elad Lahav
*/
-class QueryPageBase : public QHBox
+class QueryPageBase : public TQHBox
{
Q_OBJECT
public:
- QueryPageBase(QWidget* pParent = 0, const char* szName = 0);
+ QueryPageBase(TQWidget* pParent = 0, const char* szName = 0);
~QueryPageBase();
void applyPrefs();
- bool load(const QString&, const QString&);
- bool save(const QString&, QString&);
+ bool load(const TQString&, const TQString&);
+ bool save(const TQString&, TQString&);
void selectNext();
void selectPrev();
@@ -89,7 +89,7 @@ public:
* @param bBrief true to generate a brief caption, false otherwise
* @return The page's title
*/
- virtual QString getCaption(bool bBrief = false) const = 0;
+ virtual TQString getCaption(bool bBrief = false) const = 0;
signals:
/**
@@ -97,7 +97,7 @@ signals:
* @param sFile The "File" field of the selected record
* @param nLine The "Line" field of the selected record
*/
- void lineRequested(const QString& sFile, uint nLine);
+ void lineRequested(const TQString& sFile, uint nLine);
protected:
/** The embedded list. */
@@ -116,8 +116,8 @@ protected:
* @param sLine The "Line" field of the record
* @param sText The "Text" field of the record
*/
- virtual void addRecord(const QString& sFile, const QString& sFunc,
- const QString& sLine, const QString& sText) = 0;
+ virtual void addRecord(const TQString& sFile, const TQString& sFunc,
+ const TQString& sLine, const TQString& sText) = 0;
/**
* Creates a file path to store this page.
@@ -126,7 +126,7 @@ protected:
* @param sProjPath The project's directory
* @return The page's file path
*/
- virtual QString getFileName(const QString& sProjPath) const = 0;
+ virtual TQString getFileName(const TQString& sProjPath) const = 0;
/**
* Tries to read the file header of a stored page.
@@ -135,14 +135,14 @@ protected:
* @return true if the header was read successfully and contains the
* expected information, false otherwise
*/
- virtual bool readHeader(QTextStream& str) = 0;
+ virtual bool readHeader(TQTextStream& str) = 0;
/**
* Writes a header to a page's file.
* The contents of the header differ among inheriting classes.
* @param str A text stream initialised to the open page file
*/
- virtual void writeHeader(QTextStream& str) = 0;
+ virtual void writeHeader(TQTextStream& str) = 0;
};
#endif