diff options
Diffstat (limited to 'buildtools/autotools/addicondlg.cpp')
-rw-r--r-- | buildtools/autotools/addicondlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/buildtools/autotools/addicondlg.cpp b/buildtools/autotools/addicondlg.cpp index 251601f7..5531c656 100644 --- a/buildtools/autotools/addicondlg.cpp +++ b/buildtools/autotools/addicondlg.cpp @@ -11,8 +11,8 @@ #include "addicondlg.h" -#include <qcombobox.h> -#include <qlabel.h> +#include <tqcombobox.h> +#include <tqlabel.h> #include <klineedit.h> #include <kdebug.h> #include <klocale.h> @@ -39,7 +39,7 @@ const char *size_map[] = { AddIconDialog::AddIconDialog(AutoProjectPart *part, AutoProjectWidget *widget, SubprojectItem *spitem, TargetItem *titem, - QWidget *parent, const char *name) + TQWidget *parent, const char *name) : AddIconDialogBase(parent, name, true) { type_combo->insertItem(i18n("Application")); @@ -72,9 +72,9 @@ AddIconDialog::~AddIconDialog() void AddIconDialog::somethingChanged() { - QString size = size_map[size_combo->currentItem()]; - QString type = type_map[type_combo->currentItem()]; - QString name = name_edit->text(); + TQString size = size_map[size_combo->currentItem()]; + TQString type = type_map[type_combo->currentItem()]; + TQString name = name_edit->text(); filename_edit->setText(size + "-" + type + "-" + name + ".png"); } @@ -82,15 +82,15 @@ void AddIconDialog::somethingChanged() void AddIconDialog::accept() { - QString name = filename_edit->text(); + TQString name = filename_edit->text(); - QString destdir = m_subProject->subdir; - QString destpath = destdir + "/" + name; + TQString destdir = m_subProject->subdir; + TQString destpath = destdir + "/" + name; - QString size = size_combo->currentText(); - QString unknown = KIconTheme::defaultThemeName()+ "/" + size + "x" + size + "/mimetypes/unknown.png"; + TQString size = size_combo->currentText(); + TQString unknown = KIconTheme::defaultThemeName()+ "/" + size + "x" + size + "/mimetypes/unknown.png"; - QString templateFileName = locate("icon", unknown); + TQString templateFileName = locate("icon", unknown); kdDebug(9020) << "Unknown: " << unknown << ", template: " << templateFileName << endl; if (!templateFileName.isEmpty()) { @@ -105,11 +105,11 @@ void AddIconDialog::accept() m_target->sources.append(fitem); m_target->insertItem(fitem); - m_part->startMakeCommand(destdir, QString::fromLatin1("force-reedit")); + m_part->startMakeCommand(destdir, TQString::fromLatin1("force-reedit")); m_widget->emitAddedFile(destpath); - QDialog::accept(); + TQDialog::accept(); } #include "addicondlg.moc" |