[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/kopete/library/ui
From: Martijn Klingens <mklingens () yahoo ! com>
Date: 2002-04-07 23:03:50
[Download RAW message or body]
kdenonbeta/kopete/kopete/library/ui kopetechatwindow.cpp,NONE,1.1 \
kopetechatwindow.h,NONE,1.1 Makefile.am,1.26,1.27
Author: mklingens
Mon Apr 8 01:03:50 CEST 2002
In directory office:/tmp/cvs-serv17739
Modified Files:
Makefile.am
Added Files:
kopetechatwindow.cpp kopetechatwindow.h
Log Message:
Committing the KopetChatWindow class. It is now a class that seems to look \
ok, but most of the functions are not properly filled in yet. Therefore \
none of the plugins uses it yet.
Ryan, if you have time to port ICQ and add the missing parts in the API, \
that would be more than welcome :-)
To see what the dialog looks like, apply below patch. It will show the new
dialog next to the old one, just for testing. For real-world use this patch \
is worthless. It probably even leaks the dialog...
I wonder how much stuff is missing in here. Let's hope it is not _too_ \
much.
Index: kopetewindow.cpp
===================================================================
RCS file: /home/kde/kdenonbeta/kopete/kopete/library/ui/kopetewindow.cpp,v
retrieving revision 1.23
diff -u -p -r1.23 kopetewindow.cpp
--- kopetewindow.cpp 2002/04/07 21:50:20 1.23
+++ kopetewindow.cpp 2002/04/07 23:00:02
@@ -31,6 +31,8 @@
#include <klocale.h>
#include <kstdaction.h>
+#include "kopetechatwindow.h"
+
KopeteWindow::KopeteWindow(QWidget *parent, const char *name ): \
KMainWindow(parent,name) {
kdDebug() << "[KopeteWindow] KopeteWindow()" << endl;
@@ -216,7 +218,10 @@ void KopeteWindow::slotExecuted( QListVi
{
KopeteContact *contact = dynamic_cast<KopeteContact *>(item);
if ( contact )
+ {
+ ( new KopeteChatWindow( contact, contact, 0L, "chatWin" ) \
)->show(); contact->execute();
+ }
}
// vim: set noet sw=4 ts=4 sts=4:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic