aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/uifactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
commit2111b82728e37a649539076ee4e9fc83103f196b (patch)
tree502932f709108cd76ae393a4904e460c5dd57d0a /src/qmmpui/uifactory.h
parent6ca203336305da1b2f8b45e4dca647153da49e3c (diff)
downloadqmmp-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/uifactory.h')
-rw-r--r--src/qmmpui/uifactory.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qmmpui/uifactory.h b/src/qmmpui/uifactory.h
index 9b4acad39..88a1f9af3 100644
--- a/src/qmmpui/uifactory.h
+++ b/src/qmmpui/uifactory.h
@@ -43,7 +43,6 @@ public:
}
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 hasAbout; /*!< Should be \b true if plugin has about dialog, otherwise returns \b false */
};
/*! @brief User interface plugin interface.
@@ -59,7 +58,7 @@ public:
/*!
* Returns user interface plugin properties.
*/
- virtual const UiProperties properties() const = 0;
+ virtual UiProperties properties() const = 0;
/*!
* Creates user interface instance.
*/
@@ -69,6 +68,10 @@ public:
* @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(UiFactory, "UiFactory/1.0")