git-svn-id: svn://db.shs.com.ru/libs@357 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -10,11 +10,10 @@ namespace Ui {
|
||||
class CDPultWindow;
|
||||
}
|
||||
|
||||
class CDPultWindow : public EMainWindow, public PIObject
|
||||
class CDPultWindow : public EMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(LogIcon)
|
||||
PIOBJECT(CDPultWindow)
|
||||
public:
|
||||
enum LogIcon {NoIcon, OKIcon, FailIcon, WaitIcon};
|
||||
|
||||
@@ -24,12 +23,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
EVENT_HANDLER(void, KSended);
|
||||
EVENT_HANDLER(void, KReceived);
|
||||
EVENT_HANDLER(void, KSendFailed);
|
||||
EVENT_HANDLER(void, KReceiveFailed);
|
||||
|
||||
void closeEvent(QCloseEvent * );
|
||||
void closeEvent(QCloseEvent *);
|
||||
void reset(bool full = false);
|
||||
bool load(const QString & path);
|
||||
bool save(const QString & path);
|
||||
@@ -41,6 +35,10 @@ private:
|
||||
QMap<LogIcon, QIcon> log_icons;
|
||||
|
||||
private slots:
|
||||
void KSended();
|
||||
void KReceived();
|
||||
void KSendFailed();
|
||||
void KReceiveFailed();
|
||||
void addToLog(LogIcon icon, const QString & msg);
|
||||
void on_actionSend_K_triggered();
|
||||
void on_actionReceive_K_triggered();
|
||||
|
||||
Reference in New Issue
Block a user