Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KeycfgReader.h

Go to the documentation of this file.
00001 #ifndef _KEYCFG_READER_H_
00002 #define _KEYCFG_READER_H_
00003 
00004 #include <stdlib.h>
00005 #include <qxml.h>
00006 #include <qstring.h>
00007 #include <qdir.h>
00008 #include "KeycfgHandler.h"
00009 #include "KeycfgErrorHandler.h"
00010 #include "KeyNames.h"
00011 #include "ConfigEx.h"
00012 
00013 class KeycfgReader
00014 {
00015 public:
00016         KeycfgReader();
00017         ~KeycfgReader();
00018 
00019         bool load();
00020         bool load(const QString& path);
00021 
00022         inline void setKeyModifiers(KeyModifiers* mod)
00023         {
00024                 m_pModifiers = mod;
00025         }
00026         inline void setKeyMappings(KeyMappings* map)
00027         {
00028                 m_pMappings = map;
00029         }
00030         inline void setKeyExtensions(KeyExtensions* ext)
00031         {
00032                 m_pExtensions = ext;
00033         }
00034         inline void setKeyRepeater(KeyRepeater* rep)
00035         {
00036                 m_pRepeater = rep;
00037         }
00038 
00039 private:
00040         KeyModifiers* m_pModifiers;
00041         KeyMappings* m_pMappings;
00042         KeyExtensions* m_pExtensions;
00043         KeyRepeater* m_pRepeater;
00044 };
00045 
00046 #endif /* _KEYCFG_READER_H_ */

Generated on Sat Nov 5 16:16:42 2005 for OPIE by  doxygen 1.4.2