1
/***************************************************************************
2
* Copyright (C) 2005 by Adam Treat *
5
* Copyright (C) 2004 by Scott Wheeler *
8
* This program is free software; you can redistribute it and/or modify *
9
* it under the terms of the GNU General Public License as published by *
10
* the Free Software Foundation; either version 2 of the License, or *
11
* (at your option) any later version. *
13
***************************************************************************/
15
#include <kactioncollection.h>
18
#include "actioncollection.h"
20
namespace ActionCollection
22
KActionCollection *actions()
24
static KActionCollection * a =
25
new KActionCollection( static_cast<QWidget *>( 0 ), "DataKiosk Action Collection" );
29
KAction *action( const char *key )
32
KAction * a = actions() ->action( key );
34
kdWarning( 65432 ) << "KAction \"" << key << "\" is not defined yet." << endl;
38
return actions() ->action( key );