Periodically save all settings of a coresession
[quassel.git] / src / core / corebufferviewconfig.h
index bb7eb95..5334b94 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel Project                          *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 #define COREBUFFERVIEWCONFIG_H
 
 class CoreBufferViewConfig : public BufferViewConfig {
+  SYNCABLE_OBJECT
   Q_OBJECT
 
 public:
   CoreBufferViewConfig(int bufferViewId, QObject *parent = 0);
   CoreBufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent = 0);
   
-  virtual const QMetaObject *syncMetaObject() const { return &BufferViewConfig::staticMetaObject; }
+  inline virtual const QMetaObject *syncMetaObject() const { return &BufferViewConfig::staticMetaObject; }
 
 public slots:
   virtual inline void requestSetBufferViewName(const QString &bufferViewName) { setBufferViewName(bufferViewName); }