summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetlibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/widgetlibrary.cpp')
-rw-r--r--kexi/formeditor/widgetlibrary.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/formeditor/widgetlibrary.cpp b/kexi/formeditor/widgetlibrary.cpp
index 55f8cde6..c9f9bd9b 100644
--- a/kexi/formeditor/widgetlibrary.cpp
+++ b/kexi/formeditor/widgetlibrary.cpp
@@ -79,10 +79,10 @@ class WidgetLibraryPrivate
/*! @todo: reenable */ advancedProperties.insert("palette", (char*)1);
advancedProperties.insert("backgroundOrigin", (char*)1);
advancedProperties.insert("backgroundMode", (char*)1);//this is rather useless
- advancedProperties.insert("layout", (char*)1);// too large risk to break things
+ advancedProperties.insert("tqlayout", (char*)1);// too large risk to break things
// by providing this in propeditor
- advancedProperties.insert("minimumSize", (char*)1);
- advancedProperties.insert("maximumSize", (char*)1);
+ advancedProperties.insert("tqminimumSize", (char*)1);
+ advancedProperties.insert("tqmaximumSize", (char*)1);
#ifdef KEXI_NO_UNFINISHED
/*! @todo reenable */
advancedProperties.insert("paletteBackgroundPixmap", (char*)1);
@@ -219,8 +219,8 @@ WidgetLibrary::lookupFactories()
if (KFormDesigner::version()!=factoryVersion) {
kdWarning() << TQString("WidgetLibrary::lookupFactories(): factory '%1'"
" has version '%2' but required Widget Factory version is '%3'\n"
- " -- skipping this factory!").arg(ptr->library()).arg(factoryVersion)
- .arg(KFormDesigner::version()) << endl;
+ " -- skipping this factory!").tqarg(ptr->library()).tqarg(factoryVersion)
+ .tqarg(KFormDesigner::version()) << endl;
continue;
}
d->services.insert(ptr->library().latin1(), new KService::Ptr( ptr ));
@@ -532,7 +532,7 @@ WidgetLibrary::iconName(const TQCString &classname)
if(wi)
return wi->pixmap();
- return TQString::fromLatin1("unknown_widget");
+ return TQString::tqfromLatin1("unknown_widget");
}
bool
@@ -739,7 +739,7 @@ WidgetFactory::CreateWidgetOptions WidgetLibrary::showOrientationSelectionPopup(
textVertical = i18n("InsertQt::Vertical Widget", "InsertQt::Vertical");
KPopupMenu* popup = new KPopupMenu(parent, "orientationSelectionPopup");
- popup->insertTitle(SmallIcon(wclass->pixmap()), i18n("Insert Widget: %1").arg(wclass->name()));
+ popup->insertTitle(SmallIcon(wclass->pixmap()), i18n("Insert Widget: %1").tqarg(wclass->name()));
popup->insertItem(iconHorizontal, textHorizontal, 1);
popup->insertItem(iconVertical, textVertical, 2);
popup->insertSeparator();