mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 07:29:38 -05:00
restored PeersDialog.cpp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bf48cc83aa
commit
9602f07760
@ -123,13 +123,7 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||||||
|
|
||||||
loadEmoticonsgroupchat();
|
loadEmoticonsgroupchat();
|
||||||
|
|
||||||
connect(ui.toolButtonchat, SIGNAL(clicked()), this, SLOT(chatfriend()));
|
//setWindowIcon(QIcon(QString(":/images/rstray3.png")));
|
||||||
connect(ui.toolButtonmessage, SIGNAL(clicked()), this, SLOT(msgfriend()));
|
|
||||||
connect(ui.toolButtondetails, SIGNAL(clicked()), this, SLOT(connectfriend()));
|
|
||||||
connect(ui.toolButtonconnect, SIGNAL(clicked()), this, SLOT(configurefriend()));
|
|
||||||
connect(ui.toolButtonexport, SIGNAL(clicked()), this, SLOT(exportfriend()));
|
|
||||||
connect(ui.toolButtonremove, SIGNAL(clicked()), this, SLOT(removefriend()));
|
|
||||||
|
|
||||||
|
|
||||||
connect(ui.lineEdit, SIGNAL(textChanged ( ) ), this, SLOT(checkChat( ) ));
|
connect(ui.lineEdit, SIGNAL(textChanged ( ) ), this, SLOT(checkChat( ) ));
|
||||||
connect(ui.Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg()));
|
connect(ui.Sendbtn, SIGNAL(clicked()), this, SLOT(sendMsg()));
|
||||||
@ -1002,10 +996,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos)
|
|||||||
void PeersDialog::loadEmoticonsgroupchat()
|
void PeersDialog::loadEmoticonsgroupchat()
|
||||||
{
|
{
|
||||||
QString sm_codes;
|
QString sm_codes;
|
||||||
#if defined(Q_OS_WIN32)
|
#if defined(Q_OS_WIN32)
|
||||||
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
|
QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs");
|
||||||
#else
|
#else
|
||||||
QFile sm_file(QString(":/smileys/emotes.acs"));
|
QFile sm_file(QString(":/smileys/emotes.acs"));
|
||||||
#endif
|
#endif
|
||||||
if(!sm_file.open(QIODevice::ReadOnly))
|
if(!sm_file.open(QIODevice::ReadOnly))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user