[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kviewshell-0.7/kviewshell/shell
From: Wilfried Huss <Wilfried.Huss () gmx ! at>
Date: 2005-10-15 11:58:43
Message-ID: 1129377523.209119.14737.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 470828 by whuss:
Remove the additional nonstandard about dialog, since it is not
needed anymore. But we will still need a method to display the
about information of the plugins.
M +0 -3 kviewerpart.rc
M +1 -42 kviewpart.cpp
M +0 -6 kviewpart.h
--- branches/work/kviewshell-0.7/kviewshell/shell/kviewerpart.rc #470827:470828
@@ -65,9 +65,6 @@
<Action name="watch_file" group="additional_settings_merge"/>
<Action name="options_configure" group="configure_merge"/>
</Menu>
- <Menu name="help"><text>&Help</text>
- <Action name="help_about_kviewshell" group="help_about"/>
- </Menu>
</MenuBar>
<ToolBar name="mainToolBar">
--- branches/work/kviewshell-0.7/kviewshell/shell/kviewpart.cpp #470827:470828
@@ -8,7 +8,6 @@
#include <qprinter.h>
#include <qprintdialog.h>
-#include <kaboutdialog.h>
#include <kaccel.h>
#include <kaction.h>
#include <kapplication.h>
@@ -59,7 +58,7 @@
KViewPart::KViewPart(QWidget *parentWidget, const char *widgetName, QObject *parent,
const char *name, const QStringList& args)
: KViewPart_Iface(parent, name), showSidebar(0), saveAction(0), partManager(0),
- multiPage(0), multiPageLibrary(QString::null), aboutDialog(0)
+ multiPage(0), multiPageLibrary(QString::null)
{
KGlobal::locale()->insertCatalogue("kviewshell");
@@ -295,14 +294,6 @@
settingsAction = KStdAction::preferences(this, SLOT(doSettings()), actionCollection());
- // We only show this menuitem if no default mimetype is set. This usually means kviewshell
- // has been started by itself. Otherwise if KDVI or KFaxView has been started show the
- // additional about information.
- if (!args.isEmpty())
- {
- aboutAction = new KAction(i18n("About KViewShell"), "kviewshell", 0, this,
- SLOT(aboutKViewShell()), actionCollection(), "help_about_kviewshell");
- }
// keyboard accelerators
accel = new KAccel(mainWidget);
@@ -1428,39 +1419,7 @@
I18N_NOOP("Copyright (c) 2005 Wilfried Huss"));
}
-void KViewPart::aboutKViewShell()
-{
- if (aboutDialog == 0)
- {
- // Create Dialog
- aboutDialog = new KAboutDialog(mainWidget, "about_kviewshell");
- aboutDialog->setTitle(I18N_NOOP("KViewShell"));
- aboutDialog->setVersion("0.6");
- aboutDialog->setAuthor("Matthias Hoelzer-Kluepfel", QString::null, QString::null,
- I18N_NOOP("Original Author"));
- aboutDialog->addContributor("Matthias Hoelzer-Kluepfel", "mhk@caldera.de", QString::null,
- I18N_NOOP("Framework"));
- aboutDialog->addContributor("David Sweet", "dsweet@kde.org", "http://www.chaos.umd.edu/~dsweet",
- I18N_NOOP("Former KGhostView Maintainer"));
- aboutDialog->addContributor("Mark Donohoe", QString::null, QString::null,
- I18N_NOOP("KGhostView Author"));
- aboutDialog->addContributor("Markku Hihnala", QString::null, QString::null,
- I18N_NOOP("Navigation widgets"));
- aboutDialog->addContributor("David Faure", QString::null, QString::null,
- I18N_NOOP("Basis for shell"));
- aboutDialog->addContributor("Daniel Duley", QString::null, QString::null,
- I18N_NOOP("Port to KParts"));
- aboutDialog->addContributor("Espen Sand", QString::null, QString::null,
- I18N_NOOP("Dialog boxes"));
- aboutDialog->addContributor("Stefan Kebekus", "kebekus@kde.org", QString::null,
- I18N_NOOP("DCOP-Interface, major improvements"));
- aboutDialog->addContributor("Wilfried Huss", "Wilfried.Huss@gmx.at", QString::null,
- I18N_NOOP("Interface enhancements"));
- }
- aboutDialog->show();
-}
-
void KViewPart::doSettings()
{
if (KConfigDialog::showDialog("kviewshell_config"))
--- branches/work/kviewshell-0.7/kviewshell/shell/kviewpart.h #470827:470828
@@ -10,7 +10,6 @@
#include <qtimer.h>
class KAboutData;
-class KAboutDialog;
class KAccel;
class KAction;
class KConfig;
@@ -124,8 +123,6 @@
void doSettings();
void preferencesChanged();
- void aboutKViewShell();
-
void slotEnableMoveTool();
void slotEnableSelectionTool();
void slotEnableRulerTool();
@@ -189,7 +186,6 @@
KAction *backAction;
KAction *forwardAction;
KAction *settingsAction;
- KAction* aboutAction;
KToggleAction *watchAct,*useDocumentSpecifiedSize,
*fitPageAct, *fitHeightAct, *fitWidthAct;
KSelectAction* viewModeAction;
@@ -234,8 +230,6 @@
pageSizeDialog *_pageSizeDialog;
QTimer fitTimer;
-
- KAboutDialog* aboutDialog;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic