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

List:       kde-commits
Subject:    KDE/kdemultimedia/mplayerthumbs/src/configuration
From:       David Faure <faure () kde ! org>
Date:       2011-06-16 20:50:26
Message-ID: 20110616205026.68B3BAC7CA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1237043 by dfaure:

KEditListBox -> QGroupBox+KEditListWidget


 M  +16 -8     configDialog.ui  
 M  +3 -3      mplayerthumbscfg.cpp  


--- trunk/KDE/kdemultimedia/mplayerthumbs/src/configuration/configDialog.ui #1237042:1237043
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>405</width>
-    <height>277</height>
+    <width>415</width>
+    <height>310</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
@@ -57,7 +57,7 @@
     </layout>
    </item>
    <item>
-    <widget class="KEditListBox" name="kcfg_noextensions">
+    <widget class="QGroupBox" name="groupbox">
      <property name="sizePolicy">
       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
        <horstretch>0</horstretch>
@@ -67,22 +67,30 @@
      <property name="title">
       <string>Blacklisted File Extensions</string>
      </property>
+     <layout class="QVBoxLayout" name="verticalLayout_2">
+      <property name="margin">
+       <number>0</number>
+      </property>
+      <item>
+       <widget class="KEditListWidget" name="kcfg_noextensions"/>
+      </item>
+     </layout>
     </widget>
    </item>
   </layout>
  </widget>
  <customwidgets>
   <customwidget>
+   <class>KEditListWidget</class>
+   <extends>QWidget</extends>
+   <header>keditlistwidget.h</header>
+  </customwidget>
+  <customwidget>
    <class>KComboBox</class>
    <extends>QComboBox</extends>
    <header>kcombobox.h</header>
   </customwidget>
   <customwidget>
-   <class>KEditListBox</class>
-   <extends>QGroupBox</extends>
-   <header>keditlistbox.h</header>
-  </customwidget>
-  <customwidget>
    <class>KPushButton</class>
    <extends>QPushButton</extends>
    <header>kpushbutton.h</header>
--- trunk/KDE/kdemultimedia/mplayerthumbs/src/configuration/mplayerthumbscfg.cpp #1237042:1237043
@@ -69,15 +69,15 @@
 {
     QString playerPath=KStandardDirs::findExe(QLatin1String( "mplayer-bin" ));
     if(playerPath.isNull() ) playerPath=KStandardDirs::findExe(QLatin1String( "mplayer" ));
-    kDebug() << "Trying to set player path to " << playerPath << endl;
-    mplayerConfigUI->kcfg_mplayerbin->setPath( playerPath );
+    kDebug() << "Trying to set player path to" << playerPath;
+    mplayerConfigUI->kcfg_mplayerbin->setUrl( KUrl(playerPath) );
 }
 
 void MPlayerThumbsConfig::cleanCache() {
     int doClean = KMessageBox::warningContinueCancel(this, i18n("Cleaning the cache will delete all the \
previously generated thumbnails.\nNote that as there is a single common thumbnail cache, the thumbnails \
for all other file types will also be deleted.\nDo you really want to clean up the cache?") );  if \
(doClean!= KMessageBox::Continue ) return;  
-    kDebug() << "Cleaning cache from " << thumbnailsDir << endl;
+    kDebug() << "Cleaning cache from" << thumbnailsDir;
     KIO::del( thumbnailsDir );
 }
 


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

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