--- a/QTfrontend/chatwidget.h Wed Mar 04 13:55:53 2009 +0000
+++ b/QTfrontend/chatwidget.h Wed Mar 04 16:35:36 2009 +0000
@@ -41,10 +41,12 @@
void nickRemoved(const QString& nick);
void clear();
void setReadyStatus(const QString & nick, bool isReady);
+ void adminAccess(bool);
signals:
void chatLine(const QString& str);
void kick(const QString & str);
+ void ban(const QString & str);
void info(const QString & str);
private:
@@ -53,9 +55,13 @@
QStringList chatStrings;
QListWidget* chatNicks;
QLineEdit* chatEditLine;
+ QAction * acInfo;
+ QAction * acKick;
+ QAction * acBan;
private slots:
void returnPressed();
+ void onBan();
void onKick();
void onInfo();
};