VirtualBox

Ignore:
Timestamp:
Aug 12, 2008 2:34:05 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34543
Message:

FE/Qt4: VBoxFilePathSelectorWidget: Disable methods altering the tooltips for predefined items.

File:
1 edited

Legend:

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

    r11229 r11361  
    3838public:
    3939
    40     enum SelectorMode
     40    enum Mode
    4141    {
    42         PathMode = 0,
    43         FileMode
     42        Mode_Folder = 0,
     43        Mode_File
    4444    };
    4545
     
    4747   ~VBoxFilePathSelectorWidget();
    4848
    49     void setMode (SelectorMode aMode);
    50     SelectorMode mode() const;
     49    void setMode (Mode aMode);
     50    Mode mode() const;
    5151
    5252    void setResetEnabled (bool aEnabled);
    5353    bool isResetEnabled () const;
    5454
     55#if 0
     56
     57    /// @todo enabling this requires to allow to customize the names of the
     58    /// "Other..." and "Reset" items too which is not yet done.
     59
    5560    void setNoneToolTip (const QString &aText);
    5661    void setSelectToolTip (const QString &aText);
    5762    void setResetToolTip (const QString &aText);
     63
     64#endif /* 0 */
    5865
    5966    bool isModified() const;
     
    8996    QFileIconProvider *mIconProvider;
    9097    QAction *mCopyAction;
    91     SelectorMode mMode;
     98    Mode mMode;
    9299    QString mPath;
    93100    QString mNoneStr;
Note: See TracChangeset for help on using the changeset viewer.

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