Revision 1193151

Go back to digest for 7th November 2010

Optimization in Networking Tools

Matthias Fuchs committed changes in /trunk/KDE/kdenetwork/kget:

Adds NewTransferDialogHandler that handles the dialog creation and the adding of transfers.
If there is enough information to add transfers directly it will do that using static methods of KGet, adding all in one run.

This class also makes the mostLocalUrl call asynchronously, thus massively speeding up adding transfers.
In kget.cpp itself that is not possible, as the methods there have to return a result instantly.

File Changes

Modified 11 files
  • /trunk/KDE/kdenetwork/kget
  •   /main.cpp
  •   /mainwindow.cpp
  •   /core/kget.h
  •   /dbus/dbuskgetwrapper.cpp
  •   /ui/droptarget.cpp
  •   /ui/newtransferdialog.cpp
  •   /ui/newtransferdialog.h
  •   /ui/tray.cpp
  •   /ui/history/transferhistory.cpp
  •   /ui/history/transferhistoryitemdelegate.cpp
  •   /ui/linkview/kget_linkview.cpp
11 files changed in total