[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/config/chatwindow
From: Will Stephenson <wstephenson () kde ! org>
Date: 2007-11-07 21:44:16
Message-ID: 1194471856.447932.25192.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 734031 by wstephens:
Reorganise chatwindow UI so its colors are configured in its config
page. Design by Boiko, tweaks by Bille.
Gustavo, this is what Matt meant by 'be very careful' - K3ListView does
not have the itemSelectionChanged signal. Look for connect error
messages at runtime if you change connect statements.
CCMAIL: gustavo.boiko@kdemail.net
M +2 -1 CMakeLists.txt
M +7 -1 chatwindowconfig.cpp
M +4 -0 chatwindowconfig.h
A chatwindowconfig_colors.ui
--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/CMakeLists.txt #734030:734031
@@ -15,7 +15,8 @@
kde4_add_ui_files(kcm_kopete_chatwindowconfig_PART_SRCS
chatwindowconfig_style.ui
- chatwindowconfig_emoticons.ui )
+ chatwindowconfig_emoticons.ui
+ chatwindowconfig_colors.ui )
kde4_add_plugin(kcm_kopete_chatwindowconfig ${kcm_kopete_chatwindowconfig_PART_SRCS})
--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp #734030:734031
@@ -223,7 +223,7 @@
m_tab->addTab(styleWidget, i18n("&Style"));
addConfig( KopeteChatWindowSettings::self(), styleWidget );
- connect(m_styleUi.styleList, SIGNAL(itemSelectionChanged(Q3ListBoxItem *)),
+ connect(m_styleUi.styleList, SIGNAL(selectionChanged(Q3ListBoxItem *)),
this, SLOT(slotChatStyleSelected()));
connect(m_styleUi.variantList, SIGNAL(activated(const QString&)),
this, SLOT(slotChatStyleVariantSelected(const QString &)));
@@ -276,6 +276,12 @@
connect(m_emoticonsUi.btnRemoveTheme, SIGNAL(clicked()),
this, SLOT(slotRemoveEmoticonTheme()));
+//--------- colors tab --------------------------
+ QWidget *colorsWidget = new QWidget(m_tab);
+ m_colorsUi.setupUi(colorsWidget);
+ m_tab->addTab(colorsWidget, i18n("Colors && Fonts"));
+ addConfig( Kopete::AppearanceSettings::self(), colorsWidget );
+
load();
}
--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.h #734030:734031
@@ -25,6 +25,7 @@
#undef KDE3_SUPPORT
#include "ui_chatwindowconfig_style.h"
#include "ui_chatwindowconfig_emoticons.h"
+#include "ui_chatwindowconfig_colors.h"
#include <kopetechatwindowstyle.h>
class FakeProtocol;
@@ -96,5 +97,8 @@
//----- Emoticons TAB ---------------------
Ui::ChatWindowConfig_Emoticons m_emoticonsUi;
+ //----- Colors TAB ------------------------
+ Ui::ChatWindowConfig_Colors m_colorsUi;
+
};
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic