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

kstars

filesource.h File Reference

#include <qasyncio.h>
#include <qstring.h>

Include dependency graph for filesource.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  FileSource
 FileSource is an asynchronous class for reloading star data while running the program. More...

Defines

#define maxLines   500

Define Documentation

#define maxLines   500

maxLines defines how many lines in data file should be read and send to QDataSink.

This is only needed if a data block is longer than the max defined lines. I figured out this value of 500 on a fast system, so if it is to high the value might be decreased. A high value means faster reloading but perhaps on slow systems this might interrupt the main event loop. A low value needs longer to reload data, but it doesn't interrupt the main event loop (it's smoother). But it's important to know that 500 lines to read is very fast, but appending to QList in StarDataSink will take the most time and this will also defined with this value.

Definition at line 96 of file filesource.h.

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