aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/filedialogfactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-03-03 18:44:34 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-03-03 18:44:34 +0000
commite0c3dcb6f20ba542bcae375176ae02205591e692 (patch)
treee03022992324878ab2cdd72d9d5f5d89d0277743 /src/qmmpui/filedialogfactory.h
parent4e8071d478eeb2b0dc4b28616e9ef8419896b846 (diff)
downloadqmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.tar.gz
qmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.tar.bz2
qmmp-e0c3dcb6f20ba542bcae375176ae02205591e692.zip
changed properties api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8744 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/filedialogfactory.h')
-rw-r--r--src/qmmpui/filedialogfactory.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/qmmpui/filedialogfactory.h b/src/qmmpui/filedialogfactory.h
index baf40451c..1354d68e2 100644
--- a/src/qmmpui/filedialogfactory.h
+++ b/src/qmmpui/filedialogfactory.h
@@ -27,24 +27,15 @@ class FileDialog;
class QWidget;
class QString;
-/*! @brief Helper class to store file dialog plugin properties.
+/*! @brief Structure to store file dialog plugin properties.
*/
-class FileDialogProperties
+struct FileDialogProperties
{
-public:
- /*!
- * Constructor
- */
- FileDialogProperties()
- {
- hasAbout = false;
- modal = true;
- }
- bool hasAbout; /*!< Should be \b true if the file dialog plugin has about dialog,
+ bool hasAbout = false;/*!< Should be \b true if the file dialog plugin has about dialog,
* otherwise should be \b false */
QString name; /*!< File dialog plugin full name */
QString shortName; /*!< File dialog short name for internal usage */
- bool modal; /*!< Should be \b true if the file dialog doesn't support nonmodal mode,
+ bool modal = false; /*!< Should be \b true if the file dialog doesn't support nonmodal mode,
* otherwise should be \b false */
};
/*! @brief File dialog plugin interface.