interfaces Library API Documentation

searchdcopinterface.h

00001 #ifndef SEARCH_DCOP_INTERFACE_H
00002 #define SEARCH_DCOP_INTERFACE_H
00003 
00004 #include <dcopobject.h>
00005 #include <dcopref.h>
00006 #include <qstringlist.h>
00007 #include <qcstring.h>
00008 
00009 namespace KTextEditor
00010 {
00011     class SearchInterface;
00018     class SearchDCOPInterface : virtual public DCOPObject
00019     {
00020     K_DCOP
00021 
00022     public:
00028         SearchDCOPInterface( SearchInterface *Parent, const char *name );
00033         virtual ~SearchDCOPInterface();
00034     k_dcop:
00035         bool findFirstString(QString text, bool caseSensitive);
00036         bool findNextString(QString text, bool caseSensitive);
00037         bool findPreviousString( QString text, bool caseSensitive);
00038         bool findLastString(QString text, bool caseSensitive);
00039         bool findStringAt( uint  row, uint  col, QString text, bool caseSensitive);
00040 
00041         bool findFirstRegExp( QString regexp);
00042         bool findNextRegExp( QString regexp);
00043         bool findPreviousRegExp( QString regexp);
00044         bool findLastRegExp( QString regexp);
00045         bool findRegExpAt( uint  row, uint  col, QString regexp);
00046 
00047         uint currentMatchLine();
00048         uint currentMatchCol();
00049         uint currentMatchLength();
00050 
00051     private:
00052         SearchInterface *m_parent;
00053         uint  m_currentcol;
00054         uint  m_currentrow;
00055         uint  m_currentmatchlen;
00056     };
00057 }
00058 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:16:14 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001