From c88e5e9cf4c7526609834993e4f5dd9f5ae2c931 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 3 Sep 2012 19:09:07 +0000 Subject: 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 --- src/qmmpui/filedialogfactory.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/qmmpui/filedialogfactory.h') 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 -- cgit v1.2.3-13-gbd6f