• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

btspeedlimits.cpp

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002 
00003    Copyright (C) 2007 Lukas Appelhans <l.appelhans@gmx.de>
00004 
00005    This program is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 */
00010 #include "btspeedlimits.h"
00011 
00012 #include <KDebug>
00013 
00014 BTSpeedLimits::BTSpeedLimits(BTTransferHandler * handler, QWidget * parent)
00015   : KDialog(parent),
00016     m_handler(handler)
00017 {
00018     connect(this, SIGNAL(accepted()), SLOT(setSpeedLimits()));
00019 }
00020 
00021 void BTSpeedLimits::setSpeedLimits()
00022 {
00023     m_handler->setTrafficLimits(dlBox->value(), ulBox->value());
00024     m_handler->setMaxShareRatio(shareRatioSpin->value());
00025 }

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal