diff options
Diffstat (limited to 'konq-plugins/validators/validatorsdialog.cpp')
-rw-r--r-- | konq-plugins/validators/validatorsdialog.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/konq-plugins/validators/validatorsdialog.cpp b/konq-plugins/validators/validatorsdialog.cpp index 0c524e2..864de55 100644 --- a/konq-plugins/validators/validatorsdialog.cpp +++ b/konq-plugins/validators/validatorsdialog.cpp @@ -17,11 +17,11 @@ Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qvbox.h> -#include <qgroupbox.h> -#include <qlayout.h> -#include <qcombobox.h> +#include <tqlabel.h> +#include <tqvbox.h> +#include <tqgroupbox.h> +#include <tqlayout.h> +#include <tqcombobox.h> #include <kconfig.h> #include <klocale.h> @@ -29,57 +29,57 @@ #include "validatorsdialog.h" #include "validatorsdialog.moc" -ValidatorsDialog::ValidatorsDialog(QWidget *parent, const char *name ) +ValidatorsDialog::ValidatorsDialog(TQWidget *parent, const char *name ) : KDialogBase( parent, name, false, i18n("Configure"), Ok|Cancel, Ok, true ) { setCaption(i18n("Configure Validating Servers")); setMinimumWidth(300); - QVBox *page = makeVBoxMainWidget (); + TQVBox *page = makeVBoxMainWidget (); - QGroupBox *tgroup = new QGroupBox( i18n("HTML/XML Validator"), page ); - QVBoxLayout *vlay = new QVBoxLayout( tgroup, spacingHint() ); + TQGroupBox *tgroup = new TQGroupBox( i18n("HTML/XML Validator"), page ); + TQVBoxLayout *vlay = new TQVBoxLayout( tgroup, spacingHint() ); vlay->addSpacing( fontMetrics().lineSpacing()); - vlay->addWidget(new QLabel( i18n("URL:"), tgroup)); + vlay->addWidget(new TQLabel( i18n("URL:"), tgroup)); - m_WWWValidatorCB = new QComboBox(true, tgroup); + m_WWWValidatorCB = new TQComboBox(true, tgroup); m_WWWValidatorCB->setDuplicatesEnabled(false); vlay->addWidget( m_WWWValidatorCB ); - vlay->addWidget(new QLabel( i18n("Upload:"), tgroup)); + vlay->addWidget(new TQLabel( i18n("Upload:"), tgroup)); - m_WWWValidatorUploadCB = new QComboBox(true, tgroup); + m_WWWValidatorUploadCB = new TQComboBox(true, tgroup); m_WWWValidatorUploadCB->setDuplicatesEnabled(false); vlay->addWidget( m_WWWValidatorUploadCB ); /// - QGroupBox *group2= new QGroupBox( i18n("CSS Validator"), page ); - QVBoxLayout *vlay2 = new QVBoxLayout( group2, spacingHint() ); + TQGroupBox *group2= new TQGroupBox( i18n("CSS Validator"), page ); + TQVBoxLayout *vlay2 = new TQVBoxLayout( group2, spacingHint() ); vlay2->addSpacing( fontMetrics().lineSpacing()); - vlay2->addWidget(new QLabel( i18n("URL:"), group2)); + vlay2->addWidget(new TQLabel( i18n("URL:"), group2)); - m_CSSValidatorCB = new QComboBox(true, group2); + m_CSSValidatorCB = new TQComboBox(true, group2); m_CSSValidatorCB->setDuplicatesEnabled(false); vlay2->addWidget( m_CSSValidatorCB ); - vlay2->addWidget(new QLabel( i18n("Upload:"), group2)); + vlay2->addWidget(new TQLabel( i18n("Upload:"), group2)); - m_CSSValidatorUploadCB = new QComboBox(true, group2); + m_CSSValidatorUploadCB = new TQComboBox(true, group2); m_CSSValidatorUploadCB->setDuplicatesEnabled(false); vlay2->addWidget( m_CSSValidatorUploadCB ); /// - QGroupBox *group3= new QGroupBox( i18n("Link Validator"), page ); - QVBoxLayout *vlay3 = new QVBoxLayout( group3, spacingHint() ); + TQGroupBox *group3= new TQGroupBox( i18n("Link Validator"), page ); + TQVBoxLayout *vlay3 = new TQVBoxLayout( group3, spacingHint() ); vlay3->addSpacing( fontMetrics().lineSpacing()); - vlay3->addWidget(new QLabel( i18n("URL:"), group3)); + vlay3->addWidget(new TQLabel( i18n("URL:"), group3)); - m_linkValidatorCB = new QComboBox(true, group3); + m_linkValidatorCB = new TQComboBox(true, group3); m_linkValidatorCB->setDuplicatesEnabled(false); vlay3->addWidget( m_linkValidatorCB ); @@ -129,7 +129,7 @@ void ValidatorsDialog::load() void ValidatorsDialog::save() { - QStringList strList; + TQStringList strList; for (int i = 0; i < m_WWWValidatorCB->count(); i++) { strList.append(m_WWWValidatorCB->text(i)); } |