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:
00029
SearchDCOPInterface(
SearchInterface *Parent,
const char *name );
00034
virtual ~SearchDCOPInterface();
00035 k_dcop:
00036
bool findFirstString(
QString text,
bool caseSensitive);
00037
bool findNextString(
QString text,
bool caseSensitive);
00038
bool findPreviousString(
QString text,
bool caseSensitive);
00039
bool findLastString(
QString text,
bool caseSensitive);
00040
bool findStringAt( uint row, uint col,
QString text,
bool caseSensitive);
00041
00042
bool findFirstRegExp(
QString regexp);
00043
bool findNextRegExp(
QString regexp);
00044
bool findPreviousRegExp(
QString regexp);
00045
bool findLastRegExp(
QString regexp);
00046
bool findRegExpAt( uint row, uint col,
QString regexp);
00047
00048 uint currentMatchLine();
00049 uint currentMatchCol();
00050 uint currentMatchLength();
00051
00052
private:
00053
SearchInterface *m_parent;
00054 uint m_currentcol;
00055 uint m_currentrow;
00056 uint m_currentmatchlen;
00057 };
00058 }
00059
#endif
This file is part of the documentation for interfaces Library Version 3.3.0.