Hi I am building an applications that is split into sections.
My Main application is a timetable register program that works quite well. I have made a new application (getter) that will search for timetables (xml files) and list them. I need to get the getter application to return a values but I can't because the constructor will not allow a return value. The return value is the a QString that holds the Path to the timetable (xml file) that needs to be opened.
How do I ceate my module to return a value.
I am new to QT but I thought I could create modules indepentanlt (but share the basic app libs). Then tie the apps together. I have done this with one of my modules but a return value was not needed.
void Regit::classCreator() {
Creator* nCreator;
nCreator = new Creator();
nCreator->show();
}
I need something like this:
void Regit:
penTimeTable() {
QString filetoopen;
nCreator = new Getter();
nCreator->show();
//nCreator exits and returns a value
filetoopen = nCreator.exits();
// open the new file
timetable.openTimeTable( filetoopen );
}
The code for the basic release is @
sourceforge.net/projects/regit/
and
regit.sourceforge.net
I am currently looking for developers to lend a hand? hint hint
Gizard