diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-11 22:21:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-11 22:21:44 +0900 |
commit | e93b60dfa24c4b72c1cffa7556949afe69654c02 (patch) | |
tree | c4ace60cd76f8f464683925074cb981f528b93e3 /tools/designer/shared | |
parent | 8066b05478ac646d0410fc9cedca5f82163b53d3 (diff) | |
download | tqt3-e93b60dfa24c4b72c1cffa7556949afe69654c02.tar.gz tqt3-e93b60dfa24c4b72c1cffa7556949afe69654c02.zip |
Rename uic to tquic
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/shared')
-rw-r--r-- | tools/designer/shared/domtool.cpp | 2 | ||||
-rw-r--r-- | tools/designer/shared/ui2uib.cpp | 2 | ||||
-rw-r--r-- | tools/designer/shared/uib.h | 2 | ||||
-rw-r--r-- | tools/designer/shared/widgetdatabase.cpp | 18 |
4 files changed, 12 insertions, 12 deletions
diff --git a/tools/designer/shared/domtool.cpp b/tools/designer/shared/domtool.cpp index 46f999f89..498dec7f7 100644 --- a/tools/designer/shared/domtool.cpp +++ b/tools/designer/shared/domtool.cpp @@ -47,7 +47,7 @@ \brief Tools for the dom A collection of static functions used by Resource (part of the - designer) and Uic. + designer) and TQUic. */ diff --git a/tools/designer/shared/ui2uib.cpp b/tools/designer/shared/ui2uib.cpp index 4eddea7e9..3e31dda09 100644 --- a/tools/designer/shared/ui2uib.cpp +++ b/tools/designer/shared/ui2uib.cpp @@ -126,7 +126,7 @@ specified. 6. Some of the information stored in a .ui file is useful only - by uic, not to TQLayoutFactory. That information is, for now, + by tquic, not to TQLayoutFactory. That information is, for now, not taken along in the .uib file. Likewise, needless TQLayoutWidget objects are not taken along. diff --git a/tools/designer/shared/uib.h b/tools/designer/shared/uib.h index 5307595c6..8ee070ee6 100644 --- a/tools/designer/shared/uib.h +++ b/tools/designer/shared/uib.h @@ -89,7 +89,7 @@ private: }; /* - uic uses insertCString(), insertString(), and block(); + tquic uses insertCString(), insertString(), and block(); TQWidgetFactory uses readBlock(), asCString(), and asString(). By implementing these functions inline, we ensure that the binaries don't contain needless code. diff --git a/tools/designer/shared/widgetdatabase.cpp b/tools/designer/shared/widgetdatabase.cpp index 4fd0d79bf..e74139ef5 100644 --- a/tools/designer/shared/widgetdatabase.cpp +++ b/tools/designer/shared/widgetdatabase.cpp @@ -109,7 +109,7 @@ WidgetDatabase::WidgetDatabase() void WidgetDatabase::setupDataBase( int id ) { was_in_setup = TRUE; -#ifndef UIC +#ifndef TQUIC Q_UNUSED( id ) if ( dbcount ) return; @@ -240,7 +240,7 @@ void WidgetDatabase::setupDataBase( int id ) append( r ); -#if !defined(TQT_NO_ICONVIEW) || defined(UIC) +#if !defined(TQT_NO_ICONVIEW) || defined(TQUIC) r = new WidgetDatabaseRecord; r->iconSet = "designer_iconview.png"; r->name = "TQIconView"; @@ -572,7 +572,7 @@ void WidgetDatabase::setupDataBase( int id ) append( r ); #endif -#ifndef UIC +#ifndef TQUIC setupPlugins(); #endif } @@ -592,7 +592,7 @@ void WidgetDatabase::setupPlugins() if ( !iface ) continue; -#ifndef UIC +#ifndef TQUIC TQIconSet icon = iface->iconSet( *it ); if ( !icon.pixmap().isNull() ) r->icon = new TQIconSet( icon ); @@ -642,7 +642,7 @@ TQIconSet WidgetDatabase::iconSet( int id ) WidgetDatabaseRecord *r = at( id ); if ( !r ) return TQIconSet(); -#if !defined(UIC) && !defined(RESOURCE) +#if !defined(TQUIC) && !defined(RESOURCE) if ( !r->icon ) { if ( r->iconSet.isEmpty() ) return TQIconSet(); @@ -792,7 +792,7 @@ int WidgetDatabase::idFromClassName( const TQString &name ) return *i; if ( name == "FormWindow" ) return idFromClassName( "TQLayoutWidget" ); -#ifdef UIC +#ifdef TQUIC setupDataBase( -2 ); i = className2Id->find( name ); if ( i ) @@ -932,7 +932,7 @@ void WidgetDatabase::loadWhatsThis( const TQString &docPath ) // ### TQt 3.1: make these publically accessible via TQWidgetDatabase API -#if defined(UIC) +#if defined(TQUIC) bool dbnounload = FALSE; TQStringList *dbpaths = 0; #else @@ -944,13 +944,13 @@ TQPluginManager<WidgetInterface> *widgetManager() { if ( !widgetPluginManager ) { TQString pluginDir = "/designer"; -#if !defined(UIC) +#if !defined(TQUIC) if ( qwf_plugin_dir ) pluginDir = *qwf_plugin_dir; #endif widgetPluginManager = new TQPluginManager<WidgetInterface>( IID_Widget, TQApplication::libraryPaths(), pluginDir ); cleanup_manager.add( &widgetPluginManager ); -#if defined(UIC) +#if defined(TQUIC) if ( dbnounload ) widgetPluginManager->setAutoUnload( FALSE ); if ( dbpaths ) { |