aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/general.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/general.cpp')
-rw-r--r--src/qmmpui/general.cpp46
1 files changed, 4 insertions, 42 deletions
diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp
index 81edc9460..a9791731b 100644
--- a/src/qmmpui/general.cpp
+++ b/src/qmmpui/general.cpp
@@ -63,7 +63,9 @@ static void checkFactories()
General::General(QObject *parent)
: QObject(parent)
-{}
+{
+ Q_UNUSED(parent);
+}
General::~General()
@@ -82,7 +84,7 @@ QList<GeneralFactory*> *General::generalFactories()
return factories;
}
-void General::updateVolume(int left, int right)
+void General::setVolume(int left, int right)
{}
QStringList General::generalFiles()
@@ -122,43 +124,3 @@ bool General::isEnabled(GeneralFactory* factory)
return genList.contains(name);
}
-void General::play()
-{
- emit commandCalled(Play);
-}
-
-void General::pause()
-{
- emit commandCalled(Pause);
-}
-
-void General::stop()
-{
- emit commandCalled(Stop);
-}
-
-void General::next()
-{
- emit commandCalled(Next);
-}
-
-void General::previous()
-{
- emit commandCalled(Previous);
-}
-
-void General::exit()
-{
- emit commandCalled(Exit);
-}
-
-void General::toggleVisibility()
-{
- emit commandCalled(ToggleVisibility);
-}
-
-void General::setVolume(int left, int right)
-{
- emit volumeChanged(left, right);
-}
-