[Kst] branches/work/kst/1.6/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Fri Sep 28 22:27:08 CEST 2007
SVN commit 718493 by arwalker:
format changes
M +6 -7 kstgraphfiledialog_i.cpp
M +1 -1 kstgraphfiledialog_i.h
--- branches/work/kst/1.6/kst/src/libkstapp/kstgraphfiledialog_i.cpp #718492:718493
@@ -1,5 +1,5 @@
/***************************************************************************
- kstgraphdialog_i.cpp - Part of KST
+ kstgraphfiledialog_i.cpp - Part of KST
-------------------
begin :
copyright : (C) 2003 The University of Toronto
@@ -45,7 +45,7 @@
connect(_Apply, SIGNAL(clicked()), this, SLOT(apply_I()));
connect(_comboBoxSizeOption, SIGNAL(activated(int)), this, SLOT(enableWidthHeight()));
connect(_comboBoxFormats, SIGNAL(activated(const QString&)), this, SLOT(enableEPSVector(const QString&)));
-
+
_saveLocation->setFilter(KImageIO::mimeTypes().join(" "));
_saveLocation->setMode(KFile::File);
@@ -87,7 +87,7 @@
_savePeriod = _period->value();
_saveEPSAsVector = _saveEPSVector->isChecked();
applyAutosave();
-
+
if (!_autoSave) {
if (_format == "EPS" && _saveEPSAsVector) {
reqEpsGraphFile();
@@ -147,7 +147,7 @@
cfg.writeEntry("All", _allWindows);
cfg.writeEntry("Format", _format);
cfg.writeEntry("EPSVector", _saveEPSAsVector);
-
+
cfg.sync();
}
@@ -179,7 +179,6 @@
void KstGraphFileDialogI::enableEPSVector(const QString &format) {
- // FIXME: i18n
_saveEPSVector->setEnabled(format == "EPS");
}
@@ -233,10 +232,10 @@
_period->setValue(_savePeriod);
_period->setEnabled(_autoSave);
_saveEPSVector->setChecked(_saveEPSAsVector);
-
+
enableEPSVector(_comboBoxFormats->currentText());
enableWidthHeight();
}
#include "kstgraphfiledialog_i.moc"
-// vim: ts=2 sw=2 et
+
--- branches/work/kst/1.6/kst/src/libkstapp/kstgraphfiledialog_i.h #718492:718493
@@ -1,5 +1,5 @@
/***************************************************************************
- kstgraphdialog_i.h - Part of KST
+ kstgraphfiledialog_i.h - Part of KST
-------------------
begin :
copyright : (C) 2003 The University of Toronto
More information about the Kst
mailing list