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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/config/behavior
From:       Dave Rowe <dave () roweware ! com>
Date:       2006-10-16 2:04:17
Message-ID: 1160964257.879400.28859.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 595893 by drowe:

Remove redundant label and spacer. Set buddy correctly.  ok'd by mattr

 M  +0 -6      behaviorconfig.cpp  
 M  +0 -1      behaviorconfig.h  
 M  +1 -27     behaviorconfig_chat.ui  


--- trunk/KDE/kdenetwork/kopete/kopete/config/behavior/behaviorconfig.cpp #595892:595893
@@ -128,14 +128,8 @@
 	}
 
 	mPrfsChat->viewPlugin->setCurrentIndex(selectedIdx);
-	slotUpdatePluginLabel(selectedIdx);
 }
 
-void BehaviorConfig::slotUpdatePluginLabel(int)
-{
-	mPrfsChat->viewPluginLabel->setText( viewPlugins[ mPrfsChat->viewPlugin->currentIndex() ]->comment() );
-}
-
 void BehaviorConfig::slotSettingsChanged(bool)
 {
 	emit changed(true);
--- trunk/KDE/kdenetwork/kopete/kopete/config/behavior/behaviorconfig.h #595892:595893
@@ -44,7 +44,6 @@
 	private slots:
 		void slotSettingsChanged(bool);
 		void slotValueChanged(int);
-		void slotUpdatePluginLabel(int);
 		void slotTextChanged(const QString&);
 
 	private:
--- trunk/KDE/kdenetwork/kopete/kopete/config/behavior/behaviorconfig_chat.ui #595892:595893
@@ -74,32 +74,6 @@
       <item>
        <widget class="QComboBox" name="viewPlugin" />
       </item>
-      <item>
-       <widget class="QLabel" name="viewPluginLabel" >
-        <property name="text" >
-         <string/>
-        </property>
-        <property name="buddy" >
-         <cstring>viewPlugin</cstring>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Expanding</enum>
-        </property>
-        <property name="sizeHint" >
-         <size>
-          <width>454</width>
-          <height>16</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
      </layout>
     </widget>
    </item>
@@ -213,7 +187,7 @@
         <string>Ma&amp;ximum number of chat window lines:</string>
        </property>
        <property name="buddy" >
-        <cstring>mChatViewBufferSize</cstring>
+        <cstring>kcfg_chatWindowBufferViewSize</cstring>
        </property>
       </widget>
      </item>
[prev in list] [next in list] [prev in thread] [next in thread] 

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