summaryrefslogtreecommitdiffstats
path: root/tools/designer/shared/widgetdatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/shared/widgetdatabase.cpp')
-rw-r--r--tools/designer/shared/widgetdatabase.cpp18
1 files changed, 9 insertions, 9 deletions
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 ) {