• kenneth@webkit.org's avatar
    Rubberstamped by Simon Hausmann. · 0030a2f3
    kenneth@webkit.org authored
    [Qt] QtLauncher refactoring:
    
    Move out code from the MainWindow (renamed to LauncherWindow)
    that is not depending on the view, and add it to a new class
    called MainWindow.
    
    * QtLauncher/QtLauncher.pro:
    * QtLauncher/main.cpp:
    (LauncherWindow::LauncherWindow):
    (LauncherWindow::eventFilter):
    (LauncherWindow::loadStarted):
    (LauncherWindow::loadFinished):
    (LauncherWindow::newWindow):
    (LauncherWindow::setupUI):
    (WebPage::createWindow):
    (main):
    * QtLauncher/mainwindow.cpp: Added.
    (MainWindow::MainWindow):
    (MainWindow::buildUI):
    (MainWindow::page):
    (MainWindow::setAddressUrl):
    (MainWindow::addCompleterEntry):
    (MainWindow::load):
    (MainWindow::changeLocation):
    (MainWindow::openFile):
    * QtLauncher/mainwindow.h: Added.
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@53948 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    0030a2f3
mainwindow.h 2.23 KB