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/plugins/Output/shout | |
| 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/plugins/Output/shout')
| -rw-r--r-- | src/plugins/Output/shout/outputshoutfactory.cpp | 8 | ||||
| -rw-r--r-- | src/plugins/Output/shout/outputshoutfactory.h | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/Output/shout/outputshoutfactory.cpp b/src/plugins/Output/shout/outputshoutfactory.cpp index 80e875ec6..47937a7a9 100644 --- a/src/plugins/Output/shout/outputshoutfactory.cpp +++ b/src/plugins/Output/shout/outputshoutfactory.cpp @@ -33,14 +33,13 @@ OutputShoutFactory::OutputShoutFactory() m_connection = new ShoutClient(qApp); } -const OutputProperties OutputShoutFactory::properties() const +OutputProperties OutputShoutFactory::properties() const { OutputProperties properties; properties.name = tr("Icecast Plugin"); properties.hasAbout = true; properties.hasSettings = true; properties.shortName = "shout"; - properties.translation = QLatin1String(":/shout_plugin_"); return properties; } @@ -67,3 +66,8 @@ void OutputShoutFactory::showAbout(QWidget *parent) tr("Compiled against libshout-%1").arg(shout_version(0,0,0))+"\n"+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>")); } + +QString OutputShoutFactory::translation() const +{ + return QLatin1String(":/shout_plugin_"); +} diff --git a/src/plugins/Output/shout/outputshoutfactory.h b/src/plugins/Output/shout/outputshoutfactory.h index f1288cd4a..174d42807 100644 --- a/src/plugins/Output/shout/outputshoutfactory.h +++ b/src/plugins/Output/shout/outputshoutfactory.h @@ -37,11 +37,12 @@ Q_INTERFACES(OutputFactory) public: OutputShoutFactory(); - const OutputProperties properties() const; + OutputProperties properties() const; Output* create(); Volume *createVolume(); void showSettings(QWidget* parent); void showAbout(QWidget *parent); + QString translation() const; private: ShoutClient *m_connection; |
