aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/filedialogfactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-09-03 19:09:07 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-09-03 19:09:07 +0000
commitc88e5e9cf4c7526609834993e4f5dd9f5ae2c931 (patch)
tree2d6fc5edf75542dc31be580fdec1966311a9404b /src/qmmpui/filedialogfactory.h
parent37b7bcea340dcde81e95fb55a99d9e89967ebafb (diff)
downloadqmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.tar.gz
qmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.tar.bz2
qmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.zip
added file dialog plugin path; file dialog api cleanup
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2929 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/filedialogfactory.h')
-rw-r--r--src/qmmpui/filedialogfactory.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/qmmpui/filedialogfactory.h b/src/qmmpui/filedialogfactory.h
index deb51ac74..9a1334e32 100644
--- a/src/qmmpui/filedialogfactory.h
+++ b/src/qmmpui/filedialogfactory.h
@@ -26,7 +26,7 @@ class FileDialog;
class QWidget;
class QString;
-/*! @brief Helper class to store file dialog plugin properies.
+/*! @brief Helper class to store file dialog plugin properties.
*/
class FileDialogProperties
{
@@ -37,11 +37,14 @@ public:
FileDialogProperties()
{
hasAbout = false;
+ modal = true;
}
- bool hasAbout; /*!< 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 hasAbout; /*!< 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,
+ * otherwise should be \b false */
};
/*! @brief File dialog plugin interface.
* @author Vladimir Kuznetsov <vovanec@gmail.com>