diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-27 12:54:30 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-27 12:54:30 +0100 |
commit | c7048563b95f8d27b20aac0a0e1fbc5c4584c514 (patch) | |
tree | b1513c556461a14d2e3bda6c43ce74d4d1eb5f72 /src/browserapplication.cpp | |
parent | Added SlackBuild (diff) | |
download | rekonq-c7048563b95f8d27b20aac0a0e1fbc5c4584c514.tar.xz |
BrowserMainWindow --> MainWindow
Diffstat (limited to 'src/browserapplication.cpp')
-rw-r--r-- | src/browserapplication.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/browserapplication.cpp b/src/browserapplication.cpp index 52c5e670..696b2cd8 100644 --- a/src/browserapplication.cpp +++ b/src/browserapplication.cpp @@ -22,7 +22,7 @@ // Local Includes #include "browserapplication.h" -#include "browsermainwindow.h" +#include "mainwindow.h" #include "cookiejar.h" #include "downloadmanager.h" #include "history.h" @@ -173,10 +173,10 @@ void BrowserApplication::loadSettings() -QList<BrowserMainWindow*> BrowserApplication::mainWindows() +QList<MainWindow*> BrowserApplication::mainWindows() { clean(); - QList<BrowserMainWindow*> list; + QList<MainWindow*> list; for (int i = 0; i < m_mainWindows.count(); ++i) { list.append(m_mainWindows.at(i)); @@ -247,7 +247,7 @@ void BrowserApplication::restoreLastSession() } for (int i = 0; i < windows.count(); ++i) { - BrowserMainWindow *newWindow = 0; + MainWindow *newWindow = 0; if (m_mainWindows.count() == 1 && mainWindow()->tabWidget()->count() == 1 && mainWindow()->currentTab()->url() == KUrl()) @@ -277,16 +277,16 @@ void BrowserApplication::openUrl(const KUrl &url) -BrowserMainWindow *BrowserApplication::newMainWindow() +MainWindow *BrowserApplication::newMainWindow() { - BrowserMainWindow *browser = new BrowserMainWindow(); + MainWindow *browser = new MainWindow(); m_mainWindows.prepend(browser); browser->show(); return browser; } -BrowserMainWindow *BrowserApplication::mainWindow() +MainWindow *BrowserApplication::mainWindow() { clean(); if (m_mainWindows.isEmpty()) |