From 7552c6d73043b1040139033f6864db48ae5446cf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jul 2024 21:37:22 +0900 Subject: Rename main window nt* related files to equivalent tq*. The file "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro --- tools/designer/shared/widgetdatabase.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'tools/designer/shared/widgetdatabase.cpp') diff --git a/tools/designer/shared/widgetdatabase.cpp b/tools/designer/shared/widgetdatabase.cpp index fce3e83de..5648f5631 100644 --- a/tools/designer/shared/widgetdatabase.cpp +++ b/tools/designer/shared/widgetdatabase.cpp @@ -65,9 +65,12 @@ static bool was_in_setup = FALSE; static TQString converted_widgets[] = { "TQDateTimeEdit", - "TQIconView", - "TQTextBrowser", "TQTextEdit", "TQTextView", - "TQWidget", "TQWidgetStack", + "TQIconView", + "TQMainWindow", "TQMenuBar", + "TQPopupMenu", + "TQStatusBar", "TQSizeGrip", + "TQTextBrowser", "TQTextEdit", "TQTextView", "TQToolBar", "TQToolBox", "TQToolButton", "TQToolTip", + "TQWidget", "TQWidgetStack", "TQWorkspace" }; size_t converted_widgets_size = sizeof(converted_widgets) / sizeof(TQString); @@ -526,7 +529,7 @@ void WidgetDatabase::setupDataBase( int id ) r = new WidgetDatabaseRecord; r->iconSet = ""; r->name = "TQMainWindow"; - r->includeFile = "ntqmainwindow.h"; + r->includeFile = "tqmainwindow.h"; r->group = widgetGroup( "Temp" ); r->isContainer = TRUE; @@ -535,7 +538,7 @@ void WidgetDatabase::setupDataBase( int id ) r = new WidgetDatabaseRecord; r->iconSet = ""; r->name = "TQDesignerAction"; - r->includeFile = "ntqaction.h"; + r->includeFile = "tqaction.h"; r->group = widgetGroup( "Temp" ); r->isContainer = FALSE; @@ -544,7 +547,7 @@ void WidgetDatabase::setupDataBase( int id ) r = new WidgetDatabaseRecord; r->iconSet = ""; r->name = "TQDesignerActionGroup"; - r->includeFile = "ntqaction.h"; + r->includeFile = "tqaction.h"; r->group = widgetGroup( "Temp" ); r->isContainer = FALSE; -- cgit v1.2.3