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

katecmd.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           katecmd.h  -  description
00003                              -------------------
00004     begin                : Mon Feb 5 2001
00005     copyright            : (C) 2001 by Christoph Cullmann
00006                            (C) 2002 by Joseph Wenninger
00007     email                : crossfire@babylon2k.de
00008                            jowenn@kde.org
00009  
00010 ***************************************************************************/
00011 
00012 /***************************************************************************
00013  *                                                                         *
00014  *   This program is free software; you can redistribute it and/or modify  *
00015  *   it under the terms of the GNU General Public License as published by  *
00016  *   the Free Software Foundation; either version 2 of the License, or     *
00017  *   (at your option) any later version.                                   *
00018  *                                                                         *
00019  ***************************************************************************/
00020 
00021 #ifndef _KATE_CMD_H
00022 #define _KATE_CMD_H
00023 
00024 #include <qobject.h>
00025 #include <qstring.h>
00026 #include <qlist.h>
00027 #include <katedocument.h>
00028 
00029 class KateCmdParser
00030 {
00031   public:
00032     KateCmdParser (KateDocument *doc=0L);
00033     virtual ~KateCmdParser ();
00034 
00035     virtual bool execCmd (QString cmd=0L, KateView *view=0L)=0;
00036 
00037   private:
00038     KateDocument *myDoc;
00039 };
00040 
00041 class KateCmd : public QObject
00042 {
00043   Q_OBJECT
00044 
00045   public:
00046     KateCmd (KateDocument *doc=0L);
00047     ~KateCmd ();
00048 
00049     void execCmd (QString cmd=0L, KateView *view=0L);
00050 
00051   private:
00052     KateDocument *myDoc;
00053     QList<KateCmdParser> myParser;
00054 };
00055 
00056 #endif
00057 

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