VirtualBox

Ignore:
Timestamp:
May 23, 2008 3:20:30 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Updated the left over designer classes to use the new QIWithRetranslateUI base class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxSharedFoldersSettings.h

    r8741 r9089  
    2424#define __VBoxSharedFoldersSettings_h__
    2525
    26 #include <VBoxSharedFoldersSettings.gen.h>
     26#include "VBoxSharedFoldersSettings.gen.h"
     27#include "QIWithRetranslateUI.h"
    2728
    2829/* Qt includes */
     
    4647typedef QList<SFolderName> SFoldersNameList;
    4748
    48 class VBoxSharedFoldersSettings : public QWidget, public Ui::VBoxSharedFoldersSettings
     49class VBoxSharedFoldersSettings : public QIWithRetranslateUI<QWidget>,
     50                                  public Ui::VBoxSharedFoldersSettings
    4951{
    5052    Q_OBJECT;
     
    6365    void putBackToMachine();
    6466    void putBackToConsole();
     67
     68protected:
     69
     70    void retranslateUi();
    6571
    6672private slots:
     
    103109};
    104110
    105 class VBoxAddSFDialog : public QDialog
     111class VBoxAddSFDialog : public QIWithRetranslateUI<QDialog>
    106112{
    107113    Q_OBJECT;
     
    131137    void setWritable (bool aWritable);
    132138
     139protected:
     140
     141    void retranslateUi();
     142
    133143private slots:
    134144
     
    140150    void showEvent (QShowEvent *aEvent);
    141151
    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;
    148162};
    149163
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette