~ubuntu-branches/ubuntu/lucid/codelite/lucid-updates

« back to all changes in this revision

Viewing changes to Runtime/templates/projects/executable-qt-enabled/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-05-27 04:16:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090527041642-0yz67hytd4qnpzka
Tags: 1.0.2841+dfsg-0ubuntu1
* New upstream release (LP: #380732)
* debian/*.lintian-overrides:
  + Drop them, they're pointless anyway
* debian/control,
  debian/rules,
  debian/README.source:
  + Use DH 7.0.50, with override rules instead of CDBS
  + Bump quilt version to 0.46-7 for DH integration
  + Tidy up get-orig-source rule
* debian/patches/01_symlink.patch:
  + Dropped, applied upstream
* debian/patches/03_cstdio-include.patch:
  + Dropped, fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <QApplication>
 
2
#include <QFont>
 
3
#include <QPushButton>
 
4
 
 
5
int main(int argc, char* argv[])
 
6
{
 
7
    QApplication app(argc, argv);
 
8
 
 
9
    QPushButton quit("Quit");
 
10
 
 
11
    quit.resize(75, 30);
 
12
    quit.setFont(QFont("Times", 18, QFont::Bold));
 
13
 
 
14
    QObject::connect(&quit, SIGNAL(clicked()), &app, SLOT(quit()));
 
15
 
 
16
    quit.show();
 
17
 
 
18
    return app.exec();
 
19
}