summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-11-07 00:17:56 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-11-07 00:17:56 +0100
commit4a0acb308cfecde67af334f48a521c221c4aee1a (patch)
treebdbdb080418919be235db771f049bd358aca9d40 /src
parentLocalizing strings.. (diff)
downloadrekonq-4a0acb308cfecde67af334f48a521c221c4aee1a.tar.xz
Setting right license
Diffstat (limited to 'src')
-rw-r--r--src/autosaver.cpp55
-rw-r--r--src/autosaver.h55
-rw-r--r--src/bookmarks.cpp1
-rw-r--r--src/bookmarks.h55
-rw-r--r--src/browser.icnsbin57624 -> 0 bytes
-rw-r--r--src/browser.icobin287934 -> 0 bytes
-rw-r--r--src/browser.pro87
-rw-r--r--src/browser.rc2
-rw-r--r--src/browserapplication.cpp1
-rw-r--r--src/browserapplication.h1
-rw-r--r--src/browsermainwindow.cpp393
-rw-r--r--src/browsermainwindow.h30
-rw-r--r--src/cookiejar.cpp1
-rw-r--r--src/cookiejar.h55
-rw-r--r--src/downloadmanager.cpp1
-rw-r--r--src/downloadmanager.h1
-rw-r--r--src/edittableview.cpp55
-rw-r--r--src/edittableview.h55
-rw-r--r--src/edittreeview.cpp55
-rw-r--r--src/edittreeview.h55
-rw-r--r--src/history.cpp1
-rw-r--r--src/history.h1
-rw-r--r--src/main.cpp1
-rw-r--r--src/modelmenu.cpp55
-rw-r--r--src/modelmenu.h56
-rw-r--r--src/networkaccessmanager.cpp1
-rw-r--r--src/networkaccessmanager.h1
-rw-r--r--src/searchlineedit.cpp1
-rw-r--r--src/searchlineedit.h1
-rw-r--r--src/settings.cpp55
-rw-r--r--src/settings.h55
-rw-r--r--src/squeezelabel.cpp55
-rw-r--r--src/squeezelabel.h55
-rw-r--r--src/tabwidget.cpp1
-rw-r--r--src/tabwidget.h1
-rw-r--r--src/toolbarsearch.cpp1
-rw-r--r--src/toolbarsearch.h1
-rw-r--r--src/urllineedit.cpp55
-rw-r--r--src/urllineedit.h55
-rw-r--r--src/webview.cpp1
-rw-r--r--src/webview.h1
-rw-r--r--src/xbel.cpp2
-rw-r--r--src/xbel.h1
43 files changed, 537 insertions, 878 deletions
diff --git a/src/autosaver.cpp b/src/autosaver.cpp
index f8d088dd..4b83b65d 100644
--- a/src/autosaver.cpp
+++ b/src/autosaver.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "autosaver.h"
diff --git a/src/autosaver.h b/src/autosaver.h
index 162b3b6c..d8004a9d 100644
--- a/src/autosaver.h
+++ b/src/autosaver.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef AUTOSAVER_H
#define AUTOSAVER_H
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index 7f432ba9..6f87d3a4 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/bookmarks.h b/src/bookmarks.h
index 768efd53..4ce3e49f 100644
--- a/src/bookmarks.h
+++ b/src/bookmarks.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef BOOKMARKS_H
#define BOOKMARKS_H
diff --git a/src/browser.icns b/src/browser.icns
deleted file mode 100644
index 8cc82ba9..00000000
--- a/src/browser.icns
+++ /dev/null
Binary files differ
diff --git a/src/browser.ico b/src/browser.ico
deleted file mode 100644
index f15627a1..00000000
--- a/src/browser.ico
+++ /dev/null
Binary files differ
diff --git a/src/browser.pro b/src/browser.pro
deleted file mode 100644
index 38ef03b5..00000000
--- a/src/browser.pro
+++ /dev/null
@@ -1,87 +0,0 @@
-TEMPLATE = app
-TARGET = browser
-QT += webkit network
-
-CONFIG += qt warn_on
-contains(QT_BUILD_PARTS, tools): CONFIG += uitools
-else: DEFINES += QT_NO_UITOOLS
-
-FORMS += \
- addbookmarkdialog.ui \
- bookmarks.ui \
- cookies.ui \
- cookiesexceptions.ui \
- downloaditem.ui \
- downloads.ui \
- history.ui \
- passworddialog.ui \
- proxy.ui \
- settings.ui
-
-HEADERS += \
- autosaver.h \
- bookmarks.h \
- browserapplication.h \
- browsermainwindow.h \
- chasewidget.h \
- cookiejar.h \
- downloadmanager.h \
- edittableview.h \
- edittreeview.h \
- history.h \
- modelmenu.h \
- networkaccessmanager.h \
- searchlineedit.h \
- settings.h \
- squeezelabel.h \
- tabwidget.h \
- toolbarsearch.h \
- urllineedit.h \
- webview.h \
- xbel.h
-
-SOURCES += \
- autosaver.cpp \
- bookmarks.cpp \
- browserapplication.cpp \
- browsermainwindow.cpp \
- chasewidget.cpp \
- cookiejar.cpp \
- downloadmanager.cpp \
- edittableview.cpp \
- edittreeview.cpp \
- history.cpp \
- modelmenu.cpp \
- networkaccessmanager.cpp \
- searchlineedit.cpp \
- settings.cpp \
- squeezelabel.cpp \
- tabwidget.cpp \
- toolbarsearch.cpp \
- urllineedit.cpp \
- webview.cpp \
- xbel.cpp \
- main.cpp
-
-RESOURCES += data/data.qrc htmls/htmls.qrc
-
-build_all:!build_pass {
- CONFIG -= build_all
- CONFIG += release
-}
-
-win32 {
- RC_FILE = browser.rc
-}
-
-mac {
- ICON = browser.icns
- QMAKE_INFO_PLIST = Info_mac.plist
- TARGET = Browser
-}
-
-# install
-target.path = $$[QT_INSTALL_DEMOS]/browser
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.plist *.icns *.ico *.rc *.pro *.html *.doc images htmls
-sources.path = $$[QT_INSTALL_DEMOS]/browser
-INSTALLS += target sources
diff --git a/src/browser.rc b/src/browser.rc
deleted file mode 100644
index 89a237ce..00000000
--- a/src/browser.rc
+++ /dev/null
@@ -1,2 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "browser.ico"
-
diff --git a/src/browserapplication.cpp b/src/browserapplication.cpp
index 6d4e08fa..71da13eb 100644
--- a/src/browserapplication.cpp
+++ b/src/browserapplication.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/browserapplication.h b/src/browserapplication.h
index 801cdec5..c5b5c901 100644
--- a/src/browserapplication.h
+++ b/src/browserapplication.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/browsermainwindow.cpp b/src/browsermainwindow.cpp
index 450f90b5..c67310ae 100644
--- a/src/browsermainwindow.cpp
+++ b/src/browsermainwindow.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
@@ -217,12 +218,12 @@ bool BrowserMainWindow::restoreState(const QByteArray &state)
void BrowserMainWindow::setupMenu()
{
- new QShortcut(QKeySequence(Qt::Key_F6), this, SLOT(slotSwapFocus()));
-
+// new QShortcut(QKeySequence(Qt::Key_F6), this, SLOT(slotSwapFocus()));
+//
// ------------------------------------------------------------- FILE --------------------------------------------------------------------------------------------------
- QMenu *fileMenu = menuBar()->addMenu( i18n("&File"));
+ KMenu *fileMenu = menuBar()->addMenu( i18n("&File") );
- fileMenu->addAction(i18n("&New Window"), this, SLOT(slotFileNew()), QKeySequence::New);
+ fileMenu->addAction( i18n("&New Window"), this, SLOT(slotFileNew()), QKeySequence::New);
fileMenu->addAction(m_tabWidget->newTabAction());
fileMenu->addAction(i18n("&Open File..."), this, SLOT(slotFileOpen()), QKeySequence::Open);
fileMenu->addAction(i18n("Open &Location..."), this, SLOT(slotSelectLineEdit()), QKeySequence(Qt::ControlModifier + Qt::Key_L));
@@ -242,164 +243,160 @@ void BrowserMainWindow::setupMenu()
action->setCheckable(true);
fileMenu->addSeparator();
-#if defined(Q_WS_MAC)
- fileMenu->addAction( i18n("&Quit"), BrowserApplication::instance(), SLOT(quitBrowser()), QKeySequence(Qt::CTRL | Qt::Key_Q));
-#else
fileMenu->addAction( i18n("&Quit"), this, SLOT(close()), QKeySequence(Qt::CTRL | Qt::Key_Q));
-#endif
-
- // ------------------------------------------------------------- EDIT --------------------------------------------------------------------------------------------------
- QMenu *editMenu = menuBar()->addMenu(i18n("&Edit"));
-
- QAction *m_undo = editMenu->addAction(i18n("&Undo"));
- m_undo->setShortcuts(QKeySequence::Undo);
- m_tabWidget->addWebAction(m_undo, QWebPage::Undo);
-
- QAction *m_redo = editMenu->addAction(i18n("&Redo"));
- m_redo->setShortcuts(QKeySequence::Redo);
- m_tabWidget->addWebAction(m_redo, QWebPage::Redo);
-
- editMenu->addSeparator();
-
- QAction *m_cut = editMenu->addAction(i18n("Cu&t"));
- m_cut->setShortcuts(QKeySequence::Cut);
- m_tabWidget->addWebAction(m_cut, QWebPage::Cut);
-
- QAction *m_copy = editMenu->addAction(i18n("&Copy"));
- m_copy->setShortcuts(QKeySequence::Copy);
- m_tabWidget->addWebAction(m_copy, QWebPage::Copy);
-
- QAction *m_paste = editMenu->addAction(i18n("&Paste"));
- m_paste->setShortcuts(QKeySequence::Paste);
- m_tabWidget->addWebAction(m_paste, QWebPage::Paste);
-
- editMenu->addSeparator();
-
- QAction *m_find = editMenu->addAction(i18n("&Find"));
- m_find->setShortcuts(QKeySequence::Find);
- connect(m_find, SIGNAL(triggered()), this, SLOT(slotEditFind()));
- new QShortcut(QKeySequence(Qt::Key_Slash), this, SLOT(slotEditFind()));
-
- QAction *m_findNext = editMenu->addAction( i18n("&Find Next"));
- m_findNext->setShortcuts(QKeySequence::FindNext);
- connect(m_findNext, SIGNAL(triggered()), this, SLOT(slotEditFindNext()));
- QAction *m_findPrevious = editMenu->addAction( i18n("&Find Previous"));
- m_findPrevious->setShortcuts(QKeySequence::FindPrevious);
- connect(m_findPrevious, SIGNAL(triggered()), this, SLOT(slotEditFindPrevious()));
-
- editMenu->addSeparator();
- editMenu->addAction( i18n("&Preferences"), this, SLOT(slotPreferences()), i18n("Ctrl+,"));
-
-
- // ------------------------------------------------------------- VIEW -------------------------------------------------------------------------------------------------
- QMenu *viewMenu = menuBar()->addMenu( i18n("&View") );
-
- m_viewStatusbar = new KAction(this);
- updateStatusbarActionText(true);
- m_viewStatusbar->setShortcut( i18n("Ctrl+/") );
- connect(m_viewStatusbar, SIGNAL(triggered()), this, SLOT(slotViewStatusbar()));
- viewMenu->addAction(m_viewStatusbar);
-
- viewMenu->addSeparator();
-
- m_stop = viewMenu->addAction( i18n("&Stop") );
- QList<QKeySequence> shortcuts;
- shortcuts.append(QKeySequence(Qt::CTRL | Qt::Key_Period));
- shortcuts.append(Qt::Key_Escape);
- m_stop->setShortcuts(shortcuts);
- m_tabWidget->addWebAction(m_stop, QWebPage::Stop);
-
- m_reload = viewMenu->addAction( i18n("Reload Page") );
- m_reload->setShortcuts(QKeySequence::Refresh);
- m_tabWidget->addWebAction(m_reload, QWebPage::Reload);
-
- viewMenu->addAction( i18n("&Make Text Bigger"), this, SLOT(slotViewTextBigger()), QKeySequence(Qt::CTRL | Qt::Key_Plus));
- viewMenu->addAction( i18n("&Make Text Normal"), this, SLOT(slotViewTextNormal()), QKeySequence(Qt::CTRL | Qt::Key_0));
- viewMenu->addAction( i18n("&Make Text Smaller"), this, SLOT(slotViewTextSmaller()), QKeySequence(Qt::CTRL | Qt::Key_Minus));
-
- viewMenu->addSeparator();
- viewMenu->addAction( i18n("Page S&ource"), this, SLOT(slotViewPageSource()), i18n("Ctrl+Alt+U"));
- QAction *a = viewMenu->addAction( i18n("&Full Screen"), this, SLOT(slotViewFullScreen(bool)), Qt::Key_F11);
- a->setCheckable(true);
-
-
- // ------------------------------------------------------------- HISTORY --------------------------------------------------------------------------------------------------
- HistoryMenu *historyMenu = new HistoryMenu(this);
- connect(historyMenu, SIGNAL(openUrl(const QUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const QUrl&)));
- connect(historyMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
- historyMenu->setTitle( i18n("Hi&story") );
- menuBar()->addMenu(historyMenu);
- QList<QAction*> historyActions;
-
- m_historyBack = new QAction( i18n("Back"), this);
- m_tabWidget->addWebAction(m_historyBack, QWebPage::Back);
- m_historyBack->setShortcuts(QKeySequence::Back);
- m_historyBack->setIconVisibleInMenu(false);
-
- m_historyForward = new QAction( i18n("Forward"), this);
- m_tabWidget->addWebAction(m_historyForward, QWebPage::Forward);
- m_historyForward->setShortcuts(QKeySequence::Forward);
- m_historyForward->setIconVisibleInMenu(false);
-
- QAction *m_historyHome = new QAction( i18n("Home"), this);
- connect(m_historyHome, SIGNAL(triggered()), this, SLOT(slotHome()));
- m_historyHome->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_H));
-
- m_restoreLastSession = new QAction( i18n("Restore Last Session"), this);
- connect(m_restoreLastSession, SIGNAL(triggered()), BrowserApplication::instance(), SLOT(restoreLastSession()));
- m_restoreLastSession->setEnabled(BrowserApplication::instance()->canRestoreSession());
-
- historyActions.append(m_historyBack);
- historyActions.append(m_historyForward);
- historyActions.append(m_historyHome);
- historyActions.append(m_tabWidget->recentlyClosedTabsAction());
- historyActions.append(m_restoreLastSession);
- historyMenu->setInitialActions(historyActions);
-
- // ------------------------------------------------------------- BOOKMARKS --------------------------------------------------------------------------------------------------
- BookmarksMenu *bookmarksMenu = new BookmarksMenu(this);
- connect(bookmarksMenu, SIGNAL(openUrl(const QUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const QUrl&)));
- connect(bookmarksMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
- bookmarksMenu->setTitle(i18n("&Bookmarks"));
- menuBar()->addMenu(bookmarksMenu);
-
- // FIXME
-// BookmarksManager *bookmarksManager = BrowserApplication::bookmarksManager();
-// bookmarksMenu->addAction(i18n("&Import Bookmarks..."), bookmarksManager, SLOT(importBookmarks()));
-// bookmarksMenu->addAction(i18n("&Export Bookmarks..."), bookmarksManager, SLOT(exportBookmarks()));
-// bookmarksMenu->addSeparator();
-
- QList<QAction*> bookmarksActions;
-
- QAction *showAllBookmarksAction = new QAction(i18n("Show All Bookmarks"), this);
- connect(showAllBookmarksAction, SIGNAL(triggered()), this, SLOT(slotShowBookmarksDialog()));
- m_addBookmark = new QAction( KIcon("bookmark-new"), i18n("Add Bookmark..."), this);
- m_addBookmark->setIconVisibleInMenu(false);
-
- connect(m_addBookmark, SIGNAL(triggered()), this, SLOT(slotAddBookmark()));
- m_addBookmark->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_D));
-
- bookmarksActions.append(showAllBookmarksAction);
- bookmarksActions.append(m_addBookmark);
- bookmarksMenu->setInitialActions(bookmarksActions);
-
- // ------------------------------------------------------------- WINDOW --------------------------------------------------------------------------------------------------
- m_windowMenu = menuBar()->addMenu( i18n("&Window"));
- connect(m_windowMenu, SIGNAL(aboutToShow()),
- this, SLOT(slotAboutToShowWindowMenu()));
- slotAboutToShowWindowMenu();
-
- QMenu *toolsMenu = menuBar()->addMenu( i18n("&Tools"));
- toolsMenu->addAction( i18n("Web &Search"), this, SLOT(slotWebSearch()), QKeySequence( tr("Ctrl+K", "Web Search")));
-#ifndef Q_CC_MINGW
- a = toolsMenu->addAction( i18n("Enable Web &Inspector"), this, SLOT(slotToggleInspector(bool)));
- a->setCheckable(true);
-#endif
-
- QMenu *helpMenu = menuBar()->addMenu( i18n("&Help"));
- helpMenu->addAction( i18n("About &Qt"), qApp, SLOT(aboutQt()));
- helpMenu->addAction( i18n("About &reKonq"), this, SLOT(slotAboutApplication()));
+// // ------------------------------------------------------------- EDIT --------------------------------------------------------------------------------------------------
+// QMenu *editMenu = menuBar()->addMenu(i18n("&Edit"));
+//
+// QAction *m_undo = editMenu->addAction(i18n("&Undo"));
+// m_undo->setShortcuts(QKeySequence::Undo);
+// m_tabWidget->addWebAction(m_undo, QWebPage::Undo);
+//
+// QAction *m_redo = editMenu->addAction(i18n("&Redo"));
+// m_redo->setShortcuts(QKeySequence::Redo);
+// m_tabWidget->addWebAction(m_redo, QWebPage::Redo);
+//
+// editMenu->addSeparator();
+//
+// QAction *m_cut = editMenu->addAction(i18n("Cu&t"));
+// m_cut->setShortcuts(QKeySequence::Cut);
+// m_tabWidget->addWebAction(m_cut, QWebPage::Cut);
+//
+// QAction *m_copy = editMenu->addAction(i18n("&Copy"));
+// m_copy->setShortcuts(QKeySequence::Copy);
+// m_tabWidget->addWebAction(m_copy, QWebPage::Copy);
+//
+// QAction *m_paste = editMenu->addAction(i18n("&Paste"));
+// m_paste->setShortcuts(QKeySequence::Paste);
+// m_tabWidget->addWebAction(m_paste, QWebPage::Paste);
+//
+// editMenu->addSeparator();
+//
+// QAction *m_find = editMenu->addAction(i18n("&Find"));
+// m_find->setShortcuts(QKeySequence::Find);
+// connect(m_find, SIGNAL(triggered()), this, SLOT(slotEditFind()));
+// new QShortcut(QKeySequence(Qt::Key_Slash), this, SLOT(slotEditFind()));
+//
+// QAction *m_findNext = editMenu->addAction( i18n("&Find Next"));
+// m_findNext->setShortcuts(QKeySequence::FindNext);
+// connect(m_findNext, SIGNAL(triggered()), this, SLOT(slotEditFindNext()));
+//
+// QAction *m_findPrevious = editMenu->addAction( i18n("&Find Previous"));
+// m_findPrevious->setShortcuts(QKeySequence::FindPrevious);
+// connect(m_findPrevious, SIGNAL(triggered()), this, SLOT(slotEditFindPrevious()));
+//
+// editMenu->addSeparator();
+// editMenu->addAction( i18n("&Preferences"), this, SLOT(slotPreferences()), i18n("Ctrl+,"));
+//
+//
+// // ------------------------------------------------------------- VIEW -------------------------------------------------------------------------------------------------
+// QMenu *viewMenu = menuBar()->addMenu( i18n("&View") );
+//
+// m_viewStatusbar = new KAction(this);
+// updateStatusbarActionText(true);
+// m_viewStatusbar->setShortcut( i18n("Ctrl+/") );
+// connect(m_viewStatusbar, SIGNAL(triggered()), this, SLOT(slotViewStatusbar()));
+// viewMenu->addAction(m_viewStatusbar);
+//
+// viewMenu->addSeparator();
+//
+// m_stop = viewMenu->addAction( i18n("&Stop") );
+// QList<QKeySequence> shortcuts;
+// shortcuts.append(QKeySequence(Qt::CTRL | Qt::Key_Period));
+// shortcuts.append(Qt::Key_Escape);
+// m_stop->setShortcuts(shortcuts);
+// m_tabWidget->addWebAction(m_stop, QWebPage::Stop);
+//
+// m_reload = viewMenu->addAction( i18n("Reload Page") );
+// m_reload->setShortcuts(QKeySequence::Refresh);
+// m_tabWidget->addWebAction(m_reload, QWebPage::Reload);
+//
+// viewMenu->addAction( i18n("&Make Text Bigger"), this, SLOT(slotViewTextBigger()), QKeySequence(Qt::CTRL | Qt::Key_Plus));
+// viewMenu->addAction( i18n("&Make Text Normal"), this, SLOT(slotViewTextNormal()), QKeySequence(Qt::CTRL | Qt::Key_0));
+// viewMenu->addAction( i18n("&Make Text Smaller"), this, SLOT(slotViewTextSmaller()), QKeySequence(Qt::CTRL | Qt::Key_Minus));
+//
+// viewMenu->addSeparator();
+// viewMenu->addAction( i18n("Page S&ource"), this, SLOT(slotViewPageSource()), i18n("Ctrl+Alt+U"));
+// QAction *a = viewMenu->addAction( i18n("&Full Screen"), this, SLOT(slotViewFullScreen(bool)), Qt::Key_F11);
+// a->setCheckable(true);
+//
+//
+// // ------------------------------------------------------------- HISTORY --------------------------------------------------------------------------------------------------
+// HistoryMenu *historyMenu = new HistoryMenu(this);
+// connect(historyMenu, SIGNAL(openUrl(const QUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const QUrl&)));
+// connect(historyMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
+// historyMenu->setTitle( i18n("Hi&story") );
+// menuBar()->addMenu(historyMenu);
+// QList<QAction*> historyActions;
+//
+// m_historyBack = new QAction( i18n("Back"), this);
+// m_tabWidget->addWebAction(m_historyBack, QWebPage::Back);
+// m_historyBack->setShortcuts(QKeySequence::Back);
+// m_historyBack->setIconVisibleInMenu(false);
+//
+// m_historyForward = new QAction( i18n("Forward"), this);
+// m_tabWidget->addWebAction(m_historyForward, QWebPage::Forward);
+// m_historyForward->setShortcuts(QKeySequence::Forward);
+// m_historyForward->setIconVisibleInMenu(false);
+//
+// QAction *m_historyHome = new QAction( i18n("Home"), this);
+// connect(m_historyHome, SIGNAL(triggered()), this, SLOT(slotHome()));
+// m_historyHome->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_H));
+//
+// m_restoreLastSession = new QAction( i18n("Restore Last Session"), this);
+// connect(m_restoreLastSession, SIGNAL(triggered()), BrowserApplication::instance(), SLOT(restoreLastSession()));
+// m_restoreLastSession->setEnabled(BrowserApplication::instance()->canRestoreSession());
+//
+// historyActions.append(m_historyBack);
+// historyActions.append(m_historyForward);
+// historyActions.append(m_historyHome);
+// historyActions.append(m_tabWidget->recentlyClosedTabsAction());
+// historyActions.append(m_restoreLastSession);
+// historyMenu->setInitialActions(historyActions);
+//
+// // ------------------------------------------------------------- BOOKMARKS --------------------------------------------------------------------------------------------------
+// BookmarksMenu *bookmarksMenu = new BookmarksMenu(this);
+// connect(bookmarksMenu, SIGNAL(openUrl(const QUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const QUrl&)));
+// connect(bookmarksMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
+// bookmarksMenu->setTitle(i18n("&Bookmarks"));
+// menuBar()->addMenu(bookmarksMenu);
+//
+// // FIXME
+// // BookmarksManager *bookmarksManager = BrowserApplication::bookmarksManager();
+// // bookmarksMenu->addAction(i18n("&Import Bookmarks..."), bookmarksManager, SLOT(importBookmarks()));
+// // bookmarksMenu->addAction(i18n("&Export Bookmarks..."), bookmarksManager, SLOT(exportBookmarks()));
+// // bookmarksMenu->addSeparator();
+//
+// QList<QAction*> bookmarksActions;
+//
+// QAction *showAllBookmarksAction = new QAction(i18n("Show All Bookmarks"), this);
+// connect(showAllBookmarksAction, SIGNAL(triggered()), this, SLOT(slotShowBookmarksDialog()));
+// m_addBookmark = new QAction( KIcon("bookmark-new"), i18n("Add Bookmark..."), this);
+// m_addBookmark->setIconVisibleInMenu(false);
+//
+// connect(m_addBookmark, SIGNAL(triggered()), this, SLOT(slotAddBookmark()));
+// m_addBookmark->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_D));
+//
+// bookmarksActions.append(showAllBookmarksAction);
+// bookmarksActions.append(m_addBookmark);
+// bookmarksMenu->setInitialActions(bookmarksActions);
+//
+// // ------------------------------------------------------------- WINDOW --------------------------------------------------------------------------------------------------
+// m_windowMenu = menuBar()->addMenu( i18n("&Window"));
+// connect(m_windowMenu, SIGNAL(aboutToShow()),
+// this, SLOT(slotAboutToShowWindowMenu()));
+// slotAboutToShowWindowMenu();
+//
+// QMenu *toolsMenu = menuBar()->addMenu( i18n("&Tools"));
+// toolsMenu->addAction( i18n("Web &Search"), this, SLOT(slotWebSearch()), QKeySequence( tr("Ctrl+K", "Web Search")));
+// #ifndef Q_CC_MINGW
+// a = toolsMenu->addAction( i18n("Enable Web &Inspector"), this, SLOT(slotToggleInspector(bool)));
+// a->setCheckable(true);
+// #endif
+//
+// QMenu *helpMenu = menuBar()->addMenu( i18n("&Help"));
+// helpMenu->addAction( i18n("About &Qt"), qApp, SLOT(aboutQt()));
+// helpMenu->addAction( i18n("About &reKonq"), this, SLOT(slotAboutApplication()));
}
@@ -408,44 +405,44 @@ void BrowserMainWindow::setupMenu()
void BrowserMainWindow::setupToolBar()
{
- setUnifiedTitleAndToolBarOnMac(true);
-
- m_navigationBar = addToolBar(i18n("Navigation"));
- connect(m_navigationBar->toggleViewAction(), SIGNAL(toggled(bool)), this, SLOT(updateToolbarActionText(bool)));
-
- m_historyBack->setIcon( KIcon("go-previous") );
- m_historyBackMenu = new QMenu(this);
- m_historyBack->setMenu(m_historyBackMenu);
- connect(m_historyBackMenu, SIGNAL(aboutToShow()), this, SLOT(slotAboutToShowBackMenu()));
- connect(m_historyBackMenu, SIGNAL(triggered(QAction *)), this, SLOT(slotOpenActionUrl(QAction *)));
- m_navigationBar->addAction(m_historyBack);
-
- m_historyForward->setIcon( KIcon("go-next") );
- m_historyForwardMenu = new QMenu(this);
- connect(m_historyForwardMenu, SIGNAL(aboutToShow()), this, SLOT(slotAboutToShowForwardMenu()));
- connect(m_historyForwardMenu, SIGNAL(triggered(QAction *)), this, SLOT(slotOpenActionUrl(QAction *)));
- m_historyForward->setMenu(m_historyForwardMenu);
- m_navigationBar->addAction(m_historyForward);
-
- m_stopReload = new QAction(this);
- m_reloadIcon = KIcon( "view-refresh" );
- m_stopReload->setIcon(m_reloadIcon);
- m_navigationBar->addAction(m_stopReload);
-
- m_goHome = new QAction(this);
- m_goHome->setIcon( KIcon( "go-home" ) );
- m_navigationBar->addAction(m_goHome);
- connect(m_goHome, SIGNAL(triggered()), this, SLOT(slotHome()));
-
- m_navigationBar->addWidget(m_tabWidget->lineEditStack());
-
- m_toolbarSearch = new ToolbarSearch(m_navigationBar);
- m_navigationBar->addWidget(m_toolbarSearch);
-
- // fixing toolbar movements
- m_navigationBar->setFloatable( false );
-
- connect(m_toolbarSearch, SIGNAL(search(const QUrl&)), SLOT(loadUrl(const QUrl&)));
+// setUnifiedTitleAndToolBarOnMac(true);
+//
+// m_navigationBar = addToolBar(i18n("Navigation"));
+// connect(m_navigationBar->toggleViewAction(), SIGNAL(toggled(bool)), this, SLOT(updateToolbarActionText(bool)));
+//
+// m_historyBack->setIcon( KIcon("go-previous") );
+// m_historyBackMenu = new QMenu(this);
+// m_historyBack->setMenu(m_historyBackMenu);
+// connect(m_historyBackMenu, SIGNAL(aboutToShow()), this, SLOT(slotAboutToShowBackMenu()));
+// connect(m_historyBackMenu, SIGNAL(triggered(QAction *)), this, SLOT(slotOpenActionUrl(QAction *)));
+// m_navigationBar->addAction(m_historyBack);
+//
+// m_historyForward->setIcon( KIcon("go-next") );
+// m_historyForwardMenu = new QMenu(this);
+// connect(m_historyForwardMenu, SIGNAL(aboutToShow()), this, SLOT(slotAboutToShowForwardMenu()));
+// connect(m_historyForwardMenu, SIGNAL(triggered(QAction *)), this, SLOT(slotOpenActionUrl(QAction *)));
+// m_historyForward->setMenu(m_historyForwardMenu);
+// m_navigationBar->addAction(m_historyForward);
+//
+// m_stopReload = new QAction(this);
+// m_reloadIcon = KIcon( "view-refresh" );
+// m_stopReload->setIcon(m_reloadIcon);
+// m_navigationBar->addAction(m_stopReload);
+//
+// m_goHome = new QAction(this);
+// m_goHome->setIcon( KIcon( "go-home" ) );
+// m_navigationBar->addAction(m_goHome);
+// connect(m_goHome, SIGNAL(triggered()), this, SLOT(slotHome()));
+//
+// m_navigationBar->addWidget(m_tabWidget->lineEditStack());
+//
+// m_toolbarSearch = new ToolbarSearch(m_navigationBar);
+// m_navigationBar->addWidget(m_toolbarSearch);
+//
+// // fixing toolbar movements
+// m_navigationBar->setFloatable( false );
+//
+// connect(m_toolbarSearch, SIGNAL(search(const QUrl&)), SLOT(loadUrl(const QUrl&)));
}
diff --git a/src/browsermainwindow.h b/src/browsermainwindow.h
index aba3d61d..54c590e3 100644
--- a/src/browsermainwindow.h
+++ b/src/browsermainwindow.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
@@ -30,7 +31,6 @@
#include <QUrl>
class AutoSaver;
-// class ChaseWidget;
class QWebFrame;
class TabWidget;
class ToolbarSearch;
@@ -114,24 +114,24 @@ private:
void updateStatusbarActionText(bool visible);
private:
- QToolBar *m_navigationBar;
+ KToolBar *m_navigationBar;
ToolbarSearch *m_toolbarSearch;
TabWidget *m_tabWidget;
AutoSaver *m_autoSaver;
- QAction *m_historyBack;
- QMenu *m_historyBackMenu;
- QAction *m_historyForward;
- QMenu *m_historyForwardMenu;
- QMenu *m_windowMenu;
-
- QAction *m_stop;
- QAction *m_reload;
- QAction *m_stopReload;
- QAction *m_goHome;
- QAction *m_viewStatusbar;
- QAction *m_restoreLastSession;
- QAction *m_addBookmark;
+ KAction *m_historyBack;
+ KMenu *m_historyBackMenu;
+ KAction *m_historyForward;
+ KMenu *m_historyForwardMenu;
+ KMenu *m_windowMenu;
+
+ KAction *m_stop;
+ KAction *m_reload;
+ KAction *m_stopReload;
+ KAction *m_goHome;
+ KAction *m_viewStatusbar;
+ KAction *m_restoreLastSession;
+ KAction *m_addBookmark;
KIcon m_reloadIcon;
KIcon m_stopIcon;
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp
index 098506c9..8e985abc 100644
--- a/src/cookiejar.cpp
+++ b/src/cookiejar.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/cookiejar.h b/src/cookiejar.h
index 50d007f0..fbc89946 100644
--- a/src/cookiejar.h
+++ b/src/cookiejar.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef COOKIEJAR_H
#define COOKIEJAR_H
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp
index e3254cba..7584f36a 100644
--- a/src/downloadmanager.cpp
+++ b/src/downloadmanager.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index af33ea12..89981641 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/edittableview.cpp b/src/edittableview.cpp
index d47ac78b..5f60721a 100644
--- a/src/edittableview.cpp
+++ b/src/edittableview.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "edittableview.h"
#include <QtGui/QKeyEvent>
diff --git a/src/edittableview.h b/src/edittableview.h
index f22c3ce9..48d60d2a 100644
--- a/src/edittableview.h
+++ b/src/edittableview.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef EDITTABLEVIEW_H
#define EDITTABLEVIEW_H
diff --git a/src/edittreeview.cpp b/src/edittreeview.cpp
index 5e55fd16..e01843f8 100644
--- a/src/edittreeview.cpp
+++ b/src/edittreeview.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "edittreeview.h"
diff --git a/src/edittreeview.h b/src/edittreeview.h
index 1341ad62..b4a46b6f 100644
--- a/src/edittreeview.h
+++ b/src/edittreeview.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef EDITTREEVIEW_H
#define EDITTREEVIEW_H
diff --git a/src/history.cpp b/src/history.cpp
index 985a03ac..ea322b65 100644
--- a/src/history.cpp
+++ b/src/history.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/history.h b/src/history.h
index 1a4a0743..80b9f517 100644
--- a/src/history.h
+++ b/src/history.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/main.cpp b/src/main.cpp
index d99226cf..304c2301 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/modelmenu.cpp b/src/modelmenu.cpp
index 3a8fb0cd..3f543a1f 100644
--- a/src/modelmenu.cpp
+++ b/src/modelmenu.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "modelmenu.h"
diff --git a/src/modelmenu.h b/src/modelmenu.h
index 81928256..d539d6bf 100644
--- a/src/modelmenu.h
+++ b/src/modelmenu.h
@@ -1,39 +1,23 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
+
#ifndef MODELMENU_H
#define MODELMENU_H
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index f09a39ab..01ab06ce 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h
index 06fc6efd..45ef1b0d 100644
--- a/src/networkaccessmanager.h
+++ b/src/networkaccessmanager.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/searchlineedit.cpp b/src/searchlineedit.cpp
index 16ba0ccd..620b3991 100644
--- a/src/searchlineedit.cpp
+++ b/src/searchlineedit.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/searchlineedit.h b/src/searchlineedit.h
index d9f2aecb..f7bbeb39 100644
--- a/src/searchlineedit.h
+++ b/src/searchlineedit.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/settings.cpp b/src/settings.cpp
index a3a85ee1..9aa2963d 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "settings.h"
diff --git a/src/settings.h b/src/settings.h
index dfd8dd15..fbedaf4e 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef SETTINGS_H
#define SETTINGS_H
diff --git a/src/squeezelabel.cpp b/src/squeezelabel.cpp
index f8687ca7..334219df 100644
--- a/src/squeezelabel.cpp
+++ b/src/squeezelabel.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "squeezelabel.h"
diff --git a/src/squeezelabel.h b/src/squeezelabel.h
index 8dd996ef..7baee5f5 100644
--- a/src/squeezelabel.h
+++ b/src/squeezelabel.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef SQUEEZELABEL_H
#define SQUEEZELABEL_H
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index e775453b..6c340793 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/tabwidget.h b/src/tabwidget.h
index 89d87410..15db1349 100644
--- a/src/tabwidget.h
+++ b/src/tabwidget.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/toolbarsearch.cpp b/src/toolbarsearch.cpp
index 26661386..4fd3aa51 100644
--- a/src/toolbarsearch.cpp
+++ b/src/toolbarsearch.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/toolbarsearch.h b/src/toolbarsearch.h
index a9a20a1d..81f06180 100644
--- a/src/toolbarsearch.h
+++ b/src/toolbarsearch.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/urllineedit.cpp b/src/urllineedit.cpp
index 47900c04..bd48bb03 100644
--- a/src/urllineedit.cpp
+++ b/src/urllineedit.cpp
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#include "urllineedit.h"
diff --git a/src/urllineedit.h b/src/urllineedit.h
index 283ff48e..726a2b2b 100644
--- a/src/urllineedit.h
+++ b/src/urllineedit.h
@@ -1,39 +1,22 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
-**
-** This file is part of the demonstration applications of the Qt Toolkit.
-**
-** Commercial Usage
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License versions 2.0 or 3.0 as published by the Free
-** Software Foundation and appearing in the file LICENSE.GPL included in
-** the packaging of this file. Please review the following information
-** to ensure GNU General Public Licensing requirements will be met:
-** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
-** http://www.gnu.org/copyleft/gpl.html. In addition, as a special
-** exception, Nokia gives you certain additional rights. These rights
-** are described in the Nokia Qt GPL Exception version 1.3, included in
-** the file GPL_EXCEPTION.txt in this package.
-**
-** Qt for Windows(R) Licensees
-** As a special exception, Nokia, as the sole copyright holder for Qt
-** Designer, grants users of the Qt/Eclipse Integration plug-in the
-** right for the Qt/Eclipse Integration to link to functionality
-** provided by Qt Designer and its related libraries.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
-**
-****************************************************************************/
+/* ============================================================
+ *
+ * This file is a part of the reKonq project
+ *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+ * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
+ *
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
#ifndef URLLINEEDIT_H
#define URLLINEEDIT_H
diff --git a/src/webview.cpp b/src/webview.cpp
index 2d059194..612a8a34 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/webview.h b/src/webview.h
index ea955a71..14fbc8aa 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
diff --git a/src/xbel.cpp b/src/xbel.cpp
index 788c6d03..13a91ccb 100644
--- a/src/xbel.cpp
+++ b/src/xbel.cpp
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*
@@ -26,6 +27,7 @@
// Qt Includes
#include <QFile>
+
BookmarkNode::BookmarkNode(BookmarkNode::Type type, BookmarkNode *parent) :
expanded(false)
, m_parent(parent)
diff --git a/src/xbel.h b/src/xbel.h
index 972bbf17..b636a437 100644
--- a/src/xbel.h
+++ b/src/xbel.h
@@ -2,6 +2,7 @@
 *
 * This file is a part of the reKonq project
 *
+ * Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
 *
*