summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umlviewimageexporterall.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/umlviewimageexporterall.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/umlviewimageexporterall.cpp')
-rw-r--r--umbrello/umbrello/umlviewimageexporterall.cpp14
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);