Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

stdaction.h

Go to the documentation of this file.
00001 #ifndef _NOATUNSTDACTION_H_
00002 #define _NOATUNSTDACTION_H_
00003 
00004 #include <kaction.h>
00005 
00006 class KPopupMenu;
00007 
00008 namespace NoatunStdAction
00009 {
00010 
00011 class PlayAction : public KAction
00012 {
00013 Q_OBJECT
00014 public:
00015         PlayAction(QObject *parent, const char *name);
00016 private slots:
00017         void playing();
00018         void notplaying();
00019 };
00020 
00021 class PlaylistAction : public KToggleAction
00022 {
00023 Q_OBJECT
00024 public:
00025         PlaylistAction(QObject *parent, const char *name);
00026 private slots:
00027         void shown();
00028         void hidden();
00029 };
00030 
00031 KAction *effects(QObject *parent = 0, const char *name = 0);
00032 KAction *equalizer(QObject *parent = 0, const char *name = 0);
00033 
00034 KAction *back(QObject *parent = 0, const char *name = 0);
00035 KAction *stop(QObject *parent = 0, const char *name = 0);
00036 KAction *playpause(QObject *parent = 0, const char *name = 0);
00037 KAction *forward(QObject *parent = 0, const char *name = 0);
00038 KToggleAction *playlist(QObject *parent = 0, const char *name = 0);
00039 KAction *loop(QObject *parent = 0, const char *name = 0);
00040 KAction *play(QObject *parent = 0, const char *name = 0);
00041 KAction *pause(QObject *parent = 0, const char *name = 0);
00042 
00043 class ContextMenu
00044 {
00045 public:
00046         static KPopupMenu *createContextMenu(QWidget *p);
00047 
00054         static KPopupMenu *contextMenu();
00055 
00059         static void showContextMenu(const QPoint &);
00060 
00064         static void showContextMenu();
00065 private:
00066         static KPopupMenu *mContextMenu;
00067 };
00068 
00069 }
00070 
00071 #endif

Generated on Sat May 24 15:10:28 2003 for Noatun by doxygen1.3-rc3