summaryrefslogtreecommitdiffstats
path: root/buildtools/ada/adaglobaloptionsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ada/adaglobaloptionsdlg.cpp')
-rw-r--r--buildtools/ada/adaglobaloptionsdlg.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/buildtools/ada/adaglobaloptionsdlg.cpp b/buildtools/ada/adaglobaloptionsdlg.cpp
index a8171c81..e44a15be 100644
--- a/buildtools/ada/adaglobaloptionsdlg.cpp
+++ b/buildtools/ada/adaglobaloptionsdlg.cpp
@@ -6,10 +6,10 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qcombobox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqcombobox.h>
#include <kurlrequester.h>
#include <kdebug.h>
@@ -21,7 +21,7 @@
#include "adaproject_part.h"
#include "adaglobaloptionsdlg.h"
-AdaGlobalOptionsDlg::AdaGlobalOptionsDlg(AdaProjectPart *part, QWidget* parent, const char* name, WFlags fl)
+AdaGlobalOptionsDlg::AdaGlobalOptionsDlg(AdaProjectPart *part, TQWidget* parent, const char* name, WFlags fl)
:AdaProjectOptionsDlgBase(parent,name,fl), m_part(part)
{
delete config_label;
@@ -44,7 +44,7 @@ AdaGlobalOptionsDlg::AdaGlobalOptionsDlg(AdaProjectPart *part, QWidget* parent,
if (offers.isEmpty())
options_button->setEnabled(false);
- currentCompiler = QString::null;
+ currentCompiler = TQString::null;
/*kdDebug() << ServiceComboBox::defaultCompiler() << endl;
kdDebug() << ServiceComboBox::itemForText(ServiceComboBox::defaultCompiler(), service_names) << endl;
@@ -60,17 +60,17 @@ AdaGlobalOptionsDlg::~AdaGlobalOptionsDlg()
void AdaGlobalOptionsDlg::optionsButtonClicked()
{
- QString name = ServiceComboBox::currentText(compiler_box, service_names);
+ TQString name = ServiceComboBox::currentText(compiler_box, service_names);
KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) {
- QString flags = plugin->exec(this, options_edit->text());
+ TQString flags = plugin->exec(this, options_edit->text());
options_edit->setText(flags);
delete plugin;
}
}
-void AdaGlobalOptionsDlg::compiler_box_activated(const QString& text)
+void AdaGlobalOptionsDlg::compiler_box_activated(const TQString& text)
{
kdDebug() << "text changed from " << currentCompiler << " to " << text << endl;
if (currentCompiler == text)
@@ -88,14 +88,14 @@ void AdaGlobalOptionsDlg::accept()
saveConfigCache();
}
-void AdaGlobalOptionsDlg::saveCompilerOpts( QString compiler )
+void AdaGlobalOptionsDlg::saveCompilerOpts( TQString compiler )
{
configCache[compiler] = options_edit->text();
}
-void AdaGlobalOptionsDlg::readCompilerOpts( QString compiler )
+void AdaGlobalOptionsDlg::readCompilerOpts( TQString compiler )
{
- QString settings = configCache[compiler];
+ TQString settings = configCache[compiler];
if (settings.isEmpty())
{
KConfig *config = KGlobal::config();
@@ -111,7 +111,7 @@ void AdaGlobalOptionsDlg::readConfigCache( )
/* KConfig *config = KGlobal::config();
config->setGroup("Ada Compiler");
- QMap<QString, QString> settings = config->entryMap("Ada Compiler");
+ TQMap<TQString, TQString> settings = config->entryMap("Ada Compiler");
*/
}
@@ -120,7 +120,7 @@ void AdaGlobalOptionsDlg::saveConfigCache( )
KConfig *config = KGlobal::config();
config->setGroup("Ada Compiler");
- for (QMap<QString, QString>::iterator it = configCache.begin(); it != configCache.end(); ++it)
+ for (TQMap<TQString, TQString>::iterator it = configCache.begin(); it != configCache.end(); ++it)
{
config->writeEntry(it.key(), it.data());
}