2 // TTEDIT.CPP - The TrueType Editor
4 // (C) 2004 Underground Software
6 // JLH = James L. Hammons <jlhamm@acm.org>
9 // --- ---------- -----------------------------------------------------------
10 // JLH 04/10/2002 Created this file
11 // JLH 05/10/2004 Translated file from ASM to CPP
12 // JLH 05/14/2004 Added rudimentary editing capability to tool palette tools
13 // JLH 11/18/2006 Initial port to Linux
14 // JLH 08/27/2008 Fixed tool palette focus problems
15 // JLH 08/28/2008 Split out classes defined here into separate files
16 // JLH 03/05/2009 Initial conversion from wxWidgets to Qt
20 #include <QApplication>
22 #include "mainwindow.h"
24 // Main app constructor--we stick globally accessible stuff here...
26 TTEdit::TTEdit(int & argc, char * argv[]): QApplication(argc, argv)
28 Global::mainWindow = new MainWindow;
29 Global::mainWindow->show();
33 // Here's the main application loop--short and simple...
34 int main(int argc, char * argv[])
36 Q_INIT_RESOURCE(ttedit); // This must the same name as the exe filename
38 TTEdit app(argc, argv);