Changeset 4167 in ntrip
- Timestamp:
- May 14, 2012, 2:10:21 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r4107 r4167 789 789 #endif 790 790 } 791 792 // Handling Events (virtual) 793 //////////////////////////////////////////////////////////////////////////// 794 bool bncApp::event(QEvent* ev) { 795 796 if (ev->type() == QEvent::FileOpen) { 797 QString fileName = static_cast<QFileOpenEvent*>(ev)->file(); 798 return true; 799 } 800 801 return QApplication::event(ev); 802 } -
trunk/BNC/bncapp.h
r4070 r4167 62 62 const QString& pgmName() {return _pgmName;} 63 63 const QString& userName() {return _userName;} 64 protected: 65 virtual bool event(QEvent* ev); 64 66 65 67 public slots:
Note:
See TracChangeset
for help on using the changeset viewer.