Changeset 24182 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/QIDialog.h
- Timestamp:
- Oct 30, 2009 11:07:40 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 54129
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/QIDialog.h
r23031 r24182 6 6 7 7 /* 8 * Copyright (C) 2008 Sun Microsystems, Inc.8 * Copyright (C) 2008-2009 Sun Microsystems, Inc. 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 27 27 #include <QDialog> 28 28 29 /* Qt forwards declarations */ 30 class QEventLoop; 31 29 32 class QIDialog: public QDialog 30 33 { … … 32 35 33 36 public: 34 35 37 QIDialog (QWidget *aParent = 0, Qt::WindowFlags aFlags = 0); 38 void setVisible (bool aVisible); 36 39 37 40 public slots: 38 int exec ();41 int exec (bool aShow = true); 39 42 40 43 protected: 41 42 44 void showEvent (QShowEvent *aEvent); 43 45 46 private: 47 /* Private member vars */ 44 48 bool mPolished; 49 QEventLoop *mEventLoop; 45 50 }; 46 51 47 52 #endif /* __QIDialog_h__ */ 53
Note:
See TracChangeset
for help on using the changeset viewer.