[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/utils/dolphin/src
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2007-02-08 20:33:51
Message-ID: 1170966831.054096.29576.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 631709 by ppenz:

Fixed issue that the filterbar and the menu state have not been synchronized (a not \
existing signal name has been used)

 M  +1 -1      dolphinview.cpp  
 M  +4 -4      filterbar.cpp  
 M  +2 -2      filterbar.h  


--- trunk/playground/utils/dolphin/src/dolphinview.cpp #631708:631709
@@ -116,7 +116,7 @@
     m_filterBar->hide();
     connect(m_filterBar, SIGNAL(filterChanged(const QString&)),
            this, SLOT(changeNameFilter(const QString&)));
-    connect(m_filterBar, SIGNAL(closed()),
+    connect(m_filterBar, SIGNAL(closeRequest()),
             this, SLOT(closeFilterBar()));
 
     m_topLayout->addWidget(m_urlNavigator);
--- trunk/playground/utils/dolphin/src/filterbar.cpp #631708:631709
@@ -60,7 +60,7 @@
 
     connect(m_filterInput, SIGNAL(textChanged(const QString&)),
             this, SIGNAL(filterChanged(const QString&)));
-    connect(m_close, SIGNAL(clicked()), this, SLOT(emitClose()));
+    connect(m_close, SIGNAL(clicked()), this, SLOT(emitCloseRequest()));
 }
 
 FilterBar::~FilterBar()
@@ -86,13 +86,13 @@
 {
     QWidget::keyReleaseEvent(event);
     if ((event->key() == Qt::Key_Escape)) {
-        emitClose();
+        emitCloseRequest();
     }
 }
 
-void FilterBar::emitClose()
+void FilterBar::emitCloseRequest()
 {
-    emit close();
+    emit closeRequest();
 }
 
 #include "filterbar.moc"
--- trunk/playground/utils/dolphin/src/filterbar.h #631708:631709
@@ -51,7 +51,7 @@
     /**
      * Emitted as soon as the filterbar should get closed.
      */
-    void closed();
+    void closeRequest();
 
 protected:
     virtual void hideEvent(QHideEvent* event);
@@ -59,7 +59,7 @@
     virtual void keyReleaseEvent(QKeyEvent* event);
 
 private slots:
-    void emitClose();
+    void emitCloseRequest();
 
 private:
     QLabel* m_filter;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic