|
a/src/qtgui/ssearch_w.h |
|
b/src/qtgui/ssearch_w.h |
1 |
/* @(#$Id: ssearch_w.h,v 1.5 2006-12-04 09:56:27 dockes Exp $ (C) 2006 J.F.Dockes */
|
1 |
/* @(#$Id: ssearch_w.h,v 1.6 2007-10-05 08:03:01 dockes Exp $ (C) 2006 J.F.Dockes */
|
2 |
/*
|
2 |
/*
|
3 |
* This program is free software; you can redistribute it and/or modify
|
3 |
* This program is free software; you can redistribute it and/or modify
|
4 |
* it under the terms of the GNU General Public License as published by
|
4 |
* it under the terms of the GNU General Public License as published by
|
5 |
* the Free Software Foundation; either version 2 of the License, or
|
5 |
* the Free Software Foundation; either version 2 of the License, or
|
6 |
* (at your option) any later version.
|
6 |
* (at your option) any later version.
|
|
... |
|
... |
46 |
class SSearch : public DummySSearchBase
|
46 |
class SSearch : public DummySSearchBase
|
47 |
{
|
47 |
{
|
48 |
Q_OBJECT
|
48 |
Q_OBJECT
|
49 |
|
49 |
|
50 |
public:
|
50 |
public:
|
|
|
51 |
enum SSearchType {SST_ANY = 0, SST_ALL = 1, SST_FNM = 2, SST_LANG = 3};
|
|
|
52 |
|
51 |
SSearch(QWidget* parent = 0, const char * = 0)
|
53 |
SSearch(QWidget* parent = 0, const char * = 0)
|
52 |
: DummySSearchBase(parent)
|
54 |
: DummySSearchBase(parent)
|
53 |
{
|
55 |
{
|
54 |
init();
|
56 |
init();
|
55 |
}
|
57 |
}
|
|
... |
|
... |
59 |
virtual void setAnyTermMode();
|
61 |
virtual void setAnyTermMode();
|
60 |
virtual void completion();
|
62 |
virtual void completion();
|
61 |
virtual bool eventFilter(QObject *target, QEvent *event);
|
63 |
virtual bool eventFilter(QObject *target, QEvent *event);
|
62 |
|
64 |
|
63 |
public slots:
|
65 |
public slots:
|
64 |
virtual void searchTextChanged( const QString & text );
|
66 |
virtual void searchTextChanged(const QString & text);
|
|
|
67 |
virtual void setSearchString(const QString& text);
|
65 |
virtual void startSimpleSearch();
|
68 |
virtual void startSimpleSearch();
|
66 |
|
69 |
|
67 |
signals:
|
70 |
signals:
|
68 |
void startSearch(RefCntr<Rcl::SearchData>);
|
71 |
void startSearch(RefCntr<Rcl::SearchData>);
|
69 |
void clearSearch();
|
72 |
void clearSearch();
|