QTfrontend/ui/widget/chatwidget.h
changeset 6180 0992fc5a4ad9
parent 6165 6fe3e922246e
child 6182 d56d18802481
--- a/QTfrontend/ui/widget/chatwidget.h	Sat Oct 22 00:49:55 2011 -0400
+++ b/QTfrontend/ui/widget/chatwidget.h	Sat Oct 22 06:55:14 2011 +0200
@@ -62,15 +62,21 @@
   void saveLists(const QString & nick);
   void setShowReady(bool s);
   void setShowFollow(bool enabled);
-  void addLine(const QString & cssClass, QString line);
-  static const char* STYLE;
   QStringList ignoreList, friendsList;
+  static QString & styleSheet();
+  void displayError(const QString & message);
+  void displayNotice(const QString & message);
+  void displayWarning(const QString & message);
 
 private:
+  static QString * s_styleSheet;
+  static QStringList * s_displayNone;
+
   void loadList(QStringList & list, const QString & file);
   void saveList(QStringList & list, const QString & file);
   void updateNickItem(QListWidgetItem *item);
   void updateNickItems();
+  void addLine(const QString & cssClass, QString line);
   static const QRegExp URLREGEXP;
 
  public slots: