Logo Search packages:      
Sourcecode: callgrind version File versions  Download package

qttest.cpp

#include <qpushbutton.h>
#include <qapplication.h>

int main(int argc, char* argv[])
{
      QApplication a(argc,argv);
      QPushButton b(0);

      b.setText("Hallo");
      a.setMainWidget(&b);
      b.show();

      return a.exec();
}

Generated by  Doxygen 1.6.0   Back to index