]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/trash/trashsettingspage.cpp
dolphin: convert statusbar, settings and search to qt5 signals/slot syntax
[dolphin.git] / src / settings / trash / trashsettingspage.cpp
index f507cbab5baf4182717b87f2bc08c5cb43af57a9..d42ae8f0caa4e3cfda2199ff0d7d57fcad040936 100644 (file)
 #include "trashsettingspage.h"
 
 #include <KCModuleProxy>
-#include <kdialog.h>
-#include <kvbox.h>
-
-#include <settings/dolphinsettings.h>
+#include <KDialog>
+#include <KVBox>
 
 #include <QVBoxLayout>
 
@@ -47,7 +45,7 @@ TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
 
     loadSettings();
 
-    connect(m_proxy, SIGNAL(changed(bool)), this, SIGNAL(changed()));
+    connect(m_proxy, static_cast<void(KCModuleProxy::*)(bool)>(&KCModuleProxy::changed), this, &TrashSettingsPage::changed);
 }
 
 TrashSettingsPage::~TrashSettingsPage()