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

kstars

stardatasink.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           stardatasink.h  -  description
00003                              -------------------
00004     begin                : Son Feb 10 2002
00005     copyright            : (C) 2002 by Thomas Kabelmann
00006     email                : tk78@gmx.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef STARDATASINK_H
00019 #define STARDATASINK_H
00020 
00021 
00029 #include <qobject.h>
00030 #include <qasyncio.h>
00031 
00032 #include <qglobal.h>
00033 
00034 class KStarsData;
00035 
00036 class StarDataSink : public QObject, public QDataSink {
00040     Q_OBJECT
00041 
00042     public:
00044         StarDataSink( KStarsData *parent, const char *name=0 );
00045 
00047         ~StarDataSink();
00048 
00050         int readyToReceive();
00051 
00053         void eof();
00054 
00059         void receive( const uchar *data, int entries );
00060 
00061     private:
00062 
00063         KStarsData *ksData;
00064 
00065         // has objectnamelist changed while reloading?
00066         uint nameListCount;
00067 
00068         // counts the number of blocks
00069         uint receivedBlocks;
00070 
00071     signals:
00072 
00076         void done();
00077 
00082         void updateSkymap();
00083 
00087         void clearCache();
00088 };
00089 
00090 #endif

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
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