summaryrefslogtreecommitdiffstats
path: root/src/kscopeconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kscopeconfig.cpp')
-rw-r--r--src/kscopeconfig.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/kscopeconfig.cpp b/src/kscopeconfig.cpp
index 3cc5094..924421f 100644
--- a/src/kscopeconfig.cpp
+++ b/src/kscopeconfig.cpp
@@ -88,22 +88,22 @@ KScopeConfig::ConfParams KScopeConfig::s_cpDef = {
true, // Show the tag list
SPLIT_SIZES(), // Tag list width
{
- QColor(black), // File list foreground
- QColor(white), // File list background
- QColor(black), // Tag list foreground
- QColor(white), // Tag list background
- QColor(black), // Query page foreground
- QColor(white), // Query page background
- QColor("#c0c0c0"), // Call graph background
- QColor("#c0ff80"), // Call graph nodes
- QColor(black), // Call graph text
- QColor("#ff8000")
+ TQColor(black), // File list foreground
+ TQColor(white), // File list background
+ TQColor(black), // Tag list foreground
+ TQColor(white), // Tag list background
+ TQColor(black), // Query page foreground
+ TQColor(white), // Query page background
+ TQColor("#c0c0c0"), // Call graph background
+ TQColor("#c0ff80"), // Call graph nodes
+ TQColor(black), // Call graph text
+ TQColor("#ff8000")
},
{
- QFont(), // Font definitions are overriden in load()
- QFont(),
- QFont(),
- QFont()
+ TQFont(), // Font definitions are overriden in load()
+ TQFont(),
+ TQFont(),
+ TQFont()
},
NameAsc, // Ctags sort order
false, // Read-only mode
@@ -330,7 +330,7 @@ bool KScopeConfig::showWelcomeDlg()
/**
* @return The full path of the Cscope executable
*/
-const QString& KScopeConfig::getCscopePath() const
+const TQString& KScopeConfig::getCscopePath() const
{
return m_cp.sCscopePath;
}
@@ -338,7 +338,7 @@ const QString& KScopeConfig::getCscopePath() const
/**
* @param sPath The full path of the Cscope executable
*/
-void KScopeConfig::setCscopePath(const QString& sPath)
+void KScopeConfig::setCscopePath(const TQString& sPath)
{
m_cp.sCscopePath = sPath;
}
@@ -346,7 +346,7 @@ void KScopeConfig::setCscopePath(const QString& sPath)
/**
* @return The full path of the Ctags executable
*/
-const QString& KScopeConfig::getCtagsPath() const
+const TQString& KScopeConfig::getCtagsPath() const
{
return m_cp.sCtagsPath;
}
@@ -354,7 +354,7 @@ const QString& KScopeConfig::getCtagsPath() const
/**
* @param sPath The full path of the Ctags executable
*/
-void KScopeConfig::setCtagsPath(const QString& sPath)
+void KScopeConfig::setCtagsPath(const TQString& sPath)
{
m_cp.sCtagsPath = sPath;
}
@@ -362,7 +362,7 @@ void KScopeConfig::setCtagsPath(const QString& sPath)
/**
* @return The full path of the Dot executable
*/
-const QString& KScopeConfig::getDotPath() const
+const TQString& KScopeConfig::getDotPath() const
{
return m_cp.sDotPath;
}
@@ -370,7 +370,7 @@ const QString& KScopeConfig::getDotPath() const
/**
* @param sPath The full path of the Dot executable
*/
-void KScopeConfig::setDotPath(const QString& sPath)
+void KScopeConfig::setDotPath(const TQString& sPath)
{
m_cp.sDotPath = sPath;
}
@@ -378,7 +378,7 @@ void KScopeConfig::setDotPath(const QString& sPath)
/**
* @return A sorted list of recently used project paths.
*/
-const QStringList& KScopeConfig::getRecentProjects() const
+const TQStringList& KScopeConfig::getRecentProjects() const
{
return m_slProjects;
}
@@ -388,9 +388,9 @@ const QStringList& KScopeConfig::getRecentProjects() const
* list.
* @param sProjPath The path of the project to add
*/
-void KScopeConfig::addRecentProject(const QString& sProjPath)
+void KScopeConfig::addRecentProject(const TQString& sProjPath)
{
- QStringList::Iterator itr;
+ TQStringList::Iterator itr;
itr = m_slProjects.find(sProjPath);
if (itr != m_slProjects.end())
@@ -403,7 +403,7 @@ void KScopeConfig::addRecentProject(const QString& sProjPath)
* Removes the given project path from recently used projects list.
* @param sProjPath The path of the project to remove
*/
-void KScopeConfig::removeRecentProject(const QString& sProjPath)
+void KScopeConfig::removeRecentProject(const TQString& sProjPath)
{
m_slProjects.remove(sProjPath);
}
@@ -447,7 +447,7 @@ void KScopeConfig::setEditorSizes(const SPLIT_SIZES& siEditor)
* @param ce Identifies the GUI element
* @return A reference to the colour object to use
*/
-const QColor& KScopeConfig::getColor(ColorElement ce) const
+const TQColor& KScopeConfig::getColor(ColorElement ce) const
{
return m_cp.clrs[ce];
}
@@ -457,7 +457,7 @@ const QColor& KScopeConfig::getColor(ColorElement ce) const
* @param ce The GUI element
* @return A name used in the colour configuration page
*/
-QString KScopeConfig::getColorName(ColorElement ce) const
+TQString KScopeConfig::getColorName(ColorElement ce) const
{
return COLOR_NAME(ce);
}
@@ -467,7 +467,7 @@ QString KScopeConfig::getColorName(ColorElement ce) const
* @param ce Identifies the GUI element
* @param clr The colour to use
*/
-void KScopeConfig::setColor(ColorElement ce, const QColor& clr)
+void KScopeConfig::setColor(ColorElement ce, const TQColor& clr)
{
m_cp.clrs[ce] = clr;
}
@@ -477,7 +477,7 @@ void KScopeConfig::setColor(ColorElement ce, const QColor& clr)
* @param fe Identifies the GUI element
* @return A reference to the font object to use
*/
-const QFont& KScopeConfig::getFont(FontElement fe) const
+const TQFont& KScopeConfig::getFont(FontElement fe) const
{
return m_cp.fonts[fe];
}
@@ -487,7 +487,7 @@ const QFont& KScopeConfig::getFont(FontElement fe) const
* @param ce The GUI element
* @return A name used in the font configuration page
*/
-QString KScopeConfig::getFontName(FontElement ce) const
+TQString KScopeConfig::getFontName(FontElement ce) const
{
return FONT_NAME(ce);
}
@@ -497,7 +497,7 @@ QString KScopeConfig::getFontName(FontElement ce) const
* @param fe Identifies the GUI element
* @param font The font to use
*/
-void KScopeConfig::setFont(FontElement fe, const QFont& font)
+void KScopeConfig::setFont(FontElement fe, const TQFont& font)
{
m_bFontsChanged = true;
m_cp.fonts[fe] = font;
@@ -627,7 +627,7 @@ void KScopeConfig::setAutoSortFiles(bool bSort)
/**
* @return A command line for launching an external editor
*/
-const QString& KScopeConfig::getExtEditor()
+const TQString& KScopeConfig::getExtEditor()
{
return m_cp.sExtEditor;
}
@@ -635,7 +635,7 @@ const QString& KScopeConfig::getExtEditor()
/**
* @param sExtEditor A command line for launching an external editor
*/
-void KScopeConfig::setExtEditor(const QString& sExtEditor)
+void KScopeConfig::setExtEditor(const TQString& sExtEditor)
{
m_cp.sExtEditor = sExtEditor;
}
@@ -679,7 +679,7 @@ KScopeConfig::EditorPopup KScopeConfig::getEditorPopup() const
/**
* @return The name of the popup menu to use in the embedded editor
*/
-QString KScopeConfig::getEditorPopupName() const
+TQString KScopeConfig::getEditorPopupName() const
{
switch (m_cp.popup) {
case Embedded:
@@ -706,7 +706,7 @@ void KScopeConfig::setEditorPopup(KScopeConfig::EditorPopup popup)
/**
* @return The default orientation for call graphs
*/
-QString KScopeConfig::getGraphOrientation() const
+TQString KScopeConfig::getGraphOrientation() const
{
return m_cp.sGraphOrient;
}
@@ -714,7 +714,7 @@ QString KScopeConfig::getGraphOrientation() const
/**
* @param sOrient The default orientation for call graphs
*/
-void KScopeConfig::setGraphOrientation(const QString& sOrient)
+void KScopeConfig::setGraphOrientation(const TQString& sOrient)
{
m_cp.sGraphOrient = sOrient;
}