summaryrefslogtreecommitdiffstats
path: root/pica-client/chatwindow.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-10-27 13:56:40 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-10-27 13:56:40 +0000
commitb20fa0dc167959d3738628d902799009120893b8 (patch)
tree54107eb8c93c095d4d7b0dd10e113307fa08d25e /pica-client/chatwindow.h
parent7d18e6fc53b400e618aeba9181188e934e23cbe1 (diff)
downloadpica-pica-b20fa0dc167959d3738628d902799009120893b8.tar.gz
pica-pica-b20fa0dc167959d3738628d902799009120893b8.zip
ask if user wants to add new peer to contact list
git-svn-id: svn://localhost/project_picapica/trunk@295 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/chatwindow.h')
-rw-r--r--pica-client/chatwindow.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pica-client/chatwindow.h b/pica-client/chatwindow.h
index 0be8ea0..0f4002e 100644
--- a/pica-client/chatwindow.h
+++ b/pica-client/chatwindow.h
@@ -7,6 +7,8 @@
#include <QMenuBar>
#include <QAction>
#include <QMenu>
+#include <QPushButton>
+#include <QLabel>
#include "history.h"
class TextSend : public QTextEdit
@@ -51,6 +53,11 @@ private:
QAction *histAll;
QString peer_name_;
QString my_name_;
+ bool addcontactquestion;
+ QPushButton *btAddCtYes;
+ QPushButton *btAddCtNo;
+ QPushButton *btAddCtBlacklist;
+ QLabel *lbAddCtQuestion;
void put_message(QString msg, QByteArray id, bool is_me);
int draw_message(QString msg, QString nickname, QString datetime, QString color, bool is_delivered);
@@ -64,6 +71,11 @@ private slots:
void show_history24h();
void show_history1w();
void show_historyAll();
+
+ void addct_yes();
+ void addct_no();
+ void addct_blacklist();
+ void addct_removequestion();
};
#endif // CHATWINDOW_H