I\'m trying to move into c++ for the Zaurus and am at the baby step stages.
I\'ve had some luck with apps that have only one screen and am now trying to develop one that displays two. With the code below, I can display either ScreenOne or ScreenTwo by commenting out one or the other. My goal is to have the button on screen 1 call screen 2 and vice-versa.
My coding background is limited to procedural languages. I\'m working with the \'Thinking in C++\' books, but this my first exposure to OOP.
Can someone help a newbie?
Thanks
Jeff Elkins
int main( int argc, char **argv )
{
QPEApplication a( argc, argv );
ScreenOne w;
w.setCaption(\"Gather Input\");
w.setGeometry( 0, 15, 240, 320 );
a.setMainWidget( &w );
w.show();
return a.exec();
ScreenTwo z;
z.setCaption(\"Display Calculations\");
z.setGeometry( 0, 15, 240, 320 );
a.setMainWidget( &z );
z.show();
return a.exec();
}