Changeset 3329d39 in confclerk_git
- Timestamp:
- 04/16/10 14:14:19 (13 years ago)
- Branches:
- master, qt5
- Children:
- a61c5f5
- Parents:
- 2eda137
- Location:
- src
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/app/app.pro
r2eda137 r3329d39 4 4 DESTDIR = ../bin 5 5 QT += sql xml network dbus 6 CONFIG(maemo5) { 7 QT += maemo5 8 } 6 9 7 10 # module dependencies -
src/app/application.cpp
r2eda137 r3329d39 18 18 */ 19 19 #include "application.h" 20 #include "errormessage.h" 20 21 21 22 #include <ormrecord.h> … … 29 30 return QApplication::notify(receiver, event); 30 31 } catch (OrmException& e) { 31 qWarning() << "UNCAUGHT EXCEPTION: OrmException, text= " << e.text();32 error_message("UNCAUGHT OrmException: " + e.text()); 32 33 return false; 33 34 } catch (...) { 34 qWarning() << "UNCAUGHT EXCEPTION: unknown";35 error_message("UNCAUGHT EXCEPTION: unknown"); 35 36 return false; 36 37 } -
src/gui/gui.pro
r2eda137 r3329d39 82 82 settingsdialog.cpp 83 83 84 HEADERS += errormessage.h 85 SOURCES += errormessage.cpp 86 CONFIG(maemo5) { 87 QT += maemo5 88 } 89 84 90 #maemo { 85 91 # FORMS += alarmdialog.ui -
src/gui/importschedulewidget.cpp
r2eda137 r3329d39 35 35 36 36 #include "conference.h" 37 #include "errormessage.h" 37 38 38 39 // const QString SCHEDULE_URL = "http://fosdem.org/2010/schedule/xml"; … … 114 115 if ( aReply->error() != QNetworkReply::NoError ) 115 116 { 116 qDebug() << "Error occured during download: " << aReply->errorString();117 error_message(QString("Error occured during download: ") + aReply->errorString()); 117 118 } 118 119 else … … 209 210 importScheduleLabel->setText("Schedule:"); 210 211 211 emit(scheduleImported(confId)); 212 } 213 212 if (confId > 0) { 213 emit(scheduleImported(confId)); 214 } 215 } 216 -
src/sql/schedulexmlparser.cpp
r2eda137 r3329d39 23 23 #include "schedulexmlparser.h" 24 24 #include "sqlengine.h" 25 #include "../gui/errormessage.h" 25 26 26 27 #include <QDebug> … … 34 35 { 35 36 QDomDocument document; 36 document.setContent (aData, false); 37 QString xml_error; 38 if (!document.setContent (aData, false, &xml_error)) { 39 error_message("Could not parse schedule: " + xml_error); 40 return -1; 41 } 37 42 38 43 QDomElement scheduleElement = document.firstChildElement("schedule");
Note: See TracChangeset
for help on using the changeset viewer.