summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/pcx/kfile_pcx.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:03:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:03:37 -0600
commit2e25fa39cd67cca2472d3eabdb478feb517d72a5 (patch)
tree63725962f632d152cbf20709191d39f6fc865966 /kfile-plugins/pcx/kfile_pcx.h
parent190d88dfc662f3fc466c9d1f53acbbea65f33c49 (diff)
downloadtdegraphics-2e25fa39cd67cca2472d3eabdb478feb517d72a5.tar.gz
tdegraphics-2e25fa39cd67cca2472d3eabdb478feb517d72a5.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kfile-plugins/pcx/kfile_pcx.h')
-rw-r--r--kfile-plugins/pcx/kfile_pcx.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/kfile-plugins/pcx/kfile_pcx.h b/kfile-plugins/pcx/kfile_pcx.h
deleted file mode 100644
index 47e74ab6..00000000
--- a/kfile-plugins/pcx/kfile_pcx.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* This file is part of the KDE project
- * Copyright (C) 2002 Nadeem Hasan <nhasan@kde.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public
- * License as published by the Free Software Foundation version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef __KFILE_PCX_H_
-#define __KFILE_PCX_H_
-
-#include <kfilemetainfo.h>
-
-struct PALETTE
-{
- struct
- {
- TQ_UINT8 r;
- TQ_UINT8 g;
- TQ_UINT8 b;
- } p[ 16 ];
-};
-
-struct PCXHEADER
-{
- TQ_UINT8 Manufacturer; // Constant Flag, 10 = ZSoft .pcx
- TQ_UINT8 Version; // Version informationˇ
- // 0 = Version 2.5 of PC Paintbrushˇ
- // 2 = Version 2.8 w/palette informationˇ
- // 3 = Version 2.8 w/o palette informationˇ
- // 4 = PC Paintbrush for Windows(Plus for
- // Windows uses Ver 5)ˇ
- // 5 = Version 3.0 and > of PC Paintbrush
- // and PC Paintbrush +, includes
- // Publisher's Paintbrush . Includes
- // 24-bit .PCX filesˇ
- TQ_UINT8 Encoding; // 1 = .PCX run length encoding
- TQ_UINT8 Bpp; // Number of bits to represent a pixel
- // (per Plane) - 1, 2, 4, or 8ˇ
- TQ_UINT16 XMin;
- TQ_UINT16 YMin;
- TQ_UINT16 XMax;
- TQ_UINT16 YMax;
- TQ_UINT16 HDpi;
- TQ_UINT16 YDpi;
- struct PALETTE Palette;
- TQ_UINT8 Reserved; // Should be set to 0.
- TQ_UINT8 NPlanes; // Number of color planes
- TQ_UINT16 BytesPerLine; // Number of bytes to allocate for a scanline
- // plane. MUST be an EVEN number. Do NOT
- // calculate from Xmax-Xmin.ˇ
- TQ_UINT16 PaletteInfo; // How to interpret palette- 1 = Color/BW,
- // 2 = Grayscale ( ignored in PB IV/ IV + )ˇ
- TQ_UINT16 HScreenSize; //Qt::Horizontal screen size in pixels. New field
- // found only in PB IV/IV Plus
- TQ_UINT16 VScreenSize; //Qt::Vertical screen size in pixels. New field
- // found only in PB IV/IV Plus
- TQ_UINT8 Filler[ 54 ]; // Blank to fill out 128 byte header. Set all
- // bytes to 0
-};
-
-class KPcxPlugin: public KFilePlugin
-{
- Q_OBJECT
-
-
-public:
- KPcxPlugin(TQObject *parent, const char *name, const TQStringList& args);
- virtual bool readInfo(KFileMetaInfo& info, uint what);
-
-private:
-};
-
-#endif
-
-/* vim: et sw=2 ts=2
-*/
-