use PlasmaQuick:: namespace
This commit is contained in:
parent
ac98abf67c
commit
4e03ec61e0
@ -89,7 +89,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri)
|
||||
qmlRegisterType<Plasma::DataModel>(uri, 2, 0, "DataModel");
|
||||
qmlRegisterType<Plasma::SortFilterModel>(uri, 2, 0, "SortFilterModel");
|
||||
|
||||
qmlRegisterType<Dialog>(uri, 2, 0, "Dialog");
|
||||
qmlRegisterType<PlasmaQuick::Dialog>(uri, 2, 0, "Dialog");
|
||||
qmlRegisterType<ToolTip>(uri, 2, 0, "ToolTipArea");
|
||||
|
||||
qmlRegisterInterface<Plasma::Service>("Service");
|
||||
|
@ -48,6 +48,9 @@
|
||||
//Unfortunately QWINDOWSIZE_MAX is not exported
|
||||
#define DIALOGSIZE_MAX ((1<<24)-1)
|
||||
|
||||
namespace PlasmaQuick
|
||||
{
|
||||
|
||||
class DialogPrivate {
|
||||
public:
|
||||
DialogPrivate(Dialog *dialog)
|
||||
@ -795,6 +798,7 @@ void Dialog::setOutputOnly(bool outputOnly)
|
||||
emit outputOnlyChanged();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#include "moc_dialog.cpp"
|
||||
|
||||
|
@ -35,6 +35,8 @@ class QQuickItem;
|
||||
class QScreen;
|
||||
|
||||
|
||||
namespace PlasmaQuick {
|
||||
|
||||
class DialogPrivate;
|
||||
|
||||
/**
|
||||
@ -189,4 +191,6 @@ private:
|
||||
Q_PRIVATE_SLOT(d, void requestSyncToMainItemSize(bool delayed))
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -41,7 +41,7 @@ namespace KDeclarative
|
||||
*
|
||||
* Exposed as `ToolTipDialog` in QML.
|
||||
*/
|
||||
class ToolTipDialog : public Dialog
|
||||
class ToolTipDialog : public PlasmaQuick::Dialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user