File indexing completed on 2022-09-27 16:37:19

0001 /*
0002     SPDX-FileCopyrightText: 2010 Daniel Nicoletti <dantti12@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef PRINT_QUEUE_H
0008 #define PRINT_QUEUE_H
0009 
0010 #include <QApplication>
0011 
0012 class PrintQueue : public QApplication
0013 {
0014     Q_OBJECT
0015 public:
0016     PrintQueue(int & argc, char ** argv);
0017     ~PrintQueue() override;
0018 
0019 public slots:
0020     void showQueues(const QStringList & queues, const QString & cwd = QString());
0021 
0022 private slots:
0023     void removeQueue();
0024 
0025 private:
0026     void showQueue(const QString &destName);
0027     QHash<QString, QWidget *> m_uis;
0028 };
0029 
0030 #endif