HAL
hal::SearchOptions Class Reference

#include <searchoptions.h>

Collaboration diagram for hal::SearchOptions:
Collaboration graph

Public Member Functions

 SearchOptions ()
 
 SearchOptions (int code)
 
void setOptions (bool exactMatch, bool caseSensitive, bool regEx, QList< int > columns)
 
int toInt () const
 
bool isExactMatch () const
 
bool isCaseSensitive () const
 
bool isRegularExpression () const
 
const QList< int > & getColumns () const
 

Static Public Member Functions

static int toInt (bool exactMatch, bool caseSensitive, bool regEx, QList< int > columns)
 

Detailed Description

Definition at line 31 of file searchoptions.h.

Constructor & Destructor Documentation

◆ SearchOptions() [1/2]

hal::SearchOptions::SearchOptions ( )

Definition at line 7 of file searchoptions.cpp.

◆ SearchOptions() [2/2]

hal::SearchOptions::SearchOptions ( int  code)

Definition at line 16 of file searchoptions.cpp.

References QList::append(), and code.

Member Function Documentation

◆ getColumns()

const QList< int > & hal::SearchOptions::getColumns ( ) const

◆ isCaseSensitive()

◆ isExactMatch()

◆ isRegularExpression()

◆ setOptions()

void hal::SearchOptions::setOptions ( bool  exactMatch,
bool  caseSensitive,
bool  regEx,
QList< int >  columns 
)

Definition at line 71 of file searchoptions.cpp.

Referenced by hal::SearchOptionsDialog::getOptions().

◆ toInt() [1/2]

◆ toInt() [2/2]

int hal::SearchOptions::toInt ( bool  exactMatch,
bool  caseSensitive,
bool  regEx,
QList< int >  columns 
)
static

Definition at line 52 of file searchoptions.cpp.

References QList::empty(), and QList::length().


The documentation for this class was generated from the following files: