Sharp Qtopia Desktop Specifications Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 63
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
SHARP CORPORATION
Sharp SL-series Zaurus “Qtopia” Development Start-up Guide
Ver 1.11, February 28, 2003, 24/63
appsample.cpp (continued)
// File menu
actMenu1 = new QAction( tr( "Menu1" ), QString::null, 0, this, 0 );
connect( actMenu1, SIGNAL( activated() ), this, SLOT( slotMenu1() ) );
actMenu1->addTo(listMenuFile);
// Option menu
actMenu2 = new QAction( tr( "Menu2" ), QString::null, 0, this, 0 );
connect( actMenu2, SIGNAL( activated() ), this, SLOT( slotMenu2() ) );
actMenu2->addTo(listMenuOption);
}
AppSample::~AppSample()
{
}
void AppSample::setDocument(const QString& fileref)
{
}
void AppSample::slotMenu1()
{
QMessageBox::warning(this,tr("menu"),tr("Menu1"));
}
void AppSample::slotMenu2()
{
QMessageBox::warning(this,tr("menu"),tr("Menu2"));
}
// eof
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 62 63

Comments to this Manuals

No comments