rename of chatmemoedit

This commit is contained in:
DenioD
2020-05-24 20:55:56 +02:00
parent ebd084c558
commit f9d8919753
5 changed files with 27 additions and 26 deletions

View File

@@ -60,8 +60,8 @@ public:
void stopWebsocket();
void saveContact();
void saveandsendContact();
void setMaxLen(int len);
void updateDisplay();
// void setmaxlenChat(int len);
// void updateDisplay();
void balancesReady();
@@ -199,14 +199,14 @@ class ChatMemoEdit : public QTextEdit
public:
ChatMemoEdit(QWidget* parent);
void setMaxLen(int len);
void setLenDisplayLabel(QLabel* label);
void setMaxLenChat(int len);
void setLenDisplayLabelChat(QLabel* label);
void SetSendChatButton(QPushButton* button);
void updateDisplay();
void updateDisplayChat();
private:
int maxlen = 512;
QLabel* lenDisplayLabel = nullptr;
int maxlenchat = 512;
QLabel* lenDisplayLabelchat = nullptr;
QPushButton* sendChatButton = nullptr;
};