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.
tdebase/khotkeys/shared/khotkeysglobal.h

60 lines
1.3 KiB

/****************************************************************************
KHotKeys
Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
Distributed under the terms of the GNU General Public License version 2.
****************************************************************************/
#ifndef _KHOTKEYSGLOBAL_H_
#define _KHOTKEYSGLOBAL_H_
#define KHOTKEYS_VERSION "2.1"
#define KHOTKEYS_CONFIG_FILE "khotkeysrc"
//#ifndef NDEBUG
//#define KHOTKEYS_DEBUG
//#endif
#include <tqstring.h>
#include <klocale.h>
class TDEConfig;
class TQObject;
namespace KHotKeys
{
class Kbd;
class Windows;
class Action_data_group;
extern Kbd* keyboard_handler;
extern Windows* windows_handler;
#define KHOTKEYS_DISABLE_COPY( cls ) private: cls( const cls& ); cls& operator=( const cls& )
// CHECKME hmms :(
KDE_EXPORT bool khotkeys_active();
KDE_EXPORT void khotkeys_set_active( bool active_P );
TQString get_menu_entry_from_path( const TQString& path_P );
KDE_EXPORT void init_global_data( bool active_P, TQObject* owner_P );
const char* const MENU_EDITOR_ENTRIES_GROUP_NAME = I18N_NOOP( "Menu Editor entries" );
KDE_EXPORT bool haveArts();
KDE_EXPORT void disableArts();
//***************************************************************************
// Inline
//***************************************************************************
} // namespace KHotKeys
#endif