summaryrefslogtreecommitdiffstats
path: root/konversation/src/konvisettingspage.h
blob: 6dbeb75437165b53a1a39fbd5bea65ac6ec96e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
*/

/*
  Copyright (C) 2006 John Tapsell <johnflux@gmail.com>
*/

#ifndef KONVISETTINGSPAGE_H
#define KONVISETTINGSPAGE_H

class KonviSettingsPage
{
  public:
    virtual void restorePageToDefaults() = 0;  // function called when the user klicks "Default"
    virtual void saveSettings() = 0;           // function called when the user klicks "Ok" or "Apply"
    virtual void loadSettings() = 0;           // function called when the user opens the page

    virtual bool hasChanged() = 0;             // is to return if any non-TDEConfigXT settings have changed
};

#endif