summaryrefslogtreecommitdiffstats
path: root/src/kscopeconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kscopeconfig.h')
-rw-r--r--src/kscopeconfig.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/kscopeconfig.h b/src/kscopeconfig.h
index 8a047cf..2d5b48d 100644
--- a/src/kscopeconfig.h
+++ b/src/kscopeconfig.h
@@ -28,19 +28,19 @@
#ifndef KSCOPECONFIG_H
#define KSCOPECONFIG_H
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qcolor.h>
+#include <ntqobject.h>
+#include <ntqstringlist.h>
+#include <ntqcolor.h>
#include <kdockwidget.h>
-typedef QValueList<int> SPLIT_SIZES;
+typedef TQValueList<int> SPLIT_SIZES;
/**
* Loads and stores global configuration parameters.
* @author Elad Lahav
*/
-class KScopeConfig : public QObject
+class KScopeConfig : public TQObject
{
Q_OBJECT
@@ -81,25 +81,25 @@ public:
bool isFirstTime();
bool showWelcomeDlg();
- const QString& getCscopePath() const;
- void setCscopePath(const QString&);
- const QString& getCtagsPath() const;
- void setCtagsPath(const QString&);
- const QString& getDotPath() const;
- void setDotPath(const QString&);
- const QStringList& getRecentProjects() const;
- void addRecentProject(const QString&);
- void removeRecentProject(const QString&);
+ const TQString& getCscopePath() const;
+ void setCscopePath(const TQString&);
+ const TQString& getCtagsPath() const;
+ void setCtagsPath(const TQString&);
+ const TQString& getDotPath() const;
+ void setDotPath(const TQString&);
+ const TQStringList& getRecentProjects() const;
+ void addRecentProject(const TQString&);
+ void removeRecentProject(const TQString&);
bool getShowTagList() const;
void setShowTagList(bool);
const SPLIT_SIZES& getEditorSizes() const;
void setEditorSizes(const SPLIT_SIZES&);
- const QColor& getColor(ColorElement) const;
- QString getColorName(ColorElement) const;
- void setColor(ColorElement, const QColor&);
- const QFont& getFont(FontElement) const;
- QString getFontName(FontElement) const;
- void setFont(FontElement, const QFont&);
+ const TQColor& getColor(ColorElement) const;
+ TQString getColorName(ColorElement) const;
+ void setColor(ColorElement, const TQColor&);
+ const TQFont& getFont(FontElement) const;
+ TQString getFontName(FontElement) const;
+ void setFont(FontElement, const TQFont&);
CtagSort getCtagSortOrder();
void setCtagSortOrder(CtagSort);
bool getReadOnlyMode();
@@ -114,16 +114,16 @@ public:
void setWarnModifiedOnDisk(bool);
bool getAutoSortFiles();
void setAutoSortFiles(bool);
- const QString& getExtEditor();
- void setExtEditor(const QString&);
+ const TQString& getExtEditor();
+ void setExtEditor(const TQString&);
bool useExtEditor();
SysProfile getSysProfile() const;
void setSysProfile(SysProfile);
EditorPopup getEditorPopup() const;
- QString getEditorPopupName() const;
+ TQString getEditorPopupName() const;
void setEditorPopup(EditorPopup);
- QString getGraphOrientation() const;
- void setGraphOrientation(const QString&);
+ TQString getGraphOrientation() const;
+ void setGraphOrientation(const TQString&);
int getGraphMaxNodeDegree() const;
void setGraphMaxNodeDegree(int);
int getDefGraphView() const;
@@ -131,19 +131,19 @@ public:
private:
/** A list of previously loaded projects. */
- QStringList m_slProjects;
+ TQStringList m_slProjects;
/** Defines the list of all configurable parameters in KScope.
The use of a structure helps define default values (@see s_cpDef) */
struct ConfParams {
/** The full path of the Cscope executable. */
- QString sCscopePath;
+ TQString sCscopePath;
/** The full path of the Ctags executable. */
- QString sCtagsPath;
+ TQString sCtagsPath;
/** The full path of the Dot executable. */
- QString sDotPath;
+ TQString sDotPath;
/** Whether the tag list should be visible. */
bool bShowTagList;
@@ -153,10 +153,10 @@ private:
SPLIT_SIZES siEditor;
/** Colours for GUI elements. */
- QColor clrs[LAST_COLOR + 1];
+ TQColor clrs[LAST_COLOR + 1];
/** Fonts for GUI elements. */
- QFont fonts[LAST_FONT + 1];
+ TQFont fonts[LAST_FONT + 1];
/** Sort order of the tag lists. */
CtagSort ctagSortOrder;
@@ -184,7 +184,7 @@ private:
/** A command line pattern for an external editor (in read-only
mode.)*/
- QString sExtEditor;
+ TQString sExtEditor;
/** How KScope should treat time-consuming operations. */
SysProfile profile;
@@ -193,7 +193,7 @@ private:
EditorPopup popup;
/** The default orientation of call graphs. */
- QString sGraphOrient;
+ TQString sGraphOrient;
/** Maximal number of called/calling functions per call graph node. */
int nGraphMaxNodeDegree;