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

katecmds.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           katecmds.h  -  description
00003                              -------------------
00004     copyright            : (C) 2001 by The Kate Team
00005                            (C) 2002 by Joseph Wenninger
00006     email                : kwrite-devel@kde.org
00007                            jowenn@kde.org
00008 
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   (at your option) any later version.                                   *
00017  *                                                                         *
00018  ***************************************************************************/
00019 #ifndef _KATECMDS_H
00020 #define _KATECMDS_H
00021 
00022 #include "katecmd.h"
00023 
00024 
00031 namespace KateCommands
00032 {
00033 
00037 class InsertTime : public KateCmdParser
00038 {
00039 public:
00040         InsertTime(KateDocument *doc=0) : KateCmdParser(doc) { }
00041 
00042         bool execCmd(QString cmd=0, KateView *view=0);
00043 };
00044 
00055 class SedReplace : public KateCmdParser
00056 {
00057 public:
00058         SedReplace(KateDocument *doc=0) : KateCmdParser(doc) { }
00059 
00060         bool execCmd(QString cmd=0, KateView *view=0);
00061 private:
00062         static QString sedMagic(QString textLine, QString find, QString replace, bool noCase, bool repeat);
00063 };
00064 
00073 class Character : public KateCmdParser
00074 {
00075 public:
00076         Character(KateDocument *doc=0) : KateCmdParser(doc) { }
00077 
00078         bool execCmd(QString cmd=0, KateView *view=0);
00079 };
00080 
00081 class Fifo : public KateCmdParser
00082 {
00083 public:
00084         Fifo(KateDocument *doc=0) : KateCmdParser(doc) { }
00085 
00086         bool execCmd(QString cmd=0, KateView *view=0);
00087 };
00088 
00089 }
00090 
00091 // vim: noet
00092 
00093 #endif
00094 

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