tweak URL regex
[quassel.git] / src / uisupport / abstractbuffercontainer.h
index 2c89e6f..84ab280 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -39,6 +39,7 @@ public:
 
 signals:
   void currentChanged(BufferId);
+  void currentChanged(const QModelIndex &);
 
 protected:
   //! Create an AbstractChatView for the given BufferId and add it to the UI if necessary
@@ -51,6 +52,8 @@ protected:
    */
   virtual void removeChatView(BufferId) = 0;
 
+  virtual inline bool autoSetMarkerLine() const { return true; }
+
 protected slots:
   virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
   virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);