Changeset 03f38cf
- Timestamp:
- 07/28/21 23:35:48 (18 months ago)
- Branches:
- master
- Children:
- 280f29b
- Parents:
- bffc77e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/app/application.h
rbffc77e r03f38cf 22 22 23 23 #include <QApplication> 24 #include <conference.h> 24 25 25 26 class Application : public QApplication … … 28 29 29 30 public: 30 Application(int& argc, char** argv) 31 : QApplication(argc, argv) 32 { } 33 virtual ~Application() { } 31 Application(int& argc, char** argv): QApplication(argc, argv) {} 32 virtual ~Application() {} 34 33 35 34 virtual bool notify(QObject* receiver, QEvent* event); 35 36 void setActiveConference(Conference& conference) {mActiveConference = conference; mHasActiveConference = true;} 37 void unsetActiveConference() {mHasActiveConference = false;} 38 Conference& activeConference() {return mActiveConference;} 39 bool hasActiveConference() const {return mHasActiveConference;} 40 41 private: 42 bool mHasActiveConference = false; 43 Conference mActiveConference; 36 44 }; 37 45
Note: See TracChangeset
for help on using the changeset viewer.