diff options
author | Timothy Pearson <[email protected]> | 2011-11-25 00:11:18 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-25 00:11:18 -0600 |
commit | 7173a2aa830ab04bd92e0a13ac257c7beb3d7916 (patch) | |
tree | 5156404e84f82e678f6828a07d05128512cf9388 /config/exportthemedialog.cpp | |
parent | aa4b9a06db72dfcf769e40613ed0aeefbfc111c3 (diff) | |
download | tde-style-qtcurve-7173a2aa830ab04bd92e0a13ac257c7beb3d7916.tar.gz tde-style-qtcurve-7173a2aa830ab04bd92e0a13ac257c7beb3d7916.zip |
Fix FTBFS
Diffstat (limited to 'config/exportthemedialog.cpp')
-rw-r--r-- | config/exportthemedialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/config/exportthemedialog.cpp b/config/exportthemedialog.cpp index a677cb8..fef7f28 100644 --- a/config/exportthemedialog.cpp +++ b/config/exportthemedialog.cpp @@ -1,5 +1,5 @@ /* - QtCurve (C) Craig Drummond, 2003 - 2010 [email protected] + TQtCurve (C) Craig Drummond, 2003 - 2010 [email protected] ---- @@ -30,23 +30,23 @@ #define CONFIG_WRITE #include "config_file.c" -CExportThemeDialog::CExportThemeDialog(QWidget *parent) +CExportThemeDialog::CExportThemeDialog(TQWidget *parent) : KDialogBase(parent, "ExportDialog", true, i18n("Export Theme"), Ok|Cancel) { - QWidget *page = new QWidget(this); - QGridLayout *layout = new QGridLayout(page, 3, 2, 0, spacingHint()); - - layout->addWidget(new QLabel(i18n("Name:"), page), 0, 0); - layout->addWidget(new QLabel(i18n("Comment:"), page), 1, 0); - layout->addWidget(new QLabel(i18n("Destination folder:"), page), 2, 0); - layout->addWidget(themeName=new QLineEdit(page), 0, 1); - layout->addWidget(themeComment=new QLineEdit(i18n("QtCurve based theme"), page), 1, 1); + TQWidget *page = new TQWidget(this); + TQGridLayout *layout = new TQGridLayout(page, 3, 2, 0, spacingHint()); + + layout->addWidget(new TQLabel(i18n("Name:"), page), 0, 0); + layout->addWidget(new TQLabel(i18n("Comment:"), page), 1, 0); + layout->addWidget(new TQLabel(i18n("Destination folder:"), page), 2, 0); + layout->addWidget(themeName=new TQLineEdit(page), 0, 1); + layout->addWidget(themeComment=new TQLineEdit(i18n("QtCurve based theme"), page), 1, 1); layout->addWidget(themeUrl=new KURLRequester(page), 2, 1); themeUrl->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly); themeUrl->lineEdit()->setReadOnly(true); - themeUrl->setURL(QDir::homeDirPath()); + themeUrl->setURL(TQDir::homeDirPath()); setMainWidget(page); } @@ -58,13 +58,13 @@ void CExportThemeDialog::run(const Options &o) void CExportThemeDialog::slotOk() { - QString name(themeName->text().stripWhiteSpace().lower()); + TQString name(themeName->text().stripWhiteSpace().lower()); if(name.isEmpty()) KMessageBox::error(this, i18n("Name is empty!")); else { - QString fileName(themeUrl->url()+"/"THEME_PREFIX+name+".themerc"); + TQString fileName(themeUrl->url()+"/"THEME_PREFIX+name+".themerc"); KConfig cfg(fileName, false, false); bool rv(!cfg.isReadOnly()); @@ -82,7 +82,7 @@ void CExportThemeDialog::slotOk() if(rv) { - QDialog::accept(); + TQDialog::accept(); KMessageBox::information(this, i18n("Succesfully created:\n%1").arg(fileName)); } else |