[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/config/chatwindow
From: Dennis Nienhüser <earthwings () gentoo ! org>
Date: 2007-10-12 21:34:46
Message-ID: 1192224886.326325.7603.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 724633 by nienhueser:
Same for the tab widget in the chat window configuration (got it's own item in kde 4)
CCBUG: 142053
M +5 -14 chatwindowconfig.cpp
--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp #724632:724633
@@ -78,8 +78,6 @@
#include "kopeteglobal.h"
-#include <qtabwidget.h>
-
#include "kopetechatwindowsettings.h"
typedef KGenericFactory<ChatWindowConfig, QWidget> KopeteChatWindowConfigFactory;
@@ -206,19 +204,15 @@
m_previewProtocol(0L), m_previewAccount(0L), m_myselfMetaContact(0L),
m_jackMetaContact(0L), m_myself(0L), m_jack(0L)
{
- QVBoxLayout *layout = new QVBoxLayout(this);
-
- QTabWidget *chatWindowTabCtl = new QTabWidget(this);
- layout->addWidget( chatWindowTabCtl );
- setLayout(layout);
-
KConfigGroup config(KGlobal::config(), "ChatWindowSettings");
-
- // "Style" TAB ========================================================
- QWidget *styleWidget=new QWidget(chatWindowTabCtl);
+ QWidget *styleWidget=new QWidget(this);
m_styleUi.setupUi(styleWidget);
+ QVBoxLayout *layout = new QVBoxLayout(this);
+ layout->addWidget(styleWidget);
+ setLayout(layout);
+
addConfig( KopeteChatWindowSettings::self(), styleWidget );
connect(m_styleUi.styleList, SIGNAL(selectionChanged(Q3ListBoxItem *)),
@@ -255,9 +249,6 @@
// Add the preview message to the ChatMessagePart
createPreviewMessages();
- chatWindowTabCtl->addTab( styleWidget, i18n("Style") );
-
-
load();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic