[Kst] kdeextragear-2/kst
George Staikos
staikos at kde.org
Wed Nov 5 01:06:08 CET 2003
CVS commit by staikos:
update the spec file for the plugins, add the stub for the reload action
M +9 -0 kst.spec.in 1.11
M +9 -0 kst/kst.cpp 1.55
M +5 -1 kst/kst.h 1.22
M +5 -1 kst/kstui.rc 1.9
--- kdeextragear-2/kst/kst.spec.in #1.10:1.11
@@ -34,5 +34,14 @@
%prefix/lib/libkst.so.1.0.0
#plugins
+%prefix/share/services/kst/kstdata_ascii.desktop
%prefix/lib/kde3/kstdata_ascii.so
+%prefix/share/services/kst/kstdata_indirect.desktop
+%prefix/lib/kde3/kstdata_indirect.so
+%prefix/share/services/kst/kstdata_dirfile.desktop
+%prefix/lib/kde3/kstdata_dirfile.so
+%prefix/share/services/kst/kstdata_frame.desktop
+%prefix/lib/kde3/kstdata_frame.so
+%prefix/share/services/kst/kstdata_planck.desktop
+%prefix/lib/kde3/kstdata_planck.so
# UI file
%prefix/share/apps/kst/kstui.rc
--- kdeextragear-2/kst/kst/kst.cpp #1.54:1.55
@@ -389,4 +389,6 @@ void KstApp::initActions() {
actionCollection(), "datamode_action");
+ _reloadAction = new KAction(i18n("Reload"), "reload", Key_F5, this, SLOT(reload()),
+ actionCollection(), "reload");
createGUI();
}
@@ -813,4 +818,8 @@ void KstApp::registerDocChange() {
doc->setModified();
updateDialogs();
+}
+
+
+void KstApp::reload() {
}
--- kdeextragear-2/kst/kst/kst.h #1.21:1.22
@@ -102,4 +102,6 @@ public:
void forcedUpdate();
+ KstView *viewObject() const { return view; }
+
protected:
/** save options to the configuration file
@@ -250,5 +252,5 @@ public slots:
void registerDocChange();
- KstView *viewObject() const { return view; }
+ void reload();
private:
@@ -304,4 +306,6 @@ private:
/** TiedZoom Button */
KAction *TiedZoomAction;
+
+ KAction *_reloadAction;
/** Radio Collection: XY, X, Y zoom */
--- kdeextragear-2/kst/kst/kstui.rc #1.8:1.9
@@ -1,4 +1,4 @@
<!DOCTYPE kpartgui>
-<kpartgui name="kst">
+<kpartgui version="2" name="kst">
<MenuBar>
<Menu name="file"><text>&File</text>
@@ -9,4 +9,6 @@
</Menu>
<Menu name="data"><text>&Data</text>
+ <Action name="reload"/>
+ <Separator/>
<Action name="datamanager_action"/>
<Separator/>
@@ -49,4 +51,6 @@
</MenuBar>
<ToolBar name="mainToolBar">
+ <Action name="reload"/>
+ <Separator/>
<Action name="graphfiledialog_action"/>
<Separator/>
More information about the Kst
mailing list