~ubuntu-branches/ubuntu/intrepid/gwenview/intrepid

« back to all changes in this revision

Viewing changes to gwenview/configdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher Martin
  • Date: 2005-04-06 11:33:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050406113306-7zovl7z0io5bacpd
Tags: 1.2.0-1
* New upstream release.
  + Fixes crashes when using "Back" to navigate. (Closes: #301811)
* Enable KIPI support.
* Add a doc-base file for the handbook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Gwenview - A simple image viewer for KDE
3
 
Copyright (C) 2000-2002 Aur�lien G�teau
4
 
 
5
 
This program is free software; you can redistribute it and/or
6
 
modify it under the terms of the GNU General Public License
7
 
as published by the Free Software Foundation; either version 2
8
 
of the License, or (at your option) any later version.
9
 
 
10
 
This program is distributed in the hope that it will be useful,
11
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
GNU General Public License for more details.
14
 
 
15
 
You should have received a copy of the GNU General Public License
16
 
along with this program; if not, write to the Free Software
17
 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
 
 
19
 
*/
20
 
#ifndef CONFIGDIALOG_H
21
 
#define CONFIGDIALOG_H
22
 
 
23
 
 
24
 
#include "configdialogbase.h"
25
 
 
26
 
class MainWindow;
27
 
 
28
 
class ConfigDialog : ConfigDialogBase {
29
 
Q_OBJECT
30
 
public:
31
 
        ConfigDialog(QWidget* parent,MainWindow*);
32
 
        int exec() { return ConfigDialogBase::exec(); }
33
 
 
34
 
public slots:
35
 
        void slotOk();
36
 
        void slotApply();
37
 
 
38
 
private:
39
 
        MainWindow* mMainWindow;
40
 
 
41
 
private slots:
42
 
        void calculateCacheSize();
43
 
        void emptyCache();
44
 
        void onCacheEmptied(KIO::Job*);
45
 
};
46
 
 
47
 
 
48
 
 
49
 
#endif