Changeset 9089 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSharedFoldersSettings.h
- Timestamp:
- May 23, 2008 3:20:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSharedFoldersSettings.h
r8741 r9089 24 24 #define __VBoxSharedFoldersSettings_h__ 25 25 26 #include <VBoxSharedFoldersSettings.gen.h> 26 #include "VBoxSharedFoldersSettings.gen.h" 27 #include "QIWithRetranslateUI.h" 27 28 28 29 /* Qt includes */ … … 46 47 typedef QList<SFolderName> SFoldersNameList; 47 48 48 class VBoxSharedFoldersSettings : public QWidget, public Ui::VBoxSharedFoldersSettings 49 class VBoxSharedFoldersSettings : public QIWithRetranslateUI<QWidget>, 50 public Ui::VBoxSharedFoldersSettings 49 51 { 50 52 Q_OBJECT; … … 63 65 void putBackToMachine(); 64 66 void putBackToConsole(); 67 68 protected: 69 70 void retranslateUi(); 65 71 66 72 private slots: … … 103 109 }; 104 110 105 class VBoxAddSFDialog : public Q Dialog111 class VBoxAddSFDialog : public QIWithRetranslateUI<QDialog> 106 112 { 107 113 Q_OBJECT; … … 131 137 void setWritable (bool aWritable); 132 138 139 protected: 140 141 void retranslateUi(); 142 133 143 private slots: 134 144 … … 140 150 void showEvent (QShowEvent *aEvent); 141 151 142 QIDialogButtonBox *mButtonBox; 143 QLineEdit *mLePath; 144 QLineEdit *mLeName; 145 QCheckBox *mCbPermanent; 146 QCheckBox *mCbReadonly; 147 SFoldersNameList mUsedNames; 152 VBoxAddSFDialog::DialogType mType; 153 QIDialogButtonBox *mButtonBox; 154 QLabel *mLbPath; 155 QLineEdit *mLePath; 156 QToolButton *mTbPath; 157 QLabel *mLbName; 158 QLineEdit *mLeName; 159 QCheckBox *mCbPermanent; 160 QCheckBox *mCbReadonly; 161 SFoldersNameList mUsedNames; 148 162 }; 149 163
Note:
See TracChangeset
for help on using the changeset viewer.