- Timestamp:
- 06/23/11 14:23:57 (12 years ago)
- Branches:
- master, qt5
- Children:
- 5438514
- Parents:
- f09a1b9
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rf09a1b9 ra0f3e32 96 96 // optimization, see useConference() code 97 97 try { 98 initTabs(); 99 } catch (OrmException) { 100 clearTabs(); 98 initTabs(); 99 } catch (const OrmException& e) { 100 qDebug() << "OrmException:" << e.text(); 101 clearTabs(); 101 102 } 102 103 -
src/gui/tabcontainer.h
rf09a1b9 ra0f3e32 42 42 Q_UNUSED(aDate); 43 43 Q_UNUSED(aConferenceId); 44 } ;44 } 45 45 46 46 signals: -
src/mvc/eventmodel.cpp
rf09a1b9 ra0f3e32 200 200 void EventModel::clearModel() 201 201 { 202 qDebug() << __PRETTY_FUNCTION__ << this << mEvents.count();202 // qDebug() << __PRETTY_FUNCTION__ << this << mEvents.count(); 203 203 mGroups.clear(); 204 204 mEvents.clear(); -
src/mvc/eventmodel.h
rf09a1b9 ra0f3e32 27 27 { 28 28 public: 29 static const QString COMMA_SEPARATOR; 29 static const QString COMMA_SEPARATOR; // ", " 30 30 public: 31 31 EventModel(); … … 50 50 int firstEventIndex) : 51 51 52 mTitle(title), 53 mFirstEventIndex(firstEventIndex), 54 mChildCount(0) 52 mTitle(title), // e.g. "16:00 - 17:30" 53 mFirstEventIndex(firstEventIndex), // first index within mEvents 54 mChildCount(0) // number of events in mEvents 55 55 {} 56 56 -
src/orm/ormrecord.h
rf09a1b9 ra0f3e32 31 31 { 32 32 public: 33 OrmException(const QString& text) : mText(text) {} ;34 virtual ~OrmException(){} ;33 OrmException(const QString& text) : mText(text) {} 34 virtual ~OrmException(){} 35 35 virtual const QString& text() const { return mText; } 36 36 private: … … 41 41 { 42 42 public: 43 OrmNoObjectException() : OrmException("No object exception"){} ;44 ~OrmNoObjectException(){} ;43 OrmNoObjectException() : OrmException("No object exception"){} 44 ~OrmNoObjectException(){} 45 45 }; 46 46 … … 48 48 { 49 49 public: 50 OrmSqlException(const QString& text) : OrmException( QString("Sql error: ") + text ) {} ;51 ~OrmSqlException(){} ;50 OrmSqlException(const QString& text) : OrmException( QString("Sql error: ") + text ) {} 51 ~OrmSqlException(){} 52 52 }; 53 53
Note: See TracChangeset
for help on using the changeset viewer.