You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
codeine/src/app/actions.h

27 lines
727 B

// (c) 2004 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information
#ifndef CODEINEACTIONS_H
#define CODEINEACTIONS_H
#include <kactionclasses.h> //baseclass
#include <kactioncollection.h> //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