Version: 1.1.0_dr1 (using KDE 3.3.0, compiled sources) Compiler: gcc version 3.3.2 OS: SunOS (sun4u) release 5.8 I have started investigating possible uses of the dcop interface for kst scripting and one thing I would want to use does not seem to be implemented yet, namely the ability to change the datafile for a given vector or series of vectors. To be more precise, I would have the use of: 1) a function that changes the datafile for one vector: bool changeDataFileOneVector(QString objectName, QString filename) 2) a function that changes the datafile for all vectors from a first file (file1) to another file (file2): bool changeDataFileAllVectors(QString currentFilename, QString newFilename)
The preferred method for changing all files with data file X to data file Y is to use an indirect file (.cur). I will add the following DCOP calls: bool changeDataFile(const QString& fileName); bool changeDataFile(const QString& vector, const QString& fileName); bool changeDataFiles(const QStringList& vectors, const QString& fileName);
CVS commit by staikos: - fix locking issues detected when reviewing kstchangefiledialog - add dcop interfaces to change files for vectors FEATURE: 96445 M +7 -5 kstchangefiledialog_i.cpp 1.32 M +7 -0 kstiface.h 1.32 M +82 -0 kstiface_impl.cpp 1.61 M +7 -0 kstiface_impl.h 1.29