The complete source code of IdealIRC
http://www.idealirc.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
520 B
33 lines
520 B
#ifndef EXITTIMEOUTDIALOG_H
|
|
#define EXITTIMEOUTDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QTimer>
|
|
|
|
namespace Ui {
|
|
class ExitTimeoutDialog;
|
|
}
|
|
|
|
class ExitTimeoutDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ExitTimeoutDialog(QWidget *parent = nullptr);
|
|
~ExitTimeoutDialog();
|
|
|
|
signals:
|
|
void abortTimeout();
|
|
void forceExit();
|
|
|
|
private slots:
|
|
void on_btnAbort_clicked();
|
|
|
|
void on_btnExit_clicked();
|
|
|
|
private:
|
|
Ui::ExitTimeoutDialog *ui;
|
|
QTimer m_timer;
|
|
};
|
|
|
|
#endif // EXITTIMEOUTDIALOG_H
|
|
|