// (c) 2004 Max Howell (max.howell@methylblue.com) // See COPYING file for licensing information #ifndef CODEINEACTIONS_H #define CODEINEACTIONS_H #include //baseclass #include //convenience namespace Codeine { KActionCollection *actionCollection(); ///defined in mainWindow.cpp KAction *action( const char* ); ///defined in mainWindow.cpp inline KToggleAction *toggleAction( const char *name ) { return (KToggleAction*)action( name ); } class PlayAction : public KToggleAction { public: PlayAction( QObject *receiver, const char *slot, KActionCollection* ); protected: virtual void setChecked( bool ); }; } #endif