Enable/disable the send button for quick message in the ChatMsgItem with textChanged signal of the QTextBrowser and not with updateItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-09-08 19:04:24 +00:00
parent 2fa6afd36d
commit cb1bee3318
2 changed files with 21 additions and 19 deletions

View file

@ -43,22 +43,24 @@ public:
private slots:
/* default stuff */
void gotoHome();
void removeItem();
void gotoHome();
void removeItem();
void sendMsg();
void openChat();
void updateItem();
void updateAvatar(const QString &peer_id);
void togglequickmessage();
void sendMessage();
private:
void insertChat(std::string &message);
void on_quickmsgText_textChanged();
FeedHolder *mParent;
private:
void insertChat(std::string &message);
FeedHolder *mParent;
uint32_t mFeedId;
std::string mPeerId;
@ -66,7 +68,5 @@ private:
bool mIsHome;
};
#endif