svn path=/trunk/playground/utils/dolphin/; revision=631709
m_filterBar->hide();
connect(m_filterBar, SIGNAL(filterChanged(const QString&)),
this, SLOT(changeNameFilter(const QString&)));
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);
this, SLOT(closeFilterBar()));
m_topLayout->addWidget(m_urlNavigator);
connect(m_filterInput, SIGNAL(textChanged(const QString&)),
this, SIGNAL(filterChanged(const QString&)));
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()
}
FilterBar::~FilterBar()
{
QWidget::keyReleaseEvent(event);
if ((event->key() == Qt::Key_Escape)) {
{
QWidget::keyReleaseEvent(event);
if ((event->key() == Qt::Key_Escape)) {
-void FilterBar::emitClose()
+void FilterBar::emitCloseRequest()
}
#include "filterbar.moc"
}
#include "filterbar.moc"
/**
* Emitted as soon as the filterbar should get closed.
*/
/**
* Emitted as soon as the filterbar should get closed.
*/
protected:
virtual void hideEvent(QHideEvent* event);
protected:
virtual void hideEvent(QHideEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
private slots:
virtual void keyReleaseEvent(QKeyEvent* event);
private slots:
+ void emitCloseRequest();
private:
QLabel* m_filter;
private:
QLabel* m_filter;