blob: 4f2f58943ea763245bd2991847e25bb9049ef868 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// (c) 2004 Max Howell ([email protected])
// 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
|