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

List:       kde-commits
Subject:    playground/utils/filelight/src
From:       Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date:       2009-03-09 16:14:21
Message-ID: 1236615261.691268.2566.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 937359 by sandsmark:

fix the kpart, right name for the openUrl slot.

 M  +1 -1      app/mainWindow.cpp  
 M  +2 -2      part/part.cpp  
 M  +1 -1      part/part.h  


--- trunk/playground/utils/filelight/src/app/mainWindow.cpp #937358:937359
@@ -229,7 +229,7 @@
 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);
--- trunk/playground/utils/filelight/src/part/part.cpp #937358:937359
@@ -82,7 +82,6 @@
 
     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 @@
         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 @@
 }
 
 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
--- trunk/playground/utils/filelight/src/part/part.h #937358:937359
@@ -67,7 +67,7 @@
     static KAboutData *createAboutData();
 
 public slots:
-    virtual bool openURL(const KUrl&);
+    virtual bool openUrl(const KUrl&);
     void configFilelight();
     void rescan();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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