Index: ktorrent/CMakeLists.txt =================================================================== --- ktorrent/CMakeLists.txt.orig +++ ktorrent/CMakeLists.txt @@ -91,6 +91,7 @@ install(FILES ktorrentplugin.desktop DE install(FILES ktorrentui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent ) install(FILES kttorrentactivityui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent ) install(FILES ktorrent.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ktorrent ) +install(FILES dhttip DESTINATION ${DATA_INSTALL_DIR}/ktorrent) if (NOT ${ENABLE_KIO_MAGNET}) install(FILES magnet.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) Index: ktorrent/dhttip =================================================================== --- /dev/null +++ ktorrent/dhttip @@ -0,0 +1,11 @@ + + +

+Please respect the rights of copyright holders. +

+

+Free Software also depends upon the principle of copyright. +

+ +
+ Index: ktorrent/gui.cpp =================================================================== --- ktorrent/gui.cpp.orig +++ ktorrent/gui.cpp @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -122,6 +123,8 @@ namespace kt //markk.update(); updateActions(); core->startUpdateTimer(); + + QTimer::singleShot(0, this, SLOT(showDhtTip())); } GUI:: ~GUI() @@ -597,6 +600,11 @@ namespace kt return torrent_activity; } + void GUI::showDhtTip() + { + KTipDialog::showTip(this, "ktorrent/dhttip"); + } + } #include "gui.moc" Index: ktorrent/gui.h =================================================================== --- ktorrent/gui.h.orig +++ ktorrent/gui.h @@ -113,6 +113,7 @@ namespace kt void showOrHide(); void configureNotifications(); void activePartChanged(KParts::Part* p); + void showDhtTip(); private: void setupActions();