blob: 0078cdefb4fed48ccca8598829f94cfb2157c28a (
plain) (
blame)
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
|
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QDebug>
#include <QDesktopWidget>
#include <QTreeWidget>
#include "cups/cups.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(char *argv, QWidget *parent = 0);
~MainWindow();
private slots:
void on_printerList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
void on_buttonCancel_clicked();
void on_buttonPrint_clicked();
private:
Ui::MainWindow *ui;
void initializeUI();
cups_dest_t *dests;
int num_dests;
const char * const file;
};
#endif // MAINWINDOW_H
|