/***************************************************************************
- * 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 *
#include "settingspage.h"
#include "ui_chatmonitorsettingspage.h"
-// replace with forward declaration
-#include "bufferviewconfig.h"
-
#include <QHash>
+class BufferViewConfig;
+
class ChatMonitorSettingsPage : public SettingsPage {
Q_OBJECT
void widgetHasChanged();
void on_activateBuffer_clicked();
void on_deactivateBuffer_clicked();
- void on_highlightAlways_toggled(bool state);
- void switchOperationMode(int modeIndex);
-
+ void switchOperationMode(int idx);
+
private:
Ui::ChatMonitorSettingsPage ui;
QHash<QString, QVariant> settings;
bool testHasChanged();
- void toggleBuffers(BufferView &inView, BufferViewConfig &inCfg, BufferView &outView, BufferViewConfig &outCfg);
- BufferViewConfig *configAvailable;
- BufferViewConfig *configActive;
+ void toggleBuffers(BufferView *inView, BufferViewConfig *inCfg, BufferView *outView, BufferViewConfig *outCfg);
+
+ BufferViewConfig *_configAvailable;
+ BufferViewConfig *_configActive;
};
#endif