designer needs namespace prefix - but not in widget name nor in variable name; refs #167

master
Marc Wäckerlin 12 years ago
parent b2c07f817c
commit 6f237f929e
  1. 6
      src/designer/buttonlineeditwidgetifc.hxx
  2. 4
      src/designer/webviewwidgetifc.hxx

@ -34,10 +34,10 @@ class ButtonLineEditWidgetIfc: public QObject,
return
QString
("<ui language=\"c++\" displayname=\"%1\">"
" <widget class=\"%1\" name=\"%2\"/>"
" <widget class=\"qbrowserlib::%1\" name=\"%2\"/>"
" <customwidgets>"
" <customwidget>"
" <class>%1</class>"
" <class>qbrowserlib::%1</class>"
" </customwidget>"
" </customwidgets>"
"</ui>")
@ -54,7 +54,7 @@ class ButtonLineEditWidgetIfc: public QObject,
}
QString name() const {
TRC;
return "qbrowserlib::ButtonLineEdit";
return "ButtonLineEdit";
}
QString toolTip() const {
TRC;

@ -35,10 +35,10 @@ class SwissWebViewWidgetIfc: public QObject,
return
QString
("<ui language=\"c++\" displayname=\"%1\">"
" <widget class=\"%1\" name=\"%2\"/>"
" <widget class=\"qbrowserlib::%1\" name=\"%2\"/>"
" <customwidgets>"
" <customwidget>"
" <class>%1</class>"
" <class>qbrowserlib::%1</class>"
" </customwidget>"
" </customwidgets>"
"</ui>")

Loading…
Cancel
Save