~ubuntu-branches/debian/sid/unixodbc/sid

« back to all changes in this revision

Viewing changes to DataManagerII/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2004-10-15 03:07:52 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041015030752-dzw4vhxlgycz3woj
Tags: 2.2.4-11
Brown paper bag me: conflicts do not write themselves just because
you add a line to the changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************
 
2
 *
 
3
 *
 
4
 **************************************************
 
5
 * This code was created by Peter Harvey @ CodeByDesign.
 
6
 * Released under GPL 18.FEB.99
 
7
 *
 
8
 * Contributions from...
 
9
 * -----------------------------------------------
 
10
 * Peter Harvey         - pharvey@codebydesign.com
 
11
 **************************************************/
 
12
 
 
13
#include <qapplication.h>
 
14
#include <qdir.h>
 
15
#include "classDataManager.h"
 
16
 
 
17
int main( int argc, char **argv )
 
18
{
 
19
    QApplication        oApplication( argc, argv );                 // create application object
 
20
    classDataManager    oMain;
 
21
 
 
22
    QDir::home().mkdir( ".DataManager" );
 
23
 
 
24
    oApplication.connect( &oApplication, SIGNAL(lastWindowClosed()), &oApplication, SLOT(quit()) );
 
25
    oMain.show();                                                   // show widget
 
26
 
 
27
    return oApplication.exec();                                     // run event loop
 
28
}
 
29