summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/fitsprocess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kstars/kstars/fitsprocess.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/fitsprocess.h')
-rw-r--r--kstars/kstars/fitsprocess.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kstars/kstars/fitsprocess.h b/kstars/kstars/fitsprocess.h
index db0286eb..97d4f35a 100644
--- a/kstars/kstars/fitsprocess.h
+++ b/kstars/kstars/fitsprocess.h
@@ -18,12 +18,12 @@
#ifndef FITSPROCESS_H
#define FITSPROCESS_H
- #include <qptrlist.h>
- #include <qstringlist.h>
+ #include <tqptrlist.h>
+ #include <tqstringlist.h>
#include <kcommand.h>
- /*1. QPtrList<unsigned int *> darkFrames;
- 2. QPtrList<unsigned int *> flatFrames;
+ /*1. TQPtrList<unsigned int *> darkFrames;
+ 2. TQPtrList<unsigned int *> flatFrames;
3. The class reads the hdu of each FITS, the size of each frame must match the original frame, if not, abort and inform the user.
4. Ignore the EXPOSURE (time in milliseconds) differences for now. We need to compensate for differences by employing different methods of extrapolation later.
5. void combine(int mode); mode is either FITS_AVERAGE or FITS_MEDIAN.
@@ -36,12 +36,12 @@ class QImage;
class FITSProcess
{
public:
- FITSProcess(FITSViewer *parent, QStringList darkFiles, QStringList flatFiles, QStringList darkflatFiles, int darkMode, int flatMode, int darkflatMode);
+ FITSProcess(FITSViewer *parent, TQStringList darkFiles, TQStringList flatFiles, TQStringList darkflatFiles, int darkMode, int flatMode, int darkflatMode);
~FITSProcess();
- QPtrList<float> darkFrames;
- QPtrList<float> flatFrames;
- QPtrList<float> darkflatFrames;
+ TQPtrList<float> darkFrames;
+ TQPtrList<float> flatFrames;
+ TQPtrList<float> darkflatFrames;
FITSViewer *viewer;
int npix;
@@ -52,7 +52,7 @@ class FITSProcess
float *finalFlat;
float *finalDarkFlat;
- float * combine(QPtrList<float> & frames, int mode);
+ float * combine(TQPtrList<float> & frames, int mode);
void subtract(float * img1, float * img2);
void divide(float * img1, float * img2);
void reduce();
@@ -72,12 +72,12 @@ class FITSProcessCommand : public KCommand
void execute();
void unexecute();
- QString name() const;
+ TQString name() const;
private:
FITSViewer *viewer;
float * buffer;
- QImage *oldImage;
+ TQImage *oldImage;
};