]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.cpp
Compile with QT_NO_KEYWORDS
[dolphin.git] / src / panels / information / informationpanelcontent.cpp
index ded88bd96785fa305fd1bff5364a9b483418fb33..946bad7207037dfeb55ad49fbee13f2e6661c77d 100644 (file)
@@ -119,14 +119,14 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) :
                 m_metaDataWidget->setConfigurationMode(Baloo::ConfigurationMode::Accept);
                 m_configureButtons->setVisible(false);
                 m_configureLabel->setVisible(false);
                 m_metaDataWidget->setConfigurationMode(Baloo::ConfigurationMode::Accept);
                 m_configureButtons->setVisible(false);
                 m_configureLabel->setVisible(false);
-                emit configurationFinished();
+                Q_EMIT configurationFinished();
             }
     );
     connect(m_configureButtons, &QDialogButtonBox::rejected, this, [this]() {
                 m_metaDataWidget->setConfigurationMode(Baloo::ConfigurationMode::Cancel);
                 m_configureButtons->setVisible(false);
                 m_configureLabel->setVisible(false);
             }
     );
     connect(m_configureButtons, &QDialogButtonBox::rejected, this, [this]() {
                 m_metaDataWidget->setConfigurationMode(Baloo::ConfigurationMode::Cancel);
                 m_configureButtons->setVisible(false);
                 m_configureLabel->setVisible(false);
-                emit configurationFinished();
+                Q_EMIT configurationFinished();
             }
     );
 
             }
     );
 
@@ -362,7 +362,7 @@ bool InformationPanelContent::gestureEvent(QGestureEvent* event)
 
     if (tap) {
         if (tap->state() == Qt::GestureFinished) {
 
     if (tap) {
         if (tap->state() == Qt::GestureFinished) {
-            emit contextMenuRequested(tap->position().toPoint());
+            Q_EMIT contextMenuRequested(tap->position().toPoint());
         }
         event->accept();
         return true;
         }
         event->accept();
         return true;