1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

Applied some patches found by EBN (thanks to Nicolas Lécureuil for the patches!).

svn path=/trunk/playground/utils/dolphin/; revision=621872
This commit is contained in:
Peter Penz 2007-01-10 00:04:16 +00:00
parent 8046908e5b
commit d8ab89171d
38 changed files with 52 additions and 52 deletions

View File

@ -38,7 +38,7 @@ class BookmarksSettingsPage : public SettingsPageBase
Q_OBJECT
public:
BookmarksSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
explicit BookmarksSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
virtual ~BookmarksSettingsPage();

View File

@ -40,7 +40,7 @@ class DolphinDetailsView : public QListView
Q_OBJECT
public:
DolphinDetailsView(DolphinView* parent);
explicit DolphinDetailsView(DolphinView* parent);
virtual ~DolphinDetailsView();
};

View File

@ -38,7 +38,7 @@ public:
virtual ~DolphinDirLister();
signals:
/** Is emitted whenever an error occured. */
/** Is emitted whenever an error has occured. */
void errorMessage(const QString& msg);
protected:

View File

@ -38,7 +38,7 @@ class DolphinIconsView : public QListView
Q_OBJECT
public:
DolphinIconsView(DolphinView* parent);
explicit DolphinIconsView(DolphinView* parent);
virtual ~DolphinIconsView();
protected:

View File

@ -437,7 +437,7 @@ void DolphinMainWindow::createFile()
clearStatusBar();
// TODO: const Entry& entry = m_createFileTemplates[QString(sender->name())];
// should be enough. Anyway: the implemantation of [] does a linear search internally too.
// should be enough. Anyway: the implementation of [] does a linear search internally too.
KSortableList<CreateFileEntry, QString>::ConstIterator it = m_createFileTemplates.begin();
KSortableList<CreateFileEntry, QString>::ConstIterator end = m_createFileTemplates.end();

View File

@ -39,7 +39,7 @@ class DolphinSettingsDialog : public KPageDialog {
Q_OBJECT
public:
DolphinSettingsDialog(DolphinMainWindow* mainWindow);
explicit DolphinSettingsDialog(DolphinMainWindow* mainWindow);
virtual ~DolphinSettingsDialog();
protected slots:

View File

@ -59,7 +59,7 @@ class InfoSidebarPage : public SidebarPage
Q_OBJECT
public:
InfoSidebarPage(DolphinMainWindow* mainWindow, QWidget* parent=0);
explicit InfoSidebarPage(DolphinMainWindow* mainWindow, QWidget* parent=0);
virtual ~InfoSidebarPage();
protected:

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "pixmapviewer.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef PIXMAPVIEWER_H
@ -36,7 +36,7 @@ class PixmapViewer : public QWidget
{
Q_OBJECT
public:
PixmapViewer(QWidget* parent);
explicit PixmapViewer(QWidget* parent);
virtual ~PixmapViewer();
void setPixmap(const QPixmap& pixmap);
const QPixmap& pixmap() const { return m_pixmap; }

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "progressindicator.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef PROGRESSINDICATOR_H
#define PROGRESSINDICATOR_H

View File

@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include <q3popupmenu.h>

View File

@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef PROTOCOLCOMBO_H
#define PROTOCOLCOMBO_H
@ -33,7 +33,7 @@ class ProtocolCombo : public UrlNavigatorButton
Q_OBJECT
public:
ProtocolCombo(const QString& protocol, UrlNavigator* parent = 0);
explicit ProtocolCombo(const QString& protocol, UrlNavigator* parent = 0);
QString currentProtocol() const;

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "renamedialog.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef RENAMEDIALOG_H
#define RENAMEDIALOG_H
@ -45,7 +45,7 @@ class RenameDialog : public KDialog
Q_OBJECT
public:
RenameDialog(const KUrl::List& items);
explicit RenameDialog(const KUrl::List& items);
virtual ~RenameDialog();
/**

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "settingspagebase.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef SETTINGSPAGEBASE_H
@ -33,7 +33,7 @@ class SettingsPageBase : public QWidget
Q_OBJECT
public:
SettingsPageBase(QWidget* parent);
explicit SettingsPageBase(QWidget* parent);
virtual ~SettingsPageBase();
/**

View File

@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "sidebarpage.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef _SIDEBARPAGE_H_
@ -36,7 +36,7 @@ class SidebarPage : public QWidget
Q_OBJECT
public:
SidebarPage(DolphinMainWindow* mainwindow, QWidget* parent=0);
explicit SidebarPage(DolphinMainWindow* mainwindow, QWidget* parent=0);
virtual ~SidebarPage();
protected slots:

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "statusbarmessagelabel.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef STATUSBARMESSAGELABEL_H
@ -45,7 +45,7 @@ class StatusBarMessageLabel : public QWidget
Q_OBJECT
public:
StatusBarMessageLabel(QWidget* parent);
explicit StatusBarMessageLabel(QWidget* parent);
virtual ~StatusBarMessageLabel();
void setType(DolphinStatusBar::Type type);

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "statusbarspaceinfo.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef STATUSBARSPACEINFO_H
#define STATUSBARSPACEINFO_H
@ -38,7 +38,7 @@ class StatusBarSpaceInfo : public QWidget
Q_OBJECT
public:
StatusBarSpaceInfo(QWidget* parent);
explicit StatusBarSpaceInfo(QWidget* parent);
virtual ~StatusBarSpaceInfo();
void setUrl(const KUrl& url);

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "undomanager.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef UNDOMANAGER_H

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef URLBUTTON_H
@ -41,7 +41,7 @@ class UrlButton : public QPushButton
Q_OBJECT
public:
UrlButton(UrlNavigator* parent);
explicit UrlButton(UrlNavigator* parent);
virtual ~UrlButton();
UrlNavigator* urlNavigator() const;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "urlnavigator.h"

View File

@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (C) 2006 by Peter Penz *
* peter.penz@gmx.at *
/**************************************************************************
* Copyright (C) 2006 by Peter Penz *
* peter.penz@gmx.at *
* *
* 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 *
@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef UrlNAVIGATOR_H

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "urlnavigatorbutton.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef UrlNAVIGATORBUTTON_H
#define UrlNAVIGATORBUTTON_H
@ -52,7 +52,7 @@ class UrlNavigatorButton : public UrlButton
Q_OBJECT
public:
UrlNavigatorButton(int index, UrlNavigator* parent = 0);
explicit UrlNavigatorButton(int index, UrlNavigator* parent = 0);
virtual ~UrlNavigatorButton();
void setIndex(int index);
int index() const { return m_index; }

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include <assert.h>

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef VIEWPROPERTIES_H
@ -48,7 +48,7 @@ class QFile;
class ViewProperties
{
public:
ViewProperties(const KUrl& url);
explicit ViewProperties(const KUrl& url);
virtual ~ViewProperties();
void setViewMode(DolphinView::Mode mode);

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "viewpropertiesdialog.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef VIEWPROPERTIESDIALOG_H
#define VIEWPROPERTIESDIALOG_H
@ -40,7 +40,7 @@ class ViewPropertiesDialog : public KDialog
Q_OBJECT
public:
ViewPropertiesDialog(DolphinView* dolphinView);
explicit ViewPropertiesDialog(DolphinView* dolphinView);
virtual ~ViewPropertiesDialog();
private slots:

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "viewpropsprogressinfo.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef VIEWPROPSPROGRESSINFO_H
#define VIEWPROPSPROGRESSINFO_H

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "viewsettingspage.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef VIEWSETTINGSPAGE_H
#define VIEWSETTINGSPAGE_H