~ubuntu-branches/ubuntu/karmic/notecase/karmic

« back to all changes in this revision

Viewing changes to src/FindReplaceInfo.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Vijay(Vijay)
  • Date: 2007-06-14 00:13:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070614001348-z9e2vbgtenb9nhoo
Tags: 1.5.6-0ubuntu1
* New Upstream release 
*  The libgnomevfs2-dev is also added to Build-Depends 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////
 
2
// NoteCase notes manager project <http://notecase.sf.net>
 
3
//
 
4
// This code is licensed under BSD license.See "license.txt" for more details.
 
5
//
 
6
// File: Window class for Find/Replace dialog
 
7
////////////////////////////////////////////////////////////////////////////
 
8
 
 
9
#include "FindReplaceInfo.h"
 
10
 
 
11
FindReplaceInfo::FindReplaceInfo()
 
12
{
 
13
        Clear();
 
14
}
 
15
 
 
16
FindReplaceInfo::~FindReplaceInfo()
 
17
{
 
18
}
 
19
 
 
20
void FindReplaceInfo::Clear()
 
21
{
 
22
        m_strFindText = "";
 
23
        m_bFindInTitle = true;
 
24
        m_bFindSensitive = true;
 
25
        m_bSearchKeywords = false,
 
26
        m_bFindDirectionDown = true;
 
27
        m_bFirstNodeSearched = false;
 
28
        m_nStartNodeRecursiveIdx = -1;
 
29
        m_nCurNodeRecursiveIdx = -1;
 
30
        m_nFindBufferPos = 0;
 
31
        m_nLastResultIdx = -1;
 
32
        m_nLastResultPos = -1;
 
33
}