Some small stuff, like adding semicolons to Qt macro defs in order to not
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 9 Oct 2007 21:01:13 +0000 (21:01 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 9 Oct 2007 21:01:13 +0000 (21:01 +0000)
screw up KDevelop parsing...

src/client/buffer.h
src/common/message.h
src/common/quasselui.h
src/qtgui/bufferviewfilter.h

index 76b1440..68de96a 100644 (file)
@@ -45,7 +45,7 @@ class Buffer : public QObject {
       NewMessage = 0x02,
       Highlight = 0x40
     };
-    Q_DECLARE_FLAGS(ActivityLevel, Activity)
+    Q_DECLARE_FLAGS(ActivityLevel, Activity);
 
     Type bufferType() const;
     bool isActive() const;
index 7fcd797..05d402e 100644 (file)
@@ -66,10 +66,10 @@ class Message {
 
     QString _formattedTimeStamp, _formattedSender, _formattedText; // cache
 
+    /** Convert mIRC control codes to our own */
     QString mircToInternal(QString);
 
     friend QDataStream &operator>>(QDataStream &in, Message &msg);
-
 };
 
 QDataStream &operator<<(QDataStream &out, const Message &msg);
index 414d599..f34d91d 100644 (file)
@@ -27,7 +27,7 @@
 class AbstractUiMsg {
 
   public:
-    virtual ~AbstractUiMsg() {};
+    //virtual ~AbstractUiMsg() {};
     virtual QString sender() const = 0;
     virtual QString text() const = 0;
     virtual MsgId msgId() const = 0;
index 4fc87ed..93478c7 100644 (file)
@@ -44,7 +44,7 @@ public:
     NoServers = 0x40,
     FullCustom = 0x80
   };
-  Q_DECLARE_FLAGS(Modes, Mode)
+  Q_DECLARE_FLAGS(Modes, Mode);
 
   BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QStringList &nets);