Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / performance / konqueror.h
blob3fddf76be675703e1557867ff444909053343b99
1 /*
2 * Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef _KCM_PERF_KONQUEROR_H
20 #define _KCM_PERF_KONQUEROR_H
22 #include "ui_konqueror_ui.h"
24 namespace KCMPerformance
27 class Konqueror_ui : public QWidget, public Ui::Konqueror_ui
29 public:
30 Konqueror_ui( QWidget *parent ) : QWidget( parent ) {
31 setupUi( this );
32 layout()->setMargin( 0 );
37 class Konqueror
38 : public Konqueror_ui
40 Q_OBJECT
41 public:
42 Konqueror( QWidget* parent_P = NULL );
43 void load();
44 void save();
45 void defaults();
46 Q_SIGNALS:
47 void changed();
48 private Q_SLOTS:
49 void preload_count_changed( int );
50 private:
51 QString allowed_parts;
54 } // namespace
56 #endif