Nemiver
0.3
src
persp
dbgperspective
nmv-find-text-dialog.h
Go to the documentation of this file.
1
//Author: Dodji Seketeli
2
/*
3
*This file is part of the Nemiver project
4
*
5
*Nemiver is free software; you can redistribute
6
*it and/or modify it under the terms of
7
*the GNU General Public License as published by the
8
*Free Software Foundation; either version 2,
9
*or (at your option) any later version.
10
*
11
*Nemiver is distributed in the hope that it will
12
*be useful, but WITHOUT ANY WARRANTY;
13
*without even the implied warranty of
14
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*See the GNU General Public License for more details.
16
*
17
*You should have received a copy of the
18
*GNU General Public License along with Nemiver;
19
*see the file COPYING.
20
*If not, write to the Free Software Foundation,
21
*Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
*
23
*See COPYRIGHT file copyright information.
24
*/
25
#ifndef __NMV_FIND_TEXT_DIALOG_H__
26
#define __NMV_FIND_TEXT_DIALOG_H__
27
28
#include "
nmv-dialog.h
"
29
30
NEMIVER_BEGIN_NAMESPACE (
nemiver
)
31
32
class
SourceEditor;
33
class
FindTextDialog;
34
using
nemiver::common::SafePtr
;
35
36
typedef
SafePtr<FindTextDialog, common::ObjectRef, common::ObjectUnref>
FindTextDialogSafePtr
;
37
38
class
FindTextDialog
:
public
Dialog
{
39
class
Priv;
40
SafePtr<Priv>
m_priv;
41
42
public
:
43
44
FindTextDialog
(Gtk::Window &a_parent,
45
const
UString
&a_resource_root_path);
46
virtual
~
FindTextDialog
();
47
48
Gtk::TextIter& get_search_match_start ()
const
;
49
Gtk::TextIter& get_search_match_end ()
const
;
50
51
void
get_search_string (
UString
&a_search_str)
const
;
52
void
set_search_string (
const
UString
&a_search_str);
53
54
bool
get_match_case ()
const
;
55
void
set_match_case (
bool
a_flag);
56
57
bool
get_match_entire_word ()
const
;
58
void
set_match_entire_word (
bool
a_flag);
59
60
bool
get_wrap_around ()
const
;
61
void
set_wrap_around (
bool
a_flag);
62
63
bool
get_search_backward ()
const
;
64
void
set_search_backward (
bool
a_flag);
65
66
bool
clear_selection_before_search ()
const
;
67
void
clear_selection_before_search (
bool
);
68
};
//end FindTextDialog
69
70
NEMIVER_END_NAMESPACE (
nemiver
)
71
72
#endif //__NMV_FIND_TEXT_DIALOG_H__
73
nemiver::FindTextDialog
Definition:
nmv-find-text-dialog.h:38
nemiver
Definition:
nmv-address.h:31
nemiver::common::UString
Definition:
nmv-ustring.h:45
nemiver::Dialog
Definition:
nmv-dialog.h:50
nemiver::common::SafePtr
Definition:
nmv-safe-ptr.h:71
nemiver::FindTextDialogSafePtr
SafePtr< FindTextDialog, common::ObjectRef, common::ObjectUnref > FindTextDialogSafePtr
Definition:
nmv-find-text-dialog.h:36
nmv-dialog.h
Generated by
1.8.17