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

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

Loading…
Cancel
Save