source: src-qt4/life-preserver/lp-tray/LPMessages.h @ 6a2483b

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 6a2483b was 6a2483b, checked in by Ken Moore <ken@…>, 14 months ago

Remove the old life-preserver from the src-qt4/life-preserver dir, and replace it with src-qt4/life-preserver/lp-tray and src-qt4/life-preserver/lp-gui.

  • Property mode set to 100644
File size: 617 bytes
Line 
1#ifndef _LP_MESSAGES_H
2#define _LP_MESSAGES_H
3
4#include <QDialog>
5#include <QStringList>
6#include <QString>
7#include <QFile>
8#include <QTextStream>
9#include <QDebug>
10#include <QCloseEvent>
11
12namespace Ui{
13        class LPMessages;
14};
15
16class LPMessages : public QDialog{
17        Q_OBJECT
18public:
19        LPMessages(QWidget *parent=0);
20        ~LPMessages();
21
22        void setMessages(QString msg, QString err);
23        void setLogFiles(QStringList logs);
24
25private:
26        Ui::LPMessages *ui;
27        bool logsAvailable;
28        void displayLogFile(QString logfile);
29
30private slots:
31        void slotChangeLog();
32        void closeDialog();
33
34protected:
35        void closeEvent(QCloseEvent*);
36
37};
38#endif
Note: See TracBrowser for help on using the repository browser.