aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/generalfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/generalfactory.h')
-rw-r--r--src/qmmpui/generalfactory.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qmmpui/generalfactory.h b/src/qmmpui/generalfactory.h
index 5075f60d7..7bd2dc5a2 100644
--- a/src/qmmpui/generalfactory.h
+++ b/src/qmmpui/generalfactory.h
@@ -45,7 +45,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 */
bool hasSettings; /*!< Should be \b true if plugin has settings dialog, otherwise returns \b false */
bool visibilityControl; /*!< Should be \b true if plugin can show/hide main window of the player,
@@ -64,7 +63,7 @@ public:
/*!
* Returns general plugin properties.
*/
- virtual const GeneralProperties properties() const = 0;
+ virtual GeneralProperties properties() const = 0;
/*!
* Creates object of the General class.
*/
@@ -80,6 +79,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(GeneralFactory, "GeneralFactory/1.0")