[89b7fa]: borrowersearch.h  Maximize  Restore  History

Download this file

57 lines (43 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* This file is part of Koha Offline Circulation.
*
* Koha Offline Circulation is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Koha Offline Circulation is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Koha Offline Circulation. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef BORROWERSEARCH_H
#define BORROWERSEARCH_H
#include <QDialog>
#include "ui_borrowersearch.h"
class BorrowerSearch : public QDialog, public Ui::BorrowerSearch {
Q_OBJECT
public:
BorrowerSearch(QWidget *parent = 0);
~BorrowerSearch();
signals:
void useBorrower( const QString & );
protected:
void setupActions();
protected slots:
void searchBorrowers();
void cancelSearch();
void acceptBorrower();
private:
void addSearchResult( const QString & surname, const QString & firstname, const QString & dateofbirth, const QString & address, const QString & cardnumber );
void clearResults();
static const int COLUMN_CARDNUMBER = 0;
static const int COLUMN_LASTNAME = 1;
static const int COLUMN_FIRSTNAME = 2;
static const int COLUMN_DOB = 3;
static const int COLUMN_ADDRESS = 4;
};
#endif // BORROWERSEARCH_H

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks