BibleTime
src
frontend
searchdialog
chistorycombobox.h
Go to the documentation of this file.
1
/*********
2
*
3
* In the name of the Father, and of the Son, and of the Holy Spirit.
4
*
5
* This file is part of BibleTime's source code, https://bibletime.info/
6
*
7
* Copyright 1999-2021 by the BibleTime developers.
8
* The BibleTime source code is licensed under the GNU General Public License
9
* version 2.0.
10
*
11
**********/
12
13
#pragma once
14
15
#include <QComboBox>
16
17
#include <QObject>
18
#include <QString>
19
#include <QStringList>
20
21
22
class
QWidget
;
23
24
namespace
Search
{
25
26
class
CHistoryComboBox
:
public
QComboBox
{
27
Q_OBJECT
28
public
:
29
CHistoryComboBox
(
QWidget
* parent =
nullptr
);
30
~CHistoryComboBox
()
override
;
31
void
addToHistory
(
const
QString& item);
32
QStringList
historyItems
()
const
;
33
34
protected
:
35
36
private
:
37
};
38
39
}
//end of namespace Search
QComboBox
QWidget
Search::CHistoryComboBox
Definition:
chistorycombobox.h:26
Search::CHistoryComboBox::CHistoryComboBox
CHistoryComboBox(QWidget *parent=nullptr)
Definition:
chistorycombobox.cpp:21
Search::CHistoryComboBox::~CHistoryComboBox
~CHistoryComboBox() override
Definition:
chistorycombobox.cpp:27
Search::CHistoryComboBox::historyItems
QStringList historyItems() const
Definition:
chistorycombobox.cpp:38
Search::CHistoryComboBox::addToHistory
void addToHistory(const QString &item)
Definition:
chistorycombobox.cpp:30
Search
Definition:
bibletime.h:25
Generated by
1.9.1