Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CNewSearchDlg Class Reference

#include <DlgNewSearch.h>

Inheritance diagram for CNewSearchDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_NEW_SEARCH }

Public Member Functions

 CNewSearchDlg (CWnd *pParent=NULL, CQuerySearch *pSearch=NULL, BOOL bLocal=FALSE, BOOL bAgain=FALSE)
virtual ~CNewSearchDlg ()
CQuerySearchGetSearch ()
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

CButton m_wndCancel
CButton m_wndOK
CSchemaCombo m_wndSchemas
CComboBox m_wndSearch

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnGetMinMaxInfo (MINMAXINFO FAR *lpMMI)
virtual void OnOK ()
afx_msg void OnSelChangeSchemas ()
afx_msg void OnCloseUpSchemas ()
afx_msg void OnChangeSearch ()

Protected Attributes

CSchemaCtrl m_wndSchema
BOOL m_bLocal
BOOL m_bAgain
CQuerySearchm_pSearch

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 44 of file DlgNewSearch.h.


Constructor & Destructor Documentation

CNewSearchDlg::CNewSearchDlg CWnd *  pParent = NULL,
CQuerySearch pSearch = NULL,
BOOL  bLocal = FALSE,
BOOL  bAgain = FALSE
 

Definition at line 55 of file DlgNewSearch.cpp.

CNewSearchDlg::~CNewSearchDlg  )  [virtual]
 

Definition at line 64 of file DlgNewSearch.cpp.

References m_pSearch.


Member Function Documentation

void CNewSearchDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 69 of file DlgNewSearch.cpp.

References CSkinDialog::DoDataExchange(), IDC_SCHEMAS, IDC_SEARCH, m_wndCancel, m_wndOK, m_wndSchemas, and m_wndSearch.

CQuerySearch * CNewSearchDlg::GetSearch  ) 
 

Definition at line 266 of file DlgNewSearch.cpp.

References m_pSearch, and NULL.

Referenced by CBaseMatchWnd::OnHitMonitorSearch(), CLibraryFrame::OnLibrarySearch(), CMainWnd::OnNetworkSearch(), and CSearchWnd::OnSearchSearch().

void CNewSearchDlg::OnChangeSearch  )  [protected]
 

Definition at line 199 of file DlgNewSearch.cpp.

References CED2K::HashFromURN(), CTigerNode::HashFromURN(), CSHA::HashFromURN(), m_wndSchema, m_wndSearch, and pTiger.

void CNewSearchDlg::OnCloseUpSchemas  )  [protected]
 

Definition at line 178 of file DlgNewSearch.cpp.

References CSchemaCombo::GetSelected(), m_wndSchemas, m_wndSearch, and NULL.

Referenced by OnInitDialog().

void CNewSearchDlg::OnGetMinMaxInfo MINMAXINFO FAR *  lpMMI  )  [protected]
 

Definition at line 134 of file DlgNewSearch.cpp.

BOOL CNewSearchDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 83 of file DlgNewSearch.cpp.

References CSchemaCtrl::Create(), CXMLElement::GetFirstElement(), CSHA::HashToString(), IDC_METADATA, IDR_SEARCHFRAME, IDS_SEARCH_PLAIN_TEXT, CSettings::sSearch::LastSchemaURI, CSchemaCombo::Load(), LoadString(), CSettings::LoadWindow(), m_bAgain, m_bLocal, CQuerySearch::m_bSHA1, CQuerySearch::m_pSchema, m_pSearch, CQuerySearch::m_pSHA1, CQuerySearch::m_pXML, CSchemaCombo::m_sNoSchemaText, CQuerySearch::m_sSearch, m_wndSchema, m_wndSchemas, m_wndSearch, NULL, OnCloseUpSchemas(), CSkinDialog::OnInitDialog(), OnSelChangeSchemas(), CSettings::Search, CSchemaCombo::Select(), CSkinDialog::SelectCaption(), Settings, CSkinDialog::SkinMe(), and CSchemaCtrl::UpdateData().

void CNewSearchDlg::OnOK  )  [protected, virtual]
 

Definition at line 230 of file DlgNewSearch.cpp.

References CXMLElement::AddElement(), CQuerySearch::CheckValid(), CSchemaCombo::GetSelected(), CSchema::Instantiate(), CSettings::sSearch::LastSchemaURI, CQuerySearch::m_pSchema, m_pSearch, CQuerySearch::m_pXML, CQuerySearch::m_sSearch, CSchema::m_sSingular, CSchema::m_sURI, m_wndSchema, m_wndSchemas, m_wndSearch, NULL, CSettings::SaveWindow(), CSettings::Search, Settings, and CSchemaCtrl::UpdateData().

void CNewSearchDlg::OnSelChangeSchemas  )  [protected]
 

Definition at line 172 of file DlgNewSearch.cpp.

References CSchemaCombo::GetSelected(), m_wndSchema, m_wndSchemas, and CSchemaCtrl::SetSchema().

Referenced by OnInitDialog().

void CNewSearchDlg::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Reimplemented from CSkinDialog.

Definition at line 141 of file DlgNewSearch.cpp.

References m_wndCancel, m_wndOK, m_wndSchema, m_wndSchemas, m_wndSearch, NULL, and CSkinDialog::OnSize().

BOOL CNewSearchDlg::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 219 of file DlgNewSearch.cpp.

References m_wndSchema, and CSchemaCtrl::OnTab().


Member Data Documentation

BOOL CNewSearchDlg::m_bAgain [protected]
 

Definition at line 55 of file DlgNewSearch.h.

Referenced by OnInitDialog().

BOOL CNewSearchDlg::m_bLocal [protected]
 

Definition at line 54 of file DlgNewSearch.h.

Referenced by OnInitDialog().

CQuerySearch* CNewSearchDlg::m_pSearch [protected]
 

Definition at line 56 of file DlgNewSearch.h.

Referenced by GetSearch(), OnInitDialog(), OnOK(), and ~CNewSearchDlg().

CButton CNewSearchDlg::m_wndCancel
 

Definition at line 45 of file DlgNewSearch.h.

Referenced by DoDataExchange(), and OnSize().

CButton CNewSearchDlg::m_wndOK
 

Definition at line 46 of file DlgNewSearch.h.

Referenced by DoDataExchange(), and OnSize().

CSchemaCtrl CNewSearchDlg::m_wndSchema [protected]
 

Definition at line 53 of file DlgNewSearch.h.

Referenced by OnChangeSearch(), OnInitDialog(), OnOK(), OnSelChangeSchemas(), OnSize(), and PreTranslateMessage().

CSchemaCombo CNewSearchDlg::m_wndSchemas
 

Definition at line 47 of file DlgNewSearch.h.

Referenced by DoDataExchange(), OnCloseUpSchemas(), OnInitDialog(), OnOK(), OnSelChangeSchemas(), and OnSize().

CComboBox CNewSearchDlg::m_wndSearch
 

Definition at line 48 of file DlgNewSearch.h.

Referenced by DoDataExchange(), OnChangeSearch(), OnCloseUpSchemas(), OnInitDialog(), OnOK(), and OnSize().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2