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

List:       kde-commits
Subject:    kdenonbeta/kopete
From:       Martijn Klingens <klingens () kde ! org>
Date:       2003-08-27 17:36:02
[Download RAW message or body]

CVS commit by mklingens: 

Start using the new KCDialog framework to replace our crappy ConfigModule.

MSN is ported over, I'll now gradually port the other protocols to use it.
There needs to be a slight change in the way KGenericFactory is used in
Kopete, because its plugin will need its own KInstance, instead of reusing
KGlobal::instance().

I already adapted the KopetePlugin/KopeteProtocol APIs to reflect this, but
for now I just pass KGlobal::instance in all constructors except MSN. Both
the new KCDialog and the new plugin selector will need it later on.

KCDialog is a dialog that dynamically loads KConfigModules (KCModule). This
has the advantage that the preferences are created on demand instead of at
Kopete startup, besides a couple of other nice benefits.

There are a few notes regarding this:
1. There are now two 'Configure Kopete...' entries, one which shows the
   old dialog (without MSN :) and one with the new dialog (and only MSN).
   I don't consider this enough showstopper for HEAD to not commit, it
   will be gone soon enough.

2. I added the entire KCDialog API to libkopete/compat/kcdialog, but I have
   no KDE 3.1 at hand to even try compilation. Some fixes might be needed,
   feel free to commit to the Makefiles.

3. KCDialog is _bleeding_edge_ code, and it has some issues that Matthias
   Kretz is already aware of. Try to stay current with kdelibs/kutils and
   report if necessary, but expect this API to be a rather fast moving
   target in the next couple of days. Apologies for the inconvenience.

CCMAIL: kopete-devel@kde.org


  A            libkopete/compat/kcdialog/.cvsignore   1.1
  A            libkopete/compat/kcdialog/Makefile.am   1.1
  A            libkopete/compat/kcdialog/README.KCD   1.1
  A            libkopete/compat/kcdialog/kcddispatcher.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcddispatcher.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcdpluginpage.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcdpluginpage.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcmodule.cpp   1.1 [LGPL (v2+)]
  A            libkopete/compat/kcdialog/kcmodule.h   1.1 [LGPL (v2+)]
  A            libkopete/compat/kcdialog/kcmoduleinfo.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcmoduleinfo.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcmoduleloader.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcmoduleloader.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kcmultidialog.cpp   1.1 [LGPL (v2+)]
  A            libkopete/compat/kcdialog/kcmultidialog.h   1.1 [LGPL (v2+)]
  A            libkopete/compat/kcdialog/kconfiguredialog.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kconfiguredialog.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kplugininfo.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kplugininfo.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kpluginselector.cpp   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kpluginselector.h   1.1 [LGPL]
  A            libkopete/compat/kcdialog/kpluginselector_p.h   1.1 [LGPL]
  A            protocols/msn/config/.cvsignore   1.1
  A            protocols/msn/config/Makefile.am   1.1
  A            protocols/msn/config/kopete_msn_config.desktop   1.1
  A            protocols/msn/config/msnpreferences.cpp   1.1 [GPL (v2+)]
  A            protocols/msn/config/msnpreferences.h   1.1 [GPL (v2+)]
  A            protocols/msn/config/msnprefs.ui   1.1
  M +2 -1      kopete/kopeteui.rc   1.25
  M +10 -2     kopete/kopetewindow.cpp   1.131
  M +1 -0      kopete/kopetewindow.h   1.51
  M +11 -1     libkopete/kopeteplugin.cpp   1.20
  M +10 -2     libkopete/kopeteplugin.h   1.24
  M +5 -6      libkopete/kopeteprotocol.cpp   1.73
  M +1 -2      libkopete/kopeteprotocol.h   1.61
  M +3 -0      libkopete/compat/Makefile.am   1.5
  M +2 -3      plugins/autoreplace/autoreplaceplugin.cpp   1.12
  M +2 -1      plugins/connectionstatus/connectionstatusplugin.cpp   1.16
  M +2 -3      plugins/contactnotes/contactnotesplugin.cpp   1.11
  M +2 -3      plugins/cryptography/cryptographyplugin.cpp   1.27
  M +2 -1      plugins/highlight/highlightplugin.cpp   1.8
  M +2 -4      plugins/history/historyplugin.cpp   1.12
  M +2 -3      plugins/motionautoaway/motionawayplugin.cpp   1.20
  M +2 -3      plugins/msginfo/msginfoplugin.cpp   1.9
  M +1 -2      plugins/netmeeting/netmeetingplugin.cpp   1.4
  M +1 -1      plugins/nowlistening/nowlisteningplugin.cpp   1.26
  M +2 -1      plugins/perlscript/perlscriptplugin.cpp   1.10
  M +1 -1      plugins/spellcheck/spellcheckplugin.cpp   1.22
  M +1 -1      plugins/texteffect/texteffectplugin.cpp   1.4
  M +1 -1      plugins/translator/translatorplugin.cpp   1.43
  M +1 -1      plugins/webpresence/webpresenceplugin.cpp   1.27
  M +1 -1      protocols/irc/ircprotocol.cpp   1.115
  M +2 -1      protocols/jabber/jabberprotocol.cpp   1.200
  M +4 -2      protocols/msn/Makefile.am   1.47
  M +9 -5      protocols/msn/msnaccount.cpp   1.38
  M +0 -1      protocols/msn/msnnotifysocket.cpp   1.109
  M +9 -10     protocols/msn/msnprotocol.cpp   1.241
  M +0 -2      protocols/msn/msnprotocol.h   1.122
  M +2 -2      protocols/msn/ui/Makefile.am   1.17
  M +1 -2      protocols/oscar/aim/aimprotocol.cpp   1.11
  M +1 -1      protocols/oscar/icq/icqprotocol.cpp   1.24
  M +1 -1      protocols/sms/smsprotocol.cpp   1.29
  M +2 -1      protocols/winpopup/wpprotocol.cpp   1.49
  M +2 -1      protocols/yahoo/yahooprotocol.cpp   1.61
  R            protocols/msn/msnpreferences.cpp   1.20
  R            protocols/msn/msnpreferences.h   1.9
  R            protocols/msn/ui/msnprefs.ui   1.22



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

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