katecmd.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef _KATE_CMD_H
00020 #define _KATE_CMD_H
00021 
00022 #include "document.h"
00023 
00024 #include <qdict.h>
00025 #include <qstringlist.h>
00026 
00027 class KateCmd
00028 {
00029   private:
00030     KateCmd ();
00031     
00032   public:
00033     ~KateCmd ();
00034 
00035     static KateCmd *self ();
00036 
00037     bool registerCommand (Kate::Command *cmd);
00038     bool unregisterCommand (Kate::Command *cmd);
00039     Kate::Command *queryCommand (const QString &cmd);
00040 
00041     QStringList cmds ();
00042 
00043   private:
00044     static KateCmd *s_self;
00045     QDict<Kate::Command> m_dict;
00046     QStringList m_cmds;
00047 };
00048 
00049 #endif
 
This file is part of the documentation for kate Library Version 3.2.0.