[Kst] branches/work/kst/portto4/kst/src
Mike Fenton
mike at staikos.net
Wed Jun 25 19:12:44 CEST 2008
SVN commit 824385 by fenton:
Cleanup of warnings / constructors for base objects.
M +2 -0 libkst/coredocument.cpp
M +1 -0 libkst/datasource.cpp
M +1 -1 libkst/namedobject.cpp
M +1 -0 libkst/object.cpp
M +1 -0 libkst/primitive.cpp
M +1 -0 libkstapp/datatab.cpp
M +1 -1 libkstapp/viewmanager.cpp
M +1 -0 libkstmath/dataobject.cpp
M +1 -0 libkstmath/relation.cpp
--- branches/work/kst/portto4/kst/src/libkst/coredocument.cpp #824384:824385
@@ -47,6 +47,7 @@
bool CoreDocument::save(const QString& to) {
+ Q_UNUSED(to);
#if 0
// TODO:
// - KSaveFile-ish behavior
@@ -121,6 +122,7 @@
bool CoreDocument::open(const QString& file) {
+ Q_UNUSED(file);
_isOpen = false;
#if 0
QFile f(file);
--- branches/work/kst/portto4/kst/src/libkst/datasource.cpp #824384:824385
@@ -520,6 +520,7 @@
void DataSource::processUpdate(ObjectPtr object) {
+ Q_UNUSED(object);
UpdateManager::self()->updateStarted(this, this);
emit sourceUpdated(this);
UpdateManager::self()->updateFinished(this, this);
--- branches/work/kst/portto4/kst/src/libkst/namedobject.cpp #824384:824385
@@ -156,4 +156,4 @@
return Name();
}
-}
\ No newline at end of file
+}
--- branches/work/kst/portto4/kst/src/libkst/object.cpp #824384:824385
@@ -84,6 +84,7 @@
}
void Object::processUpdate(ObjectPtr object) {
+ Q_UNUSED(object);
// Do nothing by default.
}
--- branches/work/kst/portto4/kst/src/libkst/primitive.cpp #824384:824385
@@ -30,6 +30,7 @@
Primitive::Primitive(ObjectStore *store, Object *provider)
: _provider(provider) {
+ Q_UNUSED(store);
_slaveName = "fixme: set _slaveName";
}
--- branches/work/kst/portto4/kst/src/libkstapp/datatab.cpp #824384:824385
@@ -25,6 +25,7 @@
void DataTab::setObjectStore(ObjectStore *store) {
+ Q_UNUSED(store);
}
--- branches/work/kst/portto4/kst/src/libkstapp/viewmanager.cpp #824384:824385
@@ -25,7 +25,7 @@
setupUi(this);
View *v = kstApp->mainWindow()->tabWidget()->currentView();
if (v) {
- QGraphicsScene *scene = v->scene();
+// QGraphicsScene *scene = v->scene();
// Setup a model for the scene
//_view->setModel(scene);
}
--- branches/work/kst/portto4/kst/src/libkstmath/dataobject.cpp #824384:824385
@@ -50,6 +50,7 @@
DataObject::DataObject(ObjectStore *store) : Object() {
+ Q_UNUSED(store);
_curveHints = new CurveHintList;
_isInputLoaded = false;
}
--- branches/work/kst/portto4/kst/src/libkstmath/relation.cpp #824384:824385
@@ -31,6 +31,7 @@
const QString Relation::staticTypeString = I18N_NOOP("Relation");
Relation::Relation(ObjectStore *store) : Object() {
+ Q_UNUSED(store);
commonConstructor();
}
More information about the Kst
mailing list