fix the kpart, right name for the openUrl slot.

svn path=/trunk/playground/utils/filelight/; revision=937359
parent 7b92c15c
......@@ -229,7 +229,7 @@ inline bool MainWindow::slotScanPath(const QString &path)
bool MainWindow::slotScanUrl(const KUrl &url)
{
const KUrl oldUrl = m_part->url();
const bool b = m_part->openURL(url);
const bool b = m_part->openUrl(url);
if (b) {
m_histories->push(oldUrl);
......
......@@ -82,7 +82,6 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QList<QVariant>&)
m_map = new RadialMap::Widget(widget());
m_layout->addWidget(m_map);
m_map->hide();
m_stateWidget = new QLabel(i18n("Busy ...")); //TODO: Something more fancy.
m_stateWidget->setAlignment(Qt::AlignCenter);
......@@ -114,6 +113,7 @@ Part::postInit()
m_summary = new SummaryWidget(widget());
m_summary->setObjectName("summaryWidget");
connect(m_summary, SIGNAL(activated(const KUrl&)), SLOT(openURL(const KUrl&)));
m_map->hide();
m_summary->show();
m_layout->addWidget(m_summary);
......@@ -124,7 +124,7 @@ Part::postInit()
}
bool
Part::openURL(const KUrl &u)
Part::openUrl(const KUrl &u)
{
//TODO everyone hates dialogs, instead render the text in big fonts on the Map
......
......@@ -67,7 +67,7 @@ public:
static KAboutData *createAboutData();
public slots:
virtual bool openURL(const KUrl&);
virtual bool openUrl(const KUrl&);
void configFilelight();
void rescan();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment