summaryrefslogtreecommitdiffstats
path: root/src/app/actions.h
blob: 45b975edd5aa5d150fb8e736329123f0456bcfa5 (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 (max.howell@methylblue.com)
// See COPYING file for licensing information

#ifndef CODEINEACTIONS_H
#define CODEINEACTIONS_H

#include <tdeactionclasses.h>    //baseclass
#include <tdeactioncollection.h> //convenience

namespace Codeine
{
   TDEActionCollection *actionCollection(); ///defined in mainWindow.cpp
   TDEAction *action( const char* ); ///defined in mainWindow.cpp
   inline TDEToggleAction *toggleAction( const char *name ) { return (TDEToggleAction*)action( name ); }

   class PlayAction : public TDEToggleAction
   {
   public:
      PlayAction( TQObject *receiver, const char *slot, TDEActionCollection* );

   protected:
      virtual void setChecked( bool );
   };
}

#endif