rename webpage and webview to swisswebpage and swissswebview to be more specific; refs #115
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
|
||||
#include <webviewwidgetifc.hxx>
|
||||
|
||||
Q_EXPORT_PLUGIN2(webviewwidgetplugin, WebViewWidgetIfc);
|
||||
Q_EXPORT_PLUGIN2(swisswebviewwidgetplugin, SwissWebViewWidgetIfc);
|
||||
|
@@ -8,13 +8,14 @@
|
||||
#ifndef __WEBVIEWWIDGETIFC_HXX
|
||||
#define __WEBVIEWWIDGETIFC_HXX
|
||||
|
||||
#include <qbrowserlib/webview.hxx>
|
||||
#include <qbrowserlib/swisswebview.hxx>
|
||||
#include <QtDesigner>
|
||||
|
||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||
|
||||
//! WebView widget for Qt Designer
|
||||
class WebViewWidgetIfc: public QObject, public QDesignerCustomWidgetInterface {
|
||||
class SwissWebViewWidgetIfc: public QObject,
|
||||
public QDesignerCustomWidgetInterface {
|
||||
Q_OBJECT;
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface);
|
||||
public:
|
||||
@@ -51,7 +52,7 @@ class WebViewWidgetIfc: public QObject, public QDesignerCustomWidgetInterface {
|
||||
}
|
||||
QString name() const {
|
||||
LOG;
|
||||
return "WebView";
|
||||
return "SwissWebView";
|
||||
}
|
||||
QString toolTip() const {
|
||||
LOG;
|
||||
@@ -63,7 +64,7 @@ class WebViewWidgetIfc: public QObject, public QDesignerCustomWidgetInterface {
|
||||
}
|
||||
QWidget *createWidget(QWidget *parent) {
|
||||
LOG;
|
||||
return new WebView(parent);
|
||||
return new SwissWebView(parent);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user