[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/qq
From: Hui Jin <blueangel.jin () gmail ! com>
Date: 2006-09-18 14:04:08
Message-ID: 1158588248.013526.24770.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 586010 by blueangel:
M +2 -0 CMakeLists.txt
M +2 -23 qqcontact.cpp
M +1 -0 ui/qqeditaccountwidget.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/qq/CMakeLists.txt #586009:586010
@@ -12,11 +12,13 @@
set(kopete_qq_ui_SRCS
ui/qqwebcamdialog.cpp
ui/qqeditaccountwidget.cpp
+ ui/dlgqqvcard.cpp
)
kde4_add_ui_files(kopete_qq_ui_SRCS
ui/qqeditaccountui.ui
ui/qqaddui.ui
+ ui/qqvcard.ui
)
set(kopete_qq_PART_SRCS
${kopete_qq_ui_SRCS}
--- trunk/KDE/kdenetwork/kopete/protocols/qq/qqcontact.cpp #586009:586010
@@ -52,6 +52,7 @@
#include "qqaccount.h"
#include "qqprotocol.h"
#include "qqchatsession.h"
+#include "dlgqqvcard.h"
QQContact::QQContact( Kopete::Account *account, const QString &id, Kopete::MetaContact *parent )
: Kopete::Contact( account, id, parent )
@@ -195,29 +196,7 @@
void QQContact::slotUserInfo()
{
- KDialog *infoDialog=new KDialog;
- infoDialog->setButtons( KDialog::Close );
- infoDialog->setDefaultButton( KDialog::Close );
- QString nick=property( Kopete::Global::Properties::self()->nickName()).value().toString();
- // QString personalMessage=property( QQProtocol::protocol()->propPersonalMessage).value().toString();
- QWidget* w=new QWidget( infoDialog );
- /*
- Ui::QQInfo info;
- info.setupUi( w );
- info.m_id->setText( contactId() );
- info.m_displayName->setText(nick);
- info.m_personalMessage->setText(personalMessage);
- info.m_phh->setText(m_phoneHome);
- info.m_phw->setText(m_phoneWork);
- info.m_phm->setText(m_phoneMobile);
- info.m_reversed->setChecked(m_reversed);
-
- connect( info.m_reversed, SIGNAL(toggled(bool)) , this, SLOT(slotUserInfoDialogReversedToggled()));
-
- infoDialog->setMainWidget(w);
- infoDialog->setCaption(nick);
- infoDialog->show();
- */
+ new dlgQQVCard(static_cast<QQAccount*>(account()), this, Kopete::UI::Global::mainWidget() );
}
void QQContact::slotUserInfoDialogReversedToggled()
--- trunk/KDE/kdenetwork/kopete/protocols/qq/ui/qqeditaccountwidget.cpp #586009:586010
@@ -53,6 +53,7 @@
#include "ui_qqeditaccountui.h"
#include "qqnotifysocket.h"
#include "qqprotocol.h"
+#include "dlgqqvcard.h"
// TODO: This was using KAutoConfig before, use KConfigXT instead.
class QQEditAccountWidgetPrivate
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic