Changeset 10167 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsParallel.h
- Timestamp:
- Jul 3, 2008 5:09:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsParallel.h
r9751 r10167 24 24 #define __VBoxVMSettingsParallel_h__ 25 25 26 #include "VBoxSettingsPage.h" 26 27 #include "VBoxVMSettingsParallel.gen.h" 27 #include "QIWithRetranslateUI.h"28 28 #include "COMDefs.h" 29 30 class VBoxVMSettingsDlg;31 29 32 30 class VBoxVMSettingsParallel : public QIWithRetranslateUI<QWidget>, … … 37 35 public: 38 36 39 VBoxVMSettingsParallel (QWidget *aParent = NULL);37 VBoxVMSettingsParallel(); 40 38 41 static void getFromMachine (const CMachine &aMachine, 42 QWidget *aPage, 43 VBoxVMSettingsDlg *aDlg, 44 const QString &aPath); 39 void getFromPort (const CParallelPort &aPort); 40 void putBackToPort(); 45 41 46 static void putBackToMachine();42 void setValidator (QIWidgetValidator *aVal); 47 43 48 static bool revalidate (QString &aWarning, QString &aTitle); 44 QWidget* setOrderAfter (QWidget *aAfter); 45 46 QString pageTitle() const; 47 bool isUserDefined(); 49 48 50 49 protected: … … 59 58 private: 60 59 61 void getFromPort (const CParallelPort &aPort);62 void putBackToPort();63 bool isUserDefined();60 QIWidgetValidator *mValidator; 61 CParallelPort mPort; 62 }; 64 63 65 QString pageTitle() const; 64 class VBoxVMSettingsParallelPage : public VBoxSettingsPage 65 { 66 Q_OBJECT; 66 67 67 static QTabWidget *mTabWidget; 68 public: 68 69 69 CParallelPort mPort; 70 VBoxVMSettingsParallelPage(); 71 72 protected: 73 74 void getFrom (const CMachine &aMachine); 75 void putBackTo(); 76 77 void setValidator (QIWidgetValidator *aVal); 78 bool revalidate (QString &aWarning, QString &aTitle); 79 80 void retranslateUi(); 81 82 private: 83 84 QIWidgetValidator *mValidator; 85 QTabWidget *mTabWidget; 70 86 }; 71 87
Note:
See TracChangeset
for help on using the changeset viewer.