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

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • transfer-plugins
  • mmsthreads
mmsthread.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE project
3  Copyright (C) 2011 Ernesto Rodriguez Ortiz <eortiz@uci.cu>
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18 */
19 
20 #ifndef MMSTHREAD_HPP
21 #define MMSTHREAD_HPP
22 #include <libmms/mmsx.h>
23 #include <QtCore/QThread>
24 #include <QtCore/QFile>
25 #include <QtCore/QMutex>
26 
27 using namespace std;
28 
29 class MmsThread : public QThread
30 {
31  Q_OBJECT
32  public:
33  MmsThread(const QString& url, const QString& name, int begin, int end);
34  void run();
35  void stop();
36 
37  private:
38  QString m_sourceUrl;
39  QString m_fileName;
40  int m_begin;
41  int m_end;
42  QMutex m_locker;
43  bool m_download;
44 
45  signals:
46  void signReading(int data, int m_end, int m_begin);
47  void signIsConnected(bool connected);
48 };
49 
50 #endif // MMSTHREAD_HPP
MmsThread
Definition: mmsthread.h:29
QThread
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal