# HG changeset patch # User wpaul # Date 1250205875 18000 # Node ID 5ed5c63152e85855d841844b1cea3aecf4feb57b # Parent a29cb5e793d3c444f9d31e09b42610e7cffb820f fixed bug #'s 9624, 9625 and 9626. diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.h --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.h Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.h Thu Aug 13 18:24:35 2009 -0500 @@ -32,7 +32,7 @@ #define $(className$upper)_H #include -#include "ui_$(className).h" +#include "ui_$(baseName).h" class $(className) : public $(parentClass) { @@ -43,7 +43,7 @@ ~$(className)(); private: - Ui::$(className)Class ui; + Ui::$(className) ui; }; #endif // $(className$upper)_H diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/main.cpp --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/main.cpp Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/main.cpp Thu Aug 13 18:24:35 2009 -0500 @@ -37,6 +37,6 @@ { QApplication a(argc, argv); $(className) w; - w.show(); + w.showMaximized(); return a.exec(); } diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/QDialog.ui --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/QDialog.ui Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/QDialog.ui Thu Aug 13 18:24:35 2009 -0500 @@ -1,6 +1,6 @@ - $(className)Class - + $(className) + 0 @@ -10,7 +10,7 @@ - $(className) + $(baseName) diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/template.xml --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/template.xml Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Dialog/template.xml Thu Aug 13 18:24:35 2009 -0500 @@ -8,13 +8,13 @@ id="basics" label="%basics.label"> %basics.desc - %className.desc - + diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/QMainWindow.ui --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/QMainWindow.ui Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/QMainWindow.ui Thu Aug 13 18:24:35 2009 -0500 @@ -1,6 +1,6 @@ - $(className)Class - + $(className) + 0 @@ -10,7 +10,7 @@ - MainWindow + $(baseName) diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/template.xml --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/template.xml Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-MainWindow/template.xml Thu Aug 13 18:24:35 2009 -0500 @@ -8,13 +8,13 @@ id="basics" label="%basics.label"> %basics.desc - %className.desc - + diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/QWidget.ui --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/QWidget.ui Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/QWidget.ui Thu Aug 13 18:24:35 2009 -0500 @@ -1,6 +1,6 @@ - $(className)Class - + $(className) + 0 @@ -10,7 +10,7 @@ - $(className) + $(baseName) diff -r a29cb5e793d3 -r 5ed5c63152e8 templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/template.xml --- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/template.xml Thu Aug 13 17:12:47 2009 -0500 +++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Widget/template.xml Thu Aug 13 18:24:35 2009 -0500 @@ -8,13 +8,13 @@ id="basics" label="%basics.label"> %basics.desc - %className.desc - +