/[svn]/qsampler/trunk/src/main.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 73 by capela, Mon May 10 13:20:00 2004 UTC revision 920 by capela, Sun Sep 24 12:47:51 2006 UTC
# Line 1  Line 1 
1  // main.cpp  // main.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 13  Line 13 
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.     GNU General Public License for more details.
15    
16     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
17     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
18     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19    
20  *****************************************************************************/  *****************************************************************************/
21    
# Line 26  Line 26 
26  #include "qsamplerOptions.h"  #include "qsamplerOptions.h"
27  #include "qsamplerMainForm.h"  #include "qsamplerMainForm.h"
28    
 #include "config.h"  
   
29  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
30  // main - The main program trunk.  // main - The main program trunk.
31  //  //
# Line 55  int main ( int argc, char **argv ) Line 53  int main ( int argc, char **argv )
53          app.quit();          app.quit();
54          return 1;          return 1;
55      }      }
56        
57      // Construct, setup and show the main form.      // Construct, setup and show the main form.
58      qsamplerMainForm w;      qsamplerMainForm w;
59            app.setMainWidget(&w);
60      w.setup(&options);      w.setup(&options);
61      w.show();      w.show();
62    
63      // Register the quit signal/slot.      // Register the quit signal/slot.
64      app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));      // app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
65    
66      return app.exec();      return app.exec();
67  }  }
68    
69  // end of main.cpp  // end of main.cpp
   

Legend:
Removed from v.73  
changed lines
  Added in v.920

  ViewVC Help
Powered by ViewVC