[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdemultimedia/noatun
From: Stefan Gehn <mETz81 () web ! de>
Date: 2007-01-31 22:09:10
Message-ID: 1170281350.571306.8048.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 628906 by metz:
- Random apidocs fixes
- remove unused effects.h
A Mainpage.dox
M +6 -4 library/Mainpage.dox
D library/noatun/effects.h
M +3 -3 library/noatun/stdaction.h
M +18 -7 library/stdaction.cpp
--- trunk/KDE/kdemultimedia/noatun/library/Mainpage.dox #628905:628906
@@ -1,6 +1,8 @@
/**
- * \mainpage The Noatun Library
+ * @mainpage Noatun Library Documentation
*
- * Some introduction in here would be cool, eh? :)
- *
- */
+ * If you're interested in writing plugins you should probably
+ * check out Noatun::Interface and its subclasses.
+ **/
+// DOXYGEN_PROJECTNAME = libnoatun
+// DOXYGEN_EXCLUDE = noatuntags
--- trunk/KDE/kdemultimedia/noatun/library/noatun/stdaction.h #628905:628906
@@ -76,8 +76,8 @@
/**
* actionmenu that holds all vis-plugins for easier enabling/disabling
* @author Stefan Gehn
- */
-/*
+ **/
+#if 0
class NOATUN_EXPORT VisActionMenu : public KActionMenu
{
Q_OBJECT
@@ -90,7 +90,7 @@
QMap<int, QString>mVisPluginMap;
Global *mGlobal;
};
-*/
+#endif
/**
--- trunk/KDE/kdemultimedia/noatun/library/stdaction.cpp #628905:628906
@@ -227,19 +227,18 @@
#endif
+// -----------------------------------------------------------------------------
-/**
- * A namespace to have all of noatun's standard actions
- * This is treated like KStandardAction
- **/
+
namespace StdAction
{
+/// @internal
static void setupStdAction(KAction *a, const char *name)
{
- a->setObjectName(name);
- if (KActionCollection *collection = qobject_cast<KActionCollection *>(a->parent()))
- collection->addAction(a->objectName(), a);
+ a->setObjectName(name);
+ if (KActionCollection *coll = qobject_cast<KActionCollection *>(a->parent()))
+ coll->addAction(a->objectName(), a);
}
@@ -250,6 +249,7 @@
return a;
}
+
KAction *effects(Global */*glob*/, QObject *parent, const char *name)
{
KAction *a = new KAction(parent);
@@ -260,6 +260,7 @@
return a;
}
+
KAction *equalizer(Global */*glob*/, QObject *parent, const char *name)
{
KAction *a = new KAction(parent);
@@ -270,6 +271,7 @@
return a;
}
+
KAction *back(Global *nInstance, QObject *parent, const char *name)
{
KAction *a = new KAction(parent);
@@ -280,6 +282,7 @@
return a;
}
+
KAction *stop(Global *glob, QObject *parent, const char *name)
{
StereoButtonAction *a = new StereoButtonAction(i18n("Stop"), "player_stop",
@@ -295,6 +298,7 @@
return a;
}
+
KAction *forward(Global *glob, QObject *parent, const char *name)
{
KAction *a = new KAction(parent);
@@ -305,6 +309,7 @@
return a;
}
+
KAction *playpause(Global *glob, QObject *parent, const char *name)
{
KAction *a = new PlayPauseAction(glob, parent, name);
@@ -312,6 +317,7 @@
return a;
}
+
KAction *play(Global *glob, QObject *parent, const char *name)
{
StereoButtonAction *a = new StereoButtonAction(i18n("&Play"),
@@ -327,6 +333,7 @@
return a;
}
+
KAction *pause(Global *glob, QObject *parent, const char *name)
{
StereoButtonAction *a = new StereoButtonAction(i18n("&Pause"),
@@ -342,6 +349,7 @@
return a;
}
+
LoopActionMenu *loop(Global *glob, QObject *parent, const char *name)
{
LoopActionMenu *a = new LoopActionMenu(glob, parent, name);
@@ -349,6 +357,7 @@
return a;
}
+
QAction *quit(Global *glob, QObject *parent, const char *name)
{
KAction *a = KStandardAction::quit(glob, SLOT(quit()), parent);
@@ -356,6 +365,7 @@
return a;
}
+
QAction *preferences(Global *glob, QObject *parent, const char *name)
{
KAction *a = KStandardAction::preferences(glob, SLOT(openPreferencesDialog()), parent);
@@ -363,6 +373,7 @@
return a;
}
+
#if 0
VisActionMenu *visualizations(Global *glob, QObject *parent, const char *name)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic