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

KImgIO

ico.h

Go to the documentation of this file.
00001 
00002 /*
00003  * $Id: ico.h 200652 2003-01-17 21:32:56Z malte $
00004  * ico.h - kimgio import filter for MS Windows .ico files
00005  *
00006  * Distributed under the terms of the LGPL
00007  * Copyright (c) 2000 Malte Starostik <malte@kde.org>
00008  * 
00009  */
00010 
00011 // You can use QImageIO::setParameters() to request a specific
00012 // Icon out of an .ico file:
00013 //
00014 // Options consist of a name=value pair and are separated by a semicolon.
00015 // Available options are:
00016 //     size=<size>   select the icon that most closely matches <size> (pixels)
00017 //                   default: 32
00018 //     colors=<num>  select the icon that has <num> colors (or comes closest)
00019 //                   default: 1 << display depth or 0 (RGB) if display depth > 8
00020 //     index=<index> select the indexth icon from the file. If this option
00021 //                   is present, the size and colors options will be ignored.
00022 //                   default: none
00023 // If both size and colors are given, size takes precedence.
00024 // 
00025 // The old format is still supported:
00026 //     the parameters consist of a single string in the form
00027 //     "<size>[:<colors>]" which correspond to the options above
00028 //
00029 // If an icon was returned (i.e. the file is valid and the index option
00030 // if present was not out of range), the icon's index within the .ico
00031 // file is returned in the text tag "X-Index" of the image.
00032 // If the icon is in fact a cursor, its hotspot coordinates are returned
00033 // in the text tags "X-HotspotX" and "X-HotspotY".
00034 
00035 #ifndef _ICO_H_
00036 #define _ICO_H_
00037 
00038 class QImageIO;
00039 
00040 extern "C"
00041 {
00042     void kimgio_ico_read(QImageIO *);
00043 //    void kimgio_ico_write(QImageIO *);
00044 }
00045 
00046 #endif

KImgIO

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
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