diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 14:38:08 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 14:38:08 +0000 |
| commit | 0006966c0f307ec7dff51130ce26bbe3c7061418 (patch) | |
| tree | a9a760770de8b91c543e1308392bf2ec9e926a58 /src/qmmpui/filedialogfactory.h | |
| parent | 20967c016b4c63b75cb0af2b0f3ccc006addd6df (diff) | |
| download | qmmp-0006966c0f307ec7dff51130ce26bbe3c7061418.tar.gz qmmp-0006966c0f307ec7dff51130ce26bbe3c7061418.tar.bz2 qmmp-0006966c0f307ec7dff51130ce26bbe3c7061418.zip | |
changed translation api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8196 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/filedialogfactory.h')
| -rw-r--r-- | src/qmmpui/filedialogfactory.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/qmmpui/filedialogfactory.h b/src/qmmpui/filedialogfactory.h index fd416f1e1..5174a8f1b 100644 --- a/src/qmmpui/filedialogfactory.h +++ b/src/qmmpui/filedialogfactory.h @@ -23,7 +23,6 @@ #include "qmmpui_export.h" class QObject; -class QTranslator; class FileDialog; class QWidget; class QString; @@ -41,12 +40,13 @@ public: 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 modal; /*!< Should be \b true if the file dialog doesn't support nonmodal mode, - * otherwise should be \b false */ + 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 */ + QString translation; /*!< Translation file path without locale code and extension */ + 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> @@ -71,11 +71,6 @@ public: * @param parent Parent widget. */ virtual void showAbout(QWidget *parent) = 0; - /*! - * Creates QTranslator object of the system locale. Should return 0 if translation doesn't exist. - * @param parent Parent object. - */ - virtual QTranslator *createTranslator(QObject *parent) = 0; }; Q_DECLARE_INTERFACE(FileDialogFactory, "FileDialogFactory/1.0") |
