diff options
Diffstat (limited to 'umbrello/umbrello/cmdlineexportallviewsevent.cpp')
-rw-r--r-- | umbrello/umbrello/cmdlineexportallviewsevent.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/cmdlineexportallviewsevent.cpp b/umbrello/umbrello/cmdlineexportallviewsevent.cpp index 7c4b3caa..a4295a20 100644 --- a/umbrello/umbrello/cmdlineexportallviewsevent.cpp +++ b/umbrello/umbrello/cmdlineexportallviewsevent.cpp @@ -13,7 +13,7 @@ #include "cmdlineexportallviewsevent.h" // qt includes -#include <qstringlist.h> +#include <tqstringlist.h> // kde includes #include <kapplication.h> @@ -25,24 +25,24 @@ int CmdLineExportAllViewsEvent::getType() { - return QEvent::User + 1; + return TQEvent::User + 1; } -CmdLineExportAllViewsEvent::CmdLineExportAllViewsEvent(const QString &imageType, const KURL &directory, const bool useFolders) - : QCustomEvent(CmdLineExportAllViewsEvent::getType()) { +CmdLineExportAllViewsEvent::CmdLineExportAllViewsEvent(const TQString &imageType, const KURL &directory, const bool useFolders) + : TQCustomEvent(CmdLineExportAllViewsEvent::getType()) { m_imageType = imageType; m_directory = directory; m_useFolders = useFolders; } void CmdLineExportAllViewsEvent::exportAllViews() { - QStringList errors = UMLViewImageExporterModel().exportAllViews(m_imageType, m_directory, m_useFolders); + TQStringList errors = UMLViewImageExporterModel().exportAllViews(m_imageType, m_directory, m_useFolders); if (!errors.isEmpty()) { kError() << "Errors while exporting:" << endl; - for (QStringList::Iterator it = errors.begin(); it != errors.end(); ++it) { + for (TQStringList::Iterator it = errors.begin(); it != errors.end(); ++it) { kError() << *it << endl; } } - kapp->sendEvent(UMLApp::app(), new QCloseEvent()); + kapp->sendEvent(UMLApp::app(), new TQCloseEvent()); } |