From 0006966c0f307ec7dff51130ce26bbe3c7061418 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 21 Jul 2018 14:38:08 +0000 Subject: changed translation api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8196 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uifactory.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/qmmpui/uifactory.h') diff --git a/src/qmmpui/uifactory.h b/src/qmmpui/uifactory.h index caabde506..9b4acad39 100644 --- a/src/qmmpui/uifactory.h +++ b/src/qmmpui/uifactory.h @@ -23,7 +23,6 @@ #include "qmmpui_export.h" class QObject; -class QTranslator; class QDialog; class QString; class QWidget; @@ -44,6 +43,7 @@ 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. @@ -69,11 +69,6 @@ public: * @param parent Parent widget. */ virtual void showAbout(QWidget *parent) = 0; - /*! - * Creates QTranslator object of the system locale. Should return \b 0 if translation doesn't exist. - * @param parent Parent object. - */ - virtual QTranslator *createTranslator(QObject *parent) = 0; }; Q_DECLARE_INTERFACE(UiFactory, "UiFactory/1.0") -- cgit v1.2.3-13-gbd6f