~ubuntu-branches/ubuntu/precise/linpsk/precise

« back to all changes in this revision

Viewing changes to src/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jerry Stueve
  • Date: 2010-08-21 20:00:00 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100821200000-q5luegsye0b7tfs1
Tags: 1.1-1
* Move to alsa sound system (Closes: #575243)
* Move to qt4 packaging
* Add menu & desktop entries
* Update standards revision to 3.9.1
* Update to 3.0 (quilt) for patch management.
* Update to debhelper 7
* Correct spelling error in messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 *   it under the terms of the GNU General Public License as published by  *
13
13
 *   the Free Software Foundation; either version 2 of the License, or     *
14
14
 *   (at your option) any later version.                                   *
15
 
 *   The PSK part is based on WinPSk 1.0 by Moe Wheatly, AE4JY             *                   
 
15
 *   The PSK part is based on WinPSk 1.0 by Moe Wheatly, AE4JY             *
16
16
 ***************************************************************************/
17
17
 
18
18
#ifdef HAVE_CONFIG_H
19
19
#include <config.h>
20
20
#endif
21
21
 
22
 
#include <stdlib.h>
23
 
#include <qapplication.h>
24
 
#include <qmessagebox.h>
 
22
#include <QApplication>
25
23
#include "linpsk.h"
26
24
#include "parameter.h"
27
25
 
30
28
 
31
29
Parameter settings;
32
30
 
33
 
int main(int argc, char *argv[])
 
31
int main ( int argc, char *argv[] )
34
32
{
35
 
        QApplication a( argc, argv );
 
33
        QApplication a ( argc, argv );
36
34
 
37
 
        LinPSK *w = new LinPSK(0,"LinPSK");
38
 
        w->show();
39
 
        a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
40
 
        a.exec();
41
 
        return Pa_Terminate();
42
 
        
 
35
        LinPSK *w = new LinPSK ( 0 );
 
36
        w->show();
 
37
        a.connect ( &a, SIGNAL ( lastWindowClosed() ), &a, SLOT ( quit() ) );
 
38
        a.exec();
 
39
        return 0;
43
40
}