first steps integrating chattools in mainwindow chat

This commit is contained in:
doitux
2007-10-12 11:07:42 +00:00
parent 44f14921d7
commit 2c67f848ea
6 changed files with 87 additions and 27 deletions
+4 -2
View File
@@ -29,7 +29,7 @@ class ChatTools : public QObject
Q_OBJECT
public:
ChatTools(QLineEdit* l, QTreeWidget *t = NULL, QStringList *s = NULL);
ChatTools(QLineEdit* l, QTreeWidget *t = NULL);
~ChatTools();
@@ -42,6 +42,8 @@ public slots:
void nickAutoCompletition();
void setChatTextEdited();
void setPlayerNicksList(QStringList value) { myNickStringList = value; }
private:
QStringList chatLinesHistory;
QString lastChatString;
@@ -50,7 +52,7 @@ private:
QLineEdit* myLineEdit;
QTreeWidget *myNickTreeWidget;
QStringList *myNickStringList;
QStringList myNickStringList;
// friend class GuiWrapper;
};