diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
| commit | 2111b82728e37a649539076ee4e9fc83103f196b (patch) | |
| tree | 502932f709108cd76ae393a4904e460c5dd57d0a /src/qmmpui/filedialogfactory.h | |
| parent | 6ca203336305da1b2f8b45e4dca647153da49e3c (diff) | |
| download | qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.gz qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.bz2 qmmp-2111b82728e37a649539076ee4e9fc83103f196b.zip | |
changed translation api again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/filedialogfactory.h')
| -rw-r--r-- | src/qmmpui/filedialogfactory.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qmmpui/filedialogfactory.h b/src/qmmpui/filedialogfactory.h index 5174a8f1b..32d5bf031 100644 --- a/src/qmmpui/filedialogfactory.h +++ b/src/qmmpui/filedialogfactory.h @@ -44,7 +44,6 @@ public: * 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 */ }; @@ -65,12 +64,16 @@ public: /*! * Returns file dialog plugin properties. */ - virtual const FileDialogProperties properties() const = 0; + virtual FileDialogProperties properties() const = 0; /*! * Shows about dialog. * @param parent Parent widget. */ virtual void showAbout(QWidget *parent) = 0; + /*! + * Returns translation file path without locale code and extension + */ + virtual QString translation() const = 0; }; Q_DECLARE_INTERFACE(FileDialogFactory, "FileDialogFactory/1.0") |
