BiblioteQ: Source/biblioteq_videogame.h Source File

BiblioteQ

biblioteq_videogame.h
1 #ifndef _BIBLIOTEQ_VIDEOGAME_H_
2 #define _BIBLIOTEQ_VIDEOGAME_H_
3
4 #include "biblioteq_item.h"
5 #include "ui_biblioteq_videogameinfo.h"
6
7 class biblioteq_videogame: public QMainWindow, public biblioteq_item
8 {
9 Q_OBJECT
10
11 public:
12 biblioteq_videogame(biblioteq *parentArg,
13 const QString &oidArg,
14 const int rowArg);
15 ~biblioteq_videogame();
16 void duplicate(const QString &p_oid, const int state);
17 void insert(void);
18 void modify(const int state);
19 void search(const QString &field = "", const QString &value = "");
20
21 void setPublicationDateFormat(const QString &dateFormat)
22 {
23 vg.release_date->setDisplayFormat(dateFormat);
24 }
25
26 void updateWindow(const int state);
27
28 private:
29 QString m_engWindowTitle;
30 Ui_vgDialog vg;
31 void changeEvent(QEvent *event);
32 void closeEvent(QCloseEvent *event);
33
34 private slots:
35 void slotCancel(void);
36 void slotGo(void);
37 void slotPopulateCopiesEditor(void);
38 void slotPrint(void);
39 void slotPublicationDateEnabled(bool state);
40 void slotQuery(void);
41 void slotReset(void);
42 void slotSelectImage(void);
43 void slotShowUsers(void);
44 };
45
46 #endif
biblioteq_videogame
Definition: biblioteq_videogame.h:7
biblioteq
Definition: biblioteq.h:179
biblioteq_item
Definition: biblioteq_item.h:42