diff options
Diffstat (limited to 'quanta/plugins/quantapluginconfig.cpp')
-rw-r--r-- | quanta/plugins/quantapluginconfig.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/quanta/plugins/quantapluginconfig.cpp b/quanta/plugins/quantapluginconfig.cpp index a03ffc2c..30fd6ee2 100644 --- a/quanta/plugins/quantapluginconfig.cpp +++ b/quanta/plugins/quantapluginconfig.cpp @@ -23,32 +23,32 @@ #include <kicondialog.h> /* QT INCLUDES */ -#include <qpushbutton.h> -#include <qcheckbox.h> -#include <qlineedit.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qcombobox.h> -#include <qwidgetstack.h> +#include <tqpushbutton.h> +#include <tqcheckbox.h> +#include <tqlineedit.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqcombobox.h> +#include <tqwidgetstack.h> /* OTHER INCLUDES */ #include "quantapluginconfig.h" #include "quantaplugin.h" #include "pluginconfig.h" -QuantaPluginConfig::QuantaPluginConfig(QWidget *a_parent, const char *a_name) +QuantaPluginConfig::QuantaPluginConfig(TQWidget *a_parent, const char *a_name) : KDialogBase(a_parent, a_name, true, i18n("Configure Plugin"), KDialogBase::Ok | KDialogBase::Cancel) { m_pluginConfigWidget = new PluginConfig(this); - QStringList windows; + TQStringList windows; i18n("Message Area Tab"); windows << i18n("Editor Tab") << i18n("Separate Toolview"); m_pluginConfigWidget->outputWindow->insertStringList(windows); m_pluginConfigWidget->iconButton->setStrictIconSize(false); - connect(m_pluginConfigWidget->pluginName, SIGNAL(textChanged(const QString &)), this, SLOT(nameChanged(const QString &))); - connect(m_pluginConfigWidget->locationButton, SIGNAL(clicked()), this, SLOT(selectLocation())); + connect(m_pluginConfigWidget->pluginName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(nameChanged(const TQString &))); + connect(m_pluginConfigWidget->locationButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectLocation())); setMainWidget(m_pluginConfigWidget); } @@ -77,16 +77,16 @@ void QuantaPluginConfig::accept() /** Gets the plugin location */ void QuantaPluginConfig::selectLocation() { - QString pluginLocation = KFileDialog::getExistingDirectory(QString::null, this, i18n("Select Plugin Folder")); + TQString pluginLocation = KFileDialog::getExistingDirectory(TQString::null, this, i18n("Select Plugin Folder")); if(!pluginLocation.isNull()) { m_pluginConfigWidget->location->setText(pluginLocation); } } -void QuantaPluginConfig::nameChanged(const QString &a_text) +void QuantaPluginConfig::nameChanged(const TQString &a_text) { - QString text = a_text; + TQString text = a_text; text = "lib" + text + ".la"; m_pluginConfigWidget->pluginFileName->setText(text.lower()); } |