Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / src / tests / konqviewmgrtest.h
blob0e0bccc74d889d5e33697952a13454a1c036d2af
1 /* This file is part of the KDE project
2 Copyright (C) 2006 David Faure <faure@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, see <http://www.gnu.org/licenses/>.
16 Boston, MA 02110-1301, USA.
19 #ifndef KONQVIEWMGRTEST_H
20 #define KONQVIEWMGRTEST_H
22 #include <QtGui/QMainWindow>
24 #include <QObject>
25 #include <kcomponentdata.h>
27 class ViewMgrTest : public QObject
29 Q_OBJECT
31 private Q_SLOTS:
32 void initTestCase();
34 void testCloseOtherTabs();
35 void testCreateFirstView();
36 void testRemoveFirstView();
37 void testSplitView();
38 void testSplitMainContainer();
39 void testLinkedViews();
41 void testPopupNewTab();
42 void testPopupNewWindow();
43 void testCtrlClickOnLink();
44 void sameTestsWithMmbOpenTabsFalse();
46 void testAddTabs();
47 void testDuplicateTab();
48 void testDuplicateSplittedTab();
49 void testDeletePartInTab();
50 void testLoadProfile();
52 void testDuplicateWindow();
53 void testDuplicateWindowWithSidebar();
55 void testBrowserArgumentsNewTab();
57 static void sendAllPendingResizeEvents(QWidget*);
59 private:
60 KComponentData m_konqComponentData;
63 #endif