diff options
Diffstat (limited to 'umbrello/umbrello/umlviewimageexporterall.cpp')
-rw-r--r-- | umbrello/umbrello/umlviewimageexporterall.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/umlviewimageexporterall.cpp b/umbrello/umbrello/umlviewimageexporterall.cpp index fceb6aa3..9f80dad1 100644 --- a/umbrello/umbrello/umlviewimageexporterall.cpp +++ b/umbrello/umbrello/umlviewimageexporterall.cpp @@ -13,9 +13,9 @@ #include "umlviewimageexporterall.h" // include files for Qt -#include <qstring.h> -#include <qstringlist.h> -#include <qcheckbox.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqcheckbox.h> // kde include files #include <klocale.h> @@ -48,7 +48,7 @@ void UMLViewImageExporterAll::exportAllViews() { m_dialog->m_kURL->setURL(umlDoc->URL().directory()); } - if (m_dialog->exec() == QDialog::Rejected) { + if (m_dialog->exec() == TQDialog::Rejected) { return; } @@ -56,15 +56,15 @@ void UMLViewImageExporterAll::exportAllViews() { // export all views umlDoc->writeToStatusBar(i18n("Exporting all views...")); - QStringList errors = UMLViewImageExporterModel().exportAllViews( + TQStringList errors = UMLViewImageExporterModel().exportAllViews( UMLViewImageExporterModel::mimeTypeToImageType(m_dialog->m_imageType->currentFilter()), KURL(m_dialog->m_kURL->url()), m_dialog->m_useFolders->isChecked()); if (!errors.empty()) { #if KDE_IS_VERSION(3,4,0) KMessageBox::errorList(app, i18n("Some errors happened when exporting the images:"), errors); #else - QString errorsCaption; - for (QStringList::Iterator it = errors.begin(); it != errors.end(); ++it) { + TQString errorsCaption; + for (TQStringList::Iterator it = errors.begin(); it != errors.end(); ++it) { errorsCaption += "\n" + *it; } KMessageBox::error(app, i18n("Some errors happened when exporting the images:") + errorsCaption); |