// JLH = James L. Hammons <jlhamm@acm.org>
//
// Who When What
-// --- ---------- -------------------------------------------------------------
+// --- ---------- -----------------------------------------------------------
// JLH 04/10/2002 Created this file
// JLH 05/10/2004 Translated file from ASM to CPP
// JLH 05/14/2004 Added rudimentary editing capability to tool palette tools
#include "ttedit.h"
#include <QApplication>
-#include "ttemainwindow.h"
+#include "global.h"
+#include "mainwindow.h"
// Main app constructor--we stick globally accessible stuff here...
-TTEdit::TTEdit(int & argc, char * argv[]): QApplication(argc, argv), charWnd(NULL)
+TTEdit::TTEdit(int & argc, char * argv[]): QApplication(argc, argv)
{
- mainWindow = new TTEMainWindow;
-//printf("mainWindow.show();\n");
- mainWindow->show();
+ Global::mainWindow = new MainWindow;
+ Global::mainWindow->show();
}
{
Q_INIT_RESOURCE(ttedit); // This must the same name as the exe filename
-// QApplication app(argc, argv);
-//printf("TTEdit app(argc, argv);\n");
TTEdit app(argc, argv);
-//printf("TTEMainWindow mainWindow;\n");
-//OK, it gets to here at least...
-//printf("return app.exec();\n");
return app.exec();
}