Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98912 Details for
Bug 150242
[4.1/ICE] kaffeine-0.8.2-r1 won't compile with USE="kdehiddenvisibility"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
preprocessed source
ccaLIYaj.out (text/plain), 778.89 KB, created by
Martin Ereth
on 2006-10-06 01:50:43 UTC
(
hide
)
Description:
preprocessed source
Filename:
MIME Type:
Creator:
Martin Ereth
Created:
2006-10-06 01:50:43 UTC
Size:
778.89 KB
patch
obsolete
>// /usr/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1plus -fpreprocessed /var/tmp/ccache/kxinewidge.tmp.martin.11207.ii -quiet -dumpbase kxinewidge.tmp.martin.11207.ii -march=athlon-xp -auxbase-strip /var/tmp/ccache/tmp.hash.martin.11207.o -O2 -O3 -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fasynchronous-unwind-tables -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o - -frandom-seed=0 ># 1 "kxinewidget.cpp" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "kxinewidget.cpp" ># 19 "kxinewidget.cpp" > ># 1 "/usr/qt/3/include/qapplication.h" 1 ># 42 "/usr/qt/3/include/qapplication.h" > ># 1 "/usr/qt/3/include/qdesktopwidget.h" 1 ># 40 "/usr/qt/3/include/qdesktopwidget.h" > ># 1 "/usr/qt/3/include/qwidget.h" 1 ># 42 "/usr/qt/3/include/qwidget.h" > ># 1 "/usr/qt/3/include/qwindowdefs.h" 1 ># 43 "/usr/qt/3/include/qwindowdefs.h" > ># 1 "/usr/qt/3/include/qobjectdefs.h" 1 ># 42 "/usr/qt/3/include/qobjectdefs.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 626 "/usr/qt/3/include/qglobal.h" >typedef unsigned char uchar; >typedef unsigned short ushort; >typedef unsigned uint; >typedef unsigned long ulong; >typedef char *pchar; >typedef uchar *puchar; >typedef const char *pcchar; > > > > > > > >const bool FALSE = 0; >const bool TRUE = !0; ># 690 "/usr/qt/3/include/qglobal.h" >inline int qRound( double d ) >{ > return d >= 0.0 ? int(d + 0.5) : int( d - ((int)d-1) + 0.5 ) + ((int)d-1); >} ># 710 "/usr/qt/3/include/qglobal.h" >typedef signed char Q_INT8; >typedef unsigned char Q_UINT8; >typedef short Q_INT16; >typedef unsigned short Q_UINT16; >typedef int Q_INT32; >typedef unsigned int Q_UINT32; > > > > >typedef long Q_LONG; >typedef unsigned long Q_ULONG; ># 731 "/usr/qt/3/include/qglobal.h" >typedef long long Q_INT64; >typedef unsigned long long Q_UINT64; > >typedef Q_INT64 Q_LLONG; >typedef Q_UINT64 Q_ULLONG; > > > > > > > > typedef Q_ULONG QtOffset; > > > > > > > >class QDataStream; ># 775 "/usr/qt/3/include/qglobal.h" > ># 1 "/usr/qt/3/include/qconfig.h" 1 ># 776 "/usr/qt/3/include/qglobal.h" 2 ># 785 "/usr/qt/3/include/qglobal.h" > ># 1 "/usr/qt/3/include/qmodules.h" 1 ># 786 "/usr/qt/3/include/qglobal.h" 2 ># 841 "/usr/qt/3/include/qglobal.h" > ># 1 "/usr/qt/3/include/qfeatures.h" 1 ># 842 "/usr/qt/3/include/qglobal.h" 2 ># 912 "/usr/qt/3/include/qglobal.h" >__attribute__((visibility("default"))) const char *qVersion(); >__attribute__((visibility("default"))) bool qSysInfo( int *wordSize, bool *bigEndian ); >__attribute__((visibility("default"))) bool qSharedBuild(); ># 973 "/usr/qt/3/include/qglobal.h" >__attribute__((visibility("default"))) void qDebug( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > >__attribute__((visibility("default"))) void qWarning( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > >__attribute__((visibility("default"))) void qFatal( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > >__attribute__((visibility("default"))) void qSystemWarning( const char *, int code = -1 ); ># 1037 "/usr/qt/3/include/qglobal.h" >__attribute__((visibility("default"))) bool qt_check_pointer( bool c, const char *, int ); ># 1051 "/usr/qt/3/include/qglobal.h" >enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg }; > >typedef void (*QtMsgHandler)(QtMsgType, const char *); >__attribute__((visibility("default"))) QtMsgHandler qInstallMsgHandler( QtMsgHandler ); > > > > > >__attribute__((visibility("default"))) void qSuppressObsoleteWarnings( bool = TRUE ); > >__attribute__((visibility("default"))) void qObsolete( const char *obj, const char *oldfunc, > const char *newfunc ); >__attribute__((visibility("default"))) void qObsolete( const char *obj, const char *oldfunc ); >__attribute__((visibility("default"))) void qObsolete( const char *message ); > > > > > > >__attribute__((visibility("default"))) const char *qInstallPath(); >__attribute__((visibility("default"))) const char *qInstallPathDocs(); >__attribute__((visibility("default"))) const char *qInstallPathHeaders(); >__attribute__((visibility("default"))) const char *qInstallPathLibs(); >__attribute__((visibility("default"))) const char *qInstallPathBins(); >__attribute__((visibility("default"))) const char *qInstallPathPlugins(); >__attribute__((visibility("default"))) const char *qInstallPathData(); >__attribute__((visibility("default"))) const char *qInstallPathTranslations(); >__attribute__((visibility("default"))) const char *qInstallPathSysconf(); ># 43 "/usr/qt/3/include/qobjectdefs.h" 2 ># 72 "/usr/qt/3/include/qobjectdefs.h" >struct QUObject; ># 152 "/usr/qt/3/include/qobjectdefs.h" >class QObject; >class QMetaObject; >class QSignal; >class QConnection; >class QEvent; >struct QMetaData; >class QConnectionList; >class QConnectionListIt; >class QSignalVec; >class QObjectList; >class QObjectListIt; >class QMemberDict; > >__attribute__((visibility("default"))) void *qt_find_obj_child( QObject *, const char *, const char * ); > > > >__attribute__((visibility("default"))) void *qt_inheritedBy( QMetaObject *super, const QObject *cls ); > >template <typename T> > T qt_cast(const QObject *object) >{ return (T)qt_inheritedBy( ((T)0)->staticMetaObject(), object ); } ># 44 "/usr/qt/3/include/qwindowdefs.h" 2 > ># 1 "/usr/qt/3/include/qstring.h" 1 ># 42 "/usr/qt/3/include/qstring.h" > ># 1 "/usr/qt/3/include/qcstring.h" 1 ># 43 "/usr/qt/3/include/qcstring.h" > ># 1 "/usr/qt/3/include/qmemarray.h" 1 ># 42 "/usr/qt/3/include/qmemarray.h" > ># 1 "/usr/qt/3/include/qgarray.h" 1 ># 42 "/usr/qt/3/include/qgarray.h" > ># 1 "/usr/qt/3/include/qshared.h" 1 ># 42 "/usr/qt/3/include/qshared.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qshared.h" 2 > > > >struct __attribute__((visibility("default"))) QShared >{ > QShared() : count( 1 ) { } > void ref() { count++; } > bool deref() { return !--count; } > uint count; >}; ># 43 "/usr/qt/3/include/qgarray.h" 2 > > > >class __attribute__((visibility("default"))) QGArray >{ >friend class QBuffer; >public: > > > struct array_data : public QShared { > array_data():data(0),len(0) > > > > {} > char *data; > uint len; > > > > }; > QGArray(); > enum Optimization { MemOptim, SpeedOptim }; >protected: > QGArray( int, int ); > QGArray( int size ); > QGArray( const QGArray &a ); > virtual ~QGArray(); > > QGArray &operator=( const QGArray &a ) { return assign( a ); } > > virtual void detach() { duplicate(*this); } > > > char *data() const { return shd->data; } > uint nrefs() const { return shd->count; } > uint size() const { return shd->len; } > bool isEqual( const QGArray &a ) const; > > bool resize( uint newsize, Optimization optim ); > bool resize( uint newsize ); > > bool fill( const char *d, int len, uint sz ); > > QGArray &assign( const QGArray &a ); > QGArray &assign( const char *d, uint len ); > QGArray &duplicate( const QGArray &a ); > QGArray &duplicate( const char *d, uint len ); > void store( const char *d, uint len ); > > array_data *sharedBlock() const { return shd; } > void setSharedBlock( array_data *p ) { shd=(array_data*)p; } > > QGArray &setRawData( const char *d, uint len ); > void resetRawData( const char *d, uint len ); > > int find( const char *d, uint index, uint sz ) const; > int contains( const char *d, uint sz ) const; > > void sort( uint sz ); > int bsearch( const char *d, uint sz ) const; > > char *at( uint index ) const; > > bool setExpand( uint index, const char *d, uint sz ); > >protected: > virtual array_data *newData(); > virtual void deleteData( array_data *p ); > >private: > static void msg_index( uint ); > array_data *shd; >}; > > >inline char *QGArray::at( uint index ) const >{ > > if ( index >= size() ) { > msg_index( index ); > index = 0; > } > > return &shd->data[index]; >} ># 43 "/usr/qt/3/include/qmemarray.h" 2 > > > >template<class type> >class QMemArray : public QGArray >{ >public: > typedef type* Iterator; > typedef const type* ConstIterator; > typedef type ValueType; > >protected: > QMemArray( int, int ) : QGArray( 0, 0 ) {} > >public: > QMemArray() {} > QMemArray( int size ) : QGArray(size*sizeof(type)) {} > QMemArray( const QMemArray<type> &a ) : QGArray(a) {} > ~QMemArray() {} > QMemArray<type> &operator=(const QMemArray<type> &a) > { return (QMemArray<type>&)QGArray::assign(a); } > type *data() const { return (type *)QGArray::data(); } > uint nrefs() const { return QGArray::nrefs(); } > uint size() const { return QGArray::size()/sizeof(type); } > uint count() const { return size(); } > bool isEmpty() const { return QGArray::size() == 0; } > bool isNull() const { return QGArray::data() == 0; } > bool resize( uint size ) { return QGArray::resize(size*sizeof(type)); } > bool resize( uint size, Optimization optim ) { return QGArray::resize(size*sizeof(type), optim); } > bool truncate( uint pos ) { return QGArray::resize(pos*sizeof(type)); } > bool fill( const type &d, int size = -1 ) > { return QGArray::fill((char*)&d,size,sizeof(type) ); } > void detach() { QGArray::detach(); } > QMemArray<type> copy() const > { QMemArray<type> tmp; return tmp.duplicate(*this); } > QMemArray<type>& assign( const QMemArray<type>& a ) > { return (QMemArray<type>&)QGArray::assign(a); } > QMemArray<type>& assign( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::assign((char*)a,n*sizeof(type)); } > QMemArray<type>& duplicate( const QMemArray<type>& a ) > { return (QMemArray<type>&)QGArray::duplicate(a); } > QMemArray<type>& duplicate( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); } > QMemArray<type>& setRawData( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::setRawData((char*)a, > n*sizeof(type)); } > void resetRawData( const type *a, uint n ) > { QGArray::resetRawData((char*)a,n*sizeof(type)); } > int find( const type &d, uint i=0 ) const > { return QGArray::find((char*)&d,i,sizeof(type)); } > int contains( const type &d ) const > { return QGArray::contains((char*)&d,sizeof(type)); } > void sort() { QGArray::sort(sizeof(type)); } > int bsearch( const type &d ) const > { return QGArray::bsearch((const char*)&d,sizeof(type)); } > > type& operator[]( int i ) const > { return (type &)(*(type *)QGArray::at(i*sizeof(type))); } > type& at( uint i ) const > { return (type &)(*(type *)QGArray::at(i*sizeof(type))); } > operator const type*() const { return (const type *)QGArray::data(); } > bool operator==( const QMemArray<type> &a ) const { return isEqual(a); } > bool operator!=( const QMemArray<type> &a ) const { return !isEqual(a); } > Iterator begin() { return data(); } > Iterator end() { return data() + size(); } > ConstIterator begin() const { return data(); } > ConstIterator end() const { return data() + size(); } >}; > > > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 118 "/usr/qt/3/include/qmemarray.h" 2 ># 44 "/usr/qt/3/include/qcstring.h" 2 > > > ># 1 "/usr/include/string.h" 1 3 4 ># 26 "/usr/include/string.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 323 "/usr/include/features.h" 3 4 > ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 313 "/usr/include/sys/cdefs.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 314 "/usr/include/sys/cdefs.h" 2 3 4 ># 324 "/usr/include/features.h" 2 3 4 ># 346 "/usr/include/features.h" 3 4 > ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > ># 1 "/usr/include/gnu/stubs-32.h" 1 3 4 ># 8 "/usr/include/gnu/stubs.h" 2 3 4 ># 347 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/string.h" 2 3 4 > >extern "C" { > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void *rawmemchr (__const void *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (2))); > > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 119 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strchrnul (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) throw (); ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1))); ># 426 "/usr/include/string.h" 3 4 >} ># 47 "/usr/qt/3/include/qcstring.h" 2 > > > > > > >__attribute__((visibility("default"))) void *qmemmove( void *dst, const void *src, uint len ); > >__attribute__((visibility("default"))) char *qstrdup( const char * ); > >__attribute__((visibility("default"))) inline uint qstrlen( const char *str ) >{ return str ? (uint)strlen(str) : 0u; } > >__attribute__((visibility("default"))) inline char *qstrcpy( char *dst, const char *src ) >{ return src ? strcpy(dst, src) : 0; } > >__attribute__((visibility("default"))) char *qstrncpy( char *dst, const char *src, uint len ); > >__attribute__((visibility("default"))) inline int qstrcmp( const char *str1, const char *str2 ) >{ > return ( str1 && str2 ) ? strcmp( str1, str2 ) > : ( str1 ? 1 : ( str2 ? -1 : 0 ) ); >} > >__attribute__((visibility("default"))) inline int qstrncmp( const char *str1, const char *str2, uint len ) >{ > return ( str1 && str2 ) ? strncmp( str1, str2, len ) > : ( str1 ? 1 : ( str2 ? -1 : 0 ) ); >} > >__attribute__((visibility("default"))) int qstricmp( const char *, const char * ); > >__attribute__((visibility("default"))) int qstrnicmp( const char *, const char *, uint len ); ># 98 "/usr/qt/3/include/qcstring.h" >__attribute__((visibility("default"))) Q_UINT16 qChecksum( const char *s, uint len ); ># 116 "/usr/qt/3/include/qcstring.h" >typedef QMemArray<char> QByteArray; > > > >__attribute__((visibility("default"))) QByteArray qCompress( const uchar* data, int nbytes ); >__attribute__((visibility("default"))) QByteArray qUncompress( const uchar* data, int nbytes ); >__attribute__((visibility("default"))) inline QByteArray qCompress( const QByteArray& data) >{ return qCompress( (const uchar*)data.data(), data.size() ); } >__attribute__((visibility("default"))) inline QByteArray qUncompress( const QByteArray& data ) >{ return qUncompress( (const uchar*)data.data(), data.size() ); } > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QByteArray & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QByteArray & ); > > > > > > >class QRegExp; > >class __attribute__((visibility("default"))) QCString : public QByteArray >{ >public: > QCString() {} > QCString( int size ); > QCString( const QCString &s ) : QByteArray( s ) {} > QCString( const char *str ); > QCString( const char *str, uint maxlen ); > ~QCString(); > > QCString &operator=( const QCString &s ); > QCString &operator=( const char *str ); > > bool isNull() const; > bool isEmpty() const; > uint length() const; > bool resize( uint newlen ); > bool truncate( uint pos ); > bool fill( char c, int len = -1 ); > > QCString copy() const; > > QCString &sprintf( const char *format, ... ); > > int find( char c, int index=0, bool cs=TRUE ) const; > int find( const char *str, int index=0, bool cs=TRUE ) const; > > int find( const QRegExp &, int index=0 ) const; > > int findRev( char c, int index=-1, bool cs=TRUE) const; > int findRev( const char *str, int index=-1, bool cs=TRUE) const; > > int findRev( const QRegExp &, int index=-1 ) const; > > int contains( char c, bool cs=TRUE ) const; > int contains( const char *str, bool cs=TRUE ) const; > > int contains( const QRegExp & ) const; > > QCString left( uint len ) const; > QCString right( uint len ) const; > QCString mid( uint index, uint len=0xffffffff) const; > > QCString leftJustify( uint width, char fill=' ', bool trunc=FALSE)const; > QCString rightJustify( uint width, char fill=' ',bool trunc=FALSE)const; > > QCString lower() const; > QCString upper() const; > > QCString stripWhiteSpace() const; > QCString simplifyWhiteSpace() const; > > QCString &insert( uint index, const char * ); > QCString &insert( uint index, char ); > QCString &append( const char * ); > QCString &prepend( const char * ); > QCString &remove( uint index, uint len ); > QCString &replace( uint index, uint len, const char * ); > > QCString &replace( const QRegExp &, const char * ); > > QCString &replace( char c, const char *after ); > QCString &replace( const char *, const char * ); > QCString &replace( char, char ); > > short toShort( bool *ok=0 ) const; > ushort toUShort( bool *ok=0 ) const; > int toInt( bool *ok=0 ) const; > uint toUInt( bool *ok=0 ) const; > long toLong( bool *ok=0 ) const; > ulong toULong( bool *ok=0 ) const; > float toFloat( bool *ok=0 ) const; > double toDouble( bool *ok=0 ) const; > > QCString &setStr( const char *s ); > QCString &setNum( short ); > QCString &setNum( ushort ); > QCString &setNum( int ); > QCString &setNum( uint ); > QCString &setNum( long ); > QCString &setNum( ulong ); > QCString &setNum( float, char f='g', int prec=6 ); > QCString &setNum( double, char f='g', int prec=6 ); > > bool setExpand( uint index, char c ); > > operator const char *() const; > QCString &operator+=( const char *str ); > QCString &operator+=( char c ); >private: > int find( const char *str, int index, bool cs, uint l ) const; >}; > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QCString & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QCString & ); > > > > > > >inline QCString &QCString::operator=( const QCString &s ) >{ return (QCString&)assign( s ); } > >inline QCString &QCString::operator=( const char *str ) >{ return (QCString&)duplicate( str, qstrlen(str)+1 ); } > >inline bool QCString::isNull() const >{ return data() == 0; } > >inline bool QCString::isEmpty() const >{ return data() == 0 || *data() == '\0'; } > >inline uint QCString::length() const >{ return qstrlen( data() ); } > >inline bool QCString::truncate( uint pos ) >{ return resize(pos+1); } > >inline QCString QCString::copy() const >{ return QCString( data() ); } > >inline QCString &QCString::prepend( const char *s ) >{ return insert(0,s); } > >inline QCString &QCString::append( const char *s ) >{ return operator+=(s); } > >inline QCString &QCString::setNum( short n ) >{ return setNum((long)n); } > >inline QCString &QCString::setNum( ushort n ) >{ return setNum((ulong)n); } > >inline QCString &QCString::setNum( int n ) >{ return setNum((long)n); } > >inline QCString &QCString::setNum( uint n ) >{ return setNum((ulong)n); } > >inline QCString &QCString::setNum( float n, char f, int prec ) >{ return setNum((double)n,f,prec); } > >inline QCString::operator const char *() const >{ return (const char *)data(); } > > > > > > >__attribute__((visibility("default"))) inline bool operator==( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) == 0; } > >__attribute__((visibility("default"))) inline bool operator==( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) == 0; } > >__attribute__((visibility("default"))) inline bool operator==( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) == 0; } > >__attribute__((visibility("default"))) inline bool operator!=( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) != 0; } > >__attribute__((visibility("default"))) inline bool operator!=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) != 0; } > >__attribute__((visibility("default"))) inline bool operator!=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) != 0; } > >__attribute__((visibility("default"))) inline bool operator<( const QCString &s1, const QCString& s2 ) >{ return qstrcmp( s1.data(), s2.data() ) < 0; } > >__attribute__((visibility("default"))) inline bool operator<( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) < 0; } > >__attribute__((visibility("default"))) inline bool operator<( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) < 0; } > >__attribute__((visibility("default"))) inline bool operator<=( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) <= 0; } > >__attribute__((visibility("default"))) inline bool operator<=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) <= 0; } > >__attribute__((visibility("default"))) inline bool operator<=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) <= 0; } > >__attribute__((visibility("default"))) inline bool operator>( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) > 0; } > >__attribute__((visibility("default"))) inline bool operator>( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) > 0; } > >__attribute__((visibility("default"))) inline bool operator>( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) > 0; } > >__attribute__((visibility("default"))) inline bool operator>=( const QCString &s1, const QCString& s2 ) >{ return qstrcmp( s1.data(), s2.data() ) >= 0; } > >__attribute__((visibility("default"))) inline bool operator>=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) >= 0; } > >__attribute__((visibility("default"))) inline bool operator>=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) >= 0; } > >__attribute__((visibility("default"))) inline const QCString operator+( const QCString &s1, > const QCString &s2 ) >{ > QCString tmp( s1.data() ); > tmp += s2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QCString operator+( const QCString &s1, const char *s2 ) >{ > QCString tmp( s1.data() ); > tmp += s2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QCString operator+( const char *s1, const QCString &s2 ) >{ > QCString tmp( s1 ); > tmp += s2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QCString operator+( const QCString &s1, char c2 ) >{ > QCString tmp( s1.data() ); > tmp += c2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QCString operator+( char c1, const QCString &s2 ) >{ > QCString tmp; > tmp += c1; > tmp += s2; > return tmp; >} > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 389 "/usr/qt/3/include/qcstring.h" 2 ># 43 "/usr/qt/3/include/qstring.h" 2 > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h" 1 3 4 > > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 3 4 > ># 1 "/usr/include/limits.h" 1 3 4 ># 145 "/usr/include/limits.h" 3 4 > ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 > ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 > ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/limits.h" 2 3 4 > > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/usr/include/limits.h" 2 3 4 > > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 > ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 154 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 2 3 4 ># 47 "/usr/qt/3/include/qstring.h" 2 ># 68 "/usr/qt/3/include/qstring.h" >class QRegExp; >class QString; >class QCharRef; >template <class T> class QDeepCopy; > >class __attribute__((visibility("default"))) QChar { >public: > QChar(); > QChar( char c ); > QChar( uchar c ); > QChar( uchar c, uchar r ); > QChar( const QChar& c ); > QChar( ushort rc ); > QChar( short rc ); > QChar( uint rc ); > QChar( int rc ); > > static const QChar null; > static const QChar replacement; > static const QChar byteOrderMark; > static const QChar byteOrderSwapped; > static const QChar nbsp; > > > > enum Category > { > NoCategory, > > Mark_NonSpacing, > Mark_SpacingCombining, > Mark_Enclosing, > > Number_DecimalDigit, > Number_Letter, > Number_Other, > > Separator_Space, > Separator_Line, > Separator_Paragraph, > > Other_Control, > Other_Format, > Other_Surrogate, > Other_PrivateUse, > Other_NotAssigned, > > Letter_Uppercase, > Letter_Lowercase, > Letter_Titlecase, > Letter_Modifier, > Letter_Other, > > Punctuation_Connector, > Punctuation_Dash, > Punctuation_Dask = Punctuation_Dash, > Punctuation_Open, > Punctuation_Close, > Punctuation_InitialQuote, > Punctuation_FinalQuote, > Punctuation_Other, > > Symbol_Math, > Symbol_Currency, > Symbol_Modifier, > Symbol_Other > }; > > enum Direction > { > DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON, > DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN > }; > > enum Decomposition > { > Single, Canonical, Font, NoBreak, Initial, Medial, > Final, Isolated, Circle, Super, Sub, Vertical, > Wide, Narrow, Small, Square, Compat, Fraction > }; > > enum Joining > { > OtherJoining, Dual, Right, Center > }; > > enum CombiningClass > { > Combining_BelowLeftAttached = 200, > Combining_BelowAttached = 202, > Combining_BelowRightAttached = 204, > Combining_LeftAttached = 208, > Combining_RightAttached = 210, > Combining_AboveLeftAttached = 212, > Combining_AboveAttached = 214, > Combining_AboveRightAttached = 216, > > Combining_BelowLeft = 218, > Combining_Below = 220, > Combining_BelowRight = 222, > Combining_Left = 224, > Combining_Right = 226, > Combining_AboveLeft = 228, > Combining_Above = 230, > Combining_AboveRight = 232, > > Combining_DoubleBelow = 233, > Combining_DoubleAbove = 234, > Combining_IotaSubscript = 240 > }; > > > > int digitValue() const; > QChar lower() const; > QChar upper() const; > > Category category() const; > Direction direction() const; > Joining joining() const; > bool mirrored() const; > QChar mirroredChar() const; > const QString &decomposition() const; > Decomposition decompositionTag() const; > unsigned char combiningClass() const; > > char latin1() const { return ucs > 0xff ? 0 : (char) ucs; } > ushort unicode() const { return ucs; } > > > > ushort &unicode() { return ucs; } > > > > operator char() const { return latin1(); } > > > bool isNull() const { return unicode()==0; } > bool isPrint() const; > bool isPunct() const; > bool isSpace() const; > bool isMark() const; > bool isLetter() const; > bool isNumber() const; > bool isLetterOrNumber() const; > bool isDigit() const; > bool isSymbol() const; > > uchar cell() const { return ((uchar) ucs & 0xff); } > uchar row() const { return ((uchar) (ucs>>8)&0xff); } > void setCell( uchar cell ) { ucs = (ucs & 0xff00) + cell; } > void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } > > static bool networkOrdered() { > int wordSize; > bool bigEndian = FALSE; > qSysInfo( &wordSize, &bigEndian ); > return bigEndian; > } > > friend inline bool operator==( char ch, QChar c ); > friend inline bool operator==( QChar c, char ch ); > friend inline bool operator==( QChar c1, QChar c2 ); > friend inline bool operator!=( QChar c1, QChar c2 ); > friend inline bool operator!=( char ch, QChar c ); > friend inline bool operator!=( QChar c, char ch ); > friend inline bool operator<=( QChar c, char ch ); > friend inline bool operator<=( char ch, QChar c ); > friend inline bool operator<=( QChar c1, QChar c2 ); > >private: > ushort ucs; > > > >} ; > >inline QChar::QChar() : ucs( 0 ) > > > >{ >} >inline QChar::QChar( char c ) : ucs( (uchar)c ) > > > >{ >} >inline QChar::QChar( uchar c ) : ucs( c ) > > > >{ >} >inline QChar::QChar( uchar c, uchar r ) : ucs( (r << 8) | c ) > > > >{ >} >inline QChar::QChar( const QChar& c ) : ucs( c.ucs ) > > > >{ >} > >inline QChar::QChar( ushort rc ) : ucs( rc ) > > > >{ >} >inline QChar::QChar( short rc ) : ucs( (ushort) rc ) > > > >{ >} >inline QChar::QChar( uint rc ) : ucs( (ushort ) (rc & 0xffff) ) > > > >{ >} >inline QChar::QChar( int rc ) : ucs( (ushort) (rc & 0xffff) ) > > > >{ >} > >inline bool operator==( char ch, QChar c ) >{ > return ((uchar) ch) == c.ucs; >} > >inline bool operator==( QChar c, char ch ) >{ > return ((uchar) ch) == c.ucs; >} > >inline bool operator==( QChar c1, QChar c2 ) >{ > return c1.ucs == c2.ucs; >} > >inline bool operator!=( QChar c1, QChar c2 ) >{ > return c1.ucs != c2.ucs; >} > >inline bool operator!=( char ch, QChar c ) >{ > return ((uchar)ch) != c.ucs; >} > >inline bool operator!=( QChar c, char ch ) >{ > return ((uchar) ch) != c.ucs; >} > >inline bool operator<=( QChar c, char ch ) >{ > return c.ucs <= ((uchar) ch); >} > >inline bool operator<=( char ch, QChar c ) >{ > return ((uchar) ch) <= c.ucs; >} > >inline bool operator<=( QChar c1, QChar c2 ) >{ > return c1.ucs <= c2.ucs; >} > >inline bool operator>=( QChar c, char ch ) { return ch <= c; } >inline bool operator>=( char ch, QChar c ) { return c <= ch; } >inline bool operator>=( QChar c1, QChar c2 ) { return c2 <= c1; } >inline bool operator<( QChar c, char ch ) { return !(ch<=c); } >inline bool operator<( char ch, QChar c ) { return !(c<=ch); } >inline bool operator<( QChar c1, QChar c2 ) { return !(c2<=c1); } >inline bool operator>( QChar c, char ch ) { return !(ch>=c); } >inline bool operator>( char ch, QChar c ) { return !(c>=ch); } >inline bool operator>( QChar c1, QChar c2 ) { return !(c2>=c1); } > > >struct __attribute__((visibility("default"))) QStringData : public QShared { > QStringData() : > QShared(), unicode(0), ascii(0), len(0), issimpletext(TRUE), maxl(0), islatin1(FALSE) { ref(); } > QStringData(QChar *u, uint l, uint m) : > QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } > ~QStringData() { if ( unicode ) delete[] ((char*)unicode); > if ( ascii ) delete[] ascii; } > > void deleteSelf(); > QChar *unicode; > char *ascii; > void setDirty() { > if ( ascii ) { > delete [] ascii; > ascii = 0; > } > issimpletext = FALSE; > } > > > > uint len : 30; > > uint issimpletext : 1; > > > > uint maxl : 30; > > uint islatin1 : 1; > >private: > > QStringData( const QStringData& ); > QStringData& operator=( const QStringData& ); > >}; > > >class __attribute__((visibility("default"))) QString >{ >public: > QString(); > QString( QChar ); > QString( const QString & ); > QString( const QByteArray& ); > QString( const QChar* unicode, uint length ); > > QString( const char *str ); > > > > > ~QString(); > > QString &operator=( const QString & ); > QString &operator=( const char * ); > > > > QString &operator=( const QCString& ); > QString &operator=( QChar c ); > QString &operator=( char c ); > > static const QString null; > > bool isNull() const; > bool isEmpty() const; > uint length() const; > void truncate( uint pos ); > > QString & fill( QChar c, int len = -1 ); > > QString copy() const; > > QString arg( long a, int fieldWidth = 0, int base = 10 ) const; > QString arg( ulong a, int fieldWidth = 0, int base = 10 ) const; > QString arg( Q_LLONG a, int fieldwidth=0, int base=10 ) const; > QString arg( Q_ULLONG a, int fieldwidth=0, int base=10 ) const; > QString arg( int a, int fieldWidth = 0, int base = 10 ) const; > QString arg( uint a, int fieldWidth = 0, int base = 10 ) const; > QString arg( short a, int fieldWidth = 0, int base = 10 ) const; > QString arg( ushort a, int fieldWidth = 0, int base = 10 ) const; > QString arg( double a, int fieldWidth = 0, char fmt = 'g', > int prec = -1 ) const; > QString arg( char a, int fieldWidth = 0 ) const; > QString arg( QChar a, int fieldWidth = 0 ) const; > QString arg( const QString& a, int fieldWidth = 0 ) const; > QString arg( const QString& a1, const QString& a2 ) const; > QString arg( const QString& a1, const QString& a2, > const QString& a3 ) const; > QString arg( const QString& a1, const QString& a2, const QString& a3, > const QString& a4 ) const; > > > QString &sprintf( const char* format, ... ) > > __attribute__ ((format (printf, 2, 3))) > > ; > > > int find( QChar c, int index=0, bool cs=TRUE ) const; > int find( char c, int index=0, bool cs=TRUE ) const; > int find( const QString &str, int index=0, bool cs=TRUE ) const; > > int find( const QRegExp &, int index=0 ) const; > > > int find( const char* str, int index=0 ) const; > > int findRev( QChar c, int index=-1, bool cs=TRUE) const; > int findRev( char c, int index=-1, bool cs=TRUE) const; > int findRev( const QString &str, int index=-1, bool cs=TRUE) const; > > int findRev( const QRegExp &, int index=-1 ) const; > > > int findRev( const char* str, int index=-1 ) const; > > int contains( QChar c, bool cs=TRUE ) const; > int contains( char c, bool cs=TRUE ) const > { return contains(QChar(c), cs); } > > int contains( const char* str, bool cs=TRUE ) const; > > int contains( const QString &str, bool cs=TRUE ) const; > > int contains( const QRegExp & ) const; > > > enum SectionFlags { > SectionDefault = 0x00, > SectionSkipEmpty = 0x01, > SectionIncludeLeadingSep = 0x02, > SectionIncludeTrailingSep = 0x04, > SectionCaseInsensitiveSeps = 0x08 > }; > QString section( QChar sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > QString section( char sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const char *in_sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const QString &in_sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const QRegExp ®, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > > QString left( uint len ) const; > QString right( uint len ) const; > QString mid( uint index, uint len=0xffffffff) const; > > QString leftJustify( uint width, QChar fill=' ', bool trunc=FALSE)const; > QString rightJustify( uint width, QChar fill=' ',bool trunc=FALSE)const; > > QString lower() const; > QString upper() const; > > QString stripWhiteSpace() const; > QString simplifyWhiteSpace() const; > > QString &insert( uint index, const QString & ); > > QString &insert( uint index, const QByteArray & ); > QString &insert( uint index, const char * ); > > QString &insert( uint index, const QChar*, uint len ); > QString &insert( uint index, QChar ); > QString &insert( uint index, char c ) { return insert(index,QChar(c)); } > QString &append( char ); > QString &append( QChar ); > QString &append( const QString & ); > > QString &append( const QByteArray & ); > QString &append( const char * ); > > > > > QString &prepend( char ); > QString &prepend( QChar ); > QString &prepend( const QString & ); > > QString &prepend( const QByteArray & ); > QString &prepend( const char * ); > > > > > QString &remove( uint index, uint len ); > > > > > QString &remove( const QString & ); > QString &remove( const QString &, bool cs ); > > QString &remove( QChar c ); > QString &remove( char c ) > { return remove( QChar(c) ); } > > QString &remove( const char * ); > > > QString &remove( const QRegExp & ); > > QString &replace( uint index, uint len, const QString & ); > QString &replace( uint index, uint len, const QChar*, uint clen ); > QString &replace( uint index, uint len, QChar ); > QString &replace( uint index, uint len, char c ) > { return replace( index, len, QChar(c) ); } > > > > > > > > QString &replace( QChar c, const QString & ); > QString &replace( QChar c, const QString &, bool ); > > > QString &replace( char c, const QString & after ) > { return replace( QChar(c), after, TRUE ); } > QString &replace( char c, const QString & after, bool cs ) > { return replace( QChar(c), after, cs ); } > > > QString &replace( const QString &, const QString & ); > QString &replace( const QString &, const QString &, bool ); > > > QString &replace( const QRegExp &, const QString & ); > > QString &replace( QChar, QChar ); > > short toShort( bool *ok=0, int base=10 ) const; > ushort toUShort( bool *ok=0, int base=10 ) const; > int toInt( bool *ok=0, int base=10 ) const; > uint toUInt( bool *ok=0, int base=10 ) const; > long toLong( bool *ok=0, int base=10 ) const; > ulong toULong( bool *ok=0, int base=10 ) const; > Q_LLONG toLongLong( bool *ok=0, int base=10 ) const; > Q_ULLONG toULongLong( bool *ok=0, int base=10 ) const; > float toFloat( bool *ok=0 ) const; > double toDouble( bool *ok=0 ) const; > > QString &setNum( short, int base=10 ); > QString &setNum( ushort, int base=10 ); > QString &setNum( int, int base=10 ); > QString &setNum( uint, int base=10 ); > QString &setNum( long, int base=10 ); > QString &setNum( ulong, int base=10 ); > QString &setNum( Q_LLONG, int base=10 ); > QString &setNum( Q_ULLONG, int base=10 ); > QString &setNum( float, char f='g', int prec=6 ); > QString &setNum( double, char f='g', int prec=6 ); > > static QString number( long, int base=10 ); > static QString number( ulong, int base=10); > static QString number( Q_LLONG, int base=10 ); > static QString number( Q_ULLONG, int base=10); > static QString number( int, int base=10 ); > static QString number( uint, int base=10); > static QString number( double, char f='g', int prec=6 ); > > void setExpand( uint index, QChar c ); > > QString &operator+=( const QString &str ); > > QString &operator+=( const QByteArray &str ); > QString &operator+=( const char *str ); > > > > > QString &operator+=( QChar c ); > QString &operator+=( char c ); > > QChar at( uint i ) const > { return i < d->len ? d->unicode[i] : QChar::null; } > QChar operator[]( int i ) const { return at((uint)i); } > QCharRef at( uint i ); > QCharRef operator[]( int i ); > > QChar constref(uint i) const > { return at(i); } > QChar& ref(uint i) > { > if ( d->count != 1 || i >= d->len ) > subat( i ); > d->setDirty(); > return d->unicode[i]; > } > > const QChar* unicode() const { return d->unicode; } > const char* ascii() const; > static QString fromAscii(const char*, int len=-1); > const char* latin1() const; > static QString fromLatin1(const char*, int len=-1); > QCString utf8() const; > static QString fromUtf8(const char*, int len=-1); > QCString local8Bit() const; > static QString fromLocal8Bit(const char*, int len=-1); > bool operator!() const; > > > > > > > > static QString fromUcs2( const unsigned short *ucs2 ); > const unsigned short *ucs2() const; > > QString &setUnicode( const QChar* unicode, uint len ); > QString &setUnicodeCodes( const ushort* unicode_as_ushorts, uint len ); > QString &setAscii( const char*, int len=-1 ); > QString &setLatin1( const char*, int len=-1 ); > > int compare( const QString& s ) const; > static int compare( const QString& s1, const QString& s2 ) > { return s1.compare( s2 ); } > > int localeAwareCompare( const QString& s ) const; > static int localeAwareCompare( const QString& s1, const QString& s2 ) > { return s1.localeAwareCompare( s2 ); } > > > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QString & ); > > > void compose(); ># 701 "/usr/qt/3/include/qstring.h" > bool startsWith( const QString& str ) const; > bool startsWith( const QString& str, bool cs ) const; > > > bool endsWith( const QString& str ) const; > bool endsWith( const QString& str, bool cs ) const; > > > void setLength( uint newLength ); > > uint capacity() const; > void reserve( uint minCapacity ); > void squeeze(); > > bool simpleText() const { if ( !d->issimpletext ) checkSimpleText(); return (bool)d->issimpletext; } > bool isRightToLeft() const; > > >private: > QString( int size, bool ); > > void deref(); > void real_detach(); > void subat( uint ); > QString multiArg( int numArgs, const QString& a1, const QString& a2, > const QString& a3 = QString::null, > const QString& a4 = QString::null ) const; > > void checkSimpleText() const; > void grow( uint newLength ); > > QString &insertHelper( uint index, const char *s, uint len=(2147483647 * 2U + 1U) ); > QString &operatorPlusEqHelper( const char *s, uint len2=(2147483647 * 2U + 1U) ); > > > static QChar* latin1ToUnicode( const char*, uint * len, uint maxlen=(uint)-1 ); > static QChar* latin1ToUnicode( const QByteArray&, uint * len ); > static char* unicodeToLatin1( const QChar*, uint len ); > > QStringData *d; > static QStringData* shared_null; > static QStringData* makeSharedNull(); > > friend class QConstString; > friend class QTextStream; > QString( QStringData* dd, bool ) : d(dd) { } > > > void detach(); > friend class QDeepCopy<QString>; >}; > >class __attribute__((visibility("default"))) QCharRef { > friend class QString; > QString& s; > uint p; > QCharRef(QString* str, uint pos) : s(*str), p(pos) { } > >public: > > > > > ushort unicode() const { return s.constref(p).unicode(); } > char latin1() const { return s.constref(p).latin1(); } > > > QCharRef operator=(char c ) { s.ref(p)=c; return *this; } > QCharRef operator=(uchar c ) { s.ref(p)=c; return *this; } > QCharRef operator=(QChar c ) { s.ref(p)=c; return *this; } > QCharRef operator=(const QCharRef& c ) { s.ref(p)=c.unicode(); return *this; } > QCharRef operator=(ushort rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(short rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(uint rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(int rc ) { s.ref(p)=rc; return *this; } > > operator QChar () const { return s.constref(p); } > > > bool isNull() const { return unicode()==0; } > bool isPrint() const { return s.constref(p).isPrint(); } > bool isPunct() const { return s.constref(p).isPunct(); } > bool isSpace() const { return s.constref(p).isSpace(); } > bool isMark() const { return s.constref(p).isMark(); } > bool isLetter() const { return s.constref(p).isLetter(); } > bool isNumber() const { return s.constref(p).isNumber(); } > bool isLetterOrNumber() { return s.constref(p).isLetterOrNumber(); } > bool isDigit() const { return s.constref(p).isDigit(); } > > int digitValue() const { return s.constref(p).digitValue(); } > QChar lower() const { return s.constref(p).lower(); } > QChar upper() const { return s.constref(p).upper(); } > > QChar::Category category() const { return s.constref(p).category(); } > QChar::Direction direction() const { return s.constref(p).direction(); } > QChar::Joining joining() const { return s.constref(p).joining(); } > bool mirrored() const { return s.constref(p).mirrored(); } > QChar mirroredChar() const { return s.constref(p).mirroredChar(); } > const QString &decomposition() const { return s.constref(p).decomposition(); } > QChar::Decomposition decompositionTag() const { return s.constref(p).decompositionTag(); } > unsigned char combiningClass() const { return s.constref(p).combiningClass(); } > > > uchar cell() const { return s.constref(p).cell(); } > uchar row() const { return s.constref(p).row(); } > >}; > >inline QCharRef QString::at( uint i ) { return QCharRef(this,i); } >inline QCharRef QString::operator[]( int i ) { return at((uint)i); } > > >class __attribute__((visibility("default"))) QConstString : private QString { >public: > QConstString( const QChar* unicode, uint length ); > ~QConstString(); > const QString& string() const { return *this; } >}; > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QString & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QString & ); ># 838 "/usr/qt/3/include/qstring.h" >inline QString::QString() : > d(shared_null ? shared_null : makeSharedNull()) >{ > d->ref(); >} > >inline QString::~QString() >{ > if ( d->deref() ) { > if ( d != shared_null ) > d->deleteSelf(); > } >} > > >inline void QString::detach() >{ real_detach(); } > >inline QString QString::section( QChar sep, int start, int end, int flags ) const >{ return section(QString(sep), start, end, flags); } > >inline QString QString::section( char sep, int start, int end, int flags ) const >{ return section(QChar(sep), start, end, flags); } > > >inline QString QString::section( const char *in_sep, int start, int end, int flags ) const >{ return section(QString(in_sep), start, end, flags); } > > >inline QString &QString::operator=( QChar c ) >{ *this = QString(c); return *this; } > >inline QString &QString::operator=( char c ) >{ *this = QString(QChar(c)); return *this; } > >inline bool QString::isNull() const >{ return unicode() == 0; } > >inline bool QString::operator!() const >{ return isNull(); } > >inline uint QString::length() const >{ return d->len; } > >inline uint QString::capacity() const >{ return d->maxl; } > >inline bool QString::isEmpty() const >{ return length() == 0; } > >inline QString QString::copy() const >{ return QString( *this ); } > > >inline QString &QString::insert( uint index, const char *s ) >{ return insertHelper( index, s ); } > >inline QString &QString::insert( uint index, const QByteArray &s ) >{ > int pos = s.find( 0 ); > return insertHelper( index, s, pos==-1 ? s.size() : pos ); >} > > >inline QString &QString::prepend( const QString & s ) >{ return insert(0,s); } > >inline QString &QString::prepend( QChar c ) >{ return insert(0,c); } > >inline QString &QString::prepend( char c ) >{ return insert(0,c); } > > >inline QString &QString::prepend( const QByteArray & s ) >{ return insert(0,s); } > > > >inline QString &QString::operator+=( const QByteArray &s ) >{ > int pos = s.find( 0 ); > return operatorPlusEqHelper( s, pos==-1 ? s.size() : pos ); >} > > >inline QString &QString::append( const QString & s ) >{ return operator+=(s); } > > >inline QString &QString::append( const QByteArray &s ) >{ return operator+=(s); } > >inline QString &QString::append( const char * s ) >{ return operator+=(s); } > > >inline QString &QString::append( QChar c ) >{ return operator+=(c); } > >inline QString &QString::append( char c ) >{ return operator+=(c); } ># 954 "/usr/qt/3/include/qstring.h" >inline QString &QString::setNum( short n, int base ) >{ return setNum((Q_LLONG)n, base); } > >inline QString &QString::setNum( ushort n, int base ) >{ return setNum((Q_ULLONG)n, base); } > >inline QString &QString::setNum( int n, int base ) >{ return setNum((Q_LLONG)n, base); } > >inline QString &QString::setNum( uint n, int base ) >{ return setNum((Q_ULLONG)n, base); } > >inline QString &QString::setNum( float n, char f, int prec ) >{ return setNum((double)n,f,prec); } > >inline QString QString::arg( int a, int fieldWidth, int base ) const >{ return arg( (Q_LLONG)a, fieldWidth, base ); } > >inline QString QString::arg( uint a, int fieldWidth, int base ) const >{ return arg( (Q_ULLONG)a, fieldWidth, base ); } > >inline QString QString::arg( short a, int fieldWidth, int base ) const >{ return arg( (Q_LLONG)a, fieldWidth, base ); } > >inline QString QString::arg( ushort a, int fieldWidth, int base ) const >{ return arg( (Q_ULLONG)a, fieldWidth, base ); } > >inline QString QString::arg( const QString& a1, const QString& a2 ) const { > return multiArg( 2, a1, a2 ); >} > >inline QString QString::arg( const QString& a1, const QString& a2, > const QString& a3 ) const { > return multiArg( 3, a1, a2, a3 ); >} > >inline QString QString::arg( const QString& a1, const QString& a2, > const QString& a3, const QString& a4 ) const { > return multiArg( 4, a1, a2, a3, a4 ); >} > >inline int QString::find( char c, int index, bool cs ) const >{ return find(QChar(c), index, cs); } > >inline int QString::findRev( char c, int index, bool cs ) const >{ return findRev( QChar(c), index, cs ); } > > >inline int QString::find( const char* str, int index ) const >{ return find(QString::fromAscii(str), index); } > >inline int QString::findRev( const char* str, int index ) const >{ return findRev(QString::fromAscii(str), index); } > > > > > > > >__attribute__((visibility("default"))) bool operator!=( const QString &s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator<( const QString &s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator<=( const QString &s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator==( const QString &s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator>( const QString &s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator>=( const QString &s1, const QString &s2 ); > >__attribute__((visibility("default"))) bool operator!=( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator<( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator<=( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator==( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator>( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator>=( const QString &s1, const char *s2 ); >__attribute__((visibility("default"))) bool operator!=( const char *s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator<( const char *s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator<=( const char *s1, const QString &s2 ); >__attribute__((visibility("default"))) bool operator==( const char *s1, const QString &s2 ); > >__attribute__((visibility("default"))) bool operator>=( const char *s1, const QString &s2 ); > > >__attribute__((visibility("default"))) inline const QString operator+( const QString &s1, const QString &s2 ) >{ > QString tmp( s1 ); > tmp += s2; > return tmp; >} > > >__attribute__((visibility("default"))) inline const QString operator+( const QString &s1, const char *s2 ) >{ > QString tmp( s1 ); > tmp += QString::fromAscii(s2); > return tmp; >} > >__attribute__((visibility("default"))) inline const QString operator+( const char *s1, const QString &s2 ) >{ > QString tmp = QString::fromAscii( s1 ); > tmp += s2; > return tmp; >} > > >__attribute__((visibility("default"))) inline const QString operator+( const QString &s1, QChar c2 ) >{ > QString tmp( s1 ); > tmp += c2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QString operator+( const QString &s1, char c2 ) >{ > QString tmp( s1 ); > tmp += c2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QString operator+( QChar c1, const QString &s2 ) >{ > QString tmp; > tmp += c1; > tmp += s2; > return tmp; >} > >__attribute__((visibility("default"))) inline const QString operator+( char c1, const QString &s2 ) >{ > QString tmp; > tmp += c1; > tmp += s2; > return tmp; >} ># 1111 "/usr/qt/3/include/qstring.h" > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 1112 "/usr/qt/3/include/qstring.h" 2 ># 45 "/usr/qt/3/include/qwindowdefs.h" 2 > ># 1 "/usr/qt/3/include/qnamespace.h" 1 ># 42 "/usr/qt/3/include/qnamespace.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qnamespace.h" 2 > > > >class QColor; >class QCursor; > > >class __attribute__((visibility("default"))) Qt { >public: > static const QColor & color0; > static const QColor & color1; > static const QColor & black; > static const QColor & white; > static const QColor & darkGray; > static const QColor & gray; > static const QColor & lightGray; > static const QColor & red; > static const QColor & green; > static const QColor & blue; > static const QColor & cyan; > static const QColor & magenta; > static const QColor & yellow; > static const QColor & darkRed; > static const QColor & darkGreen; > static const QColor & darkBlue; > static const QColor & darkCyan; > static const QColor & darkMagenta; > static const QColor & darkYellow; > > > enum ButtonState { > NoButton = 0x0000, > LeftButton = 0x0001, > RightButton = 0x0002, > MidButton = 0x0004, > MouseButtonMask = 0x0007, > ShiftButton = 0x0100, > ControlButton = 0x0200, > AltButton = 0x0400, > MetaButton = 0x0800, > KeyButtonMask = 0x0f00, > Keypad = 0x4000 > }; > > > > enum Orientation { > Horizontal = 0, > Vertical > }; > > > enum SortOrder { > Ascending, > Descending > }; > > > > > > > enum AlignmentFlags { > AlignAuto = 0x0000, > AlignLeft = 0x0001, > AlignRight = 0x0002, > AlignHCenter = 0x0004, > AlignJustify = 0x0008, > AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, > AlignTop = 0x0010, > AlignBottom = 0x0020, > AlignVCenter = 0x0040, > AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, > AlignCenter = AlignVCenter | AlignHCenter > }; > > > enum TextFlags { > SingleLine = 0x0080, > DontClip = 0x0100, > ExpandTabs = 0x0200, > ShowPrefix = 0x0400, > WordBreak = 0x0800, > BreakAnywhere = 0x1000, > > DontPrint = 0x2000, > Underline = 0x01000000, > Overline = 0x02000000, > StrikeOut = 0x04000000, > IncludeTrailingSpaces = 0x08000000, > > NoAccel = 0x4000 > }; > > > typedef uint WState; > > > enum WidgetState { > WState_Created = 0x00000001, > WState_Disabled = 0x00000002, > WState_Visible = 0x00000004, > WState_ForceHide = 0x00000008, > WState_OwnCursor = 0x00000010, > WState_MouseTracking = 0x00000020, > WState_CompressKeys = 0x00000040, > WState_BlockUpdates = 0x00000080, > WState_InPaintEvent = 0x00000100, > WState_Reparented = 0x00000200, > WState_ConfigPending = 0x00000400, > WState_Resized = 0x00000800, > WState_AutoMask = 0x00001000, > WState_Polished = 0x00002000, > WState_DND = 0x00004000, > WState_Reserved0 = 0x00008000, > WState_FullScreen = 0x00010000, > WState_OwnSizePolicy = 0x00020000, > WState_CreatedHidden = 0x00040000, > WState_Maximized = 0x00080000, > WState_Minimized = 0x00100000, > WState_ForceDisabled = 0x00200000, > WState_Exposed = 0x00400000, > WState_HasMouse = 0x00800000 > }; > > > typedef uint WFlags; > > > enum WidgetFlags { > WType_TopLevel = 0x00000001, > WType_Dialog = 0x00000002, > WType_Popup = 0x00000004, > WType_Desktop = 0x00000008, > WType_Mask = 0x0000000f, > > WStyle_Customize = 0x00000010, > WStyle_NormalBorder = 0x00000020, > WStyle_DialogBorder = 0x00000040, > WStyle_NoBorder = 0x00002000, > WStyle_Title = 0x00000080, > WStyle_SysMenu = 0x00000100, > WStyle_Minimize = 0x00000200, > WStyle_Maximize = 0x00000400, > WStyle_MinMax = WStyle_Minimize | WStyle_Maximize, > WStyle_Tool = 0x00000800, > WStyle_StaysOnTop = 0x00001000, > WStyle_ContextHelp = 0x00004000, > WStyle_Reserved = 0x00008000, > WStyle_Mask = 0x0000fff0, > > WDestructiveClose = 0x00010000, > WPaintDesktop = 0x00020000, > WPaintUnclipped = 0x00040000, > WPaintClever = 0x00080000, > WResizeNoErase = 0x00100000, > WMouseNoMask = 0x00200000, > WStaticContents = 0x00400000, > WRepaintNoErase = 0x00800000, > > WX11BypassWM = 0x01000000, > WWinOwnDC = 0x00000000, > WMacNoSheet = 0x00000000, > WMacDrawer = 0x00000000, ># 218 "/usr/qt/3/include/qnamespace.h" > WGroupLeader = 0x02000000, > WShowModal = 0x04000000, > WNoMousePropagation = 0x08000000, > WSubWindow = 0x10000000, > > WStyle_Splash = 0x20000000, > > > > WNoAutoErase = WRepaintNoErase | WResizeNoErase > > > > > > > > }; > > enum WindowState { > WindowNoState = 0x00000000, > WindowMinimized = 0x00000001, > WindowMaximized = 0x00000002, > WindowFullScreen = 0x00000004, > WindowActive = 0x00000008 > }; > > > > > > > enum ImageConversionFlags { > ColorMode_Mask = 0x00000003, > AutoColor = 0x00000000, > ColorOnly = 0x00000003, > MonoOnly = 0x00000002, > > > AlphaDither_Mask = 0x0000000c, > ThresholdAlphaDither = 0x00000000, > OrderedAlphaDither = 0x00000004, > DiffuseAlphaDither = 0x00000008, > NoAlpha = 0x0000000c, > > Dither_Mask = 0x00000030, > DiffuseDither = 0x00000000, > OrderedDither = 0x00000010, > ThresholdDither = 0x00000020, > > > DitherMode_Mask = 0x000000c0, > AutoDither = 0x00000000, > PreferDither = 0x00000040, > AvoidDither = 0x00000080 > }; > > > enum BGMode { > TransparentMode, > OpaqueMode > }; ># 295 "/usr/qt/3/include/qnamespace.h" > enum GUIStyle { > WindowsStyle = 1, > MotifStyle = 4 > }; ># 310 "/usr/qt/3/include/qnamespace.h" > enum SequenceMatch { > NoMatch, > PartialMatch, > Identical > }; > > > enum Modifier { > META = 0x00100000, > SHIFT = 0x00200000, > CTRL = 0x00400000, > ALT = 0x00800000, > MODIFIER_MASK = 0x00f00000, > UNICODE_ACCEL = 0x10000000, > > ASCII_ACCEL = UNICODE_ACCEL > }; > > > enum Key { > Key_Escape = 0x1000, > Key_Tab = 0x1001, > Key_Backtab = 0x1002, Key_BackTab = Key_Backtab, > Key_Backspace = 0x1003, Key_BackSpace = Key_Backspace, > Key_Return = 0x1004, > Key_Enter = 0x1005, > Key_Insert = 0x1006, > Key_Delete = 0x1007, > Key_Pause = 0x1008, > Key_Print = 0x1009, > Key_SysReq = 0x100a, > Key_Clear = 0x100b, > Key_Home = 0x1010, > Key_End = 0x1011, > Key_Left = 0x1012, > Key_Up = 0x1013, > Key_Right = 0x1014, > Key_Down = 0x1015, > Key_Prior = 0x1016, Key_PageUp = Key_Prior, > Key_Next = 0x1017, Key_PageDown = Key_Next, > Key_Shift = 0x1020, > Key_Control = 0x1021, > Key_Meta = 0x1022, > Key_Alt = 0x1023, > Key_CapsLock = 0x1024, > Key_NumLock = 0x1025, > Key_ScrollLock = 0x1026, > Key_F1 = 0x1030, > Key_F2 = 0x1031, > Key_F3 = 0x1032, > Key_F4 = 0x1033, > Key_F5 = 0x1034, > Key_F6 = 0x1035, > Key_F7 = 0x1036, > Key_F8 = 0x1037, > Key_F9 = 0x1038, > Key_F10 = 0x1039, > Key_F11 = 0x103a, > Key_F12 = 0x103b, > Key_F13 = 0x103c, > Key_F14 = 0x103d, > Key_F15 = 0x103e, > Key_F16 = 0x103f, > Key_F17 = 0x1040, > Key_F18 = 0x1041, > Key_F19 = 0x1042, > Key_F20 = 0x1043, > Key_F21 = 0x1044, > Key_F22 = 0x1045, > Key_F23 = 0x1046, > Key_F24 = 0x1047, > Key_F25 = 0x1048, > Key_F26 = 0x1049, > Key_F27 = 0x104a, > Key_F28 = 0x104b, > Key_F29 = 0x104c, > Key_F30 = 0x104d, > Key_F31 = 0x104e, > Key_F32 = 0x104f, > Key_F33 = 0x1050, > Key_F34 = 0x1051, > Key_F35 = 0x1052, > Key_Super_L = 0x1053, > Key_Super_R = 0x1054, > Key_Menu = 0x1055, > Key_Hyper_L = 0x1056, > Key_Hyper_R = 0x1057, > Key_Help = 0x1058, > Key_Direction_L = 0x1059, > Key_Direction_R = 0x1060, > Key_Space = 0x20, > Key_Any = Key_Space, > Key_Exclam = 0x21, > Key_QuoteDbl = 0x22, > Key_NumberSign = 0x23, > Key_Dollar = 0x24, > Key_Percent = 0x25, > Key_Ampersand = 0x26, > Key_Apostrophe = 0x27, > Key_ParenLeft = 0x28, > Key_ParenRight = 0x29, > Key_Asterisk = 0x2a, > Key_Plus = 0x2b, > Key_Comma = 0x2c, > Key_Minus = 0x2d, > Key_Period = 0x2e, > Key_Slash = 0x2f, > Key_0 = 0x30, > Key_1 = 0x31, > Key_2 = 0x32, > Key_3 = 0x33, > Key_4 = 0x34, > Key_5 = 0x35, > Key_6 = 0x36, > Key_7 = 0x37, > Key_8 = 0x38, > Key_9 = 0x39, > Key_Colon = 0x3a, > Key_Semicolon = 0x3b, > Key_Less = 0x3c, > Key_Equal = 0x3d, > Key_Greater = 0x3e, > Key_Question = 0x3f, > Key_At = 0x40, > Key_A = 0x41, > Key_B = 0x42, > Key_C = 0x43, > Key_D = 0x44, > Key_E = 0x45, > Key_F = 0x46, > Key_G = 0x47, > Key_H = 0x48, > Key_I = 0x49, > Key_J = 0x4a, > Key_K = 0x4b, > Key_L = 0x4c, > Key_M = 0x4d, > Key_N = 0x4e, > Key_O = 0x4f, > Key_P = 0x50, > Key_Q = 0x51, > Key_R = 0x52, > Key_S = 0x53, > Key_T = 0x54, > Key_U = 0x55, > Key_V = 0x56, > Key_W = 0x57, > Key_X = 0x58, > Key_Y = 0x59, > Key_Z = 0x5a, > Key_BracketLeft = 0x5b, > Key_Backslash = 0x5c, > Key_BracketRight = 0x5d, > Key_AsciiCircum = 0x5e, > Key_Underscore = 0x5f, > Key_QuoteLeft = 0x60, > Key_BraceLeft = 0x7b, > Key_Bar = 0x7c, > Key_BraceRight = 0x7d, > Key_AsciiTilde = 0x7e, > > > > Key_nobreakspace = 0x0a0, > Key_exclamdown = 0x0a1, > Key_cent = 0x0a2, > Key_sterling = 0x0a3, > Key_currency = 0x0a4, > Key_yen = 0x0a5, > Key_brokenbar = 0x0a6, > Key_section = 0x0a7, > Key_diaeresis = 0x0a8, > Key_copyright = 0x0a9, > Key_ordfeminine = 0x0aa, > Key_guillemotleft = 0x0ab, > Key_notsign = 0x0ac, > Key_hyphen = 0x0ad, > Key_registered = 0x0ae, > Key_macron = 0x0af, > Key_degree = 0x0b0, > Key_plusminus = 0x0b1, > Key_twosuperior = 0x0b2, > Key_threesuperior = 0x0b3, > Key_acute = 0x0b4, > Key_mu = 0x0b5, > Key_paragraph = 0x0b6, > Key_periodcentered = 0x0b7, > Key_cedilla = 0x0b8, > Key_onesuperior = 0x0b9, > Key_masculine = 0x0ba, > Key_guillemotright = 0x0bb, > Key_onequarter = 0x0bc, > Key_onehalf = 0x0bd, > Key_threequarters = 0x0be, > Key_questiondown = 0x0bf, > Key_Agrave = 0x0c0, > Key_Aacute = 0x0c1, > Key_Acircumflex = 0x0c2, > Key_Atilde = 0x0c3, > Key_Adiaeresis = 0x0c4, > Key_Aring = 0x0c5, > Key_AE = 0x0c6, > Key_Ccedilla = 0x0c7, > Key_Egrave = 0x0c8, > Key_Eacute = 0x0c9, > Key_Ecircumflex = 0x0ca, > Key_Ediaeresis = 0x0cb, > Key_Igrave = 0x0cc, > Key_Iacute = 0x0cd, > Key_Icircumflex = 0x0ce, > Key_Idiaeresis = 0x0cf, > Key_ETH = 0x0d0, > Key_Ntilde = 0x0d1, > Key_Ograve = 0x0d2, > Key_Oacute = 0x0d3, > Key_Ocircumflex = 0x0d4, > Key_Otilde = 0x0d5, > Key_Odiaeresis = 0x0d6, > Key_multiply = 0x0d7, > Key_Ooblique = 0x0d8, > Key_Ugrave = 0x0d9, > Key_Uacute = 0x0da, > Key_Ucircumflex = 0x0db, > Key_Udiaeresis = 0x0dc, > Key_Yacute = 0x0dd, > Key_THORN = 0x0de, > Key_ssharp = 0x0df, > Key_agrave = 0x0e0, > Key_aacute = 0x0e1, > Key_acircumflex = 0x0e2, > Key_atilde = 0x0e3, > Key_adiaeresis = 0x0e4, > Key_aring = 0x0e5, > Key_ae = 0x0e6, > Key_ccedilla = 0x0e7, > Key_egrave = 0x0e8, > Key_eacute = 0x0e9, > Key_ecircumflex = 0x0ea, > Key_ediaeresis = 0x0eb, > Key_igrave = 0x0ec, > Key_iacute = 0x0ed, > Key_icircumflex = 0x0ee, > Key_idiaeresis = 0x0ef, > Key_eth = 0x0f0, > Key_ntilde = 0x0f1, > Key_ograve = 0x0f2, > Key_oacute = 0x0f3, > Key_ocircumflex = 0x0f4, > Key_otilde = 0x0f5, > Key_odiaeresis = 0x0f6, > Key_division = 0x0f7, > Key_oslash = 0x0f8, > Key_ugrave = 0x0f9, > Key_uacute = 0x0fa, > Key_ucircumflex = 0x0fb, > Key_udiaeresis = 0x0fc, > Key_yacute = 0x0fd, > Key_thorn = 0x0fe, > Key_ydiaeresis = 0x0ff, > > > > Key_Back = 0x1061, > Key_Forward = 0x1062, > Key_Stop = 0x1063, > Key_Refresh = 0x1064, > > Key_VolumeDown = 0x1070, > Key_VolumeMute = 0x1071, > Key_VolumeUp = 0x1072, > Key_BassBoost = 0x1073, > Key_BassUp = 0x1074, > Key_BassDown = 0x1075, > Key_TrebleUp = 0x1076, > Key_TrebleDown = 0x1077, > > Key_MediaPlay = 0x1080, > Key_MediaStop = 0x1081, > Key_MediaPrev = 0x1082, > Key_MediaNext = 0x1083, > Key_MediaRecord = 0x1084, > > Key_HomePage = 0x1090, > Key_Favorites = 0x1091, > Key_Search = 0x1092, > Key_Standby = 0x1093, > Key_OpenUrl = 0x1094, > > Key_LaunchMail = 0x10a0, > Key_LaunchMedia = 0x10a1, > Key_Launch0 = 0x10a2, > Key_Launch1 = 0x10a3, > Key_Launch2 = 0x10a4, > Key_Launch3 = 0x10a5, > Key_Launch4 = 0x10a6, > Key_Launch5 = 0x10a7, > Key_Launch6 = 0x10a8, > Key_Launch7 = 0x10a9, > Key_Launch8 = 0x10aa, > Key_Launch9 = 0x10ab, > Key_LaunchA = 0x10ac, > Key_LaunchB = 0x10ad, > Key_LaunchC = 0x10ae, > Key_LaunchD = 0x10af, > Key_LaunchE = 0x10b0, > Key_LaunchF = 0x10b1, > > Key_MediaLast = 0x1fff, > > Key_unknown = 0xffff > }; > > > enum ArrowType { > UpArrow, > DownArrow, > LeftArrow, > RightArrow > }; > > > enum RasterOp { > CopyROP, > OrROP, > XorROP, > NotAndROP, EraseROP=NotAndROP, > NotCopyROP, > NotOrROP, > NotXorROP, > AndROP, NotEraseROP=AndROP, > NotROP, > ClearROP, > SetROP, > NopROP, > AndNotROP, > OrNotROP, > NandROP, > NorROP, LastROP=NorROP > }; > > > enum PenStyle { > NoPen, > SolidLine, > DashLine, > DotLine, > DashDotLine, > DashDotDotLine, > MPenStyle = 0x0f > }; > > > enum PenCapStyle { > FlatCap = 0x00, > SquareCap = 0x10, > RoundCap = 0x20, > MPenCapStyle = 0x30 > }; > > > enum PenJoinStyle { > MiterJoin = 0x00, > BevelJoin = 0x40, > RoundJoin = 0x80, > MPenJoinStyle = 0xc0 > }; > > > enum BrushStyle { > NoBrush, > SolidPattern, > Dense1Pattern, > Dense2Pattern, > Dense3Pattern, > Dense4Pattern, > Dense5Pattern, > Dense6Pattern, > Dense7Pattern, > HorPattern, > VerPattern, > CrossPattern, > BDiagPattern, > FDiagPattern, > DiagCrossPattern, > CustomPattern=24 > }; > > > enum MacintoshVersion { > > MV_Unknown = 0x0000, > > > MV_9 = 0x0001, > MV_10_DOT_0 = 0x0002, > MV_10_DOT_1 = 0x0003, > MV_10_DOT_2 = 0x0004, > MV_10_DOT_3 = 0x0005, > MV_10_DOT_4 = 0x0006, > > > MV_CHEETAH = MV_10_DOT_0, > MV_PUMA = MV_10_DOT_1, > MV_JAGUAR = MV_10_DOT_2, > MV_PANTHER = MV_10_DOT_3, > MV_TIGER = MV_10_DOT_4 > }; > > > enum WindowsVersion { > WV_32s = 0x0001, > WV_95 = 0x0002, > WV_98 = 0x0003, > WV_Me = 0x0004, > WV_DOS_based = 0x000f, > > WV_NT = 0x0010, > WV_2000 = 0x0020, > WV_XP = 0x0030, > WV_2003 = 0x0040, > WV_VISTA = 0x0080, > WV_NT_based = 0x00f0, > > WV_CE = 0x0100, > WV_CENET = 0x0200, > WV_CE_based = 0x0f00 > }; > > > enum UIEffect { > UI_General, > UI_AnimateMenu, > UI_FadeMenu, > UI_AnimateCombo, > UI_AnimateTooltip, > UI_FadeTooltip, > UI_AnimateToolBox > }; > > > enum CursorShape { > ArrowCursor, > UpArrowCursor, > CrossCursor, > WaitCursor, > IbeamCursor, > SizeVerCursor, > SizeHorCursor, > SizeBDiagCursor, > SizeFDiagCursor, > SizeAllCursor, > BlankCursor, > SplitVCursor, > SplitHCursor, > PointingHandCursor, > ForbiddenCursor, > WhatsThisCursor, > BusyCursor, > LastCursor = BusyCursor, > BitmapCursor = 24 > }; > > > > static const QCursor & arrowCursor; > static const QCursor & upArrowCursor; > static const QCursor & crossCursor; > static const QCursor & waitCursor; > static const QCursor & ibeamCursor; > static const QCursor & sizeVerCursor; > static const QCursor & sizeHorCursor; > static const QCursor & sizeBDiagCursor; > static const QCursor & sizeFDiagCursor; > static const QCursor & sizeAllCursor; > static const QCursor & blankCursor; > static const QCursor & splitVCursor; > > static const QCursor & splitHCursor; > > static const QCursor & pointingHandCursor; > static const QCursor & forbiddenCursor; > static const QCursor & whatsThisCursor; > static const QCursor & busyCursor; > > > enum TextFormat { > PlainText, > RichText, > AutoText, > LogText > }; > > > enum AnchorAttribute { > AnchorName, > AnchorHref > }; > > > enum Dock { > DockUnmanaged, > DockTornOff, > DockTop, > DockBottom, > DockRight, > DockLeft, > DockMinimized ># 827 "/usr/qt/3/include/qnamespace.h" > }; > > typedef Dock ToolBarDock; > > > enum DateFormat { > TextDate, > ISODate, > LocalDate > }; > > > enum TimeSpec { > LocalTime, > UTC > }; > > > enum BackgroundMode { > FixedColor, > FixedPixmap, > NoBackground, > PaletteForeground, > PaletteButton, > PaletteLight, > PaletteMidlight, > PaletteDark, > PaletteMid, > PaletteText, > PaletteBrightText, > PaletteBase, > PaletteBackground, > PaletteShadow, > PaletteHighlight, > PaletteHighlightedText, > PaletteButtonText, > PaletteLink, > PaletteLinkVisited, > X11ParentRelative > }; > > typedef uint ComparisonFlags; > > > enum StringComparisonMode { > CaseSensitive = 0x00001, > BeginsWith = 0x00002, > EndsWith = 0x00004, > Contains = 0x00008, > ExactMatch = 0x00010 > }; > > > enum Corner { > TopLeft = 0x00000, > TopRight = 0x00001, > BottomLeft = 0x00002, > BottomRight = 0x00003 > }; ># 894 "/usr/qt/3/include/qnamespace.h" > typedef unsigned long HANDLE; > > > >}; > > >class __attribute__((visibility("default"))) QInternal { >public: > enum PaintDeviceFlags { > UndefinedDevice = 0x00, > Widget = 0x01, > Pixmap = 0x02, > Printer = 0x03, > Picture = 0x04, > System = 0x05, > DeviceTypeMask = 0x0f, > ExternalDevice = 0x10, > > CompatibilityMode = 0x20 > }; >}; ># 46 "/usr/qt/3/include/qwindowdefs.h" 2 > > > > >class QPaintDevice; >class QPaintDeviceMetrics; >class QWidget; >class QWidgetMapper; >class QDialog; >class QColor; >class QColorGroup; >class QPalette; >class QCursor; >class QPoint; >class QSize; >class QRect; >class QPointArray; >class QPainter; >class QRegion; >class QFont; >class QFontMetrics; >class QFontInfo; >class QPen; >class QBrush; >class QWMatrix; >class QPixmap; >class QBitmap; >class QMovie; >class QImage; >class QImageIO; >class QPicture; >class QPrinter; >class QAccel; >class QTimer; >class QTime; >class QClipboard; > > > > >class QWidgetList; >class QWidgetListIt; ># 141 "/usr/qt/3/include/qwindowdefs.h" >typedef struct _XDisplay Display; >typedef union _XEvent XEvent; >typedef struct _XGC *GC; >typedef struct _XRegion *Region; >typedef unsigned long WId; > >__attribute__((visibility("default"))) Display *qt_xdisplay(); >__attribute__((visibility("default"))) int qt_xscreen(); >__attribute__((visibility("default"))) WId qt_xrootwin(); >__attribute__((visibility("default"))) WId qt_xrootwin( int scrn ); >__attribute__((visibility("default"))) GC qt_xget_readonly_gc( int scrn, bool monochrome ); >__attribute__((visibility("default"))) GC qt_xget_temp_gc( int scrn, bool monochrome ); > >__attribute__((visibility("default"))) const char *qAppClass(); ># 166 "/usr/qt/3/include/qwindowdefs.h" >class QApplication; > > > > > > > >typedef Q_INT32 QCOORD; >const QCOORD QCOORD_MAX = 2147483647; >const QCOORD QCOORD_MIN = -QCOORD_MAX - 1; > >typedef unsigned int QRgb; > >__attribute__((visibility("default"))) const char *qAppName(); > > > >typedef void (*QtCleanUpFunction)(); >__attribute__((visibility("default"))) void qAddPostRoutine( QtCleanUpFunction ); >__attribute__((visibility("default"))) void qRemovePostRoutine( QtCleanUpFunction ); ># 43 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qobject.h" 1 ># 45 "/usr/qt/3/include/qobject.h" > ># 1 "/usr/qt/3/include/qevent.h" 1 ># 43 "/usr/qt/3/include/qevent.h" > ># 1 "/usr/qt/3/include/qregion.h" 1 ># 43 "/usr/qt/3/include/qregion.h" > ># 1 "/usr/qt/3/include/qrect.h" 1 ># 42 "/usr/qt/3/include/qrect.h" > ># 1 "/usr/qt/3/include/qsize.h" 1 ># 42 "/usr/qt/3/include/qsize.h" > ># 1 "/usr/qt/3/include/qpoint.h" 1 ># 46 "/usr/qt/3/include/qpoint.h" >class __attribute__((visibility("default"))) QPoint >{ >public: > QPoint(); > QPoint( int xpos, int ypos ); > > bool isNull() const; > > int x() const; > int y() const; > void setX( int x ); > void setY( int y ); > > int manhattanLength() const; > > QCOORD &rx(); > QCOORD &ry(); > > QPoint &operator+=( const QPoint &p ); > QPoint &operator-=( const QPoint &p ); > QPoint &operator*=( int c ); > QPoint &operator*=( double c ); > QPoint &operator/=( int c ); > QPoint &operator/=( double c ); > > friend inline bool operator==( const QPoint &, const QPoint & ); > friend inline bool operator!=( const QPoint &, const QPoint & ); > friend inline const QPoint operator+( const QPoint &, const QPoint & ); > friend inline const QPoint operator-( const QPoint &, const QPoint & ); > friend inline const QPoint operator*( const QPoint &, int ); > friend inline const QPoint operator*( int, const QPoint & ); > friend inline const QPoint operator*( const QPoint &, double ); > friend inline const QPoint operator*( double, const QPoint & ); > friend inline const QPoint operator-( const QPoint & ); > friend inline const QPoint operator/( const QPoint &, int ); > friend inline const QPoint operator/( const QPoint &, double ); > >private: > static void warningDivByZero(); > > > > > > QCOORD xp; > QCOORD yp; > >}; > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QPoint & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QPoint & ); > > > > > > >inline QPoint::QPoint() >{ xp=0; yp=0; } > >inline QPoint::QPoint( int xpos, int ypos ) >{ xp=(QCOORD)xpos; yp=(QCOORD)ypos; } > >inline bool QPoint::isNull() const >{ return xp == 0 && yp == 0; } > >inline int QPoint::x() const >{ return xp; } > >inline int QPoint::y() const >{ return yp; } > >inline void QPoint::setX( int x ) >{ xp = (QCOORD)x; } > >inline void QPoint::setY( int y ) >{ yp = (QCOORD)y; } > >inline QCOORD &QPoint::rx() >{ return xp; } > >inline QCOORD &QPoint::ry() >{ return yp; } > >inline QPoint &QPoint::operator+=( const QPoint &p ) >{ xp+=p.xp; yp+=p.yp; return *this; } > >inline QPoint &QPoint::operator-=( const QPoint &p ) >{ xp-=p.xp; yp-=p.yp; return *this; } > >inline QPoint &QPoint::operator*=( int c ) >{ xp*=(QCOORD)c; yp*=(QCOORD)c; return *this; } > >inline QPoint &QPoint::operator*=( double c ) >{ xp=(QCOORD)(xp*c); yp=(QCOORD)(yp*c); return *this; } > >inline bool operator==( const QPoint &p1, const QPoint &p2 ) >{ return p1.xp == p2.xp && p1.yp == p2.yp; } > >inline bool operator!=( const QPoint &p1, const QPoint &p2 ) >{ return p1.xp != p2.xp || p1.yp != p2.yp; } > >inline const QPoint operator+( const QPoint &p1, const QPoint &p2 ) >{ return QPoint(p1.xp+p2.xp, p1.yp+p2.yp); } > >inline const QPoint operator-( const QPoint &p1, const QPoint &p2 ) >{ return QPoint(p1.xp-p2.xp, p1.yp-p2.yp); } > >inline const QPoint operator*( const QPoint &p, int c ) >{ return QPoint(p.xp*c, p.yp*c); } > >inline const QPoint operator*( int c, const QPoint &p ) >{ return QPoint(p.xp*c, p.yp*c); } > >inline const QPoint operator*( const QPoint &p, double c ) >{ return QPoint((QCOORD)(p.xp*c), (QCOORD)(p.yp*c)); } > >inline const QPoint operator*( double c, const QPoint &p ) >{ return QPoint((QCOORD)(p.xp*c), (QCOORD)(p.yp*c)); } > >inline const QPoint operator-( const QPoint &p ) >{ return QPoint(-p.xp, -p.yp); } > >inline QPoint &QPoint::operator/=( int c ) >{ > > if ( c == 0 ) > warningDivByZero(); > > xp/=(QCOORD)c; > yp/=(QCOORD)c; > return *this; >} > >inline QPoint &QPoint::operator/=( double c ) >{ > > if ( c == 0.0 ) > warningDivByZero(); > > xp=(QCOORD)(xp/c); > yp=(QCOORD)(yp/c); > return *this; >} > >inline const QPoint operator/( const QPoint &p, int c ) >{ > > if ( c == 0 ) > QPoint::warningDivByZero(); > > return QPoint(p.xp/c, p.yp/c); >} > >inline const QPoint operator/( const QPoint &p, double c ) >{ > > if ( c == 0.0 ) > QPoint::warningDivByZero(); > > return QPoint((QCOORD)(p.xp/c), (QCOORD)(p.yp/c)); >} > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 216 "/usr/qt/3/include/qpoint.h" 2 ># 43 "/usr/qt/3/include/qsize.h" 2 > > >class __attribute__((visibility("default"))) QSize > >{ >public: > > enum ScaleMode { > ScaleFree, > ScaleMin, > ScaleMax > }; > > QSize(); > QSize( int w, int h ); > > bool isNull() const; > bool isEmpty() const; > bool isValid() const; > > int width() const; > int height() const; > void setWidth( int w ); > void setHeight( int h ); > void transpose(); > > void scale( int w, int h, ScaleMode mode ); > void scale( const QSize &s, ScaleMode mode ); > > QSize expandedTo( const QSize & ) const; > QSize boundedTo( const QSize & ) const; > > QCOORD &rwidth(); > QCOORD &rheight(); > > QSize &operator+=( const QSize & ); > QSize &operator-=( const QSize & ); > QSize &operator*=( int c ); > QSize &operator*=( double c ); > QSize &operator/=( int c ); > QSize &operator/=( double c ); > > friend inline bool operator==( const QSize &, const QSize & ); > friend inline bool operator!=( const QSize &, const QSize & ); > friend inline const QSize operator+( const QSize &, const QSize & ); > friend inline const QSize operator-( const QSize &, const QSize & ); > friend inline const QSize operator*( const QSize &, int ); > friend inline const QSize operator*( int, const QSize & ); > friend inline const QSize operator*( const QSize &, double ); > friend inline const QSize operator*( double, const QSize & ); > friend inline const QSize operator/( const QSize &, int ); > friend inline const QSize operator/( const QSize &, double ); > >private: > static void warningDivByZero(); > > QCOORD wd; > QCOORD ht; >}; > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QSize & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QSize & ); > > > > > > >inline QSize::QSize() >{ wd = ht = -1; } > >inline QSize::QSize( int w, int h ) >{ wd=(QCOORD)w; ht=(QCOORD)h; } > >inline bool QSize::isNull() const >{ return wd==0 && ht==0; } > >inline bool QSize::isEmpty() const >{ return wd<1 || ht<1; } > >inline bool QSize::isValid() const >{ return wd>=0 && ht>=0; } > >inline int QSize::width() const >{ return wd; } > >inline int QSize::height() const >{ return ht; } > >inline void QSize::setWidth( int w ) >{ wd=(QCOORD)w; } > >inline void QSize::setHeight( int h ) >{ ht=(QCOORD)h; } > >inline QCOORD &QSize::rwidth() >{ return wd; } > >inline QCOORD &QSize::rheight() >{ return ht; } > >inline QSize &QSize::operator+=( const QSize &s ) >{ wd+=s.wd; ht+=s.ht; return *this; } > >inline QSize &QSize::operator-=( const QSize &s ) >{ wd-=s.wd; ht-=s.ht; return *this; } > >inline QSize &QSize::operator*=( int c ) >{ wd*=(QCOORD)c; ht*=(QCOORD)c; return *this; } > >inline QSize &QSize::operator*=( double c ) >{ wd=(QCOORD)(wd*c); ht=(QCOORD)(ht*c); return *this; } > >inline bool operator==( const QSize &s1, const QSize &s2 ) >{ return s1.wd == s2.wd && s1.ht == s2.ht; } > >inline bool operator!=( const QSize &s1, const QSize &s2 ) >{ return s1.wd != s2.wd || s1.ht != s2.ht; } > >inline const QSize operator+( const QSize & s1, const QSize & s2 ) >{ return QSize(s1.wd+s2.wd, s1.ht+s2.ht); } > >inline const QSize operator-( const QSize &s1, const QSize &s2 ) >{ return QSize(s1.wd-s2.wd, s1.ht-s2.ht); } > >inline const QSize operator*( const QSize &s, int c ) >{ return QSize(s.wd*c, s.ht*c); } > >inline const QSize operator*( int c, const QSize &s ) >{ return QSize(s.wd*c, s.ht*c); } > >inline const QSize operator*( const QSize &s, double c ) >{ return QSize((QCOORD)(s.wd*c), (QCOORD)(s.ht*c)); } > >inline const QSize operator*( double c, const QSize &s ) >{ return QSize((QCOORD)(s.wd*c), (QCOORD)(s.ht*c)); } > >inline QSize &QSize::operator/=( int c ) >{ > > if ( c == 0 ) > warningDivByZero(); > > wd/=(QCOORD)c; ht/=(QCOORD)c; > return *this; >} > >inline QSize &QSize::operator/=( double c ) >{ > > if ( c == 0.0 ) > warningDivByZero(); > > wd=(QCOORD)(wd/c); ht=(QCOORD)(ht/c); > return *this; >} > >inline const QSize operator/( const QSize &s, int c ) >{ > > if ( c == 0 ) > QSize::warningDivByZero(); > > return QSize(s.wd/c, s.ht/c); >} > >inline const QSize operator/( const QSize &s, double c ) >{ > > if ( c == 0.0 ) > QSize::warningDivByZero(); > > return QSize((QCOORD)(s.wd/c), (QCOORD)(s.ht/c)); >} > >inline QSize QSize::expandedTo( const QSize & otherSize ) const >{ > return QSize( ((otherSize.wd) < (wd) ? (wd) : (otherSize.wd)), ((otherSize.ht) < (ht) ? (ht) : (otherSize.ht)) ); >} > >inline QSize QSize::boundedTo( const QSize & otherSize ) const >{ > return QSize( ((wd) < (otherSize.wd) ? (wd) : (otherSize.wd)), ((ht) < (otherSize.ht) ? (ht) : (otherSize.ht)) ); >} ># 43 "/usr/qt/3/include/qrect.h" 2 > > > > > > > >class __attribute__((visibility("default"))) QRect >{ >public: > QRect() { x1 = y1 = 0; x2 = y2 = -1; } > QRect( const QPoint &topleft, const QPoint &bottomright ); > QRect( const QPoint &topleft, const QSize &size ); > QRect( int left, int top, int width, int height ); > > bool isNull() const; > bool isEmpty() const; > bool isValid() const; > QRect normalize() const; > > int left() const; > int top() const; > int right() const; > int bottom() const; > > QCOORD &rLeft(); > QCOORD &rTop(); > QCOORD &rRight(); > QCOORD &rBottom(); > > int x() const; > int y() const; > void setLeft( int pos ); > void setTop( int pos ); > void setRight( int pos ); > void setBottom( int pos ); > void setX( int x ); > void setY( int y ); > > void setTopLeft( const QPoint &p ); > void setBottomRight( const QPoint &p ); > void setTopRight( const QPoint &p ); > void setBottomLeft( const QPoint &p ); > > QPoint topLeft() const; > QPoint bottomRight() const; > QPoint topRight() const; > QPoint bottomLeft() const; > QPoint center() const; > > void rect( int *x, int *y, int *w, int *h ) const; > void coords( int *x1, int *y1, int *x2, int *y2 ) const; > > void moveLeft( int pos ); > void moveTop( int pos ); > void moveRight( int pos ); > void moveBottom( int pos ); > void moveTopLeft( const QPoint &p ); > void moveBottomRight( const QPoint &p ); > void moveTopRight( const QPoint &p ); > void moveBottomLeft( const QPoint &p ); > void moveCenter( const QPoint &p ); > void moveBy( int dx, int dy ); > > void setRect( int x, int y, int w, int h ); > void setCoords( int x1, int y1, int x2, int y2 ); > void addCoords( int x1, int y1, int x2, int y2 ); > > QSize size() const; > int width() const; > int height() const; > void setWidth( int w ); > void setHeight( int h ); > void setSize( const QSize &s ); > > QRect operator|(const QRect &r) const; > QRect operator&(const QRect &r) const; > QRect& operator|=(const QRect &r); > QRect& operator&=(const QRect &r); > > bool contains( const QPoint &p, bool proper=FALSE ) const; > bool contains( int x, int y ) const; > bool contains( int x, int y, bool proper ) const; > bool contains( const QRect &r, bool proper=FALSE ) const; > QRect unite( const QRect &r ) const; > QRect intersect( const QRect &r ) const; > bool intersects( const QRect &r ) const; > > friend __attribute__((visibility("default"))) bool operator==( const QRect &, const QRect & ); > friend __attribute__((visibility("default"))) bool operator!=( const QRect &, const QRect & ); > >private: > > friend void qt_setCoords( QRect *r, int xp1, int yp1, int xp2, int yp2 ); > > > > > > > > QCOORD x1; > QCOORD y1; > QCOORD x2; > QCOORD y2; > >}; > >__attribute__((visibility("default"))) bool operator==( const QRect &, const QRect & ); >__attribute__((visibility("default"))) bool operator!=( const QRect &, const QRect & ); > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QRect & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QRect & ); > > > > > > >inline QRect::QRect( int left, int top, int width, int height ) >{ > x1 = (QCOORD)left; > y1 = (QCOORD)top; > x2 = (QCOORD)(left+width-1); > y2 = (QCOORD)(top+height-1); >} > >inline bool QRect::isNull() const >{ return x2 == x1-1 && y2 == y1-1; } > >inline bool QRect::isEmpty() const >{ return x1 > x2 || y1 > y2; } > >inline bool QRect::isValid() const >{ return x1 <= x2 && y1 <= y2; } > >inline int QRect::left() const >{ return x1; } > >inline int QRect::top() const >{ return y1; } > >inline int QRect::right() const >{ return x2; } > >inline int QRect::bottom() const >{ return y2; } > >inline QCOORD &QRect::rLeft() >{ return x1; } > >inline QCOORD & QRect::rTop() >{ return y1; } > >inline QCOORD & QRect::rRight() >{ return x2; } > >inline QCOORD & QRect::rBottom() >{ return y2; } > >inline int QRect::x() const >{ return x1; } > >inline int QRect::y() const >{ return y1; } > >inline void QRect::setLeft( int pos ) >{ x1 = (QCOORD)pos; } > >inline void QRect::setTop( int pos ) >{ y1 = (QCOORD)pos; } > >inline void QRect::setRight( int pos ) >{ x2 = (QCOORD)pos; } > >inline void QRect::setBottom( int pos ) >{ y2 = (QCOORD)pos; } > >inline void QRect::setX( int x ) >{ x1 = (QCOORD)x; } > >inline void QRect::setY( int y ) >{ y1 = (QCOORD)y; } > >inline QPoint QRect::topLeft() const >{ return QPoint(x1, y1); } > >inline QPoint QRect::bottomRight() const >{ return QPoint(x2, y2); } > >inline QPoint QRect::topRight() const >{ return QPoint(x2, y1); } > >inline QPoint QRect::bottomLeft() const >{ return QPoint(x1, y2); } > >inline QPoint QRect::center() const >{ return QPoint((x1+x2)/2, (y1+y2)/2); } > >inline int QRect::width() const >{ return x2 - x1 + 1; } > >inline int QRect::height() const >{ return y2 - y1 + 1; } > >inline QSize QRect::size() const >{ return QSize(x2-x1+1, y2-y1+1); } > >inline bool QRect::contains( int x, int y, bool proper ) const >{ > if ( proper ) > return x > x1 && x < x2 && > y > y1 && y < y2; > else > return x >= x1 && x <= x2 && > y >= y1 && y <= y2; >} > >inline bool QRect::contains( int x, int y ) const >{ > return x >= x1 && x <= x2 && > y >= y1 && y <= y2; >} > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 273 "/usr/qt/3/include/qrect.h" 2 ># 44 "/usr/qt/3/include/qregion.h" 2 > > > >struct QRegionPrivate; > > >class __attribute__((visibility("default"))) QRegion >{ >public: > enum RegionType { Rectangle, Ellipse }; > > QRegion(); > QRegion( int x, int y, int w, int h, RegionType = Rectangle ); > QRegion( const QRect &, RegionType = Rectangle ); > QRegion( const QPointArray &, bool winding=FALSE ); > QRegion( const QRegion & ); > QRegion( const QBitmap & ); > ~QRegion(); > QRegion &operator=( const QRegion & ); > > bool isNull() const; > bool isEmpty() const; > > bool contains( const QPoint &p ) const; > bool contains( const QRect &r ) const; > > void translate( int dx, int dy ); > > QRegion unite( const QRegion & ) const; > QRegion intersect( const QRegion &) const; > QRegion subtract( const QRegion & ) const; > QRegion eor( const QRegion & ) const; > > QRect boundingRect() const; > QMemArray<QRect> rects() const; > void setRects( const QRect *, int ); > > const QRegion operator|( const QRegion & ) const; > const QRegion operator+( const QRegion & ) const; > const QRegion operator&( const QRegion & ) const; > const QRegion operator-( const QRegion & ) const; > const QRegion operator^( const QRegion & ) const; > QRegion& operator|=( const QRegion & ); > QRegion& operator+=( const QRegion & ); > QRegion& operator&=( const QRegion & ); > QRegion& operator-=( const QRegion & ); > QRegion& operator^=( const QRegion & ); > > bool operator==( const QRegion & ) const; > bool operator!=( const QRegion &r ) const > { return !(operator==(r)); } > > > > > Region handle() const { if(!data->rgn) updateX11Region(); return data->rgn; } ># 108 "/usr/qt/3/include/qregion.h" > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QRegion & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QRegion & ); > >private: > QRegion( bool ); > QRegion copy() const; > void detach(); > > > > > void updateX11Region() const; > void *clipRectangles( int &num ) const; > friend void *qt_getClipRects( const QRegion &, int & ); > > void exec( const QByteArray &, int ver = 0 ); > struct QRegionData : public QShared { > > > > Region rgn; > void *xrectangles; > QRegionPrivate *region; > > > > > > > > bool is_null; > } *data; ># 149 "/usr/qt/3/include/qregion.h" >}; ># 169 "/usr/qt/3/include/qregion.h" >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QRegion & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QRegion & ); ># 44 "/usr/qt/3/include/qevent.h" 2 > > ># 1 "/usr/qt/3/include/qmime.h" 1 ># 43 "/usr/qt/3/include/qmime.h" > ># 1 "/usr/qt/3/include/qmap.h" 1 ># 42 "/usr/qt/3/include/qmap.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qmap.h" 2 > > ># 1 "/usr/qt/3/include/qdatastream.h" 1 ># 42 "/usr/qt/3/include/qdatastream.h" > ># 1 "/usr/qt/3/include/qiodevice.h" 1 ># 42 "/usr/qt/3/include/qiodevice.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qiodevice.h" 2 ># 88 "/usr/qt/3/include/qiodevice.h" >class __attribute__((visibility("default"))) QIODevice >{ >public: > > > > typedef Q_ULONG Offset; > > > QIODevice(); > virtual ~QIODevice(); > > int flags() const { return ioMode; } > int mode() const { return ioMode & 0x00ff; } > int state() const { return ioMode & 0xf000; } > > bool isDirectAccess() const { return ((ioMode & 0x0100) == 0x0100); } > bool isSequentialAccess() const { return ((ioMode & 0x0200) == 0x0200); } > bool isCombinedAccess() const { return ((ioMode & 0x0300) == 0x0300); } > bool isBuffered() const { return ((ioMode & 0x0040) != 0x0040); } > bool isRaw() const { return ((ioMode & 0x0040) == 0x0040); } > bool isSynchronous() const { return ((ioMode & 0x0080) != 0x0080); } > bool isAsynchronous() const { return ((ioMode & 0x0080) == 0x0080); } > bool isTranslated() const { return ((ioMode & 0x0010) == 0x0010); } > bool isReadable() const { return ((ioMode & 0x0001) == 0x0001); } > bool isWritable() const { return ((ioMode & 0x0002) == 0x0002); } > bool isReadWrite() const { return ((ioMode & 0x0003) == 0x0003); } > bool isInactive() const { return state() == 0; } > bool isOpen() const { return state() == 0x1000; } > > int status() const { return ioSt; } > void resetStatus() { ioSt = 0; } > > virtual bool open( int mode ) = 0; > virtual void close() = 0; > virtual void flush() = 0; > > virtual Offset size() const = 0; > virtual Offset at() const; > virtual bool at( Offset ); > virtual bool atEnd() const; > bool reset() { return at(0); } > > virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ) = 0; > virtual Q_LONG writeBlock( const char *data, Q_ULONG len ) = 0; > virtual Q_LONG readLine( char *data, Q_ULONG maxlen ); > Q_LONG writeBlock( const QByteArray& data ); > virtual QByteArray readAll(); > > virtual int getch() = 0; > virtual int putch( int ) = 0; > virtual int ungetch( int ) = 0; > >protected: > void setFlags( int f ) { ioMode = f; } > void setType( int ); > void setMode( int ); > void setState( int ); > void setStatus( int ); > Offset ioIndex; > >private: > int ioMode; > int ioSt; > >private: > > QIODevice( const QIODevice & ); > QIODevice &operator=( const QIODevice & ); > >}; ># 43 "/usr/qt/3/include/qdatastream.h" 2 > > > > >class __attribute__((visibility("default"))) QDataStream >{ >public: > QDataStream(); > QDataStream( QIODevice * ); > QDataStream( QByteArray, int mode ); > virtual ~QDataStream(); > > QIODevice *device() const; > void setDevice( QIODevice * ); > void unsetDevice(); > > bool atEnd() const; > bool eof() const; > > enum ByteOrder { BigEndian, LittleEndian }; > int byteOrder() const; > void setByteOrder( int ); > > bool isPrintableData() const; > void setPrintableData( bool ); > > int version() const; > void setVersion( int ); > > QDataStream &operator>>( Q_INT8 &i ); > QDataStream &operator>>( Q_UINT8 &i ); > QDataStream &operator>>( Q_INT16 &i ); > QDataStream &operator>>( Q_UINT16 &i ); > QDataStream &operator>>( Q_INT32 &i ); > QDataStream &operator>>( Q_UINT32 &i ); > QDataStream &operator>>( Q_INT64 &i ); > QDataStream &operator>>( Q_UINT64 &i ); > > QDataStream &operator>>( Q_LONG &i ); > QDataStream &operator>>( Q_ULONG &i ); > > > QDataStream &operator>>( float &f ); > QDataStream &operator>>( double &f ); > QDataStream &operator>>( char *&str ); > > QDataStream &operator<<( Q_INT8 i ); > QDataStream &operator<<( Q_UINT8 i ); > QDataStream &operator<<( Q_INT16 i ); > QDataStream &operator<<( Q_UINT16 i ); > QDataStream &operator<<( Q_INT32 i ); > QDataStream &operator<<( Q_UINT32 i ); > QDataStream &operator<<( Q_INT64 i ); > QDataStream &operator<<( Q_UINT64 i ); > > QDataStream &operator<<( Q_LONG i ); > QDataStream &operator<<( Q_ULONG i ); > > QDataStream &operator<<( float f ); > QDataStream &operator<<( double f ); > QDataStream &operator<<( const char *str ); > > QDataStream &readBytes( char *&, uint &len ); > QDataStream &readRawBytes( char *, uint len ); > > QDataStream &writeBytes( const char *, uint len ); > QDataStream &writeRawBytes( const char *, uint len ); > >private: > QIODevice *dev; > bool owndev; > int byteorder; > bool printable; > bool noswap; > int ver; > >private: > > QDataStream( const QDataStream & ); > QDataStream &operator=( const QDataStream & ); > >}; > > > > > > >inline QIODevice *QDataStream::device() const >{ return dev; } > >inline bool QDataStream::atEnd() const >{ return dev ? dev->atEnd() : TRUE; } > >inline bool QDataStream::eof() const >{ return atEnd(); } > >inline int QDataStream::byteOrder() const >{ return byteorder; } > >inline bool QDataStream::isPrintableData() const >{ return printable; } > >inline void QDataStream::setPrintableData( bool p ) >{ printable = p; } > >inline int QDataStream::version() const >{ return ver; } > >inline void QDataStream::setVersion( int v ) >{ ver = v; } > >inline QDataStream &QDataStream::operator>>( Q_UINT8 &i ) >{ return *this >> (Q_INT8&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT16 &i ) >{ return *this >> (Q_INT16&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT32 &i ) >{ return *this >> (Q_INT32&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT64 &i ) >{ return *this >> (Q_INT64&)i; } > > >inline QDataStream &QDataStream::operator>>( Q_ULONG &i ) >{ return *this >> (Q_LONG&)i; } > > >inline QDataStream &QDataStream::operator<<( Q_UINT8 i ) >{ return *this << (Q_INT8)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT16 i ) >{ return *this << (Q_INT16)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT32 i ) >{ return *this << (Q_INT32)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT64 i ) >{ return *this << (Q_INT64)i; } > > >inline QDataStream &QDataStream::operator<<( Q_ULONG i ) >{ return *this << (Q_LONG)i; } ># 45 "/usr/qt/3/include/qmap.h" 2 > ># 1 "/usr/qt/3/include/qpair.h" 1 ># 40 "/usr/qt/3/include/qpair.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 41 "/usr/qt/3/include/qpair.h" 2 > > > >template <class T1, class T2> >struct QPair >{ > typedef T1 first_type; > typedef T2 second_type; > > QPair() > : first( T1() ), second( T2() ) > {} > QPair( const T1& t1, const T2& t2 ) > : first( t1 ), second( t2 ) > {} > > QPair<T1, T2>& operator=(const QPair<T1, T2>& other) > { > if (this != &other) { > first = other.first; > second = other.second; > } > return *this; > } > > T1 first; > T2 second; >}; > >template <class T1, class T2> > bool operator==( const QPair<T1, T2>& x, const QPair<T1, T2>& y ) >{ > return x.first == y.first && x.second == y.second; >} > >template <class T1, class T2> > bool operator<( const QPair<T1, T2>& x, const QPair<T1, T2>& y ) >{ > return x.first < y.first || > ( !( y.first < x.first ) && x.second < y.second ); >} > >template <class T1, class T2> > QPair<T1, T2> qMakePair( const T1& x, const T2& y ) >{ > return QPair<T1, T2>( x, y ); >} > > >template <class T1, class T2> >inline QDataStream& operator>>( QDataStream& s, QPair<T1, T2>& p ) >{ > s >> p.first >> p.second; > return s; >} > >template <class T1, class T2> >inline QDataStream& operator<<( QDataStream& s, const QPair<T1, T2>& p ) >{ > s << p.first << p.second; > return s; >} ># 46 "/usr/qt/3/include/qmap.h" 2 > ># 1 "/usr/qt/3/include/qvaluelist.h" 1 ># 42 "/usr/qt/3/include/qvaluelist.h" > ># 1 "/usr/qt/3/include/qtl.h" 1 ># 42 "/usr/qt/3/include/qtl.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qtl.h" 2 > ># 1 "/usr/qt/3/include/qtextstream.h" 1 ># 44 "/usr/qt/3/include/qtextstream.h" > ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 134 "/usr/include/bits/types.h" 3 4 > ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 135 "/usr/include/bits/types.h" 2 3 4 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 ># 46 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE FILE; ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 > ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 > ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 355 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 > ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 > ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 > ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 166 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 315 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 324 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 360 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); ># 450 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 480 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 542 "/usr/include/libio.h" 3 4 >} ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 > ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); > > > > >extern int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) throw (); ># 169 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void); ># 179 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 201 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); ># 211 "/usr/include/stdio.h" 3 4 >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); ># 226 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 236 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); ># 246 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 267 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) throw (); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw (); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > >extern FILE *open_wmemstream (wchar_t **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); ># 331 "/usr/include/stdio.h" 3 4 >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); ># 403 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) ; > > > > >extern int scanf (__const char *__restrict __format, ...) ; > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); ># 421 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) ; > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) ; > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); ># 445 "/usr/include/stdio.h" 3 4 >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); ># 464 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 475 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); ># 487 "/usr/include/stdio.h" 3 4 >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); ># 508 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); ># 536 "/usr/include/stdio.h" 3 4 >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; > > > > > > >extern char *gets (char *__s) ; ># 554 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) ; ># 570 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) ; ># 594 "/usr/include/stdio.h" 3 4 >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) ; ># 631 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 642 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; ># 654 "/usr/include/stdio.h" 3 4 >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); ># 678 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 697 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 720 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream) ; >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw () ; > >extern int ferror (FILE *__stream) throw () ; > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw () ; >extern int ferror_unlocked (FILE *__stream) throw () ; ># 751 "/usr/include/stdio.h" 3 4 >extern void perror (__const char *__s); > > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 759 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw () ; > > > > >extern int fileno_unlocked (FILE *__stream) throw () ; ># 778 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw () ; > > >extern void funlockfile (FILE *__stream) throw (); ># 839 "/usr/include/stdio.h" 3 4 > ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >inline int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >inline int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 840 "/usr/include/stdio.h" 2 3 4 ># 848 "/usr/include/stdio.h" 3 4 >} ># 45 "/usr/qt/3/include/qtextstream.h" 2 > > > >class QTextCodec; >class QTextDecoder; > >class QTextStreamPrivate; > >class __attribute__((visibility("default"))) QTextStream >{ >public: > enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder, > UnicodeReverse, RawUnicode, UnicodeUTF8 }; > > void setEncoding( Encoding ); > > void setCodec( QTextCodec* ); > QTextCodec *codec(); > > > QTextStream(); > QTextStream( QIODevice * ); > QTextStream( QString*, int mode ); > QTextStream( QString&, int mode ); > QTextStream( QByteArray, int mode ); > QTextStream( FILE *, int mode ); > virtual ~QTextStream(); > > QIODevice *device() const; > void setDevice( QIODevice * ); > void unsetDevice(); > > bool atEnd() const; > bool eof() const; > > QTextStream &operator>>( QChar & ); > QTextStream &operator>>( char & ); > QTextStream &operator>>( signed short & ); > QTextStream &operator>>( unsigned short & ); > QTextStream &operator>>( signed int & ); > QTextStream &operator>>( unsigned int & ); > QTextStream &operator>>( signed long & ); > QTextStream &operator>>( unsigned long & ); > QTextStream &operator>>( float & ); > QTextStream &operator>>( double & ); > QTextStream &operator>>( char * ); > QTextStream &operator>>( QString & ); > QTextStream &operator>>( QCString & ); > > QTextStream &operator<<( QChar ); > QTextStream &operator<<( char ); > QTextStream &operator<<( signed short ); > QTextStream &operator<<( unsigned short ); > QTextStream &operator<<( signed int ); > QTextStream &operator<<( unsigned int ); > QTextStream &operator<<( signed long ); > QTextStream &operator<<( unsigned long ); > QTextStream &operator<<( float ); > QTextStream &operator<<( double ); > QTextStream &operator<<( const char* ); > QTextStream &operator<<( const QString & ); > QTextStream &operator<<( const QCString & ); > QTextStream &operator<<( void * ); > > QTextStream &readRawBytes( char *, uint len ); > QTextStream &writeRawBytes( const char* , uint len ); > > QString readLine(); > QString read(); > void skipWhiteSpace(); > > enum { > skipws = 0x0001, > left = 0x0002, > right = 0x0004, > internal = 0x0008, > bin = 0x0010, > oct = 0x0020, > dec = 0x0040, > hex = 0x0080, > showbase = 0x0100, > showpoint = 0x0200, > uppercase = 0x0400, > showpos = 0x0800, > scientific= 0x1000, > fixed = 0x2000 > }; > > static const int basefield; > static const int adjustfield; > static const int floatfield; > > int flags() const; > int flags( int f ); > int setf( int bits ); > int setf( int bits, int mask ); > int unsetf( int bits ); > > void reset(); > > int width() const; > int width( int ); > int fill() const; > int fill( int ); > int precision() const; > int precision( int ); > >private: > long input_int(); > void init(); > QTextStream &output_int( int, ulong, bool ); > QIODevice *dev; > > int fflags; > int fwidth; > int fillchar; > int fprec; > bool doUnicodeHeader; > bool owndev; > QTextCodec *mapper; > QTextStreamPrivate * d; > QChar unused1; > bool latin1; > bool internalOrder; > bool networkOrder; > void *unused2; > > QChar eat_ws(); > uint ts_getline( QChar* ); > void ts_ungetc( QChar ); > QChar ts_getc(); > uint ts_getbuf( QChar*, uint ); > void ts_putc(int); > void ts_putc(QChar); > bool ts_isspace(QChar); > bool ts_isdigit(QChar); > ulong input_bin(); > ulong input_oct(); > ulong input_dec(); > ulong input_hex(); > double input_double(); > QTextStream &writeBlock( const char* p, uint len ); > QTextStream &writeBlock( const QChar* p, uint len ); > >private: > > QTextStream( const QTextStream & ); > QTextStream &operator=( const QTextStream & ); > >}; > >typedef QTextStream QTS; > >class __attribute__((visibility("default"))) QTextIStream : public QTextStream { >public: > QTextIStream( const QString* s ) : > QTextStream((QString*)s,0x0001) { } > QTextIStream( QByteArray ba ) : > QTextStream(ba,0x0001) { } > QTextIStream( FILE *f ) : > QTextStream(f,0x0001) { } > >private: > > QTextIStream( const QTextIStream & ); > QTextIStream &operator=( const QTextIStream & ); > >}; > >class __attribute__((visibility("default"))) QTextOStream : public QTextStream { >public: > QTextOStream( QString* s ) : > QTextStream(s,0x0002) { } > QTextOStream( QByteArray ba ) : > QTextStream(ba,0x0002) { } > QTextOStream( FILE *f ) : > QTextStream(f,0x0002) { } > >private: > > QTextOStream( const QTextOStream & ); > QTextOStream &operator=( const QTextOStream & ); > >}; > > > > > >inline QIODevice *QTextStream::device() const >{ return dev; } > >inline bool QTextStream::atEnd() const >{ return dev ? dev->atEnd() : FALSE; } > >inline bool QTextStream::eof() const >{ return atEnd(); } > >inline int QTextStream::flags() const >{ return fflags; } > >inline int QTextStream::flags( int f ) >{ int oldf = fflags; fflags = f; return oldf; } > >inline int QTextStream::setf( int bits ) >{ int oldf = fflags; fflags |= bits; return oldf; } > >inline int QTextStream::setf( int bits, int mask ) >{ int oldf = fflags; fflags = (fflags & ~mask) | (bits & mask); return oldf; } > >inline int QTextStream::unsetf( int bits ) >{ int oldf = fflags; fflags &= ~bits; return oldf; } > >inline int QTextStream::width() const >{ return fwidth; } > >inline int QTextStream::width( int w ) >{ int oldw = fwidth; fwidth = w; return oldw; } > >inline int QTextStream::fill() const >{ return fillchar; } > >inline int QTextStream::fill( int f ) >{ int oldc = fillchar; fillchar = f; return oldc; } > >inline int QTextStream::precision() const >{ return fprec; } > >inline int QTextStream::precision( int p ) >{ int oldp = fprec; fprec = p; return oldp; } > > > > >inline QChar QTextStream::ts_getc() >{ QChar r; return ( ts_getbuf( &r,1 ) == 1 ? r : QChar((ushort)0xffff) ); } > > > > > >typedef QTextStream & (*QTSFUNC)(QTextStream &); >typedef int (QTextStream::*QTSMFI)(int); > >class __attribute__((visibility("default"))) QTSManip { >public: > QTSManip( QTSMFI m, int a ) { mf=m; arg=a; } > void exec( QTextStream &s ) { (s.*mf)(arg); } >private: > QTSMFI mf; > int arg; >}; > >__attribute__((visibility("default"))) inline QTextStream &operator>>( QTextStream &s, QTSFUNC f ) >{ return (*f)( s ); } > >__attribute__((visibility("default"))) inline QTextStream &operator<<( QTextStream &s, QTSFUNC f ) >{ return (*f)( s ); } > >__attribute__((visibility("default"))) inline QTextStream &operator<<( QTextStream &s, QTSManip m ) >{ m.exec(s); return s; } > >__attribute__((visibility("default"))) QTextStream &bin( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &oct( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &dec( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &hex( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &endl( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &flush( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &ws( QTextStream &s ); >__attribute__((visibility("default"))) QTextStream &reset( QTextStream &s ); > >__attribute__((visibility("default"))) inline QTSManip qSetW( int w ) >{ > QTSMFI func = &QTextStream::width; > return QTSManip(func,w); >} > >__attribute__((visibility("default"))) inline QTSManip qSetFill( int f ) >{ > QTSMFI func = &QTextStream::fill; > return QTSManip(func,f); >} > >__attribute__((visibility("default"))) inline QTSManip qSetPrecision( int p ) >{ > QTSMFI func = &QTextStream::precision; > return QTSManip(func,p); >} ># 44 "/usr/qt/3/include/qtl.h" 2 > > > > >template <class T> >class QTextOStreamIterator >{ >protected: > QTextOStream& stream; > QString separator; > >public: > QTextOStreamIterator( QTextOStream& s) : stream( s ) {} > QTextOStreamIterator( QTextOStream& s, const QString& sep ) > : stream( s ), separator( sep ) {} > QTextOStreamIterator<T>& operator= ( const T& x ) { > stream << x; > if ( !separator.isEmpty() ) > stream << separator; > return *this; > } > QTextOStreamIterator<T>& operator*() { return *this; } > QTextOStreamIterator<T>& operator++() { return *this; } > QTextOStreamIterator<T>& operator++(int) { return *this; } >}; > > >template <class InputIterator, class OutputIterator> >inline OutputIterator qCopy( InputIterator _begin, InputIterator _end, > OutputIterator _dest ) >{ > while( _begin != _end ) > *_dest++ = *_begin++; > return _dest; >} > >template <class BiIterator, class BiOutputIterator> >inline BiOutputIterator qCopyBackward( BiIterator _begin, BiIterator _end, > BiOutputIterator _dest ) >{ > while ( _begin != _end ) > *--_dest = *--_end; > return _dest; >} > >template <class InputIterator1, class InputIterator2> >inline bool qEqual( InputIterator1 first1, InputIterator1 last1, InputIterator2 first2 ) >{ > > for ( ; first1 != last1; ++first1, ++first2 ) > if ( *first1 != *first2 ) > return FALSE; > return TRUE; >} > >template <class ForwardIterator, class T> >inline void qFill( ForwardIterator first, ForwardIterator last, const T& val ) >{ > for ( ; first != last; ++first ) > *first = val; >} ># 121 "/usr/qt/3/include/qtl.h" >template <class InputIterator, class T> >inline InputIterator qFind( InputIterator first, InputIterator last, > const T& val ) >{ > while ( first != last && *first != val ) > ++first; > return first; >} > >template <class InputIterator, class T, class Size> >inline void qCount( InputIterator first, InputIterator last, const T& value, > Size& n ) >{ > for ( ; first != last; ++first ) > if ( *first == value ) > ++n; >} > >template <class T> >inline void qSwap( T& _value1, T& _value2 ) >{ > T tmp = _value1; > _value1 = _value2; > _value2 = tmp; >} > > >template <class InputIterator> > void qBubbleSort( InputIterator b, InputIterator e ) >{ > > InputIterator last = e; > --last; > > if ( last == b ) > return; > > > while( b != last ) { > bool swapped = FALSE; > InputIterator swap_pos = b; > InputIterator x = e; > InputIterator y = x; > y--; > do { > --x; > --y; > if ( *x < *y ) { > swapped = TRUE; > qSwap( *x, *y ); > swap_pos = y; > } > } while( y != b ); > if ( !swapped ) > return; > b = swap_pos; > b++; > } >} > > >template <class Container> >inline void qBubbleSort( Container &c ) >{ > qBubbleSort( c.begin(), c.end() ); >} > > >template <class Value> > void qHeapSortPushDown( Value* heap, int first, int last ) >{ > int r = first; > while ( r <= last / 2 ) { > if ( last == 2 * r ) { > > if ( heap[2 * r] < heap[r] ) > qSwap( heap[r], heap[2 * r] ); > r = last; > } else { > > if ( heap[2 * r] < heap[r] && !(heap[2 * r + 1] < heap[2 * r]) ) { > > qSwap( heap[r], heap[2 * r] ); > r *= 2; > } else if ( heap[2 * r + 1] < heap[r] > && heap[2 * r + 1] < heap[2 * r] ) { > > qSwap( heap[r], heap[2 * r + 1] ); > r = 2 * r + 1; > } else { > r = last; > } > } > } >} > > >template <class InputIterator, class Value> > void qHeapSortHelper( InputIterator b, InputIterator e, Value, uint n ) >{ > > InputIterator insert = b; > Value* realheap = new Value[n]; > > Value* heap = realheap - 1; > int size = 0; > for( ; insert != e; ++insert ) { > heap[++size] = *insert; > int i = size; > while( i > 1 && heap[i] < heap[i / 2] ) { > qSwap( heap[i], heap[i / 2] ); > i /= 2; > } > } > > > for( uint i = n; i > 0; i-- ) { > *b++ = heap[1]; > if ( i > 1 ) { > heap[1] = heap[i]; > qHeapSortPushDown( heap, 1, (int)i - 1 ); > } > } > > delete[] realheap; >} > > >template <class InputIterator> > void qHeapSort( InputIterator b, InputIterator e ) >{ > > if ( b == e ) > return; > > > InputIterator it = b; > uint n = 0; > while ( it != e ) { > ++n; > ++it; > } > > > > qHeapSortHelper( b, e, *b, n ); >} > > >template <class Container> > void qHeapSort( Container &c ) >{ > if ( c.begin() == c.end() ) > return; > > > > qHeapSortHelper( c.begin(), c.end(), *(c.begin()), (uint)c.count() ); >} > >template <class Container> >class QBackInsertIterator >{ >public: > explicit QBackInsertIterator( Container &c ) > : container( &c ) > { > } > > QBackInsertIterator<Container>& > operator=( const typename Container::value_type &value ) > { > container->push_back( value ); > return *this; > } > > QBackInsertIterator<Container>& operator*() > { > return *this; > } > > QBackInsertIterator<Container>& operator++() > { > return *this; > } > > QBackInsertIterator<Container>& operator++(int) > { > return *this; > } > >protected: > Container *container; >}; > >template <class Container> >inline QBackInsertIterator<Container> qBackInserter( Container &c ) >{ > return QBackInsertIterator<Container>( c ); >} ># 43 "/usr/qt/3/include/qvaluelist.h" 2 ># 58 "/usr/qt/3/include/qvaluelist.h" >template <class T> >class QValueListNode >{ >public: > QValueListNode( const T& t ) : data( t ) { } > QValueListNode() { } > > > > > > QValueListNode<T>* next; > QValueListNode<T>* prev; > T data; >}; > >template<class T> >class QValueListIterator >{ > public: > > > > typedef QValueListNode<T>* NodePtr; > > > > typedef T value_type; > typedef size_t size_type; > > > > typedef int difference_type; > > typedef T* pointer; > typedef T& reference; > > > > > NodePtr node; > > > > > QValueListIterator() : node( 0 ) {} > QValueListIterator( NodePtr p ) : node( p ) {} > QValueListIterator( const QValueListIterator<T>& it ) : node( it.node ) {} > > bool operator==( const QValueListIterator<T>& it ) const { return node == it.node; } > bool operator!=( const QValueListIterator<T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > T& operator*() { return node->data; } > > > > QValueListIterator<T>& operator++() { > node = node->next; > return *this; > } > > QValueListIterator<T> operator++(int) { > QValueListIterator<T> tmp = *this; > node = node->next; > return tmp; > } > > QValueListIterator<T>& operator--() { > node = node->prev; > return *this; > } > > QValueListIterator<T> operator--(int) { > QValueListIterator<T> tmp = *this; > node = node->prev; > return tmp; > } > > QValueListIterator<T>& operator+=( int j ) { > while ( j-- ) > node = node->next; > return *this; > } > > QValueListIterator<T>& operator-=( int j ) { > while ( j-- ) > node = node->prev; > return *this; > } > >}; > >template<class T> >class QValueListConstIterator >{ > public: > > > > typedef QValueListNode<T>* NodePtr; > > > > typedef T value_type; > typedef size_t size_type; > > > > typedef int difference_type; > > typedef const T* pointer; > typedef const T& reference; > > > > > NodePtr node; > > > > > QValueListConstIterator() : node( 0 ) {} > QValueListConstIterator( NodePtr p ) : node( p ) {} > QValueListConstIterator( const QValueListConstIterator<T>& it ) : node( it.node ) {} > QValueListConstIterator( const QValueListIterator<T>& it ) : node( it.node ) {} > > bool operator==( const QValueListConstIterator<T>& it ) const { return node == it.node; } > bool operator!=( const QValueListConstIterator<T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > > > > QValueListConstIterator<T>& operator++() { > node = node->next; > return *this; > } > > QValueListConstIterator<T> operator++(int) { > QValueListConstIterator<T> tmp = *this; > node = node->next; > return tmp; > } > > QValueListConstIterator<T>& operator--() { > node = node->prev; > return *this; > } > > QValueListConstIterator<T> operator--(int) { > QValueListConstIterator<T> tmp = *this; > node = node->prev; > return tmp; > } >}; > >template <class T> >class QValueListPrivate : public QShared >{ >public: > > > > typedef QValueListIterator<T> Iterator; > typedef QValueListConstIterator<T> ConstIterator; > typedef QValueListNode<T> Node; > typedef QValueListNode<T>* NodePtr; > typedef size_t size_type; > > > > > QValueListPrivate(); > QValueListPrivate( const QValueListPrivate<T>& _p ); > > void derefAndDelete() > { > if ( deref() ) > delete this; > } > > > > > > ~QValueListPrivate(); > > Iterator insert( Iterator it, const T& x ); > Iterator remove( Iterator it ); > NodePtr find( NodePtr start, const T& x ) const; > int findIndex( NodePtr start, const T& x ) const; > uint contains( const T& x ) const; > uint remove( const T& x ); > NodePtr at( size_type i ) const; > void clear(); > > NodePtr node; > size_type nodes; >}; > >template <class T> > QValueListPrivate<T>::QValueListPrivate() >{ > node = new Node; node->next = node->prev = node; nodes = 0; >} > >template <class T> > QValueListPrivate<T>::QValueListPrivate( const QValueListPrivate<T>& _p ) > : QShared() >{ > node = new Node; node->next = node->prev = node; nodes = 0; > Iterator b( _p.node->next ); > Iterator e( _p.node ); > Iterator i( node ); > while( b != e ) > insert( i, *b++ ); >} > >template <class T> > QValueListPrivate<T>::~QValueListPrivate() { > NodePtr p = node->next; > while( p != node ) { > NodePtr x = p->next; > delete p; > p = x; > } > delete node; >} > >template <class T> > typename QValueListPrivate<T>::Iterator QValueListPrivate<T>::insert( typename QValueListPrivate<T>::Iterator it, const T& x ) >{ > NodePtr p = new Node( x ); > p->next = it.node; > p->prev = it.node->prev; > it.node->prev->next = p; > it.node->prev = p; > nodes++; > return p; >} > >template <class T> > typename QValueListPrivate<T>::Iterator QValueListPrivate<T>::remove( typename QValueListPrivate<T>::Iterator it ) >{ > ((it.node != node) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)","it.node != node","/usr/qt/3/include/qvaluelist.h",301)); > NodePtr next = it.node->next; > NodePtr prev = it.node->prev; > prev->next = next; > next->prev = prev; > delete it.node; > nodes--; > return Iterator( next ); >} > >template <class T> > typename QValueListPrivate<T>::NodePtr QValueListPrivate<T>::find( typename QValueListPrivate<T>::NodePtr start, const T& x ) const >{ > ConstIterator first( start ); > ConstIterator last( node ); > while( first != last) { > if ( *first == x ) > return first.node; > ++first; > } > return last.node; >} > >template <class T> > int QValueListPrivate<T>::findIndex( typename QValueListPrivate<T>::NodePtr start, const T& x ) const >{ > ConstIterator first( start ); > ConstIterator last( node ); > int pos = 0; > while( first != last) { > if ( *first == x ) > return pos; > ++first; > ++pos; > } > return -1; >} > >template <class T> > uint QValueListPrivate<T>::contains( const T& x ) const >{ > uint result = 0; > Iterator first = Iterator( node->next ); > Iterator last = Iterator( node ); > while( first != last) { > if ( *first == x ) > ++result; > ++first; > } > return result; >} > >template <class T> > uint QValueListPrivate<T>::remove( const T& _x ) >{ > const T x = _x; > uint result = 0; > Iterator first = Iterator( node->next ); > Iterator last = Iterator( node ); > while( first != last) { > if ( *first == x ) { > first = remove( first ); > ++result; > } else > ++first; > } > return result; >} > >template <class T> > typename QValueListPrivate<T>::NodePtr QValueListPrivate<T>::at( size_type i ) const >{ > ((i <= nodes) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)","i <= nodes","/usr/qt/3/include/qvaluelist.h",373)); > NodePtr p = node->next; > for( size_type x = 0; x < i; ++x ) > p = p->next; > return p; >} > >template <class T> > void QValueListPrivate<T>::clear() >{ > nodes = 0; > NodePtr p = node->next; > while( p != node ) { > NodePtr next = p->next; > delete p; > p = next; > } > node->next = node->prev = node; >} ># 406 "/usr/qt/3/include/qvaluelist.h" >template <class T> class QDeepCopy; > >template <class T> >class QValueList >{ >public: > > > > typedef QValueListIterator<T> iterator; > typedef QValueListConstIterator<T> const_iterator; > typedef T value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type& reference; > typedef const value_type& const_reference; > typedef size_t size_type; > > > > typedef int difference_type; > > > > > > QValueList() { sh = new QValueListPrivate<T>; } > QValueList( const QValueList<T>& l ) { sh = l.sh; sh->ref(); } > > > > > > > > ~QValueList() { sh->derefAndDelete(); } > > QValueList<T>& operator= ( const QValueList<T>& l ) > { > l.sh->ref(); > sh->derefAndDelete(); > sh = l.sh; > return *this; > } ># 472 "/usr/qt/3/include/qvaluelist.h" > bool operator== ( const QValueList<T>& l ) const; > bool operator!= ( const QValueList<T>& l ) const { return !( *this == l ); } > iterator begin() { detach(); return iterator( sh->node->next ); } > const_iterator begin() const { return const_iterator( sh->node->next ); } > const_iterator constBegin() const { return const_iterator( sh->node->next ); } > iterator end() { detach(); return iterator( sh->node ); } > const_iterator end() const { return const_iterator( sh->node ); } > const_iterator constEnd() const { return const_iterator( sh->node ); } > iterator insert( iterator it, const T& x ) { detach(); return sh->insert( it, x ); } > uint remove( const T& x ) { detach(); return sh->remove( x ); } > void clear(); > > > QValueList<T>& operator<< ( const T& x ) > { > append( x ); > return *this; > } > > size_type size() const { return sh->nodes; } > bool empty() const { return sh->nodes == 0; } > void push_front( const T& x ) { detach(); sh->insert( begin(), x ); } > void push_back( const T& x ) { detach(); sh->insert( end(), x ); } > iterator erase( iterator pos ) { detach(); return sh->remove( pos ); } > iterator erase( iterator first, iterator last ); > reference front() { ; return *begin(); } > const_reference front() const { ; return *begin(); } > reference back() { ; return *(--end()); } > const_reference back() const { ; return *(--end()); } > void pop_front() { ; erase( begin() ); } > void pop_back() { > ; > iterator tmp = end(); > erase( --tmp ); > } > void insert( iterator pos, size_type n, const T& x ); ># 518 "/usr/qt/3/include/qvaluelist.h" > QValueList<T> operator+ ( const QValueList<T>& l ) const; > QValueList<T>& operator+= ( const QValueList<T>& l ); > > iterator fromLast() { detach(); return iterator( sh->node->prev ); } > const_iterator fromLast() const { return const_iterator( sh->node->prev ); } > > bool isEmpty() const { return ( sh->nodes == 0 ); } > > iterator append( const T& x ) { detach(); return sh->insert( end(), x ); } > iterator prepend( const T& x ) { detach(); return sh->insert( begin(), x ); } > > iterator remove( iterator it ) { detach(); return sh->remove( it ); } > > T& first() { ; detach(); return sh->node->next->data; } > const T& first() const { ; return sh->node->next->data; } > T& last() { ; detach(); return sh->node->prev->data; } > const T& last() const { ; return sh->node->prev->data; } > > T& operator[] ( size_type i ) { ; detach(); return sh->at(i)->data; } > const T& operator[] ( size_type i ) const { ; return sh->at(i)->data; } > iterator at( size_type i ) { ; detach(); return iterator( sh->at(i) ); } > const_iterator at( size_type i ) const { ; return const_iterator( sh->at(i) ); } > iterator find ( const T& x ) { detach(); return iterator( sh->find( sh->node->next, x) ); } > const_iterator find ( const T& x ) const { return const_iterator( sh->find( sh->node->next, x) ); } > iterator find ( iterator it, const T& x ) { detach(); return iterator( sh->find( it.node, x ) ); } > const_iterator find ( const_iterator it, const T& x ) const { return const_iterator( sh->find( it.node, x ) ); } > int findIndex( const T& x ) const { return sh->findIndex( sh->node->next, x) ; } > size_type contains( const T& x ) const { return sh->contains( x ); } > > size_type count() const { return sh->nodes; } > > QValueList<T>& operator+= ( const T& x ) > { > append( x ); > return *this; > } > typedef QValueListIterator<T> Iterator; > typedef QValueListConstIterator<T> ConstIterator; > typedef T ValueType; > >protected: > > > > void detach() { if ( sh->count > 1 ) detachInternal(); } > > > > > QValueListPrivate<T>* sh; > >private: > void detachInternal(); > > friend class QDeepCopy< QValueList<T> >; >}; > >template <class T> > bool QValueList<T>::operator== ( const QValueList<T>& l ) const >{ > if ( size() != l.size() ) > return FALSE; > const_iterator it2 = begin(); > const_iterator it = l.begin(); > for( ; it != l.end(); ++it, ++it2 ) > if ( !( *it == *it2 ) ) > return FALSE; > return TRUE; >} > >template <class T> > void QValueList<T>::clear() >{ > if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new QValueListPrivate<T>; } >} > >template <class T> > typename QValueList<T>::iterator QValueList<T>::erase( typename QValueList<T>::iterator first, typename QValueList<T>::iterator last ) >{ > while ( first != last ) > erase( first++ ); > return last; >} > > >template <class T> > void QValueList<T>::insert( typename QValueList<T>::iterator pos, size_type n, const T& x ) >{ > for ( ; n > 0; --n ) > insert( pos, x ); >} > >template <class T> > QValueList<T> QValueList<T>::operator+ ( const QValueList<T>& l ) const >{ > QValueList<T> l2( *this ); > for( const_iterator it = l.begin(); it != l.end(); ++it ) > l2.append( *it ); > return l2; >} > >template <class T> > QValueList<T>& QValueList<T>::operator+= ( const QValueList<T>& l ) >{ > QValueList<T> copy = l; > for( const_iterator it = copy.begin(); it != copy.end(); ++it ) > append( *it ); > return *this; >} > >template <class T> > void QValueList<T>::detachInternal() >{ > sh->deref(); sh = new QValueListPrivate<T>( *sh ); >} > > >template <class T> > QDataStream& operator>>( QDataStream& s, QValueList<T>& l ) >{ > l.clear(); > Q_UINT32 c; > s >> c; > for( Q_UINT32 i = 0; i < c; ++i ) > { > T t; > s >> t; > l.append( t ); > if ( s.atEnd() ) > break; > } > return s; >} > >template <class T> > QDataStream& operator<<( QDataStream& s, const QValueList<T>& l ) >{ > s << (Q_UINT32)l.size(); > QValueListConstIterator<T> it = l.begin(); > for( ; it != l.end(); ++it ) > s << *it; > return s; >} > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 666 "/usr/qt/3/include/qvaluelist.h" 2 ># 47 "/usr/qt/3/include/qmap.h" 2 ># 56 "/usr/qt/3/include/qmap.h" >struct __attribute__((visibility("default"))) QMapNodeBase >{ > enum Color { Red, Black }; > > QMapNodeBase* left; > QMapNodeBase* right; > QMapNodeBase* parent; > > Color color; > > QMapNodeBase* minimum() { > QMapNodeBase* x = this; > while ( x->left ) > x = x->left; > return x; > } > > QMapNodeBase* maximum() { > QMapNodeBase* x = this; > while ( x->right ) > x = x->right; > return x; > } >}; > > >template <class K, class T> >struct QMapNode : public QMapNodeBase >{ > QMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } > QMapNode( const K& _key ) { key = _key; } > QMapNode( const QMapNode<K,T>& _n ) { key = _n.key; data = _n.data; } > QMapNode() { } > T data; > K key; >}; > > >template<class K, class T> >class QMapIterator >{ > public: > > > > typedef QMapNode< K, T >* NodePtr; > > > > typedef T value_type; > > > > typedef int difference_type; > > typedef T* pointer; > typedef T& reference; > > > > > QMapNode<K,T>* node; > > > > > QMapIterator() : node( 0 ) {} > QMapIterator( QMapNode<K,T>* p ) : node( p ) {} > QMapIterator( const QMapIterator<K,T>& it ) : node( it.node ) {} > > bool operator==( const QMapIterator<K,T>& it ) const { return node == it.node; } > bool operator!=( const QMapIterator<K,T>& it ) const { return node != it.node; } > T& operator*() { return node->data; } > const T& operator*() const { return node->data; } > > > > const K& key() const { return node->key; } > T& data() { return node->data; } > const T& data() const { return node->data; } > >private: > int inc(); > int dec(); > >public: > QMapIterator<K,T>& operator++() { > inc(); > return *this; > } > > QMapIterator<K,T> operator++(int) { > QMapIterator<K,T> tmp = *this; > inc(); > return tmp; > } > > QMapIterator<K,T>& operator--() { > dec(); > return *this; > } > > QMapIterator<K,T> operator--(int) { > QMapIterator<K,T> tmp = *this; > dec(); > return tmp; > } >}; > >template <class K, class T> > int QMapIterator<K,T>::inc() >{ > QMapNodeBase* tmp = node; > if ( tmp->right ) { > tmp = tmp->right; > while ( tmp->left ) > tmp = tmp->left; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->right) { > tmp = y; > y = y->parent; > } > if (tmp->right != y) > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template <class K, class T> > int QMapIterator<K,T>::dec() >{ > QMapNodeBase* tmp = node; > if (tmp->color == QMapNodeBase::Red && > tmp->parent->parent == tmp ) { > tmp = tmp->right; > } else if (tmp->left != 0) { > QMapNodeBase* y = tmp->left; > while ( y->right ) > y = y->right; > tmp = y; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->left) { > tmp = y; > y = y->parent; > } > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template<class K, class T> >class QMapConstIterator >{ > public: > > > > typedef QMapNode< K, T >* NodePtr; > > > > typedef T value_type; > > > > typedef int difference_type; > > typedef const T* pointer; > typedef const T& reference; > > > > > > QMapNode<K,T>* node; > > > > > QMapConstIterator() : node( 0 ) {} > QMapConstIterator( QMapNode<K,T>* p ) : node( p ) {} > QMapConstIterator( const QMapConstIterator<K,T>& it ) : node( it.node ) {} > QMapConstIterator( const QMapIterator<K,T>& it ) : node( it.node ) {} > > bool operator==( const QMapConstIterator<K,T>& it ) const { return node == it.node; } > bool operator!=( const QMapConstIterator<K,T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > > > > const K& key() const { return node->key; } > const T& data() const { return node->data; } > >private: > int inc(); > int dec(); > >public: > QMapConstIterator<K,T>& operator++() { > inc(); > return *this; > } > > QMapConstIterator<K,T> operator++(int) { > QMapConstIterator<K,T> tmp = *this; > inc(); > return tmp; > } > > QMapConstIterator<K,T>& operator--() { > dec(); > return *this; > } > > QMapConstIterator<K,T> operator--(int) { > QMapConstIterator<K,T> tmp = *this; > dec(); > return tmp; > } >}; > >template <class K, class T> > int QMapConstIterator<K,T>::inc() >{ > QMapNodeBase* tmp = node; > if ( tmp->right ) { > tmp = tmp->right; > while ( tmp->left ) > tmp = tmp->left; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->right) { > tmp = y; > y = y->parent; > } > if (tmp->right != y) > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template <class K, class T> > int QMapConstIterator<K,T>::dec() >{ > QMapNodeBase* tmp = node; > if (tmp->color == QMapNodeBase::Red && > tmp->parent->parent == tmp ) { > tmp = tmp->right; > } else if (tmp->left != 0) { > QMapNodeBase* y = tmp->left; > while ( y->right ) > y = y->right; > tmp = y; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->left) { > tmp = y; > y = y->parent; > } > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > > >class __attribute__((visibility("default"))) QMapPrivateBase : public QShared >{ >public: > QMapPrivateBase() { > node_count = 0; > } > QMapPrivateBase( const QMapPrivateBase* _map) { > node_count = _map->node_count; > } > > > > > void rotateLeft( QMapNodeBase* x, QMapNodeBase*& root); > void rotateRight( QMapNodeBase* x, QMapNodeBase*& root ); > void rebalance( QMapNodeBase* x, QMapNodeBase*& root ); > QMapNodeBase* removeAndRebalance( QMapNodeBase* z, QMapNodeBase*& root, > QMapNodeBase*& leftmost, > QMapNodeBase*& rightmost ); > > > > > int node_count; >}; > > >template <class Key, class T> >class QMapPrivate : public QMapPrivateBase >{ >public: > > > > typedef QMapIterator< Key, T > Iterator; > typedef QMapConstIterator< Key, T > ConstIterator; > typedef QMapNode< Key, T > Node; > typedef QMapNode< Key, T >* NodePtr; > > > > > QMapPrivate(); > QMapPrivate( const QMapPrivate< Key, T >* _map ); > ~QMapPrivate() { clear(); delete header; } > > NodePtr copy( NodePtr p ); > void clear(); > void clear( NodePtr p ); > > Iterator begin() { return Iterator( (NodePtr)(header->left ) ); } > Iterator end() { return Iterator( header ); } > ConstIterator begin() const { return ConstIterator( (NodePtr)(header->left ) ); } > ConstIterator end() const { return ConstIterator( header ); } > > ConstIterator find(const Key& k) const; > > void remove( Iterator it ) { > NodePtr del = (NodePtr) removeAndRebalance( it.node, header->parent, header->left, header->right ); > delete del; > --node_count; > } ># 414 "/usr/qt/3/include/qmap.h" > Iterator insertSingle( const Key& k ); > Iterator insert( QMapNodeBase* x, QMapNodeBase* y, const Key& k ); > >protected: > > > > const Key& key( QMapNodeBase* b ) const { return ((NodePtr)b)->key; } > > > > > NodePtr header; >}; > > >template <class Key, class T> > QMapPrivate<Key,T>::QMapPrivate() { > header = new Node; > header->color = QMapNodeBase::Red; > header->parent = 0; > header->left = header->right = header; >} >template <class Key, class T> > QMapPrivate<Key,T>::QMapPrivate( const QMapPrivate< Key, T >* _map ) : QMapPrivateBase( _map ) { > header = new Node; > header->color = QMapNodeBase::Red; > if ( _map->header->parent == 0 ) { > header->parent = 0; > header->left = header->right = header; > } else { > header->parent = copy( (NodePtr)(_map->header->parent) ); > header->parent->parent = header; > header->left = header->parent->minimum(); > header->right = header->parent->maximum(); > } >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::NodePtr QMapPrivate<Key,T>::copy( typename QMapPrivate<Key,T>::NodePtr p ) >{ > if ( !p ) > return 0; > NodePtr n = new Node( *p ); > n->color = p->color; > if ( p->left ) { > n->left = copy( (NodePtr)(p->left) ); > n->left->parent = n; > } else { > n->left = 0; > } > if ( p->right ) { > n->right = copy( (NodePtr)(p->right) ); > n->right->parent = n; > } else { > n->right = 0; > } > return n; >} > >template <class Key, class T> > void QMapPrivate<Key,T>::clear() >{ > clear( (NodePtr)(header->parent) ); > header->color = QMapNodeBase::Red; > header->parent = 0; > header->left = header->right = header; > node_count = 0; >} > >template <class Key, class T> > void QMapPrivate<Key,T>::clear( typename QMapPrivate<Key,T>::NodePtr p ) >{ > while ( p != 0 ) { > clear( (NodePtr)p->right ); > NodePtr y = (NodePtr)p->left; > delete p; > p = y; > } >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::ConstIterator QMapPrivate<Key,T>::find(const Key& k) const >{ > QMapNodeBase* y = header; > QMapNodeBase* x = header->parent; > > while ( x != 0 ) { > > if ( !( key(x) < k ) ) { > y = x; > x = x->left; > } else { > x = x->right; > } > } > > > > if ( y == header || k < key(y) ) > return ConstIterator( header ); > return ConstIterator( (NodePtr)y ); >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::Iterator QMapPrivate<Key,T>::insertSingle( const Key& k ) >{ > > QMapNodeBase* y = header; > QMapNodeBase* x = header->parent; > bool result = TRUE; > while ( x != 0 ) { > result = ( k < key(x) ); > y = x; > x = result ? x->left : x->right; > } > > Iterator j( (NodePtr)y ); > if ( result ) { > > if ( j == begin() ) { > return insert(x, y, k ); > } else { > > --j; > } > } > > if ( (j.node->key) < k ) > return insert(x, y, k ); > > return j; >} > > >template <class Key, class T> > typename QMapPrivate<Key,T>::Iterator QMapPrivate<Key,T>::insert( QMapNodeBase* x, QMapNodeBase* y, const Key& k ) >{ > NodePtr z = new Node( k ); > if (y == header || x != 0 || k < key(y) ) { > y->left = z; > if ( y == header ) { > header->parent = z; > header->right = z; > } else if ( y == header->left ) > header->left = z; > } else { > y->right = z; > if ( y == header->right ) > header->right = z; > } > z->parent = y; > z->left = 0; > z->right = 0; > rebalance( z, header->parent ); > ++node_count; > return Iterator(z); >} ># 587 "/usr/qt/3/include/qmap.h" >template <class T> class QDeepCopy; > >template<class Key, class T> >class QMap >{ >public: > > > > typedef Key key_type; > typedef T mapped_type; > typedef QPair<const key_type, mapped_type> value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type& reference; > typedef const value_type& const_reference; > > > > typedef int difference_type; > > typedef size_t size_type; > typedef QMapIterator<Key,T> iterator; > typedef QMapConstIterator<Key,T> const_iterator; > typedef QPair<iterator,bool> insert_pair; > > typedef QMapIterator< Key, T > Iterator; > typedef QMapConstIterator< Key, T > ConstIterator; > typedef T ValueType; > typedef QMapPrivate< Key, T > Priv; > > > > > QMap() > { > sh = new QMapPrivate< Key, T >; > } > QMap( const QMap<Key,T>& m ) > { > sh = m.sh; sh->ref(); > } ># 641 "/usr/qt/3/include/qmap.h" > ~QMap() > { > if ( sh->deref() ) > delete sh; > } > QMap<Key,T>& operator= ( const QMap<Key,T>& m ); ># 660 "/usr/qt/3/include/qmap.h" > iterator begin() { detach(); return sh->begin(); } > iterator end() { detach(); return sh->end(); } > const_iterator begin() const { return ((const Priv*)sh)->begin(); } > const_iterator end() const { return ((const Priv*)sh)->end(); } > const_iterator constBegin() const { return begin(); } > const_iterator constEnd() const { return end(); } > > iterator replace( const Key& k, const T& v ) > { > remove( k ); > return insert( k, v ); > } > > size_type size() const > { > return sh->node_count; > } > bool empty() const > { > return sh->node_count == 0; > } > QPair<iterator,bool> insert( const value_type& x ); > > void erase( iterator it ) > { > detach(); > sh->remove( it ); > } > void erase( const key_type& k ); > size_type count( const key_type& k ) const; > T& operator[] ( const Key& k ); > void clear(); > > iterator find ( const Key& k ) > { > detach(); > return iterator( sh->find( k ).node ); > } > const_iterator find ( const Key& k ) const { return sh->find( k ); } > > const T& operator[] ( const Key& k ) const > { ; return sh->find( k ).data(); } > bool contains ( const Key& k ) const > { return find( k ) != end(); } > > > size_type count() const { return sh->node_count; } > > QValueList<Key> keys() const { > QValueList<Key> r; > for (const_iterator i=begin(); i!=end(); ++i) > r.append(i.key()); > return r; > } > > QValueList<T> values() const { > QValueList<T> r; > for (const_iterator i=begin(); i!=end(); ++i) > r.append(*i); > return r; > } > > bool isEmpty() const { return sh->node_count == 0; } > > iterator insert( const Key& key, const T& value, bool overwrite = TRUE ); > void remove( iterator it ) { detach(); sh->remove( it ); } > void remove( const Key& k ); ># 735 "/usr/qt/3/include/qmap.h" >protected: > > > > void detach() { if ( sh->count > 1 ) detachInternal(); } > > Priv* sh; >private: > void detachInternal(); > > friend class QDeepCopy< QMap<Key,T> >; >}; > >template<class Key, class T> > QMap<Key,T>& QMap<Key,T>::operator= ( const QMap<Key,T>& m ) >{ > m.sh->ref(); > if ( sh->deref() ) > delete sh; > sh = m.sh; > return *this; >} > >template<class Key, class T> > typename QMap<Key,T>::insert_pair QMap<Key,T>::insert( const typename QMap<Key,T>::value_type& x ) >{ > detach(); > size_type n = size(); > iterator it = sh->insertSingle( x.first ); > bool inserted = FALSE; > if ( n < size() ) { > inserted = TRUE; > it.data() = x.second; > } > return QPair<iterator,bool>( it, inserted ); >} > >template<class Key, class T> > void QMap<Key,T>::erase( const Key& k ) >{ > detach(); > iterator it( sh->find( k ).node ); > if ( it != end() ) > sh->remove( it ); >} > >template<class Key, class T> > typename QMap<Key,T>::size_type QMap<Key,T>::count( const Key& k ) const >{ > const_iterator it( sh->find( k ).node ); > if ( it != end() ) { > size_type c = 0; > while ( it != end() ) { > ++it; > ++c; > } > return c; > } > return 0; >} > >template<class Key, class T> > T& QMap<Key,T>::operator[] ( const Key& k ) >{ > detach(); > QMapNode<Key,T>* p = sh->find( k ).node; > if ( p != sh->end().node ) > return p->data; > return insert( k, T() ).data(); >} > >template<class Key, class T> > void QMap<Key,T>::clear() >{ > if ( sh->count == 1 ) > sh->clear(); > else { > sh->deref(); > sh = new QMapPrivate<Key,T>; > } >} > >template<class Key, class T> > typename QMap<Key,T>::iterator QMap<Key,T>::insert( const Key& key, const T& value, bool overwrite ) >{ > detach(); > size_type n = size(); > iterator it = sh->insertSingle( key ); > if ( overwrite || n < size() ) > it.data() = value; > return it; >} > >template<class Key, class T> > void QMap<Key,T>::remove( const Key& k ) >{ > detach(); > iterator it( sh->find( k ).node ); > if ( it != end() ) > sh->remove( it ); >} > >template<class Key, class T> > void QMap<Key,T>::detachInternal() >{ > sh->deref(); sh = new QMapPrivate<Key,T>( sh ); >} > > > >template<class Key, class T> > QDataStream& operator>>( QDataStream& s, QMap<Key,T>& m ) { > m.clear(); > Q_UINT32 c; > s >> c; > for( Q_UINT32 i = 0; i < c; ++i ) { > Key k; T t; > s >> k >> t; > m.insert( k, t ); > if ( s.atEnd() ) > break; > } > return s; >} > > >template<class Key, class T> > QDataStream& operator<<( QDataStream& s, const QMap<Key,T>& m ) { > s << (Q_UINT32)m.size(); > QMapConstIterator<Key,T> it = m.begin(); > for( ; it != m.end(); ++it ) > s << it.key() << it.data(); > return s; >} > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 873 "/usr/qt/3/include/qmap.h" 2 ># 44 "/usr/qt/3/include/qmime.h" 2 > > > > >class QImageDrag; >class QTextDrag; > >class __attribute__((visibility("default"))) QMimeSource >{ > friend class QClipboardData; > >public: > QMimeSource(); > virtual ~QMimeSource(); > virtual const char* format( int n = 0 ) const = 0; > virtual bool provides( const char* ) const; > virtual QByteArray encodedData( const char* ) const = 0; > int serialNumber() const; > >private: > int ser_no; > enum { NoCache, Text, Graphics } cacheType; > union > { > struct > { > QString *str; > QCString *subtype; > } txt; > struct > { > QImage *img; > QPixmap *pix; > } gfx; > } cache; > void clearCache(); > > > friend class QImageDrag; > friend class QTextDrag; > >}; > >inline int QMimeSource::serialNumber() const >{ return ser_no; } > >class QStringList; >class QMimeSourceFactoryData; > >class __attribute__((visibility("default"))) QMimeSourceFactory { >public: > QMimeSourceFactory(); > virtual ~QMimeSourceFactory(); > > static QMimeSourceFactory* defaultFactory(); > static void setDefaultFactory( QMimeSourceFactory* ); > static QMimeSourceFactory* takeDefaultFactory(); > static void addFactory( QMimeSourceFactory *f ); > static void removeFactory( QMimeSourceFactory *f ); > > virtual const QMimeSource* data(const QString& abs_name) const; > virtual QString makeAbsolute(const QString& abs_or_rel_name, const QString& context) const; > const QMimeSource* data(const QString& abs_or_rel_name, const QString& context) const; > > virtual void setText( const QString& abs_name, const QString& text ); > virtual void setImage( const QString& abs_name, const QImage& im ); > virtual void setPixmap( const QString& abs_name, const QPixmap& pm ); > virtual void setData( const QString& abs_name, QMimeSource* data ); > virtual void setFilePath( const QStringList& ); > virtual QStringList filePath() const; > void addFilePath( const QString& ); > virtual void setExtensionType( const QString& ext, const char* mimetype ); > >private: > QMimeSource *dataInternal(const QString& abs_name, const QMap<QString, QString> &extensions ) const; > QMimeSourceFactoryData* d; >}; ># 46 "/usr/qt/3/include/qevent.h" 2 > > > >class __attribute__((visibility("default"))) QEvent: public Qt >{ >public: > enum Type { ># 61 "/usr/qt/3/include/qevent.h" > None = 0, > > > Timer = 1, > MouseButtonPress = 2, > MouseButtonRelease = 3, > MouseButtonDblClick = 4, > MouseMove = 5, > KeyPress = 6, > KeyRelease = 7, > FocusIn = 8, > FocusOut = 9, > Enter = 10, > Leave = 11, > Paint = 12, > Move = 13, > Resize = 14, > Create = 15, > Destroy = 16, > Show = 17, > Hide = 18, > Close = 19, > Quit = 20, > Reparent = 21, > ShowMinimized = 22, > ShowNormal = 23, > WindowActivate = 24, > WindowDeactivate = 25, > ShowToParent = 26, > HideToParent = 27, > ShowMaximized = 28, > ShowFullScreen = 29, > Accel = 30, > Wheel = 31, > AccelAvailable = 32, > CaptionChange = 33, > IconChange = 34, > ParentFontChange = 35, > ApplicationFontChange = 36, > ParentPaletteChange = 37, > ApplicationPaletteChange = 38, > PaletteChange = 39, > Clipboard = 40, > Speech = 42, > SockAct = 50, > AccelOverride = 51, > DeferredDelete = 52, > DragEnter = 60, > DragMove = 61, > DragLeave = 62, > Drop = 63, > DragResponse = 64, > ChildInserted = 70, > ChildRemoved = 71, > LayoutHint = 72, > ShowWindowRequest = 73, > WindowBlocked = 74, > WindowUnblocked = 75, > ActivateControl = 80, > DeactivateControl = 81, > ContextMenu = 82, > IMStart = 83, > IMCompose = 84, > IMEnd = 85, > Accessibility = 86, > TabletMove = 87, > LocaleChange = 88, > LanguageChange = 89, > LayoutDirectionChange = 90, > Style = 91, > TabletPress = 92, > TabletRelease = 93, > OkRequest = 94, > HelpRequest = 95, > WindowStateChange = 96, > IconDrag = 97, > User = 1000, > MaxUser = 65535 > }; > > > QEvent( Type type ) : t(type), posted(FALSE), spont(FALSE) {} > virtual ~QEvent(); > Type type() const { return t; } > bool spontaneous() const { return spont; } >protected: > Type t; >private: > uint posted : 1; > uint spont : 1; > > > friend class QApplication; > friend class QAccelManager; > friend class QBaseApplication; > friend class QETWidget; >}; > > >class __attribute__((visibility("default"))) QTimerEvent : public QEvent >{ >public: > QTimerEvent( int timerId ) > : QEvent(Timer), id(timerId) {} > int timerId() const { return id; } >protected: > int id; >}; > > >class __attribute__((visibility("default"))) QMouseEvent : public QEvent >{ >public: > QMouseEvent( Type type, const QPoint &pos, int button, int state ); > > QMouseEvent( Type type, const QPoint &pos, const QPoint&globalPos, > int button, int state ) > : QEvent(type), p(pos), g(globalPos), b((ushort)button),s((ushort)state),accpt(TRUE) {}; > > const QPoint &pos() const { return p; } > const QPoint &globalPos() const { return g; } > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return g.x(); } > int globalY() const { return g.y(); } > ButtonState button() const { return (ButtonState) b; } > ButtonState state() const { return (ButtonState) s; } > ButtonState stateAfter() const; > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > QPoint p; > QPoint g; > ushort b; > ushort s; > uint accpt:1; >}; > > > >class __attribute__((visibility("default"))) QWheelEvent : public QEvent >{ >public: > QWheelEvent( const QPoint &pos, int delta, int state, Orientation orient = Vertical ); > QWheelEvent( const QPoint &pos, const QPoint& globalPos, int delta, int state, Orientation orient = Vertical ) > : QEvent(Wheel), p(pos), g(globalPos), d(delta), s((ushort)state), > accpt(TRUE), o(orient) {} > int delta() const { return d; } > const QPoint &pos() const { return p; } > const QPoint &globalPos() const { return g; } > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return g.x(); } > int globalY() const { return g.y(); } > ButtonState state() const { return ButtonState(s); } > Orientation orientation() const { return o; } > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > QPoint p; > QPoint g; > int d; > ushort s; > bool accpt; > Orientation o; >}; > > >class __attribute__((visibility("default"))) QTabletEvent : public QEvent >{ >public: > enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser }; > QTabletEvent( Type t, const QPoint &pos, const QPoint &globalPos, int device, > int pressure, int xTilt, int yTilt, const QPair<int,int> &uId ); > QTabletEvent( const QPoint &pos, const QPoint &globalPos, int device, > int pressure, int xTilt, int yTilt, const QPair<int,int> &uId ) > : QEvent( TabletMove ), mPos( pos ), mGPos( globalPos ), mDev( device ), > mPress( pressure ), mXT( xTilt ), mYT( yTilt ), mType( uId.first ), > mPhy( uId.second ), mbAcc(TRUE) > {} > int pressure() const { return mPress; } > int xTilt() const { return mXT; } > int yTilt() const { return mYT; } > const QPoint &pos() const { return mPos; } > const QPoint &globalPos() const { return mGPos; } > int x() const { return mPos.x(); } > int y() const { return mPos.y(); } > int globalX() const { return mGPos.x(); } > int globalY() const { return mGPos.y(); } > TabletDevice device() const { return TabletDevice(mDev); } > int isAccepted() const { return mbAcc; } > void accept() { mbAcc = TRUE; } > void ignore() { mbAcc = FALSE; } > QPair<int,int> uniqueId() { return QPair<int,int>( mType, mPhy); } >protected: > QPoint mPos; > QPoint mGPos; > int mDev, > mPress, > mXT, > mYT, > mType, > mPhy; > bool mbAcc; > >}; > >class __attribute__((visibility("default"))) QKeyEvent : public QEvent >{ >public: > QKeyEvent( Type type, int key, int ascii, int state, > const QString& text=QString::null, bool autorep=FALSE, ushort count=1 ) > : QEvent(type), txt(text), k((ushort)key), s((ushort)state), > a((uchar)ascii), accpt(TRUE), autor(autorep), c(count) > { > if ( key >= Key_Back && key <= Key_MediaLast ) > accpt = FALSE; > } > int key() const { return k; } > int ascii() const { return a; } > ButtonState state() const { return ButtonState(s); } > ButtonState stateAfter() const; > bool isAccepted() const { return accpt; } > QString text() const { return txt; } > bool isAutoRepeat() const { return autor; } > int count() const { return int(c); } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } > >protected: > QString txt; > ushort k, s; > uchar a; > uint accpt:1; > uint autor:1; > ushort c; >}; > > >class __attribute__((visibility("default"))) QFocusEvent : public QEvent >{ >public: > > QFocusEvent( Type type ) > : QEvent(type) {} > > bool gotFocus() const { return type() == FocusIn; } > bool lostFocus() const { return type() == FocusOut; } > > enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other }; > static Reason reason(); > static void setReason( Reason reason ); > static void resetReason(); > >private: > static Reason m_reason; > static Reason prev_reason; >}; > > >class __attribute__((visibility("default"))) QPaintEvent : public QEvent >{ >public: > QPaintEvent( const QRegion& paintRegion, bool erased = TRUE) > : QEvent(Paint), > rec(paintRegion.boundingRect()), > reg(paintRegion), > erase(erased){} > QPaintEvent( const QRect &paintRect, bool erased = TRUE ) > : QEvent(Paint), > rec(paintRect), > reg(paintRect), > erase(erased){} > QPaintEvent( const QRegion &paintRegion, const QRect &paintRect, bool erased = TRUE ) > : QEvent(Paint), > rec(paintRect), > reg(paintRegion), > erase(erased){} > > const QRect &rect() const { return rec; } > const QRegion ®ion() const { return reg; } > bool erased() const { return erase; } >protected: > friend class QApplication; > friend class QBaseApplication; > QRect rec; > QRegion reg; > bool erase; >}; > > >class __attribute__((visibility("default"))) QMoveEvent : public QEvent >{ >public: > QMoveEvent( const QPoint &pos, const QPoint &oldPos ) > : QEvent(Move), p(pos), oldp(oldPos) {} > const QPoint &pos() const { return p; } > const QPoint &oldPos()const { return oldp;} >protected: > QPoint p, oldp; > friend class QApplication; > friend class QBaseApplication; >}; > > >class __attribute__((visibility("default"))) QResizeEvent : public QEvent >{ >public: > QResizeEvent( const QSize &size, const QSize &oldSize ) > : QEvent(Resize), s(size), olds(oldSize) {} > const QSize &size() const { return s; } > const QSize &oldSize()const { return olds;} >protected: > QSize s, olds; > friend class QApplication; > friend class QBaseApplication; >}; > > >class __attribute__((visibility("default"))) QCloseEvent : public QEvent >{ >public: > QCloseEvent() > : QEvent(Close), accpt(FALSE) {} > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > bool accpt; >}; > > >class __attribute__((visibility("default"))) QIconDragEvent : public QEvent >{ >public: > QIconDragEvent() > : QEvent(IconDrag), accpt(FALSE) {} > > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > bool accpt; >}; > >class __attribute__((visibility("default"))) QShowEvent : public QEvent >{ >public: > QShowEvent() > : QEvent(Show) {} >}; > > >class __attribute__((visibility("default"))) QHideEvent : public QEvent >{ >public: > QHideEvent() > : QEvent(Hide) {} >}; > >class __attribute__((visibility("default"))) QContextMenuEvent : public QEvent >{ >public: > enum Reason { Mouse, Keyboard, Other }; > QContextMenuEvent( Reason reason, const QPoint &pos, const QPoint &globalPos, int state ) > : QEvent( ContextMenu ), p( pos ), gp( globalPos ), accpt( TRUE ), consum( TRUE ), > reas( reason ), s((ushort)state) {} > QContextMenuEvent( Reason reason, const QPoint &pos, int state ); > > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return gp.x(); } > int globalY() const { return gp.y(); } > > const QPoint& pos() const { return p; } > const QPoint& globalPos() const { return gp; } > > ButtonState state() const { return (ButtonState) s; } > bool isAccepted() const { return accpt; } > bool isConsumed() const { return consum; } > void consume() { accpt = FALSE; consum = TRUE; } > void accept() { accpt = TRUE; consum = TRUE; } > void ignore() { accpt = FALSE; consum = FALSE; } > > Reason reason() const { return Reason( reas ); } > >protected: > QPoint p; > QPoint gp; > bool accpt; > bool consum; > uint reas:8; > ushort s; >}; > > >class __attribute__((visibility("default"))) QIMEvent : public QEvent >{ >public: > QIMEvent( Type type, const QString &text, int cursorPosition ) > : QEvent(type), txt(text), cpos(cursorPosition), a(TRUE) {} > const QString &text() const { return txt; } > int cursorPos() const { return cpos; } > bool isAccepted() const { return a; } > void accept() { a = TRUE; } > void ignore() { a = FALSE; } > int selectionLength() const; > >private: > QString txt; > int cpos; > bool a; >}; > >class __attribute__((visibility("default"))) QIMComposeEvent : public QIMEvent >{ >public: > QIMComposeEvent( Type type, const QString &text, int cursorPosition, > int selLength ) > : QIMEvent( type, text, cursorPosition ), selLen( selLength ) { } > >private: > int selLen; > > friend class QIMEvent; >}; > >inline int QIMEvent::selectionLength() const >{ > if ( type() != IMCompose ) return 0; > QIMComposeEvent *that = (QIMComposeEvent *) this; > return that->selLen; >} ># 504 "/usr/qt/3/include/qevent.h" >class __attribute__((visibility("default"))) QDropEvent : public QEvent, public QMimeSource >{ >public: > QDropEvent( const QPoint& pos, Type typ=Drop ) > : QEvent(typ), p(pos), > act(0), accpt(0), accptact(0), resv(0), > d(0) > {} > const QPoint &pos() const { return p; } > bool isAccepted() const { return accpt || accptact; } > void accept(bool y=TRUE) { accpt = y; } > void ignore() { accpt = FALSE; } > > bool isActionAccepted() const { return accptact; } > void acceptAction(bool y=TRUE) { accptact = y; } > enum Action { Copy, Link, Move, Private, UserAction=100 }; > void setAction( Action a ) { act = (uint)a; } > Action action() const { return Action(act); } > > QWidget* source() const; > const char* format( int n = 0 ) const; > QByteArray encodedData( const char* ) const; > bool provides( const char* ) const; > > QByteArray data(const char* f) const { return encodedData(f); } > > void setPoint( const QPoint& np ) { p = np; } > >protected: > QPoint p; > uint act:8; > uint accpt:1; > uint accptact:1; > uint resv:5; > void * d; >}; > > > >class __attribute__((visibility("default"))) QDragMoveEvent : public QDropEvent >{ >public: > QDragMoveEvent( const QPoint& pos, Type typ=DragMove ) > : QDropEvent(pos,typ), > rect( pos, QSize( 1, 1 ) ) {} > QRect answerRect() const { return rect; } > void accept( bool y=TRUE ) { QDropEvent::accept(y); } > void accept( const QRect & r) { accpt = TRUE; rect = r; } > void ignore( const QRect & r) { accpt =FALSE; rect = r; } > void ignore() { QDropEvent::ignore(); } > >protected: > QRect rect; >}; > > >class __attribute__((visibility("default"))) QDragEnterEvent : public QDragMoveEvent >{ >public: > QDragEnterEvent( const QPoint& pos ) : > QDragMoveEvent(pos, DragEnter) { } >}; > > > >class __attribute__((visibility("default"))) QDragResponseEvent : public QEvent >{ >public: > QDragResponseEvent( bool accepted ) > : QEvent(DragResponse), a(accepted) {} > bool dragAccepted() const { return a; } >protected: > bool a; >}; > > >class __attribute__((visibility("default"))) QDragLeaveEvent : public QEvent >{ >public: > QDragLeaveEvent() > : QEvent(DragLeave) {} >}; > > > >class __attribute__((visibility("default"))) QChildEvent : public QEvent >{ >public: > QChildEvent( Type type, QObject *child ) > : QEvent(type), c(child) {} > QObject *child() const { return c; } > bool inserted() const { return t == ChildInserted; } > bool removed() const { return t == ChildRemoved; } >protected: > QObject *c; >}; > > >class __attribute__((visibility("default"))) QCustomEvent : public QEvent >{ >public: > QCustomEvent( int type ); > QCustomEvent( Type type, void *data ) > : QEvent(type), d(data) {}; > void *data() const { return d; } > void setData( void* data ) { d = data; } >private: > void *d; >}; ># 46 "/usr/qt/3/include/qobject.h" 2 > > > > > > >class QMetaObject; >class QVariant; >class QMetaProperty; >class QPostEventList; >class QSenderObjectList; >class QObjectPrivate; > >class QObjectUserData; > >struct QUObject; > >class __attribute__((visibility("default"))) QObject: public Qt >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > >public: > QObject( QObject *parent=0, const char *name=0 ); > virtual ~QObject(); ># 79 "/usr/qt/3/include/qobject.h" > virtual bool event( QEvent * ); > virtual bool eventFilter( QObject *, QEvent * ); > > bool isA( const char * ) const; > bool inherits( const char * ) const; > > const char *name() const; > const char *name( const char * defaultName ) const; > > virtual void setName( const char *name ); > bool isWidgetType() const { return isWidget; } > bool highPriority() const { return FALSE; } > > bool signalsBlocked() const { return blockSig; } > void blockSignals( bool b ); > > int startTimer( int interval ); > void killTimer( int id ); > void killTimers(); > > QObject *child( const char *objName, const char *inheritsClass = 0, bool recursiveSearch = TRUE ); > const QObjectList *children() const { return childObjects; } > > static const QObjectList *objectTrees(); > > QObjectList *queryList( const char *inheritsClass = 0, > const char *objName = 0, > bool regexpMatch = TRUE, > bool recursiveSearch = TRUE ) const; > > virtual void insertChild( QObject * ); > virtual void removeChild( QObject * ); > > void installEventFilter( const QObject * ); > void removeEventFilter( const QObject * ); > > static bool connect( const QObject *sender, const char *signal, > const QObject *receiver, const char *member ); > bool connect( const QObject *sender, const char *signal, > const char *member ) const; > static bool disconnect( const QObject *sender, const char *signal, > const QObject *receiver, const char *member ); > bool disconnect( const char *signal=0, > const QObject *receiver=0, const char *member=0 ); > bool disconnect( const QObject *receiver, const char *member=0 ); > static void connectInternal( const QObject *sender, int signal_index, > const QObject *receiver, int membcode, int member_index ); > static bool disconnectInternal( const QObject *sender, int signal_index, > const QObject *receiver, int membcode, int member_index ); > > void dumpObjectTree(); > void dumpObjectInfo(); > > > virtual bool setProperty( const char *name, const QVariant& value ); > virtual QVariant property( const char *name ) const; > > > static QString tr( const char *sourceText, const char * = 0); > > static QString trUtf8( const char *sourceText, const char * = 0); > > > > > static uint registerUserData(); > void setUserData( uint id, QObjectUserData* data); > QObjectUserData* userData( uint id ) const; > > >protected: > void destroyed(); > void destroyed( QObject* obj ); > >public: > QObject *parent() const { return parentObj; } > >public : > void deleteLater(); > >private : > void cleanupEventFilter( QObject* ); > >protected: > bool activate_filters( QEvent * ); > QConnectionList *receivers( const char* signal ) const; > QConnectionList *receivers( int signal ) const; > void activate_signal( int signal ); > void activate_signal( int signal, int ); > void activate_signal( int signal, double ); > void activate_signal( int signal, QString ); > void activate_signal_bool( int signal, bool ); > void activate_signal( QConnectionList *clist, QUObject *o ); > > const QObject *sender(); > > virtual void timerEvent( QTimerEvent * ); > virtual void childEvent( QChildEvent * ); > virtual void customEvent( QCustomEvent * ); > > virtual void connectNotify( const char *signal ); > virtual void disconnectNotify( const char *signal ); > virtual bool checkConnectArgs( const char *signal, const QObject *receiver, > const char *member ); > static QCString normalizeSignalSlot( const char *signalSlot ); > >private: > uint isSignal : 1; > uint isWidget : 1; > uint pendTimer : 1; > uint blockSig : 1; > uint wasDeleted : 1; > uint isTree : 1; > > const char *objname; > QObject *parentObj; > QObjectList *childObjects; > QSignalVec *connections; > QSenderObjectList *senderObjects; > QObjectList *eventFilters; > QPostEventList *postedEvents; > QObjectPrivate* d; > > static QMetaObject* staticQtMetaObject(); > > friend class QApplication; > friend class QBaseApplication; > friend class QWidget; > friend class QSignal; > >private: > > QObject( const QObject & ); > QObject &operator=( const QObject & ); > >}; > > > >class __attribute__((visibility("default"))) QObjectUserData { >public: > virtual ~QObjectUserData(); >}; > > > >inline bool QObject::connect( const QObject *sender, const char *signal, > const char *member ) const >{ > return connect( sender, signal, this, member ); >} > > >inline bool QObject::disconnect( const char *signal, > const QObject *receiver, const char *member ) >{ > return disconnect( this, signal, receiver, member ); >} > > >inline bool QObject::disconnect( const QObject *receiver, const char *member ) >{ > return disconnect( this, 0, receiver, member ); >} > > > >inline QString QObject::tr( const char *sourceText, const char * ) { > return QString::fromLatin1( sourceText ); >} > >inline QString QObject::trUtf8( const char *sourceText, const char * ) { > return QString::fromUtf8( sourceText ); >} > > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 259 "/usr/qt/3/include/qobject.h" 2 ># 44 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qpaintdevice.h" 1 ># 51 "/usr/qt/3/include/qpaintdevice.h" >class QIODevice; >class QString; >class QTextItem; > > > >struct QPaintDeviceX11Data; > > >union QPDevCmdParam { > int ival; > int *ivec; > QString *str; > const QPoint *point; > const QRect *rect; > const QPointArray *ptarr; > const QPixmap *pixmap; > const QImage *image; > const QColor *color; > const QFont *font; > const QPen *pen; > const QBrush *brush; > const QRegion *rgn; > const QWMatrix *matrix; > const QTextItem *textItem; > QIODevice *device; >}; > > > >class __attribute__((visibility("default"))) QPaintDevice >{ >public: > virtual ~QPaintDevice(); > > int devType() const; > bool isExtDev() const; > bool paintingActive() const; > > virtual void setResolution( int ); > virtual int resolution() const; > > > > > > > virtual Qt::HANDLE handle() const; > virtual Qt::HANDLE x11RenderHandle() const; > > > > > > > > Display *x11Display() const; > int x11Screen() const; > int x11Depth() const; > int x11Cells() const; > Qt::HANDLE x11Colormap() const; > bool x11DefaultColormap() const; > void *x11Visual() const; > bool x11DefaultVisual() const; > > static Display *x11AppDisplay(); > static int x11AppScreen(); > > static int x11AppDpiX(); > static int x11AppDpiY(); > static void x11SetAppDpiX(int); > static void x11SetAppDpiY(int); > static int x11AppDepth(); > static int x11AppCells(); > static Qt::HANDLE x11AppRootWindow(); > static Qt::HANDLE x11AppColormap(); > static bool x11AppDefaultColormap(); > static void *x11AppVisual(); > static bool x11AppDefaultVisual(); > > > > static int x11AppDepth( int screen ); > static int x11AppCells( int screen ); > static Qt::HANDLE x11AppRootWindow( int screen ); > static Qt::HANDLE x11AppColormap( int screen ); > static void *x11AppVisual( int screen ); > static bool x11AppDefaultColormap( int screen ); > static bool x11AppDefaultVisual( int screen ); > static int x11AppDpiX( int ); > static int x11AppDpiY( int ); > static void x11SetAppDpiX( int, int ); > static void x11SetAppDpiY( int, int ); ># 153 "/usr/qt/3/include/qpaintdevice.h" > enum PDevCmd { > PdcNOP = 0, > PdcDrawPoint = 1, > PdcDrawFirst = PdcDrawPoint, > PdcMoveTo = 2, > PdcLineTo = 3, > PdcDrawLine = 4, > PdcDrawRect = 5, > PdcDrawRoundRect = 6, > PdcDrawEllipse = 7, > PdcDrawArc = 8, > PdcDrawPie = 9, > PdcDrawChord = 10, > PdcDrawLineSegments = 11, > PdcDrawPolyline = 12, > PdcDrawPolygon = 13, > PdcDrawCubicBezier = 14, > PdcDrawText = 15, > PdcDrawTextFormatted = 16, > PdcDrawPixmap = 17, > PdcDrawImage = 18, > PdcDrawText2 = 19, > PdcDrawText2Formatted = 20, > PdcDrawTextItem = 21, > PdcDrawLast = PdcDrawTextItem, > > > > PdcBegin = 30, > PdcEnd = 31, > PdcSave = 32, > PdcRestore = 33, > PdcSetdev = 34, > PdcSetBkColor = 40, > PdcSetBkMode = 41, > PdcSetROP = 42, > PdcSetBrushOrigin = 43, > PdcSetFont = 45, > PdcSetPen = 46, > PdcSetBrush = 47, > PdcSetTabStops = 48, > PdcSetTabArray = 49, > PdcSetUnit = 50, > PdcSetVXform = 51, > PdcSetWindow = 52, > PdcSetViewport = 53, > PdcSetWXform = 54, > PdcSetWMatrix = 55, > PdcSaveWMatrix = 56, > PdcRestoreWMatrix = 57, > PdcSetClip = 60, > PdcSetClipRegion = 61, > > PdcReservedStart = 0, > PdcReservedStop = 199 > }; > >protected: > QPaintDevice( uint devflags ); > > > > > Qt::HANDLE hd; > Qt::HANDLE rendhd; > > void copyX11Data( const QPaintDevice * ); > void cloneX11Data( const QPaintDevice * ); > virtual void setX11Data( const QPaintDeviceX11Data* ); > QPaintDeviceX11Data* getX11Data( bool def=FALSE ) const; ># 232 "/usr/qt/3/include/qpaintdevice.h" > virtual bool cmd( int, QPainter *, QPDevCmdParam * ); > virtual int metric( int ) const; > virtual int fontMet( QFont *, int, const char * = 0, int = 0 ) const; > virtual int fontInf( QFont *, int ) const; > > ushort devFlags; > ushort painters; > > friend class QPainter; > friend class QPaintDeviceMetrics; > > > > > > > > friend __attribute__((visibility("default"))) void bitBlt( QPaintDevice *, int, int, > const QPaintDevice *, > int, int, int, int, Qt::RasterOp, bool ); > > > friend void qt_init_internal( int *, char **, Display *, Qt::HANDLE, Qt::HANDLE ); > friend void qt_cleanup(); > > >private: > > static Display *x_appdisplay; > static int x_appscreen; > > static int x_appdepth; > static int x_appcells; > static Qt::HANDLE x_approotwindow; > static Qt::HANDLE x_appcolormap; > static bool x_appdefcolormap; > static void *x_appvisual; > static bool x_appdefvisual; > > > static int *x_appdepth_arr; > static int *x_appcells_arr; > static Qt::HANDLE *x_approotwindow_arr; > static Qt::HANDLE *x_appcolormap_arr; > static bool *x_appdefcolormap_arr; > static void **x_appvisual_arr; > static bool *x_appdefvisual_arr; > > QPaintDeviceX11Data* x11Data; > > >private: > > QPaintDevice( const QPaintDevice & ); > QPaintDevice &operator=( const QPaintDevice & ); > >}; > > >__attribute__((visibility("default"))) >void bitBlt( QPaintDevice *dst, int dx, int dy, > const QPaintDevice *src, int sx=0, int sy=0, int sw=-1, int sh=-1, > Qt::RasterOp = Qt::CopyROP, bool ignoreMask=FALSE ); > >__attribute__((visibility("default"))) >void bitBlt( QPaintDevice *dst, int dx, int dy, > const QImage *src, int sx=0, int sy=0, int sw=-1, int sh=-1, > int conversion_flags=0 ); > > > > >struct __attribute__((visibility("default"))) QPaintDeviceX11Data : public QShared { > Display* x_display; > int x_screen; > int x_depth; > int x_cells; > Qt::HANDLE x_colormap; > bool x_defcolormap; > void* x_visual; > bool x_defvisual; >}; > > > > > > > >inline int QPaintDevice::devType() const >{ return devFlags & QInternal::DeviceTypeMask; } > >inline bool QPaintDevice::isExtDev() const >{ return (devFlags & QInternal::ExternalDevice) != 0; } > >inline bool QPaintDevice::paintingActive() const >{ return painters != 0; } > > >inline Display *QPaintDevice::x11Display() const >{ return x11Data ? x11Data->x_display : x_appdisplay; } > >inline int QPaintDevice::x11Screen() const >{ return x11Data ? x11Data->x_screen : x_appscreen; } > >inline int QPaintDevice::x11Depth() const >{ return x11Data ? x11Data->x_depth : x_appdepth; } > >inline int QPaintDevice::x11Cells() const >{ return x11Data ? x11Data->x_cells : x_appcells; } > >inline Qt::HANDLE QPaintDevice::x11Colormap() const >{ return x11Data ? x11Data->x_colormap : x_appcolormap; } > >inline bool QPaintDevice::x11DefaultColormap() const >{ return x11Data ? x11Data->x_defcolormap : x_appdefcolormap; } > >inline void *QPaintDevice::x11Visual() const >{ return x11Data ? x11Data->x_visual : x_appvisual; } > >inline bool QPaintDevice::x11DefaultVisual() const >{ return x11Data ? x11Data->x_defvisual : x_appdefvisual; } > >inline Display *QPaintDevice::x11AppDisplay() >{ return x_appdisplay; } > >inline int QPaintDevice::x11AppScreen() >{ return x_appscreen; } > >inline int QPaintDevice::x11AppDepth( int screen ) >{ return x_appdepth_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline int QPaintDevice::x11AppCells( int screen ) >{ return x_appcells_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline Qt::HANDLE QPaintDevice::x11AppRootWindow( int screen ) >{ return x_approotwindow_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline Qt::HANDLE QPaintDevice::x11AppColormap( int screen ) >{ return x_appcolormap_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline bool QPaintDevice::x11AppDefaultColormap( int screen ) >{ return x_appdefcolormap_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline void *QPaintDevice::x11AppVisual( int screen ) >{ return x_appvisual_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline bool QPaintDevice::x11AppDefaultVisual( int screen ) >{ return x_appdefvisual_arr[ screen == -1 ? x_appscreen : screen ]; } > >inline int QPaintDevice::x11AppDepth() >{ return x_appdepth; } > >inline int QPaintDevice::x11AppCells() >{ return x_appcells; } > >inline Qt::HANDLE QPaintDevice::x11AppRootWindow() >{ return x_approotwindow; } > >inline Qt::HANDLE QPaintDevice::x11AppColormap() >{ return x_appcolormap; } > >inline bool QPaintDevice::x11AppDefaultColormap() >{ return x_appdefcolormap; } > >inline void *QPaintDevice::x11AppVisual() >{ return x_appvisual; } > >inline bool QPaintDevice::x11AppDefaultVisual() >{ return x_appdefvisual; } > > > > >__attribute__((visibility("default"))) >inline void bitBlt( QPaintDevice *dst, const QPoint &dp, > const QPaintDevice *src, const QRect &sr =QRect(0,0,-1,-1), > Qt::RasterOp rop=Qt::CopyROP, bool ignoreMask=FALSE ) >{ > bitBlt( dst, dp.x(), dp.y(), src, sr.x(), sr.y(), sr.width(), sr.height(), > rop, ignoreMask ); >} ># 45 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qpalette.h" 1 ># 43 "/usr/qt/3/include/qpalette.h" > ># 1 "/usr/qt/3/include/qcolor.h" 1 ># 43 "/usr/qt/3/include/qcolor.h" > ># 1 "/usr/qt/3/include/qstringlist.h" 1 ># 44 "/usr/qt/3/include/qstringlist.h" > ># 1 "/usr/qt/3/include/qstrlist.h" 1 ># 43 "/usr/qt/3/include/qstrlist.h" > ># 1 "/usr/qt/3/include/qptrlist.h" 1 ># 40 "/usr/qt/3/include/qptrlist.h" > ># 1 "/usr/qt/3/include/qglist.h" 1 ># 42 "/usr/qt/3/include/qglist.h" > ># 1 "/usr/qt/3/include/qptrcollection.h" 1 ># 40 "/usr/qt/3/include/qptrcollection.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 41 "/usr/qt/3/include/qptrcollection.h" 2 > > > >class QGVector; >class QGList; >class QGDict; > > >class __attribute__((visibility("default"))) QPtrCollection >{ >public: > bool autoDelete() const { return del_item; } > void setAutoDelete( bool enable ) { del_item = enable; } > > virtual uint count() const = 0; > virtual void clear() = 0; > > typedef void *Item; > >protected: > QPtrCollection() { del_item = FALSE; } > QPtrCollection(const QPtrCollection &) { del_item = FALSE; } > virtual ~QPtrCollection() {} > > bool del_item; > > virtual Item newItem( Item ); > virtual void deleteItem( Item ) = 0; >}; ># 43 "/usr/qt/3/include/qglist.h" 2 > > >class __attribute__((visibility("default"))) QLNode >{ >friend class QGList; >friend class QGListIterator; >friend class QGListStdIterator; >public: > QPtrCollection::Item getData() { return data; } >private: > QPtrCollection::Item data; > QLNode *prev; > QLNode *next; > QLNode( QPtrCollection::Item d ) { data = d; } >}; > >class QGListIteratorList; > >class __attribute__((visibility("default"))) QGList : public QPtrCollection >{ >friend class QGListIterator; >friend class QGListIteratorList; >friend class QGVector; >public: > uint count() const; > > > QDataStream &read( QDataStream & ); > QDataStream &write( QDataStream & ) const; > >protected: > QGList(); > QGList( const QGList & ); > virtual ~QGList(); > > QGList &operator=( const QGList & ); > bool operator==( const QGList& ) const; > > void inSort( QPtrCollection::Item ); > void append( QPtrCollection::Item ); > bool insertAt( uint index, QPtrCollection::Item ); > void relinkNode( QLNode * ); > bool removeNode( QLNode * ); > bool remove( QPtrCollection::Item = 0 ); > bool removeRef( QPtrCollection::Item = 0 ); > bool removeFirst(); > bool removeLast(); > bool removeAt( uint ); > bool replaceAt( uint, QPtrCollection::Item ); > QPtrCollection::Item takeNode( QLNode * ); > QPtrCollection::Item take(); > QPtrCollection::Item takeAt( uint index ); > QPtrCollection::Item takeFirst(); > QPtrCollection::Item takeLast(); > > void sort(); > void clear(); > > int findRef( QPtrCollection::Item, bool = TRUE ); > int find( QPtrCollection::Item, bool = TRUE ); > > uint containsRef( QPtrCollection::Item ) const; > uint contains( QPtrCollection::Item ) const; > > QPtrCollection::Item at( uint index ); > int at() const; > QLNode *currentNode() const; > > QPtrCollection::Item get() const; > > QPtrCollection::Item cfirst() const; > QPtrCollection::Item clast() const; > QPtrCollection::Item first(); > QPtrCollection::Item last(); > QPtrCollection::Item next(); > QPtrCollection::Item prev(); > > void toVector( QGVector * ) const; > > virtual int compareItems( QPtrCollection::Item, QPtrCollection::Item ); > > > virtual QDataStream &read( QDataStream &, QPtrCollection::Item & ); > virtual QDataStream &write( QDataStream &, QPtrCollection::Item ) const; > > > QLNode* begin() const { return firstNode; } > QLNode* end() const { return 0; } > QLNode* erase( QLNode* it ); > >private: > void prepend( QPtrCollection::Item ); > > void heapSortPushDown( QPtrCollection::Item* heap, int first, int last ); > > QLNode *firstNode; > QLNode *lastNode; > QLNode *curNode; > int curIndex; > uint numNodes; > QGListIteratorList *iterators; > > QLNode *locate( uint ); > QLNode *unlink(); >}; > > >inline uint QGList::count() const >{ > return numNodes; >} > >inline bool QGList::removeFirst() >{ > first(); > return remove(); >} > >inline bool QGList::removeLast() >{ > last(); > return remove(); >} > >inline int QGList::at() const >{ > return curIndex; >} > >inline QPtrCollection::Item QGList::at( uint index ) >{ > QLNode *n = locate( index ); > return n ? n->data : 0; >} > >inline QLNode *QGList::currentNode() const >{ > return curNode; >} > >inline QPtrCollection::Item QGList::get() const >{ > return curNode ? curNode->data : 0; >} > >inline QPtrCollection::Item QGList::cfirst() const >{ > return firstNode ? firstNode->data : 0; >} > >inline QPtrCollection::Item QGList::clast() const >{ > return lastNode ? lastNode->data : 0; >} > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QGList & ); >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QGList & ); > > > > > > >class __attribute__((visibility("default"))) QGListIterator >{ >friend class QGList; >friend class QGListIteratorList; >protected: > QGListIterator( const QGList & ); > QGListIterator( const QGListIterator & ); > QGListIterator &operator=( const QGListIterator & ); > ~QGListIterator(); > > bool atFirst() const; > bool atLast() const; > QPtrCollection::Item toFirst(); > QPtrCollection::Item toLast(); > > QPtrCollection::Item get() const; > QPtrCollection::Item operator()(); > QPtrCollection::Item operator++(); > QPtrCollection::Item operator+=(uint); > QPtrCollection::Item operator--(); > QPtrCollection::Item operator-=(uint); > >protected: > QGList *list; > >private: > QLNode *curNode; >}; > > >inline bool QGListIterator::atFirst() const >{ > return curNode == list->firstNode; >} > >inline bool QGListIterator::atLast() const >{ > return curNode == list->lastNode; >} > >inline QPtrCollection::Item QGListIterator::get() const >{ > return curNode ? curNode->data : 0; >} > >class __attribute__((visibility("default"))) QGListStdIterator >{ >public: > inline QGListStdIterator( QLNode* n ) : node( n ){} > inline operator QLNode* () { return node; } >protected: > inline QLNode *next() { return node->next; } > QLNode *node; >}; ># 41 "/usr/qt/3/include/qptrlist.h" 2 > > >template<class type> >class QPtrListStdIterator : public QGListStdIterator >{ >public: > inline QPtrListStdIterator( QLNode* n ): QGListStdIterator(n) {} > type *operator*() { return node ? (type *)node->getData() : 0; } > inline QPtrListStdIterator<type> operator++() > { node = next(); return *this; } > inline QPtrListStdIterator<type> operator++(int) > { QLNode* n = node; node = next(); return QPtrListStdIterator<type>( n ); } > inline bool operator==( const QPtrListStdIterator<type>& it ) const { return node == it.node; } > inline bool operator!=( const QPtrListStdIterator<type>& it ) const { return node != it.node; } >}; > > >template<class type> >class QPtrList > > > > : public QGList > >{ >public: > > QPtrList() {} > QPtrList( const QPtrList<type> &l ) : QGList(l) {} > ~QPtrList() { clear(); } > QPtrList<type> &operator=(const QPtrList<type> &l) > { return (QPtrList<type>&)QGList::operator=(l); } > bool operator==( const QPtrList<type> &list ) const > { return QGList::operator==( list ); } > bool operator!=( const QPtrList<type> &list ) const > { return !QGList::operator==( list ); } > uint count() const { return QGList::count(); } > bool isEmpty() const { return QGList::count() == 0; } > bool insert( uint i, const type *d){ return QGList::insertAt(i,(QPtrCollection::Item)d); } > void inSort( const type *d ) { QGList::inSort((QPtrCollection::Item)d); } > void prepend( const type *d ) { QGList::insertAt(0,(QPtrCollection::Item)d); } > void append( const type *d ) { QGList::append((QPtrCollection::Item)d); } > bool remove( uint i ) { return QGList::removeAt(i); } > bool remove() { return QGList::remove((QPtrCollection::Item)0); } > bool remove( const type *d ) { return QGList::remove((QPtrCollection::Item)d); } > bool removeRef( const type *d ) { return QGList::removeRef((QPtrCollection::Item)d); } > void removeNode( QLNode *n ) { QGList::removeNode(n); } > bool removeFirst() { return QGList::removeFirst(); } > bool removeLast() { return QGList::removeLast(); } > type *take( uint i ) { return (type *)QGList::takeAt(i); } > type *take() { return (type *)QGList::take(); } > type *takeNode( QLNode *n ) { return (type *)QGList::takeNode(n); } > void clear() { QGList::clear(); } > void sort() { QGList::sort(); } > int find( const type *d ) { return QGList::find((QPtrCollection::Item)d); } > int findNext( const type *d ) { return QGList::find((QPtrCollection::Item)d,FALSE); } > int findRef( const type *d ) { return QGList::findRef((QPtrCollection::Item)d); } > int findNextRef( const type *d ){ return QGList::findRef((QPtrCollection::Item)d,FALSE);} > uint contains( const type *d ) const { return QGList::contains((QPtrCollection::Item)d); } > uint containsRef( const type *d ) const > { return QGList::containsRef((QPtrCollection::Item)d); } > bool replace( uint i, const type *d ) { return QGList::replaceAt( i, (QPtrCollection::Item)d ); } > type *at( uint i ) { return (type *)QGList::at(i); } > int at() const { return QGList::at(); } > type *current() const { return (type *)QGList::get(); } > QLNode *currentNode() const { return QGList::currentNode(); } > type *getFirst() const { return (type *)QGList::cfirst(); } > type *getLast() const { return (type *)QGList::clast(); } > type *first() { return (type *)QGList::first(); } > type *last() { return (type *)QGList::last(); } > type *next() { return (type *)QGList::next(); } > type *prev() { return (type *)QGList::prev(); } > void toVector( QGVector *vec )const{ QGList::toVector(vec); } > > > > typedef QPtrListStdIterator<type> Iterator; > typedef QPtrListStdIterator<type> ConstIterator; > inline Iterator begin() { return QGList::begin(); } > inline ConstIterator begin() const { return QGList::begin(); } > inline ConstIterator constBegin() const { return QGList::begin(); } > inline Iterator end() { return QGList::end(); } > inline ConstIterator end() const { return QGList::end(); } > inline ConstIterator constEnd() const { return QGList::end(); } > inline Iterator erase( Iterator it ) { return QGList::erase( it ); } > > typedef Iterator iterator; > typedef ConstIterator const_iterator; ># 138 "/usr/qt/3/include/qptrlist.h" >private: > void deleteItem( Item d ); >}; > > >template<> inline void QPtrList<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QPtrList<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QPtrListIterator : public QGListIterator >{ >public: > QPtrListIterator(const QPtrList<type> &l) :QGListIterator((QGList &)l) {} > ~QPtrListIterator() {} > uint count() const { return list->count(); } > bool isEmpty() const { return list->count() == 0; } > bool atFirst() const { return QGListIterator::atFirst(); } > bool atLast() const { return QGListIterator::atLast(); } > type *toFirst() { return (type *)QGListIterator::toFirst(); } > type *toLast() { return (type *)QGListIterator::toLast(); } > operator type *() const { return (type *)QGListIterator::get(); } > type *operator*() { return (type *)QGListIterator::get(); } > > > > > > > > type *current() const { return (type *)QGListIterator::get(); } > type *operator()() { return (type *)QGListIterator::operator()();} > type *operator++() { return (type *)QGListIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGListIterator::operator+=(j);} > type *operator--() { return (type *)QGListIterator::operator--(); } > type *operator-=(uint j) { return (type *)QGListIterator::operator-=(j);} > QPtrListIterator<type>& operator=(const QPtrListIterator<type>&it) > { QGListIterator::operator=(it); return *this; } >}; ># 191 "/usr/qt/3/include/qptrlist.h" ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 191 "/usr/qt/3/include/qptrlist.h" 2 ># 44 "/usr/qt/3/include/qstrlist.h" 2 ># 52 "/usr/qt/3/include/qstrlist.h" >typedef QPtrListIterator<char> QStrListIterator; > > >class __attribute__((visibility("default"))) QStrList : public QPtrList<char> >{ >public: > QStrList( bool deepCopies=TRUE ) { dc = deepCopies; del_item = deepCopies; } > QStrList( const QStrList & ); > ~QStrList() { clear(); } > QStrList& operator=( const QStrList & ); > >private: > QPtrCollection::Item newItem( QPtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; } > void deleteItem( QPtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; } > int compareItems( QPtrCollection::Item s1, QPtrCollection::Item s2 ) { return qstrcmp((const char*)s1, > (const char*)s2); } > > QDataStream &read( QDataStream &s, QPtrCollection::Item &d ) > { s >> (char *&)d; return s; } > QDataStream &write( QDataStream &s, QPtrCollection::Item d ) const > { return s << (const char *)d; } > > bool dc; >}; > > >class __attribute__((visibility("default"))) QStrIList : public QStrList >{ >public: > QStrIList( bool deepCopies=TRUE ) : QStrList( deepCopies ) {} > ~QStrIList() { clear(); } >private: > int compareItems( QPtrCollection::Item s1, QPtrCollection::Item s2 ) > { return qstricmp((const char*)s1, > (const char*)s2); } >}; > > >inline QStrList & QStrList::operator=( const QStrList &strList ) >{ > clear(); > dc = strList.dc; > del_item = dc; > QPtrList<char>::operator=( strList ); > return *this; >} > >inline QStrList::QStrList( const QStrList &strList ) > : QPtrList<char>( strList ) >{ > dc = FALSE; > operator=( strList ); >} ># 45 "/usr/qt/3/include/qstringlist.h" 2 > > > > >class QRegExp; >template <class T> class QDeepCopy; > > > > > > > >class __attribute__((visibility("default"))) QStringList : public QValueList<QString> >{ >public: > QStringList() { } > QStringList( const QStringList& l ) : QValueList<QString>(l) { } > QStringList( const QValueList<QString>& l ) : QValueList<QString>(l) { } > QStringList( const QString& i ) { append(i); } > > QStringList( const char* i ) { append(i); } > > > static QStringList fromStrList(const QStrList&); > > void sort(); > > static QStringList split( const QString &sep, const QString &str, bool allowEmptyEntries = FALSE ); > static QStringList split( const QChar &sep, const QString &str, bool allowEmptyEntries = FALSE ); > > static QStringList split( const QRegExp &sep, const QString &str, bool allowEmptyEntries = FALSE ); > > QString join( const QString &sep ) const; > > QStringList grep( const QString &str, bool cs = TRUE ) const; > > QStringList grep( const QRegExp &expr ) const; > > > QStringList& gres( const QString &before, const QString &after, > bool cs = TRUE ); > > QStringList& gres( const QRegExp &expr, const QString &after ); > > >protected: > void detach() { QValueList<QString>::detach(); } > friend class QDeepCopy< QStringList >; >}; > > >class QDataStream; >extern __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QStringList& ); >extern __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QStringList& ); ># 44 "/usr/qt/3/include/qcolor.h" 2 > > >const QRgb RGB_MASK = 0x00ffffff; > >__attribute__((visibility("default"))) inline int qRed( QRgb rgb ) >{ return (int)((rgb >> 16) & 0xff); } > >__attribute__((visibility("default"))) inline int qGreen( QRgb rgb ) >{ return (int)((rgb >> 8) & 0xff); } > >__attribute__((visibility("default"))) inline int qBlue( QRgb rgb ) >{ return (int)(rgb & 0xff); } > >__attribute__((visibility("default"))) inline int qAlpha( QRgb rgb ) >{ return (int)((rgb >> 24) & 0xff); } > >__attribute__((visibility("default"))) inline QRgb qRgb( int r, int g, int b ) >{ return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } > >__attribute__((visibility("default"))) inline QRgb qRgba( int r, int g, int b, int a ) >{ return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } > >__attribute__((visibility("default"))) inline int qGray( int r, int g, int b ) >{ return (r*11+g*16+b*5)/32; } > >__attribute__((visibility("default"))) inline int qGray( QRgb rgb ) >{ return qGray( qRed(rgb), qGreen(rgb), qBlue(rgb) ); } > > >class __attribute__((visibility("default"))) QColor >{ >public: > enum Spec { Rgb, Hsv }; > > QColor(); > QColor( int r, int g, int b ); > QColor( int x, int y, int z, Spec ); > QColor( QRgb rgb, uint pixel=0xffffffff); > QColor( const QString& name ); > QColor( const char *name ); > QColor( const QColor & ); > QColor &operator=( const QColor & ); > > bool isValid() const; > bool isDirty() const; > QString name() const; > void setNamedColor( const QString& name ); > > QRgb rgb() const; > void setRgb( int r, int g, int b ); > void setRgb( QRgb rgb ); > void getRgb( int *r, int *g, int *b ) const { rgb( r, g, b ); } > void rgb( int *r, int *g, int *b ) const; > > int red() const; > int green() const; > int blue() const; > > void setHsv( int h, int s, int v ); > void getHsv( int *h, int *s, int *v ) const { hsv( h, s, v ); } > void hsv( int *h, int *s, int *v ) const; > void getHsv( int &h, int &s, int &v ) const { hsv( &h, &s, &v ); } > > QColor light( int f = 150 ) const; > QColor dark( int f = 200 ) const; > > bool operator==( const QColor &c ) const; > bool operator!=( const QColor &c ) const; > > uint alloc(); > uint pixel() const; > > > > uint alloc( int screen ); > uint pixel( int screen ) const; > > > static int maxColors(); > static int numBitPlanes(); > > static int enterAllocContext(); > static void leaveAllocContext(); > static int currentAllocContext(); > static void destroyAllocContext( int ); ># 138 "/usr/qt/3/include/qcolor.h" > static void initialize(); > static void cleanup(); > > static QStringList colorNames(); > > enum { Dirt = 0x44495254, Invalid = 0x49000000 }; > >private: > void setSystemNamedColor( const QString& name ); > void setPixel( uint pixel ); > static void initGlobalColors(); > static uint argbToPix32(QRgb); > static QColor* globalColors(); > static bool color_init; > static bool globals_init; > > > > static enum ColorModel { d8, d32 } colormodel; > union { > QRgb argb; > struct D8 { > QRgb argb; > uchar pix; > uchar invalid; > uchar dirty; > uchar direct; > } d8; > struct D32 { > QRgb argb; > uint pix; > bool invalid() const { return argb == QColor::Invalid && pix == QColor::Dirt; } > bool probablyDirty() const { return pix == QColor::Dirt; } > } d32; > } d; >}; > > >inline QColor::QColor() >{ d.d32.argb = Invalid; d.d32.pix = Dirt; } > >inline QColor::QColor( int r, int g, int b ) >{ > d.d32.argb = Invalid; > d.d32.pix = Dirt; > setRgb( r, g, b ); >} > >inline QRgb QColor::rgb() const >{ return d.argb; } > >inline int QColor::red() const >{ return qRed(d.argb); } > >inline int QColor::green() const >{ return qGreen(d.argb); } > >inline int QColor::blue() const >{ return qBlue(d.argb); } > >inline bool QColor::isValid() const >{ > if ( colormodel == d8 ) > return !d.d8.invalid; > else > return !d.d32.invalid(); >} > >inline bool QColor::operator==( const QColor &c ) const >{ > return d.argb == c.d.argb && isValid() == c.isValid(); >} > >inline bool QColor::operator!=( const QColor &c ) const >{ > return !operator==(c); >} > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QColor & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QColor & ); ># 44 "/usr/qt/3/include/qpalette.h" 2 > > ># 1 "/usr/qt/3/include/qbrush.h" 1 ># 47 "/usr/qt/3/include/qbrush.h" >class __attribute__((visibility("default"))) QBrush: public Qt >{ >friend class QPainter; >public: > QBrush(); > QBrush( BrushStyle ); > QBrush( const QColor &, BrushStyle=SolidPattern ); > QBrush( const QColor &, const QPixmap & ); > QBrush( const QBrush & ); > ~QBrush(); > QBrush &operator=( const QBrush & ); > > BrushStyle style() const { return data->style; } > void setStyle( BrushStyle ); > const QColor &color()const { return data->color; } > void setColor( const QColor & ); > QPixmap *pixmap() const { return data->pixmap; } > void setPixmap( const QPixmap & ); > > bool operator==( const QBrush &p ) const; > bool operator!=( const QBrush &b ) const > { return !(operator==(b)); } > >private: > QBrush copy() const; > void detach(); > void init( const QColor &, BrushStyle ); > struct QBrushData : public QShared { > BrushStyle style; > QColor color; > QPixmap *pixmap; > } *data; >}; > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QBrush & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QBrush & ); ># 46 "/usr/qt/3/include/qpalette.h" 2 > > > > >class QColorGroupPrivate; > >class __attribute__((visibility("default"))) QColorGroup >{ >public: > QColorGroup(); > QColorGroup( const QColor &foreground, const QColor &button, > const QColor &light, const QColor &dark, const QColor &mid, > const QColor &text, const QColor &base ); > QColorGroup( const QBrush &foreground, const QBrush &button, > const QBrush &light, const QBrush &dark, const QBrush &mid, > const QBrush &text, const QBrush &bright_text, > const QBrush &base, const QBrush &background); > QColorGroup( const QColorGroup & ); > > ~QColorGroup(); > > QColorGroup& operator =(const QColorGroup&); > > > enum ColorRole { Foreground, Button, Light, Midlight, Dark, Mid, > Text, BrightText, ButtonText, Base, Background, Shadow, > Highlight, HighlightedText, Link, LinkVisited, > NColorRoles }; > > const QColor &color( ColorRole ) const; > const QBrush &brush( ColorRole ) const; > void setColor( ColorRole, const QColor & ); > void setBrush( ColorRole, const QBrush & ); > > const QColor &foreground() const { return br[Foreground].color(); } > const QColor &button() const { return br[Button].color(); } > const QColor &light() const { return br[Light].color(); } > const QColor &dark() const { return br[Dark].color(); } > const QColor &mid() const { return br[Mid].color(); } > const QColor &text() const { return br[Text].color(); } > const QColor &base() const { return br[Base].color(); } > const QColor &background() const { return br[Background].color(); } > > const QColor &midlight() const { return br[Midlight].color(); } > const QColor &brightText() const { return br[BrightText].color(); } > const QColor &buttonText() const { return br[ButtonText].color(); } > const QColor &shadow() const { return br[Shadow].color(); } > const QColor &highlight() const { return br[Highlight].color(); } > const QColor &highlightedText() const{return br[HighlightedText].color(); } > const QColor &link() const { return br[Link].color(); } > const QColor &linkVisited() const { return br[LinkVisited].color(); } > > bool operator==( const QColorGroup &g ) const; > bool operator!=( const QColorGroup &g ) const > { return !(operator==(g)); } > >private: > QBrush *br; > QColorGroupPrivate * d; > > friend class QPalette; >}; > > >class __attribute__((visibility("default"))) QPalette >{ >public: > QPalette(); > QPalette( const QColor &button ); > QPalette( const QColor &button, const QColor &background ); > QPalette( const QColorGroup &active, const QColorGroup &disabled, > const QColorGroup &inactive ); > QPalette( const QPalette & ); > ~QPalette(); > QPalette &operator=( const QPalette & ); > > enum ColorGroup { Disabled, Active, Inactive, NColorGroups, Normal=Active }; > > const QColor &color( ColorGroup, QColorGroup::ColorRole ) const; > const QBrush &brush( ColorGroup, QColorGroup::ColorRole ) const; > void setColor( ColorGroup, QColorGroup::ColorRole, const QColor & ); > void setBrush( ColorGroup, QColorGroup::ColorRole, const QBrush & ); > > void setColor( QColorGroup::ColorRole, const QColor & ); > void setBrush( QColorGroup::ColorRole, const QBrush & ); > > QPalette copy() const; > > const QColorGroup &active() const { return data->active; } > const QColorGroup &disabled() const { return data->disabled; } > const QColorGroup &inactive() const { return data->inactive; } > > > > > void setActive( const QColorGroup & ); > void setDisabled( const QColorGroup & ); > void setInactive( const QColorGroup & ); > > > > > bool operator==( const QPalette &p ) const; > bool operator!=( const QPalette &p ) const > { return !(operator==(p)); } > bool isCopyOf( const QPalette & ); > > int serialNumber() const { return data->ser_no; } > > > static QColorGroup::ColorRole foregroundRoleFromMode( Qt::BackgroundMode mode ); > static QColorGroup::ColorRole backgroundRoleFromMode( Qt::BackgroundMode mode); > >private: > void detach(); > const QBrush &directBrush( ColorGroup, QColorGroup::ColorRole ) const; > void directSetBrush( ColorGroup, QColorGroup::ColorRole, const QBrush& ); > > struct QPalData : public QShared { > QColorGroup disabled; > QColorGroup active; > int ser_no; > QColorGroup inactive; > } *data; >}; > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QColorGroup & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QColorGroup & ); > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QPalette & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QPalette & ); ># 46 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qfont.h" 1 ># 47 "/usr/qt/3/include/qfont.h" >class QFontPrivate; >class QStringList; >class QTextFormatCollection; > >class __attribute__((visibility("default"))) QFont >{ >public: > enum StyleHint { > Helvetica, SansSerif = Helvetica, > Times, Serif = Times, > Courier, TypeWriter = Courier, > OldEnglish, Decorative = OldEnglish, > System, > AnyStyle > }; > > enum StyleStrategy { > PreferDefault = 0x0001, > PreferBitmap = 0x0002, > PreferDevice = 0x0004, > PreferOutline = 0x0008, > ForceOutline = 0x0010, > PreferMatch = 0x0020, > PreferQuality = 0x0040, > PreferAntialias = 0x0080, > NoAntialias = 0x0100, > OpenGLCompatible = 0x0200 > }; > > enum Weight { > Light = 25, > Normal = 50, > DemiBold = 63, > Bold = 75, > Black = 87 > }; > > enum Stretch { > UltraCondensed = 50, > ExtraCondensed = 62, > Condensed = 75, > SemiCondensed = 87, > Unstretched = 100, > SemiExpanded = 112, > Expanded = 125, > ExtraExpanded = 150, > UltraExpanded = 200 > }; > > > QFont(); > > > > > > QFont( const QString &family, int pointSize = -1, int weight = -1, > bool italic = FALSE ); > > > QFont( const QFont & ); > > ~QFont(); > > QString family() const; > void setFamily( const QString &); > > int pointSize() const; > float pointSizeFloat() const; > void setPointSize( int ); > void setPointSizeFloat( float ); > > int pixelSize() const; > void setPixelSize( int ); > void setPixelSizeFloat( float ); > > int weight() const; > void setWeight( int ); > > bool bold() const; > void setBold( bool ); > > bool italic() const; > void setItalic( bool ); > > bool underline() const; > void setUnderline( bool ); > > bool overline() const; > void setOverline( bool ); > > bool strikeOut() const; > void setStrikeOut( bool ); > > bool fixedPitch() const; > void setFixedPitch( bool ); > > StyleHint styleHint() const; > StyleStrategy styleStrategy() const; > void setStyleHint( StyleHint, StyleStrategy = PreferDefault ); > void setStyleStrategy( StyleStrategy s ); > > int stretch() const; > void setStretch( int ); > > > bool rawMode() const; > void setRawMode( bool ); > > > bool exactMatch() const; > > QFont &operator=( const QFont & ); > bool operator==( const QFont & ) const; > bool operator!=( const QFont & ) const; > bool isCopyOf( const QFont & ) const; > > > > > > Qt::HANDLE handle() const; > > > > > void setRawName( const QString & ); > QString rawName() const; > > QString key() const; > > QString toString() const; > bool fromString(const QString &); > > > static QString substitute(const QString &); > static QStringList substitutes(const QString &); > static QStringList substitutions(); > static void insertSubstitution(const QString&, const QString &); > static void insertSubstitutions(const QString&, const QStringList &); > static void removeSubstitution(const QString &); > > static void initialize(); > static void cleanup(); > > static void cacheStatistics(); ># 203 "/usr/qt/3/include/qfont.h" > enum Script { > > Latin, > Greek, > Cyrillic, > Armenian, > Georgian, > Runic, > Ogham, > SpacingModifiers, > CombiningMarks, > > > Hebrew, > Arabic, > Syriac, > Thaana, > > > Devanagari, > Bengali, > Gurmukhi, > Gujarati, > Oriya, > Tamil, > Telugu, > Kannada, > Malayalam, > Sinhala, > Thai, > Lao, > Tibetan, > Myanmar, > Khmer, > > > Han, > Hiragana, > Katakana, > Hangul, > Bopomofo, > Yi, > > > Ethiopic, > Cherokee, > CanadianAboriginal, > Mongolian, > > > CurrencySymbols, > LetterlikeSymbols, > NumberForms, > MathematicalOperators, > TechnicalSymbols, > GeometricSymbols, > MiscellaneousSymbols, > EnclosedAndSquare, > Braille, > > Unicode, > > > Tagalog, > Hanunoo, > Buhid, > Tagbanwa, > > KatakanaHalfWidth, > > > Limbu, > TaiLe, > > > > NScripts, > UnknownScript = NScripts, > > NoScript, > > > > > > Han_Japanese, > Han_SimplifiedChinese, > Han_TraditionalChinese, > Han_Korean, > > LastPrivateScript > > }; > > QString defaultFamily() const; > QString lastResortFamily() const; > QString lastResortFont() const; ># 308 "/usr/qt/3/include/qfont.h" > QFont resolve( const QFont & ) const; > >protected: > > bool dirty() const; > int deciPointSize() const; > >private: > QFont( QFontPrivate *, QPaintDevice *pd ); > > void detach(); > > > > > void x11SetScreen( int screen = -1 ); > int x11Screen() const; > > > friend class QFontMetrics; > friend class QFontInfo; > friend class QPainter; > friend class QPSPrinterFont; > friend class QApplication; > friend class QWidget; > friend class QTextFormatCollection; > friend class QTextLayout; > friend class QTextItem; > friend class QGLContext; > > friend Qt::HANDLE qt_xft_handle(const QFont &font); > > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QFont & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QFont & ); > > > QFontPrivate *d; >}; > > >inline bool QFont::bold() const >{ return weight() > Normal; } > > >inline void QFont::setBold( bool enable ) >{ setWeight( enable ? Bold : Normal ); } ># 364 "/usr/qt/3/include/qfont.h" >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QFont & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QFont & ); ># 47 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qfontmetrics.h" 1 ># 50 "/usr/qt/3/include/qfontmetrics.h" >class QTextCodec; >class QTextParag; > >class __attribute__((visibility("default"))) QFontMetrics >{ >public: > QFontMetrics( const QFont & ); > QFontMetrics( const QFont &, QFont::Script ); > QFontMetrics( const QFontMetrics & ); > ~QFontMetrics(); > > QFontMetrics &operator=( const QFontMetrics & ); > > int ascent() const; > int descent() const; > int height() const; > int leading() const; > int lineSpacing() const; > int minLeftBearing() const; > int minRightBearing() const; > int maxWidth() const; > > bool inFont(QChar) const; > > int leftBearing(QChar) const; > int rightBearing(QChar) const; > int width( const QString &, int len = -1 ) const; > > int width( QChar ) const; > > > > > int charWidth( const QString &str, int pos ) const; > QRect boundingRect( const QString &, int len = -1 ) const; > QRect boundingRect( QChar ) const; > QRect boundingRect( int x, int y, int w, int h, int flags, > const QString& str, int len=-1, int tabstops=0, > int *tabarray=0, QTextParag **intern=0 ) const; > QSize size( int flags, > const QString& str, int len=-1, int tabstops=0, > int *tabarray=0, QTextParag **intern=0 ) const; > > int underlinePos() const; > int overlinePos() const; > int strikeOutPos() const; > int lineWidth() const; > >private: > QFontMetrics( const QPainter * ); > > friend class QWidget; > friend class QPainter; > friend class QTextFormat; > > > > > QFontPrivate *d; > QPainter *painter; > int fscript; >}; ># 48 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qfontinfo.h" 1 ># 46 "/usr/qt/3/include/qfontinfo.h" >class __attribute__((visibility("default"))) QFontInfo >{ >public: > QFontInfo( const QFont & ); > QFontInfo( const QFont &, QFont::Script ); > QFontInfo( const QFontInfo & ); > ~QFontInfo(); > > QFontInfo &operator=( const QFontInfo & ); > > QString family() const; > int pixelSize() const; > int pointSize() const; > bool italic() const; > int weight() const; > bool bold() const; > bool underline() const; > bool overline() const; > bool strikeOut() const; > bool fixedPitch() const; > QFont::StyleHint styleHint() const; > bool rawMode() const; > > bool exactMatch() const; > > >private: > QFontInfo( const QPainter * ); > > QFontPrivate *d; > QPainter *painter; > int fscript; > > friend class QWidget; > friend class QPainter; >}; > > >inline bool QFontInfo::bold() const >{ return weight() > QFont::Normal; } ># 49 "/usr/qt/3/include/qwidget.h" 2 > ># 1 "/usr/qt/3/include/qsizepolicy.h" 1 ># 42 "/usr/qt/3/include/qsizepolicy.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qsizepolicy.h" 2 > > > > >class __attribute__((visibility("default"))) QSizePolicy >{ >private: > enum SizePolicy_Internal { HSize = 6, HMask = 0x3f, VMask = HMask << HSize, > MayGrow = 1, ExpMask = 2, MayShrink = 4 }; >public: > enum SizeType { Fixed = 0, > Minimum = MayGrow, > Maximum = MayShrink, > Preferred = MayGrow | MayShrink, > MinimumExpanding = MayGrow | ExpMask, > Expanding = MayGrow | MayShrink | ExpMask, > Ignored = ExpMask }; > > enum ExpandData { NoDirection = 0, > Horizontally = 1, > Vertically = 2, > > > > > BothDirections = Horizontally | Vertically }; > > QSizePolicy() : data( 0 ) { } > > QSizePolicy( SizeType hor, SizeType ver, bool hfw = FALSE ) > : data( hor | (ver<<HSize) | (hfw ? (Q_UINT32)(1<<2*HSize) : 0) ) { } > QSizePolicy( SizeType hor, SizeType ver, uchar hors, uchar vers, bool hfw = FALSE ); > > SizeType horData() const { return (SizeType)( data & HMask ); } > SizeType verData() const { return (SizeType)( (data & VMask) >> HSize ); } > > bool mayShrinkHorizontally() const { return horData() & MayShrink || horData() == Ignored; } > bool mayShrinkVertically() const { return verData() & MayShrink || verData() == Ignored; } > bool mayGrowHorizontally() const { return horData() & MayGrow || horData() == Ignored; } > bool mayGrowVertically() const { return verData() & MayGrow || verData() == Ignored; } > > ExpandData expanding() const > { > return (ExpandData)( (int)(verData() & ExpMask ? Vertically : 0) | > (int)(horData() & ExpMask ? Horizontally : 0) ); > } > > void setHorData( SizeType d ) { data = (Q_UINT32)(data & ~HMask) | d; } > void setVerData( SizeType d ) { data = (Q_UINT32)(data & ~(HMask << HSize)) | > (d << HSize); } > > void setHeightForWidth( bool b ) { data = b ? (Q_UINT32)( data | ( 1 << 2*HSize ) ) > : (Q_UINT32)( data & ~( 1 << 2*HSize ) ); } > bool hasHeightForWidth() const { return data & ( 1 << 2*HSize ); } > > bool operator==( const QSizePolicy& s ) const { return data == s.data; } > bool operator!=( const QSizePolicy& s ) const { return data != s.data; } > > > uint horStretch() const { return data >> 24; } > uint verStretch() const { return (data >> 16) & 0xff; } > void setHorStretch( uchar sf ) { data = (data&0x00ffffff) | (uint(sf)<<24); } > void setVerStretch( uchar sf ) { data = (data&0xff00ffff) | (uint(sf)<<16); } > inline void transpose(); > >private: > QSizePolicy( int i ) : data( (Q_UINT32)i ) { } > > Q_UINT32 data; >}; > >inline QSizePolicy::QSizePolicy( SizeType hor, SizeType ver, uchar hors, uchar vers, bool hfw ) > : data( hor | (ver<<HSize) | (hfw ? (Q_UINT32)(1<<2*HSize) : 0) ) { > setHorStretch( hors ); > setVerStretch( vers ); >} > >inline void QSizePolicy::transpose() { > *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), > hasHeightForWidth() ); >} ># 50 "/usr/qt/3/include/qwidget.h" 2 > > >class QLayout; >struct QWExtra; >struct QTLWExtra; >class QFocusData; >class QCursor; >class QWSRegionManager; >class QStyle; > >class __attribute__((visibility("default"))) QWidget : public QObject, public QPaintDevice >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 134 "/usr/qt/3/include/qwidget.h" >public: > explicit QWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); > ~QWidget(); > > WId winId() const; > void setName( const char *name ); > > > > QStyle &style() const; > void setStyle( QStyle * ); > QStyle* setStyle( const QString& ); > > > > bool isTopLevel() const; > bool isDialog() const; > bool isPopup() const; > bool isDesktop() const; > bool isModal() const; > > bool isEnabled() const; > bool isEnabledTo(QWidget*) const; > bool isEnabledToTLW() const; > >public : > virtual void setEnabled( bool ); > void setDisabled( bool ); > > > >public: > QRect frameGeometry() const; > const QRect &geometry() const; > int x() const; > int y() const; > QPoint pos() const; > QSize frameSize() const; > QSize size() const; > int width() const; > int height() const; > QRect rect() const; > QRect childrenRect() const; > QRegion childrenRegion() const; > > QSize minimumSize() const; > QSize maximumSize() const; > int minimumWidth() const; > int minimumHeight() const; > int maximumWidth() const; > int maximumHeight() const; > void setMinimumSize( const QSize & ); > virtual void setMinimumSize( int minw, int minh ); > void setMaximumSize( const QSize & ); > virtual void setMaximumSize( int maxw, int maxh ); > void setMinimumWidth( int minw ); > void setMinimumHeight( int minh ); > void setMaximumWidth( int maxw ); > void setMaximumHeight( int maxh ); > > QSize sizeIncrement() const; > void setSizeIncrement( const QSize & ); > virtual void setSizeIncrement( int w, int h ); > QSize baseSize() const; > void setBaseSize( const QSize & ); > void setBaseSize( int basew, int baseh ); > > void setFixedSize( const QSize & ); > void setFixedSize( int w, int h ); > void setFixedWidth( int w ); > void setFixedHeight( int h ); > > > > QPoint mapToGlobal( const QPoint & ) const; > QPoint mapFromGlobal( const QPoint & ) const; > QPoint mapToParent( const QPoint & ) const; > QPoint mapFromParent( const QPoint & ) const; > QPoint mapTo( QWidget *, const QPoint & ) const; > QPoint mapFrom( QWidget *, const QPoint & ) const; > > QWidget *topLevelWidget() const; > > > > BackgroundMode backgroundMode() const; > virtual void setBackgroundMode( BackgroundMode ); > void setBackgroundMode( BackgroundMode, BackgroundMode ); > > const QColor & foregroundColor() const; > > const QColor & eraseColor() const; > virtual void setEraseColor( const QColor & ); > > const QPixmap * erasePixmap() const; > virtual void setErasePixmap( const QPixmap & ); > > > const QColorGroup & colorGroup() const; > const QPalette & palette() const; > bool ownPalette() const; > virtual void setPalette( const QPalette & ); > void unsetPalette(); > > > const QColor & paletteForegroundColor() const; > void setPaletteForegroundColor( const QColor & ); > > const QColor & paletteBackgroundColor() const; > virtual void setPaletteBackgroundColor( const QColor & ); > > const QPixmap * paletteBackgroundPixmap() const; > virtual void setPaletteBackgroundPixmap( const QPixmap & ); > > const QBrush& backgroundBrush() const; > > QFont font() const; > bool ownFont() const; > virtual void setFont( const QFont & ); > void unsetFont(); > QFontMetrics fontMetrics() const; > QFontInfo fontInfo() const; > > > const QCursor &cursor() const; > bool ownCursor() const; > virtual void setCursor( const QCursor & ); > virtual void unsetCursor(); > > > QString caption() const; > const QPixmap *icon() const; > QString iconText() const; > > bool hasMouseTracking() const; > bool hasMouse() const; > > virtual void setMask( const QBitmap & ); > virtual void setMask( const QRegion & ); > void clearMask(); > > const QColor & backgroundColor() const; > virtual void setBackgroundColor( const QColor & ); > const QPixmap * backgroundPixmap() const; > virtual void setBackgroundPixmap( const QPixmap & ); > >public : > > virtual void setCaption( const QString &); > virtual void setIcon( const QPixmap & ); > virtual void setIconText( const QString &); > > virtual void setMouseTracking( bool enable ); > > > > virtual void setFocus(); > void clearFocus(); > >public: > enum FocusPolicy { > NoFocus = 0, > TabFocus = 0x1, > ClickFocus = 0x2, > StrongFocus = TabFocus | ClickFocus | 0x8, > WheelFocus = StrongFocus | 0x4 > }; > > bool isActiveWindow() const; > virtual void setActiveWindow(); > bool isFocusEnabled() const; > > FocusPolicy focusPolicy() const; > virtual void setFocusPolicy( FocusPolicy ); > bool hasFocus() const; > static void setTabOrder( QWidget *, QWidget * ); > virtual void setFocusProxy( QWidget * ); > QWidget * focusProxy() const; > > void setInputMethodEnabled( bool b ); > bool isInputMethodEnabled() const; > > > void grabMouse(); > > void grabMouse( const QCursor & ); > > void releaseMouse(); > void grabKeyboard(); > void releaseKeyboard(); > static QWidget * mouseGrabber(); > static QWidget * keyboardGrabber(); > > > > bool isUpdatesEnabled() const; > > > > >public : > virtual void setUpdatesEnabled( bool enable ); > void update(); > void update( int x, int y, int w, int h ); > void update( const QRect& ); > void repaint(); > void repaint( bool erase ); > void repaint( int x, int y, int w, int h, bool erase=TRUE ); > void repaint( const QRect &, bool erase = TRUE ); > void repaint( const QRegion &, bool erase = TRUE ); > > > > virtual void show(); > virtual void hide(); > void setShown( bool show ); > void setHidden( bool hide ); > > > > virtual void showMinimized(); > virtual void showMaximized(); > void showFullScreen(); > virtual void showNormal(); > virtual void polish(); > void constPolish() const; > bool close(); > > void raise(); > void lower(); > void stackUnder( QWidget* ); > virtual void move( int x, int y ); > void move( const QPoint & ); > virtual void resize( int w, int h ); > void resize( const QSize & ); > virtual void setGeometry( int x, int y, int w, int h ); > virtual void setGeometry( const QRect & ); > >public: > virtual bool close( bool alsoDelete ); > bool isVisible() const; > bool isVisibleTo(QWidget*) const; > bool isVisibleToTLW() const; > QRect visibleRect() const; > bool isHidden() const; > bool isShown() const; > bool isMinimized() const; > bool isMaximized() const; > bool isFullScreen() const; > > uint windowState() const; > void setWindowState(uint windowState); > > virtual QSize sizeHint() const; > virtual QSize minimumSizeHint() const; > virtual QSizePolicy sizePolicy() const; > virtual void setSizePolicy( QSizePolicy ); > void setSizePolicy( QSizePolicy::SizeType hor, QSizePolicy::SizeType ver, bool hfw = FALSE ); > virtual int heightForWidth(int) const; > > QRegion clipRegion() const; > > >public : > virtual void adjustSize(); > >public: > > QLayout * layout() const { return lay_out; } > > void updateGeometry(); > virtual void reparent( QWidget *parent, WFlags, const QPoint &, > bool showIt=FALSE ); > void reparent( QWidget *parent, const QPoint &, > bool showIt=FALSE ); > > > > > > void erase(); > void erase( int x, int y, int w, int h ); > void erase( const QRect & ); > void erase( const QRegion & ); > void scroll( int dx, int dy ); > void scroll( int dx, int dy, const QRect& ); > > void drawText( int x, int y, const QString &); > void drawText( const QPoint &, const QString &); > > > > QWidget * focusWidget() const; > QRect microFocusHint() const; > > > > bool acceptDrops() const; > virtual void setAcceptDrops( bool on ); > > > > virtual void setAutoMask(bool); > bool autoMask() const; > > enum BackgroundOrigin { WidgetOrigin, ParentOrigin, WindowOrigin, AncestorOrigin }; > > virtual void setBackgroundOrigin( BackgroundOrigin ); > BackgroundOrigin backgroundOrigin() const; > QPoint backgroundOffset() const; > > > virtual bool customWhatsThis() const; > > QWidget * parentWidget( bool sameWindow = FALSE ) const; > WState testWState( WState s ) const; > WFlags testWFlags( WFlags f ) const; > static QWidget * find( WId ); > static QWidgetMapper *wmapper(); > > QWidget *childAt( int x, int y, bool includeThis = FALSE ) const; > QWidget *childAt( const QPoint &, bool includeThis = FALSE ) const; ># 468 "/usr/qt/3/include/qwidget.h" > void setWindowOpacity(double level); > double windowOpacity() const; > >protected: > > bool event( QEvent * ); > virtual void mousePressEvent( QMouseEvent * ); > virtual void mouseReleaseEvent( QMouseEvent * ); > virtual void mouseDoubleClickEvent( QMouseEvent * ); > virtual void mouseMoveEvent( QMouseEvent * ); > > virtual void wheelEvent( QWheelEvent * ); > > virtual void keyPressEvent( QKeyEvent * ); > virtual void keyReleaseEvent( QKeyEvent * ); > virtual void focusInEvent( QFocusEvent * ); > virtual void focusOutEvent( QFocusEvent * ); > virtual void enterEvent( QEvent * ); > virtual void leaveEvent( QEvent * ); > virtual void paintEvent( QPaintEvent * ); > virtual void moveEvent( QMoveEvent * ); > virtual void resizeEvent( QResizeEvent * ); > virtual void closeEvent( QCloseEvent * ); > virtual void contextMenuEvent( QContextMenuEvent * ); > virtual void imStartEvent( QIMEvent * ); > virtual void imComposeEvent( QIMEvent * ); > virtual void imEndEvent( QIMEvent * ); > virtual void tabletEvent( QTabletEvent * ); > > > virtual void dragEnterEvent( QDragEnterEvent * ); > virtual void dragMoveEvent( QDragMoveEvent * ); > virtual void dragLeaveEvent( QDragLeaveEvent * ); > virtual void dropEvent( QDropEvent * ); > > > virtual void showEvent( QShowEvent * ); > virtual void hideEvent( QHideEvent * ); ># 514 "/usr/qt/3/include/qwidget.h" > virtual bool x11Event( XEvent * ); > > > > > > > > virtual void updateMask(); > > > > > virtual void styleChange( QStyle& ); > > virtual void enabledChange( bool oldEnabled ); > > virtual void paletteChange( const QPalette & ); > > virtual void fontChange( const QFont & ); > virtual void windowActivationChange( bool oldActive ); > > int metric( int ) const; > > void resetInputContext(); > > virtual void create( WId = 0, bool initializeWindow = TRUE, > bool destroyOldWindow = TRUE ); > virtual void destroy( bool destroyWindow = TRUE, > bool destroySubWindows = TRUE ); > uint getWState() const; > virtual void setWState( uint ); > void clearWState( uint n ); > WFlags getWFlags() const; > virtual void setWFlags( WFlags ); > void clearWFlags( WFlags n ); > > virtual bool focusNextPrevChild( bool next ); > > QWExtra *extraData(); > QTLWExtra *topData(); > QFocusData *focusData(); > > virtual void setKeyCompression(bool); > virtual void setMicroFocusHint(int x, int y, int w, int h, bool text=TRUE, QFont *f = 0); ># 567 "/usr/qt/3/include/qwidget.h" >private : > void focusProxyDestroyed(); > >private: > void setFontSys( QFont *f = 0 ); > > void createInputContext(); > void destroyInputContext(); > void focusInputContext(); > void checkChildrenDnd(); ># 597 "/usr/qt/3/include/qwidget.h" > void setLayout( QLayout *l ); > > void setWinId( WId ); > void showWindow(); > void hideWindow(); > void showChildren( bool spontaneous ); > void hideChildren( bool spontaneous ); > void reparentSys( QWidget *parent, WFlags, const QPoint &, bool showIt); > void createTLExtra(); > void createExtra(); > void deleteExtra(); > void createSysExtra(); > void deleteSysExtra(); > void createTLSysExtra(); > void deleteTLSysExtra(); > void deactivateWidgetCleanup(); > void internalSetGeometry( int, int, int, int, bool ); > void reparentFocusWidgets( QWidget * ); > QFocusData *focusData( bool create ); > void setBackgroundFromMode(); > void setBackgroundColorDirect( const QColor & ); > void setBackgroundPixmapDirect( const QPixmap & ); > void setBackgroundModeDirect( BackgroundMode ); > void setBackgroundEmpty(); > void updateFrameStrut() const; > > void setBackgroundX11Relative(); > > > WId winid; > uint widget_state; > uint widget_flags; > uint focus_policy : 4; > uint own_font :1; > uint own_palette :1; > uint sizehint_forced :1; > uint is_closing :1; > uint in_show : 1; > uint in_show_maximized : 1; > uint fstrut_dirty : 1; > uint im_enabled : 1; > QRect crect; > QColor bg_col; > > QPalette pal; > > QFont fnt; > > QLayout *lay_out; > > QWExtra *extra; ># 678 "/usr/qt/3/include/qwidget.h" > static int instanceCounter; > static int maxInstances; > > static void createMapper(); > static void destroyMapper(); > static QWidgetList *wList(); > static QWidgetList *tlwList(); > static QWidgetMapper *mapper; > friend class QApplication; > friend class QBaseApplication; > friend class QPainter; > friend class QFontMetrics; > friend class QFontInfo; > friend class QETWidget; > friend class QLayout; > >private: > > QWidget( const QWidget & ); > QWidget &operator=( const QWidget & ); > > >public: > > void setPalette( const QPalette &p, bool ) { setPalette( p ); } > > void setFont( const QFont &f, bool ) { setFont( f ); } >}; > > >inline Qt::WState QWidget::testWState( WState s ) const >{ return (widget_state & s); } > >inline Qt::WFlags QWidget::testWFlags( WFlags f ) const >{ return (widget_flags & f); } > > >inline WId QWidget::winId() const >{ return winid; } > >inline bool QWidget::isTopLevel() const >{ return testWFlags(WType_TopLevel); } > >inline bool QWidget::isDialog() const >{ return testWFlags(WType_Dialog); } > >inline bool QWidget::isPopup() const >{ return testWFlags(WType_Popup); } > >inline bool QWidget::isDesktop() const >{ return testWFlags(WType_Desktop); } > >inline bool QWidget::isEnabled() const >{ return !testWState(WState_Disabled); } > >inline bool QWidget::isModal() const >{ return testWFlags(WShowModal); } > >inline bool QWidget::isEnabledToTLW() const >{ return isEnabled(); } > >inline const QRect &QWidget::geometry() const >{ return crect; } > >inline QSize QWidget::size() const >{ return crect.size(); } > >inline int QWidget::width() const >{ return crect.width(); } > >inline int QWidget::height() const >{ return crect.height(); } > >inline QRect QWidget::rect() const >{ return QRect(0,0,crect.width(),crect.height()); } > >inline int QWidget::minimumWidth() const >{ return minimumSize().width(); } > >inline int QWidget::minimumHeight() const >{ return minimumSize().height(); } > >inline int QWidget::maximumWidth() const >{ return maximumSize().width(); } > >inline int QWidget::maximumHeight() const >{ return maximumSize().height(); } > >inline void QWidget::setMinimumSize( const QSize &s ) >{ setMinimumSize(s.width(),s.height()); } > >inline void QWidget::setMaximumSize( const QSize &s ) >{ setMaximumSize(s.width(),s.height()); } > >inline void QWidget::setSizeIncrement( const QSize &s ) >{ setSizeIncrement(s.width(),s.height()); } > >inline void QWidget::setBaseSize( const QSize &s ) >{ setBaseSize(s.width(),s.height()); } > >inline const QColor &QWidget::eraseColor() const >{ return bg_col; } > > >inline const QPalette &QWidget::palette() const >{ return pal; } > > >inline QFont QWidget::font() const >{ return fnt; } > >inline QFontMetrics QWidget::fontMetrics() const >{ return QFontMetrics(font()); } > >inline QFontInfo QWidget::fontInfo() const >{ return QFontInfo(font()); } > >inline bool QWidget::hasMouseTracking() const >{ return testWState(WState_MouseTracking); } > >inline bool QWidget::hasMouse() const >{ return testWState(WState_HasMouse); } > >inline bool QWidget::isFocusEnabled() const >{ return (FocusPolicy)focus_policy != NoFocus; } > >inline QWidget::FocusPolicy QWidget::focusPolicy() const >{ return (FocusPolicy)focus_policy; } > >inline bool QWidget::isUpdatesEnabled() const >{ return !testWState(WState_BlockUpdates); } > >inline void QWidget::update( const QRect &r ) >{ update( r.x(), r.y(), r.width(), r.height() ); } > >inline void QWidget::repaint() >{ repaint( TRUE ); } > >inline void QWidget::repaint( const QRect &r, bool erase ) >{ repaint( r.x(), r.y(), r.width(), r.height(), erase ); } > >inline void QWidget::erase() >{ erase( 0, 0, crect.width(), crect.height() ); } > >inline void QWidget::erase( const QRect &r ) >{ erase( r.x(), r.y(), r.width(), r.height() ); } > >inline bool QWidget::close() >{ return close( FALSE ); } > >inline bool QWidget::isVisible() const >{ return testWState(WState_Visible); } > >inline bool QWidget::isVisibleToTLW() const >{ return isVisible(); } > >inline bool QWidget::isHidden() const >{ return testWState(WState_ForceHide); } > >inline bool QWidget::isShown() const >{ return !testWState(WState_ForceHide); } > >inline void QWidget::move( const QPoint &p ) >{ move( p.x(), p.y() ); } > >inline void QWidget::resize( const QSize &s ) >{ resize( s.width(), s.height()); } > >inline void QWidget::setGeometry( const QRect &r ) >{ setGeometry( r.left(), r.top(), r.width(), r.height() ); } > >inline void QWidget::drawText( const QPoint &p, const QString &s ) >{ drawText( p.x(), p.y(), s ); } > >inline QWidget *QWidget::parentWidget( bool sameWindow ) const >{ > if ( sameWindow ) > return isTopLevel() ? 0 : (QWidget *)QObject::parent(); > return (QWidget *)QObject::parent(); >} > >inline QWidgetMapper *QWidget::wmapper() >{ return mapper; } > >inline uint QWidget::getWState() const >{ return widget_state; } > >inline void QWidget::setWState( uint f ) >{ widget_state |= f; } > >inline void QWidget::clearWState( uint f ) >{ widget_state &= ~f; } > >inline Qt::WFlags QWidget::getWFlags() const >{ return widget_flags; } > >inline void QWidget::setWFlags( WFlags f ) >{ widget_flags |= f; } > >inline void QWidget::clearWFlags( WFlags f ) >{ widget_flags &= ~f; } > >inline void QWidget::constPolish() const >{ > if ( !testWState(WState_Polished) ) { > QWidget* that = (QWidget*) this; > that->polish(); > that->setWState(WState_Polished); > } >} > >inline bool QWidget::ownCursor() const >{ > return testWState( WState_OwnCursor ); >} > >inline bool QWidget::ownFont() const >{ > return own_font; >} > >inline bool QWidget::ownPalette() const >{ > return own_palette; >} > > >inline void QWidget::setSizePolicy( QSizePolicy::SizeType hor, QSizePolicy::SizeType ver, bool hfw ) >{ > setSizePolicy( QSizePolicy( hor, ver, hfw) ); >} > >inline bool QWidget::isInputMethodEnabled() const >{ > return (bool)im_enabled; >} > > > > > >class QFocusData; >class QWSManager; > > > > > > > >struct __attribute__((visibility("default"))) QTLWExtra { > > QString caption; > QString iconText; > QPixmap *icon; > > QFocusData *focusData; > short incw, inch; > > ulong fleft, fright, ftop, fbottom; > uint unused : 8; > > > > uint savedFlags; > short basew, baseh; > > WId parentWinId; > uint embedded : 1; > uint spont_unmapped: 1; > uint reserved: 1; > uint dnd : 1; > uint uspos : 1; > uint ussize : 1; > void *xic; ># 966 "/usr/qt/3/include/qwidget.h" > QRect normalGeometry; >}; > > > > > > >struct __attribute__((visibility("default"))) QWExtra { > Q_INT16 minw, minh; > Q_INT16 maxw, maxh; > QPixmap *bg_pix; > QWidget *focus_proxy; > > QCursor *curs; > > QTLWExtra *topextra; > > > > > WId xDndProxy; ># 1000 "/usr/qt/3/include/qwidget.h" > uint bg_origin : 2; > > uint children_use_dnd : 1; > uint compress_events : 1; > > > > > char bg_mode; > char bg_mode_visual; > > QStyle* style; > > QRect micro_focus_hint; > QSizePolicy size_policy; >}; > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 1019 "/usr/qt/3/include/qwidget.h" 2 ># 41 "/usr/qt/3/include/qdesktopwidget.h" 2 > > >class QApplication; >class QDesktopWidgetPrivate; > >class __attribute__((visibility("default"))) QDesktopWidget : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > QDesktopWidget(); > ~QDesktopWidget(); > > bool isVirtualDesktop() const; > > int numScreens() const; > int primaryScreen() const; > > int screenNumber( QWidget *widget = 0 ) const; > int screenNumber( const QPoint & ) const; > > QWidget *screen( int screen = -1 ); > > const QRect& screenGeometry( int screen = -1 ) const; > const QRect& screenGeometry( QWidget *widget ) const > { return screenGeometry( screenNumber( widget ) ); } > const QRect& screenGeometry( const QPoint &point ) const > { return screenGeometry( screenNumber( point ) ); } > > const QRect& availableGeometry( int screen = -1 ) const; > const QRect& availableGeometry( QWidget *widget ) const > { return availableGeometry( screenNumber( widget ) ); } > const QRect& availableGeometry( const QPoint &point ) const > { return availableGeometry( screenNumber( point ) ); } > > void insertChild( QObject * ); > >protected: > void resized( int ); > void workAreaResized( int ); > >protected: > void resizeEvent( QResizeEvent *e ); > >private: > QDesktopWidgetPrivate *d; > > > QDesktopWidget( const QDesktopWidget & ); > QDesktopWidget &operator=( const QDesktopWidget & ); > > > friend class QApplication; > > > >}; ># 43 "/usr/qt/3/include/qapplication.h" 2 > ># 1 "/usr/qt/3/include/qasciidict.h" 1 ># 42 "/usr/qt/3/include/qasciidict.h" > ># 1 "/usr/qt/3/include/qgdict.h" 1 ># 46 "/usr/qt/3/include/qgdict.h" >class QGDictIterator; >class QGDItList; > > >class QBaseBucket >{ >public: > QPtrCollection::Item getData() { return data; } > QPtrCollection::Item setData( QPtrCollection::Item d ) { return data = d; } > QBaseBucket *getNext() { return next; } > void setNext( QBaseBucket *n) { next = n; } >protected: > QBaseBucket( QPtrCollection::Item d, QBaseBucket *n ) : data(d), next(n) {} > QPtrCollection::Item data; > QBaseBucket *next; >}; > >class QStringBucket : public QBaseBucket >{ >public: > QStringBucket( const QString &k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > const QString &getKey() const { return key; } >private: > QString key; >}; > >class QAsciiBucket : public QBaseBucket >{ >public: > QAsciiBucket( const char *k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > const char *getKey() const { return key; } >private: > const char *key; >}; > >class QIntBucket : public QBaseBucket >{ >public: > QIntBucket( long k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > long getKey() const { return key; } >private: > long key; >}; > >class QPtrBucket : public QBaseBucket >{ >public: > QPtrBucket( void *k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > void *getKey() const { return key; } >private: > void *key; >}; > > >class __attribute__((visibility("default"))) QGDict : public QPtrCollection >{ >public: > uint count() const { return numItems; } > uint size() const { return vlen; } > QPtrCollection::Item look_string( const QString& key, QPtrCollection::Item, > int ); > QPtrCollection::Item look_ascii( const char *key, QPtrCollection::Item, int ); > QPtrCollection::Item look_int( long key, QPtrCollection::Item, int ); > QPtrCollection::Item look_ptr( void *key, QPtrCollection::Item, int ); > > QDataStream &read( QDataStream & ); > QDataStream &write( QDataStream & ) const; > >protected: > enum KeyType { StringKey, AsciiKey, IntKey, PtrKey }; > > QGDict( uint len, KeyType kt, bool cs, bool ck ); > QGDict( const QGDict & ); > ~QGDict(); > > QGDict &operator=( const QGDict & ); > > bool remove_string( const QString &key, QPtrCollection::Item item=0 ); > bool remove_ascii( const char *key, QPtrCollection::Item item=0 ); > bool remove_int( long key, QPtrCollection::Item item=0 ); > bool remove_ptr( void *key, QPtrCollection::Item item=0 ); > QPtrCollection::Item take_string( const QString &key ); > QPtrCollection::Item take_ascii( const char *key ); > QPtrCollection::Item take_int( long key ); > QPtrCollection::Item take_ptr( void *key ); > > void clear(); > void resize( uint ); > > int hashKeyString( const QString & ); > int hashKeyAscii( const char * ); > > void statistics() const; > > > virtual QDataStream &read( QDataStream &, QPtrCollection::Item & ); > virtual QDataStream &write( QDataStream &, QPtrCollection::Item ) const; > >private: > QBaseBucket **vec; > uint vlen; > uint numItems; > uint keytype : 2; > uint cases : 1; > uint copyk : 1; > QGDItList *iterators; > void unlink_common( int, QBaseBucket *, QBaseBucket * ); > QStringBucket *unlink_string( const QString &, > QPtrCollection::Item item = 0 ); > QAsciiBucket *unlink_ascii( const char *, QPtrCollection::Item item = 0 ); > QIntBucket *unlink_int( long, QPtrCollection::Item item = 0 ); > QPtrBucket *unlink_ptr( void *, QPtrCollection::Item item = 0 ); > void init( uint, KeyType, bool, bool ); > friend class QGDictIterator; >}; > > >class __attribute__((visibility("default"))) QGDictIterator >{ >friend class QGDict; >public: > QGDictIterator( const QGDict & ); > QGDictIterator( const QGDictIterator & ); > QGDictIterator &operator=( const QGDictIterator & ); > ~QGDictIterator(); > > QPtrCollection::Item toFirst(); > > QPtrCollection::Item get() const; > QString getKeyString() const; > const char *getKeyAscii() const; > long getKeyInt() const; > void *getKeyPtr() const; > > QPtrCollection::Item operator()(); > QPtrCollection::Item operator++(); > QPtrCollection::Item operator+=(uint); > >protected: > QGDict *dict; > >private: > QBaseBucket *curNode; > uint curIndex; >}; > >inline QPtrCollection::Item QGDictIterator::get() const >{ > return curNode ? curNode->getData() : 0; >} > >inline QString QGDictIterator::getKeyString() const >{ > return curNode ? ((QStringBucket*)curNode)->getKey() : QString::null; >} > >inline const char *QGDictIterator::getKeyAscii() const >{ > return curNode ? ((QAsciiBucket*)curNode)->getKey() : 0; >} > >inline long QGDictIterator::getKeyInt() const >{ > return curNode ? ((QIntBucket*)curNode)->getKey() : 0; >} > >inline void *QGDictIterator::getKeyPtr() const >{ > return curNode ? ((QPtrBucket*)curNode)->getKey() : 0; >} ># 43 "/usr/qt/3/include/qasciidict.h" 2 > > >template<class type> >class QAsciiDict > > > > : public QGDict > >{ >public: > QAsciiDict(int size=17, bool caseSensitive=TRUE, bool copyKeys=TRUE ) > : QGDict(size,AsciiKey,caseSensitive,copyKeys) {} > QAsciiDict( const QAsciiDict<type> &d ) : QGDict(d) {} > ~QAsciiDict() { clear(); } > QAsciiDict<type> &operator=(const QAsciiDict<type> &d) > { return (QAsciiDict<type>&)QGDict::operator=(d); } > uint count() const { return QGDict::count(); } > uint size() const { return QGDict::size(); } > bool isEmpty() const { return QGDict::count() == 0; } > > void insert( const char *k, const type *d ) > { QGDict::look_ascii(k,(Item)d,1); } > void replace( const char *k, const type *d ) > { QGDict::look_ascii(k,(Item)d,2); } > bool remove( const char *k ) { return QGDict::remove_ascii(k); } > type *take( const char *k ) { return (type *)QGDict::take_ascii(k); } > type *find( const char *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ascii(k,0,0); } > type *operator[]( const char *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ascii(k,0,0); } > > void clear() { QGDict::clear(); } > void resize( uint n ) { QGDict::resize(n); } > void statistics() const { QGDict::statistics(); } > > > > > > > >private: > void deleteItem( Item d ); >}; > > >template<> inline void QAsciiDict<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QAsciiDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QAsciiDictIterator : public QGDictIterator >{ >public: > QAsciiDictIterator(const QAsciiDict<type> &d) > : QGDictIterator((QGDict &)d) {} > ~QAsciiDictIterator() {} > uint count() const { return dict->count(); } > bool isEmpty() const { return dict->count() == 0; } > type *toFirst() { return (type *)QGDictIterator::toFirst(); } > operator type *() const { return (type *)QGDictIterator::get(); } > type *current() const { return (type *)QGDictIterator::get(); } > const char *currentKey() const { return QGDictIterator::getKeyAscii(); } > type *operator()() { return (type *)QGDictIterator::operator()(); } > type *operator++() { return (type *)QGDictIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);} >}; > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 120 "/usr/qt/3/include/qasciidict.h" 2 ># 44 "/usr/qt/3/include/qapplication.h" 2 > > ># 1 "/usr/qt/3/include/qtranslator.h" 1 ># 46 "/usr/qt/3/include/qapplication.h" 2 > > > > >class QSessionManager; >class QStyle; >class QTranslator; >class QEventLoop; > > > > > >class QMutex; > > > >class QApplication; >extern __attribute__((visibility("default"))) QApplication *qApp; > > >class __attribute__((visibility("default"))) QApplication : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > QApplication( int &argc, char **argv ); > QApplication( int &argc, char **argv, bool GUIenabled ); > enum Type { Tty, GuiClient, GuiServer }; > QApplication( int &argc, char **argv, Type ); > > QApplication( Display* dpy, HANDLE visual = 0, HANDLE cmap = 0 ); > QApplication( Display *dpy, int argc, char **argv, > HANDLE visual = 0, HANDLE cmap= 0 ); > > virtual ~QApplication(); > > int argc() const; > char **argv() const; > > Type type() const; > > > static QStyle &style(); > static void setStyle( QStyle* ); > static QStyle* setStyle( const QString& ); > > > enum ColorMode { NormalColors, CustomColors }; > static ColorMode colorMode(); > static void setColorMode( QApplication::ColorMode ); > > > enum ColorSpec { NormalColor=0, CustomColor=1, ManyColor=2 }; > static int colorSpec(); > static void setColorSpec( int ); > > static QCursor *overrideCursor(); > static void setOverrideCursor( const QCursor &, bool replace=FALSE ); > static void restoreOverrideCursor(); > > static bool hasGlobalMouseTracking(); > static void setGlobalMouseTracking( bool enable ); > > static QPalette palette( const QWidget* = 0 ); > static void setPalette( const QPalette &, bool informWidgets=FALSE, > const char* className = 0 ); > > static QFont font( const QWidget* = 0 ); > static void setFont( const QFont &, bool informWidgets=FALSE, > const char* className = 0 ); > static QFontMetrics fontMetrics(); > > QWidget *mainWidget() const; > virtual void setMainWidget( QWidget * ); > virtual void polish( QWidget * ); > > static QWidgetList *allWidgets(); > static QWidgetList *topLevelWidgets(); > > static QDesktopWidget *desktop(); > > static QWidget *activePopupWidget(); > static QWidget *activeModalWidget(); > > static QClipboard *clipboard(); > > QWidget *focusWidget() const; > QWidget *activeWindow() const; > > static QWidget *widgetAt( int x, int y, bool child=FALSE ); > static QWidget *widgetAt( const QPoint &, bool child=FALSE ); > > static QEventLoop *eventLoop(); > > int exec(); > void processEvents(); > void processEvents( int maxtime ); > void processOneEvent(); > bool hasPendingEvents(); > int enter_loop(); > void exit_loop(); > int loopLevel() const; > static void exit( int retcode=0 ); > > static bool sendEvent( QObject *receiver, QEvent *event ); > static void postEvent( QObject *receiver, QEvent *event ); > static void sendPostedEvents( QObject *receiver, int event_type ); > static void sendPostedEvents(); > > static void removePostedEvents( QObject *receiver ); > > virtual bool notify( QObject *, QEvent * ); > > static bool startingUp(); > static bool closingDown(); > > static void flushX(); > static void flush(); > static void syncX(); > > static void beep(); ># 176 "/usr/qt/3/include/qapplication.h" > enum Encoding { DefaultCodec, UnicodeUTF8 }; > QString translate( const char * context, > const char * key, > const char * comment = 0, > Encoding encoding = DefaultCodec ) const; > > QString applicationDirPath(); > QString applicationFilePath(); > > > > static void setWinStyleHighlightColor( const QColor &c ) { > QPalette p( palette() ); > p.setColor( QColorGroup::Highlight, c ); > setPalette( p, TRUE); > } > static const QColor &winStyleHighlightColor() { > return palette().active().highlight(); > } > > static void setDesktopSettingsAware( bool ); > static bool desktopSettingsAware(); > > static void setCursorFlashTime( int ); > static int cursorFlashTime(); > > static void setDoubleClickInterval( int ); > static int doubleClickInterval(); > > static void setWheelScrollLines( int ); > static int wheelScrollLines(); > > static void setGlobalStrut( const QSize & ); > static QSize globalStrut(); > > > static void setLibraryPaths( const QStringList & ); > static QStringList libraryPaths(); > static void addLibraryPath( const QString & ); > static void removeLibraryPath( const QString & ); > > static void setStartDragTime( int ms ); > static int startDragTime(); > static void setStartDragDistance( int l ); > static int startDragDistance(); > > static void setReverseLayout( bool b ); > static bool reverseLayout(); > > static int horizontalAlignment( int align ); > > static bool isEffectEnabled( Qt::UIEffect ); > static void setEffectEnabled( Qt::UIEffect, bool enable = TRUE ); ># 237 "/usr/qt/3/include/qapplication.h" > virtual bool x11EventFilter( XEvent * ); > virtual int x11ClientMessage( QWidget*, XEvent*, bool passive_only); > int x11ProcessEvent( XEvent* ); ># 268 "/usr/qt/3/include/qapplication.h" > bool isSessionRestored() const; > QString sessionId() const; > QString sessionKey() const; > virtual void commitData( QSessionManager& sm ); > virtual void saveState( QSessionManager& sm ); > > > static void create_xim(); > static void close_xim(); > static bool x11_apply_settings(); > > void wakeUpGuiThread(); > > void lock(); > void unlock(bool wakeUpGui = TRUE); > bool locked(); > bool tryLock(); > > >protected: > void lastWindowClosed(); > void aboutToQuit(); > void guiThreadAwake(); > >public : > void quit(); > void closeAllWindows(); > void aboutQt(); > > > > > > >protected: > bool event(QEvent *); > >private: > void construct( int &argc, char **argv, Type ); > void initialize( int, char ** ); > void init_precmdline(); > void process_cmdline( int* argcptr, char ** argv ); > bool internalNotify( QObject *, QEvent * ); ># 332 "/usr/qt/3/include/qapplication.h" > static QMutex *qt_mutex; > > > int app_argc; > char **app_argv; > bool quit_now; > int quit_code; > static QStyle *app_style; > static int app_cspec; > > static QPalette *app_pal; > > static QFont *app_font; > > static QCursor *app_cursor; > > static QEventLoop* eventloop; > static int app_tracking; > static bool is_app_running; > static bool is_app_closing; > static bool app_exit_loop; > static int loop_level; > static QWidget *main_widget; > static QWidget *focus_widget; > static QWidget *active_window; > static bool obey_desktop_settings; > static int cursor_flash_time; > static int mouse_double_click_time; > static int wheel_scroll_lines; > static int composedUnicode; > > static bool animate_ui; > static bool animate_menu; > static bool animate_tooltip; > static bool animate_combo; > static bool fade_menu; > static bool fade_tooltip; > static bool animate_toolbox; > static bool widgetCount; > static bool metaComposeUnicode; > > QValueList<QTranslator*> *translators; > > QSessionManager *session_manager; > QString session_id; > static QString* session_key; > bool is_session_restored; > > > static void x11_initialize_style(); > > > static QSize app_strut; > > static QStringList *app_libpaths; > > static QAsciiDict<QPalette> *app_palettes; > static QAsciiDict<QFont> *app_fonts; > > static QWidgetList *popupWidgets; > bool inPopupMode() const; > void closePopup( QWidget *popup ); > void openPopup( QWidget *popup ); > void setActiveWindow( QWidget* act ); > > static bool sendSpontaneousEvent( QObject *receiver, QEvent *event ); > static void removePostedEvent( QEvent * ); > > friend class QWidget; > friend class QETWidget; > friend class QDialog; > friend class QAccelManager; > friend class QEvent; > friend class QTranslator; > friend class QEventLoop; > friend __attribute__((visibility("default"))) void qt_ucm_initialize( QApplication * ); > > > > > > >private: > > QApplication( const QApplication & ); > QApplication &operator=( const QApplication & ); > >}; > >inline int QApplication::argc() const >{ > return app_argc; >} > >inline char **QApplication::argv() const >{ > return app_argv; >} ># 440 "/usr/qt/3/include/qapplication.h" >inline QCursor *QApplication::overrideCursor() >{ > return app_cursor; >} > >inline bool QApplication::hasGlobalMouseTracking() >{ > return app_tracking > 0; >} > >inline QWidget *QApplication::mainWidget() const >{ > return main_widget; >} > >inline QWidget *QApplication::focusWidget() const >{ > return focus_widget; >} > >inline QWidget *QApplication::activeWindow() const >{ > return active_window; >} > >inline QWidget *QApplication::widgetAt( const QPoint &p, bool child ) >{ > return widgetAt( p.x(), p.y(), child ); >} > >inline bool QApplication::inPopupMode() const >{ > return popupWidgets != 0; >} > >inline bool QApplication::isSessionRestored() const >{ > return is_session_restored; >} > >inline QString QApplication::sessionId() const >{ > return session_id; >} > >inline QString QApplication::sessionKey() const >{ > return session_key ? *session_key : QString::null; >} > >inline QSize QApplication::globalStrut() >{ > return app_strut; >} > >inline bool QApplication::sendEvent( QObject *receiver, QEvent *event ) >{ if ( event ) event->spont = FALSE; return qApp ? qApp->notify( receiver, event ) : FALSE; } > >inline bool QApplication::sendSpontaneousEvent( QObject *receiver, QEvent *event ) >{ if ( event ) event->spont = TRUE; return qApp ? qApp->notify( receiver, event ) : FALSE; } > > > >inline QString QApplication::translate( const char *, const char *sourceText, > const char *, Encoding encoding ) const >{ > > if ( encoding == UnicodeUTF8 ) > return QString::fromUtf8( sourceText ); > else > > return QString::fromLatin1( sourceText ); >} > > >inline int QApplication::horizontalAlignment( int align ) >{ > align &= AlignHorizontal_Mask; > if ( align == AlignAuto ) { > if ( reverseLayout() ) > align = AlignRight; > else > align = AlignLeft; > } > return align; >} ># 20 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qwidget.h" 1 ># 21 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qstringlist.h" 1 ># 22 "kxinewidget.cpp" 2 > > ># 1 "/usr/qt/3/include/qtimer.h" 1 ># 46 "/usr/qt/3/include/qtimer.h" >class __attribute__((visibility("default"))) QTimer : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > QTimer( QObject *parent=0, const char *name=0 ); > ~QTimer(); > > bool isActive() const; > > int start( int msec, bool sshot = FALSE ); > void changeInterval( int msec ); > void stop(); > > static void singleShot( int msec, QObject *receiver, const char *member ); > > int timerId() const { return id; } > >protected: > void timeout(); > >protected: > bool event( QEvent * ); > >private: > int id; > uint single : 1; > uint nulltimer : 1; > >private: > > QTimer( const QTimer & ); > QTimer &operator=( const QTimer & ); > >}; > > >inline bool QTimer::isActive() const >{ > return id >= 0; >} ># 24 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qevent.h" 1 ># 25 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qthread.h" 1 ># 52 "/usr/qt/3/include/qthread.h" > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 53 "/usr/qt/3/include/qthread.h" 2 > >class QThreadInstance; > >class __attribute__((visibility("default"))) QThread : public Qt >{ >public: > static Qt::HANDLE currentThread(); > > > > > > static void initialize(); > static void cleanup(); > > static void exit(); > > > > > QThread( unsigned int stackSize ); > QThread(); > > > virtual ~QThread(); > > > bool wait( unsigned long time = (2147483647L * 2UL + 1UL) ); > > enum Priority { > IdlePriority, > > LowestPriority, > LowPriority, > NormalPriority, > HighPriority, > HighestPriority, > > TimeCriticalPriority, > > InheritPriority > }; > > > > > void start( Priority ); > void start(); > > > void terminate(); > > bool finished() const; > bool running() const; > >protected: > virtual void run() = 0; > > static void sleep( unsigned long ); > static void msleep( unsigned long ); > static void usleep( unsigned long ); > >private: > QThreadInstance * d; > friend class QThreadInstance; > > > QThread( const QThread & ); > QThread &operator=( const QThread & ); > >}; ># 26 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qdir.h" 1 ># 42 "/usr/qt/3/include/qdir.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qdir.h" 2 > > ># 1 "/usr/qt/3/include/qfileinfo.h" 1 ># 42 "/usr/qt/3/include/qfileinfo.h" > ># 1 "/usr/qt/3/include/qfile.h" 1 ># 47 "/usr/qt/3/include/qfile.h" >class QDir; >class QFilePrivate; > >class __attribute__((visibility("default"))) QFile : public QIODevice >{ >public: > QFile(); > QFile( const QString &name ); > ~QFile(); > > QString name() const; > void setName( const QString &name ); > > typedef QCString (*EncoderFn)( const QString &fileName ); > typedef QString (*DecoderFn)( const QCString &localfileName ); > static QCString encodeName( const QString &fileName ); > static QString decodeName( const QCString &localFileName ); > static void setEncodingFunction( EncoderFn ); > static void setDecodingFunction( DecoderFn ); > > bool exists() const; > static bool exists( const QString &fileName ); > > bool remove(); > static bool remove( const QString &fileName ); > > bool open( int ); > bool open( int, FILE * ); > bool open( int, int ); > void close(); > void flush(); > > Offset size() const; > Offset at() const; > bool at( Offset ); > bool atEnd() const; > > Q_LONG readBlock( char *data, Q_ULONG len ); > Q_LONG writeBlock( const char *data, Q_ULONG len ); > Q_LONG writeBlock( const QByteArray& data ) > { return QIODevice::writeBlock(data); } > Q_LONG readLine( char *data, Q_ULONG maxlen ); > Q_LONG readLine( QString &, Q_ULONG maxlen ); > > int getch(); > int putch( int ); > int ungetch( int ); > > int handle() const; > > QString errorString() const; > >protected: > void setErrorString( const QString& ); > QString fn; > FILE *fh; > int fd; > Offset length; > bool ext_f; > QFilePrivate *d; > >private: > void init(); > void setErrorStringErrno( int ); > QCString ungetchBuffer; > >private: > > QFile( const QFile & ); > QFile &operator=( const QFile & ); > >}; > > >inline QString QFile::name() const >{ return fn; } > >inline QIODevice::Offset QFile::at() const >{ return ioIndex; } ># 43 "/usr/qt/3/include/qfileinfo.h" 2 > ># 1 "/usr/qt/3/include/qdatetime.h" 1 ># 51 "/usr/qt/3/include/qdatetime.h" >class __attribute__((visibility("default"))) QDate >{ >public: > QDate() { jd = 0; } > QDate( int y, int m, int d ); > > bool isNull() const { return jd == 0; } > bool isValid() const; > > int year() const; > int month() const; > int day() const; > int dayOfWeek() const; > int dayOfYear() const; > int daysInMonth() const; > int daysInYear() const; > int weekNumber( int *yearNum = 0 ) const; > > > > > > > static QString shortMonthName( int month ); > static QString shortDayName( int weekday ); > static QString longMonthName( int month ); > static QString longDayName( int weekday ); > > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > bool setYMD( int y, int m, int d ); > > QDate addDays( int days ) const; > QDate addMonths( int months ) const; > QDate addYears( int years ) const; > int daysTo( const QDate & ) const; > > bool operator==( const QDate &d ) const { return jd == d.jd; } > bool operator!=( const QDate &d ) const { return jd != d.jd; } > bool operator<( const QDate &d ) const { return jd < d.jd; } > bool operator<=( const QDate &d ) const { return jd <= d.jd; } > bool operator>( const QDate &d ) const { return jd > d.jd; } > bool operator>=( const QDate &d ) const { return jd >= d.jd; } > > static QDate currentDate(); > static QDate currentDate( Qt::TimeSpec ); > > static QDate fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > > static bool isValid( int y, int m, int d ); > static bool leapYear( int year ); > > static uint gregorianToJulian( int y, int m, int d ); > static void julianToGregorian( uint jd, int &y, int &m, int &d ); >private: > uint jd; > friend class QDateTime; > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QDate & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QDate & ); > >}; > > > > > > >class __attribute__((visibility("default"))) QTime >{ >public: > QTime() { ds=0; } > QTime( int h, int m, int s=0, int ms=0 ); > > bool isNull() const { return ds == 0; } > bool isValid() const; > > int hour() const; > int minute() const; > int second() const; > int msec() const; > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > bool setHMS( int h, int m, int s, int ms=0 ); > > QTime addSecs( int secs ) const; > int secsTo( const QTime & ) const; > QTime addMSecs( int ms ) const; > int msecsTo( const QTime & ) const; > > bool operator==( const QTime &d ) const { return ds == d.ds; } > bool operator!=( const QTime &d ) const { return ds != d.ds; } > bool operator<( const QTime &d ) const { return ds < d.ds; } > bool operator<=( const QTime &d ) const { return ds <= d.ds; } > bool operator>( const QTime &d ) const { return ds > d.ds; } > bool operator>=( const QTime &d ) const { return ds >= d.ds; } > > static QTime currentTime(); > static QTime currentTime( Qt::TimeSpec ); > > static QTime fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > > static bool isValid( int h, int m, int s, int ms=0 ); > > void start(); > int restart(); > int elapsed() const; > >private: > static bool currentTime( QTime * ); > static bool currentTime( QTime *, Qt::TimeSpec ); > > uint ds; > friend class QDateTime; > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QTime & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QTime & ); > >}; > > > > > > >class __attribute__((visibility("default"))) QDateTime >{ >public: > QDateTime() {} > QDateTime( const QDate & ); > QDateTime( const QDate &, const QTime & ); > > bool isNull() const { return d.isNull() && t.isNull(); } > bool isValid() const { return d.isValid() && t.isValid(); } > > QDate date() const { return d; } > QTime time() const { return t; } > uint toTime_t() const; > void setDate( const QDate &date ) { d = date; } > void setTime( const QTime &time ) { t = time; } > void setTime_t( uint secsSince1Jan1970UTC ); > void setTime_t( uint secsSince1Jan1970UTC, Qt::TimeSpec ); > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > QDateTime addDays( int days ) const; > QDateTime addMonths( int months ) const; > QDateTime addYears( int years ) const; > QDateTime addSecs( int secs ) const; > int daysTo( const QDateTime & ) const; > int secsTo( const QDateTime & ) const; > > bool operator==( const QDateTime &dt ) const; > bool operator!=( const QDateTime &dt ) const; > bool operator<( const QDateTime &dt ) const; > bool operator<=( const QDateTime &dt ) const; > bool operator>( const QDateTime &dt ) const; > bool operator>=( const QDateTime &dt ) const; > > static QDateTime currentDateTime(); > static QDateTime currentDateTime( Qt::TimeSpec ); > > static QDateTime fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > >private: > QDate d; > QTime t; > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QDateTime &); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QDateTime & ); > >}; > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QDate & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QDate & ); >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QTime & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QTime & ); >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QDateTime & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QDateTime & ); ># 44 "/usr/qt/3/include/qfileinfo.h" 2 > > > >class QDir; >struct QFileInfoCache; >template <class T> class QDeepCopy; > > >class __attribute__((visibility("default"))) QFileInfo >{ >public: > enum PermissionSpec { > ReadOwner = 04000, WriteOwner = 02000, ExeOwner = 01000, > ReadUser = 00400, WriteUser = 00200, ExeUser = 00100, > ReadGroup = 00040, WriteGroup = 00020, ExeGroup = 00010, > ReadOther = 00004, WriteOther = 00002, ExeOther = 00001 }; > > QFileInfo(); > QFileInfo( const QString &file ); > QFileInfo( const QFile & ); > > QFileInfo( const QDir &, const QString &fileName ); > > QFileInfo( const QFileInfo & ); > ~QFileInfo(); > > QFileInfo &operator=( const QFileInfo & ); > > void setFile( const QString &file ); > void setFile( const QFile & ); > > void setFile( const QDir &, const QString &fileName ); > > bool exists() const; > void refresh() const; > bool caching() const; > void setCaching( bool ); > > QString filePath() const; > QString fileName() const; > > QString absFilePath() const; > > QString baseName( bool complete = FALSE ) const; > QString extension( bool complete = TRUE ) const; > > > QString dirPath( bool absPath = FALSE ) const; > > > QDir dir( bool absPath = FALSE ) const; > > bool isReadable() const; > bool isWritable() const; > bool isExecutable() const; > bool isHidden() const; > > > bool isRelative() const; > bool convertToAbs(); > > > bool isFile() const; > bool isDir() const; > bool isSymLink() const; > > QString readLink() const; > > QString owner() const; > uint ownerId() const; > QString group() const; > uint groupId() const; > > bool permission( int permissionSpec ) const; > > > > > > > uint size() const; > > > QDateTime created() const; > QDateTime lastModified() const; > QDateTime lastRead() const; > >private: > void doStat() const; > static void slashify( QString & ); > static void makeAbs( QString & ); > > QString fn; > QFileInfoCache *fic; > bool cache; > > bool symLink; > > > void detach(); > friend class QDeepCopy< QFileInfo >; >}; > > >inline bool QFileInfo::caching() const >{ > return cache; >} ># 45 "/usr/qt/3/include/qdir.h" 2 > > > > >typedef QPtrList<QFileInfo> QFileInfoList; >typedef QPtrListIterator<QFileInfo> QFileInfoListIterator; >class QStringList; >template <class T> class QDeepCopy; > > >class __attribute__((visibility("default"))) QDir >{ >public: > enum FilterSpec { Dirs = 0x001, > Files = 0x002, > Drives = 0x004, > NoSymLinks = 0x008, > All = 0x007, > TypeMask = 0x00F, > > Readable = 0x010, > Writable = 0x020, > Executable = 0x040, > RWEMask = 0x070, > > Modified = 0x080, > Hidden = 0x100, > System = 0x200, > AccessMask = 0x3F0, > > DefaultFilter = -1 }; > > enum SortSpec { Name = 0x00, > Time = 0x01, > Size = 0x02, > Unsorted = 0x03, > SortByMask = 0x03, > > DirsFirst = 0x04, > Reversed = 0x08, > IgnoreCase = 0x10, > LocaleAware = 0x20, > DefaultSort = -1 }; > > QDir(); > QDir( const QString &path, const QString &nameFilter = QString::null, > int sortSpec = Name | IgnoreCase, int filterSpec = All ); > QDir( const QDir & ); > > virtual ~QDir(); > > QDir &operator=( const QDir & ); > QDir &operator=( const QString &path ); > > virtual void setPath( const QString &path ); > virtual QString path() const; > virtual QString absPath() const; > virtual QString canonicalPath() const; > > virtual QString dirName() const; > virtual QString filePath( const QString &fileName, > bool acceptAbsPath = TRUE ) const; > virtual QString absFilePath( const QString &fileName, > bool acceptAbsPath = TRUE ) const; > > static QString convertSeparators( const QString &pathName ); > > virtual bool cd( const QString &dirName, bool acceptAbsPath = TRUE ); > virtual bool cdUp(); > > QString nameFilter() const; > virtual void setNameFilter( const QString &nameFilter ); > FilterSpec filter() const; > virtual void setFilter( int filterSpec ); > SortSpec sorting() const; > virtual void setSorting( int sortSpec ); > > bool matchAllDirs() const; > virtual void setMatchAllDirs( bool ); > > uint count() const; > QString operator[]( int ) const; > > virtual QStrList encodedEntryList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStrList encodedEntryList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStringList entryList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStringList entryList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > > virtual const QFileInfoList *entryInfoList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual const QFileInfoList *entryInfoList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > > static const QFileInfoList *drives(); > > virtual bool mkdir( const QString &dirName, > bool acceptAbsPath = TRUE ) const; > virtual bool rmdir( const QString &dirName, > bool acceptAbsPath = TRUE ) const; > > virtual bool isReadable() const; > virtual bool exists() const; > virtual bool isRoot() const; > > virtual bool isRelative() const; > virtual void convertToAbs(); > > virtual bool operator==( const QDir & ) const; > virtual bool operator!=( const QDir & ) const; > > virtual bool remove( const QString &fileName, > bool acceptAbsPath = TRUE ); > virtual bool rename( const QString &name, const QString &newName, > bool acceptAbsPaths = TRUE ); > virtual bool exists( const QString &name, > bool acceptAbsPath = TRUE ); > > static char separator(); > > static bool setCurrent( const QString &path ); > static QDir current(); > static QDir home(); > static QDir root(); > static QString currentDirPath(); > static QString homeDirPath(); > static QString rootDirPath(); > > static bool match( const QStringList &filters, const QString &fileName ); > static bool match( const QString &filter, const QString &fileName ); > static QString cleanDirPath( const QString &dirPath ); > static bool isRelativePath( const QString &path ); > void refresh() const; > >private: > > > > > void init(); > virtual bool readDirEntries( const QString &nameFilter, > int FilterSpec, int SortSpec ); > > static void slashify( QString & ); > > QString dPath; > QStringList *fList; > QFileInfoList *fiList; > QString nameFilt; > FilterSpec filtS; > SortSpec sortS; > uint dirty : 1; > uint allDirs : 1; > > void detach(); > friend class QDeepCopy< QDir >; >}; > > >inline QString QDir::path() const >{ > return dPath; >} > >inline QString QDir::nameFilter() const >{ > return nameFilt; >} > >inline QDir::FilterSpec QDir::filter() const >{ > return filtS; >} > >inline QDir::SortSpec QDir::sorting() const >{ > return sortS; >} > >inline bool QDir::matchAllDirs() const >{ > return allDirs; >} > >inline bool QDir::operator!=( const QDir &d ) const >{ > return !(*this == d); >} > > >struct QDirSortItem { > QString filename_cache; > QFileInfo* item; >}; ># 27 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qcursor.h" 1 ># 65 "/usr/qt/3/include/qcursor.h" >struct QCursorData; > > >class __attribute__((visibility("default"))) QCursor : public Qt >{ >public: > QCursor(); > QCursor( int shape ); > QCursor( const QBitmap &bitmap, const QBitmap &mask, > int hotX=-1, int hotY=-1 ); > QCursor( const QPixmap &pixmap, > int hotX=-1, int hotY=-1 ); > QCursor( const QCursor & ); > ~QCursor(); > QCursor &operator=( const QCursor & ); > > int shape() const; > void setShape( int ); > > const QBitmap *bitmap() const; > const QBitmap *mask() const; > QPoint hotSpot() const; > > > > > > HANDLE handle() const; > QCursor( HANDLE ); > > > > > > > static QPoint pos(); > static void setPos( int x, int y ); > static void setPos( const QPoint & ); > > static void initialize(); > static void cleanup(); > > > static int x11Screen(); > >private: > void setBitmap( const QBitmap &bitmap, const QBitmap &mask, > int hotX, int hotY ); > void update() const; > QCursorData *data; > QCursor *find_cur(int); > > > >}; ># 139 "/usr/qt/3/include/qcursor.h" >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QCursor & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QCursor & ); > > > > >inline void QCursor::setPos( const QPoint &p ) >{ > setPos( p.x(), p.y() ); >} ># 28 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qimage.h" 1 ># 42 "/usr/qt/3/include/qimage.h" > ># 1 "/usr/qt/3/include/qpixmap.h" 1 ># 48 "/usr/qt/3/include/qpixmap.h" >class QGfx; >class QPixmapPrivate; > > > > > > > >class __attribute__((visibility("default"))) QPixmap : public QPaintDevice, public Qt >{ >public: > enum ColorMode { Auto, Color, Mono }; > enum Optimization { DefaultOptim, NoOptim, MemoryOptim=NoOptim, > NormalOptim, BestOptim }; > > QPixmap(); > QPixmap( const QImage& image ); > QPixmap( int w, int h, int depth = -1, Optimization = DefaultOptim ); > QPixmap( const QSize &, int depth = -1, Optimization = DefaultOptim ); > > QPixmap( const QString& fileName, const char *format=0, > ColorMode mode=Auto ); > QPixmap( const QString& fileName, const char *format, > int conversion_flags ); > QPixmap( const char *xpm[] ); > QPixmap( const QByteArray &data ); > > QPixmap( const QPixmap & ); > ~QPixmap(); > > QPixmap &operator=( const QPixmap & ); > QPixmap &operator=( const QImage & ); > > bool isNull() const; > > int width() const { return data->w; } > int height() const { return data->h; } > QSize size() const { return QSize(data->w,data->h); } > QRect rect() const { return QRect(0,0,data->w,data->h); } > int depth() const { return data->d; } > static int defaultDepth(); > > void fill( const QColor &fillColor = Qt::white ); > void fill( const QWidget *, int xofs, int yofs ); > void fill( const QWidget *, const QPoint &ofs ); > void resize( int width, int height ); > void resize( const QSize & ); > > const QBitmap *mask() const; > void setMask( const QBitmap & ); > bool selfMask() const; > bool hasAlpha() const; > bool hasAlphaChannel() const; > > QBitmap createHeuristicMask( bool clipTight = TRUE ) const; > > > static QPixmap fromMimeSource( const QString& abs_name ); > > static QPixmap grabWindow( WId, int x=0, int y=0, int w=-1, int h=-1 ); > static QPixmap grabWidget( QWidget * widget, > int x=0, int y=0, int w=-1, int h=-1 ); > > > QPixmap xForm( const QWMatrix & ) const; > static QWMatrix trueMatrix( const QWMatrix &, int w, int h ); > > > QImage convertToImage() const; > bool convertFromImage( const QImage &, ColorMode mode=Auto ); > bool convertFromImage( const QImage &, int conversion_flags ); > > static const char* imageFormat( const QString &fileName ); > bool load( const QString& fileName, const char *format=0, > ColorMode mode=Auto ); > bool load( const QString& fileName, const char *format, > int conversion_flags ); > bool loadFromData( const uchar *buf, uint len, > const char* format=0, > ColorMode mode=Auto ); > bool loadFromData( const uchar *buf, uint len, > const char* format, > int conversion_flags ); > bool loadFromData( const QByteArray &data, > const char* format=0, > int conversion_flags=0 ); > bool save( const QString& fileName, const char* format, int quality = -1 ) const; > bool save( QIODevice* device, const char* format, int quality = -1 ) const; > > > > > > > int serialNumber() const; > > Optimization optimization() const; > void setOptimization( Optimization ); > static Optimization defaultOptimization(); > static void setDefaultOptimization( Optimization ); > > virtual void detach(); > > bool isQBitmap() const; ># 171 "/usr/qt/3/include/qpixmap.h" > static int x11SetDefaultScreen( int screen ); > void x11SetScreen( int screen ); > > > > > > >protected: > QPixmap( int w, int h, const uchar *data, bool isXbitmap ); > int metric( int ) const; ># 190 "/usr/qt/3/include/qpixmap.h" > struct QPixmapData : public QShared { > QCOORD w, h; > short d; > uint uninit : 1; > uint bitmap : 1; > uint selfmask : 1; > > > > int ser_no; > QBitmap *mask; ># 212 "/usr/qt/3/include/qpixmap.h" > void *ximage; > void *maskgc; > QPixmap *alphapm; ># 226 "/usr/qt/3/include/qpixmap.h" > Optimization optim; > > > > } *data; >private: > > bool doImageIO( QImageIO* io, int quality ) const; > > QPixmap( int w, int h, int depth, bool, Optimization ); > void init( int, int, int, bool, Optimization ); > void deref(); > QPixmap copy( bool ignoreMask = FALSE ) const; > > > > > > > > static Optimization defOptim; > friend __attribute__((visibility("default"))) void bitBlt( QPaintDevice *, int, int, > const QPaintDevice *, > int, int, int, int, RasterOp, bool ); > friend __attribute__((visibility("default"))) void bitBlt( QPaintDevice *, int, int, > const QImage* src, > int, int, int, int, int conversion_flags ); > friend __attribute__((visibility("default"))) void copyBlt( QPixmap *dst, int dx, int dy, > const QPixmap *src, int sx, int sy, > int sw, int sh ); > > > > > > > > friend class QBitmap; > friend class QPaintDevice; > friend class QPainter; > friend class QGLWidget; >}; > > >inline bool QPixmap::isNull() const >{ > return data->w == 0; >} > >inline void QPixmap::fill( const QWidget *w, const QPoint &ofs ) >{ > fill( w, ofs.x(), ofs.y() ); >} > >inline void QPixmap::resize( const QSize &s ) >{ > resize( s.width(), s.height() ); >} > >inline const QBitmap *QPixmap::mask() const >{ > return data->mask; >} > >inline bool QPixmap::selfMask() const >{ > return data->selfmask; >} ># 302 "/usr/qt/3/include/qpixmap.h" >inline int QPixmap::serialNumber() const >{ > return data->ser_no; >} > >inline QPixmap::Optimization QPixmap::optimization() const >{ > return data->optim; >} > >inline bool QPixmap::isQBitmap() const >{ > return data->bitmap; >} ># 330 "/usr/qt/3/include/qpixmap.h" >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QPixmap & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QPixmap & ); ># 344 "/usr/qt/3/include/qpixmap.h" >bool qt_xForm_helper( const QWMatrix&, int, int, int, uchar*, int, int, int, uchar*, int, int, int ); > > >__attribute__((visibility("default"))) void copyBlt( QPixmap *dst, int dx, int dy, > const QPixmap *src, int sx = 0, int sy = 0, > int sw = -1, int sh = -1 ); ># 43 "/usr/qt/3/include/qimage.h" 2 > > > > >class QImageDataMisc; > >class __attribute__((visibility("default"))) QImageTextKeyLang { >public: > QImageTextKeyLang(const char* k, const char* l) : key(k), lang(l) { } > QImageTextKeyLang() { } > > QCString key; > QCString lang; > > bool operator< (const QImageTextKeyLang& other) const > { return key < other.key || key==other.key && lang < other.lang; } > bool operator== (const QImageTextKeyLang& other) const > { return key==other.key && lang==other.lang; } >}; > > > >class __attribute__((visibility("default"))) QImage >{ >public: > enum Endian { IgnoreEndian, BigEndian, LittleEndian }; > > QImage(); > QImage( int width, int height, int depth, int numColors=0, > Endian bitOrder=IgnoreEndian ); > QImage( const QSize&, int depth, int numColors=0, > Endian bitOrder=IgnoreEndian ); > > QImage( const QString &fileName, const char* format=0 ); > QImage( const char * const xpm[] ); > QImage( const QByteArray &data ); > > QImage( uchar* data, int w, int h, int depth, > QRgb* colortable, int numColors, > Endian bitOrder ); > > > > > > QImage( const QImage & ); > ~QImage(); > > QImage &operator=( const QImage & ); > QImage &operator=( const QPixmap & ); > bool operator==( const QImage & ) const; > bool operator!=( const QImage & ) const; > void detach(); > QImage copy() const; > QImage copy(int x, int y, int w, int h, int conversion_flags=0) const; > QImage copy(const QRect&) const; > > static QImage fromMimeSource( const QString& abs_name ); > > bool isNull() const { return data->bits == 0; } > > int width() const { return data->w; } > int height() const { return data->h; } > QSize size() const { return QSize(data->w,data->h); } > QRect rect() const { return QRect(0,0,data->w,data->h); } > int depth() const { return data->d; } > int numColors() const { return data->ncols; } > Endian bitOrder() const { return (Endian) data->bitordr; } > > QRgb color( int i ) const; > void setColor( int i, QRgb c ); > void setNumColors( int ); > > bool hasAlphaBuffer() const; > void setAlphaBuffer( bool ); > > bool allGray() const; > bool isGrayscale() const; > > uchar *bits() const; > uchar *scanLine( int ) const; > uchar **jumpTable() const; > QRgb *colorTable() const; > int numBytes() const; > int bytesPerLine() const; > > > > > > bool create( int width, int height, int depth, int numColors=0, > Endian bitOrder=IgnoreEndian ); > bool create( const QSize&, int depth, int numColors=0, > Endian bitOrder=IgnoreEndian ); > void reset(); > > void fill( uint pixel ); > void invertPixels( bool invertAlpha = TRUE ); > > QImage convertDepth( int ) const; > > QImage convertDepthWithPalette( int, QRgb* p, int pc, int cf=0 ) const; > > QImage convertDepth( int, int conversion_flags ) const; > QImage convertBitOrder( Endian ) const; > > enum ScaleMode { > ScaleFree, > ScaleMin, > ScaleMax > }; > > QImage smoothScale( int w, int h, ScaleMode mode=ScaleFree ) const; > QImage smoothScale( const QSize& s, ScaleMode mode=ScaleFree ) const; > > > QImage scale( int w, int h, ScaleMode mode=ScaleFree ) const; > QImage scale( const QSize& s, ScaleMode mode=ScaleFree ) const; > QImage scaleWidth( int w ) const; > QImage scaleHeight( int h ) const; > QImage xForm( const QWMatrix &matrix ) const; > > > > QImage createAlphaMask( int conversion_flags=0 ) const; > > > QImage createHeuristicMask( bool clipTight=TRUE ) const; > > > QImage mirror() const; > QImage mirror(bool horizontally, bool vertically) const; > > QImage swapRGB() const; > > static Endian systemBitOrder(); > static Endian systemByteOrder(); > > > static const char* imageFormat( const QString &fileName ); > static QStrList inputFormats(); > static QStrList outputFormats(); > > static QStringList inputFormatList(); > static QStringList outputFormatList(); > > bool load( const QString &fileName, const char* format=0 ); > bool loadFromData( const uchar *buf, uint len, > const char *format=0 ); > bool loadFromData( QByteArray data, const char* format=0 ); > bool save( const QString &fileName, const char* format, > int quality=-1 ) const; > bool save( QIODevice * device, const char* format, > int quality=-1 ) const; > > > bool valid( int x, int y ) const; > int pixelIndex( int x, int y ) const; > QRgb pixel( int x, int y ) const; > void setPixel( int x, int y, uint index_or_rgb ); > > > int dotsPerMeterX() const; > int dotsPerMeterY() const; > void setDotsPerMeterX(int); > void setDotsPerMeterY(int); > QPoint offset() const; > void setOffset(const QPoint&); > > QValueList<QImageTextKeyLang> textList() const; > QStringList textLanguages() const; > QStringList textKeys() const; > QString text(const char* key, const char* lang=0) const; > QString text(const QImageTextKeyLang&) const; > void setText(const char* key, const char* lang, const QString&); > >private: > void init(); > void reinit(); > void freeBits(); > static void warningIndexRange( const char *, int ); > > struct QImageData : public QShared { > int w; > int h; > int d; > int ncols; > int nbytes; > int bitordr; > QRgb *ctbl; > uchar **bits; > bool alpha; > int dpmx; > int dpmy; > QPoint offset; > > QImageDataMisc* misc; > > bool ctbl_mine; > } *data; > > QImageDataMisc& misc() const; > > > bool doImageIO( QImageIO* io, int quality ) const; > > friend __attribute__((visibility("default"))) void bitBlt( QImage* dst, int dx, int dy, > const QImage* src, int sx, int sy, > int sw, int sh, int conversion_flags ); >}; > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QImage & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QImage & ); > > > >class QIODevice; >typedef void (*image_io_handler)( QImageIO * ); > > >struct QImageIOData; > > >class __attribute__((visibility("default"))) QImageIO >{ >public: > QImageIO(); > QImageIO( QIODevice *ioDevice, const char *format ); > QImageIO( const QString &fileName, const char* format ); > ~QImageIO(); > > > const QImage &image() const { return im; } > int status() const { return iostat; } > const char *format() const { return frmt; } > QIODevice *ioDevice() const { return iodev; } > QString fileName() const { return fname; } > int quality() const; > QString description() const { return descr; } > const char *parameters() const; > float gamma() const; > > void setImage( const QImage & ); > void setStatus( int ); > void setFormat( const char * ); > void setIODevice( QIODevice * ); > void setFileName( const QString & ); > void setQuality( int ); > void setDescription( const QString & ); > void setParameters( const char * ); > void setGamma( float ); > > bool read(); > bool write(); > > static const char* imageFormat( const QString &fileName ); > static const char *imageFormat( QIODevice * ); > static QStrList inputFormats(); > static QStrList outputFormats(); > > static void defineIOHandler( const char *format, > const char *header, > const char *flags, > image_io_handler read_image, > image_io_handler write_image ); > >private: > void init(); > > QImage im; > int iostat; > QCString frmt; > QIODevice *iodev; > QString fname; > char *params; > QString descr; > QImageIOData *d; > >private: > > QImageIO( const QImageIO & ); > QImageIO &operator=( const QImageIO & ); > >}; > > > >__attribute__((visibility("default"))) void bitBlt( QImage* dst, int dx, int dy, const QImage* src, > int sx=0, int sy=0, int sw=-1, int sh=-1, > int conversion_flags=0 ); > > > > > > >inline bool QImage::hasAlphaBuffer() const >{ > return data->alpha; >} > >inline uchar *QImage::bits() const >{ > return data->bits ? data->bits[0] : 0; >} > >inline uchar **QImage::jumpTable() const >{ > return data->bits; >} > >inline QRgb *QImage::colorTable() const >{ > return data->ctbl; >} > >inline int QImage::numBytes() const >{ > return data->nbytes; >} > >inline int QImage::bytesPerLine() const >{ > return data->h ? data->nbytes/data->h : 0; >} > >inline QImage QImage::copy(const QRect& r) const >{ > return copy(r.x(), r.y(), r.width(), r.height()); >} > >inline QRgb QImage::color( int i ) const >{ > > if ( i >= data->ncols ) > warningIndexRange( "color", i ); > > return data->ctbl ? data->ctbl[i] : (QRgb)-1; >} > >inline void QImage::setColor( int i, QRgb c ) >{ > > if ( i >= data->ncols ) > warningIndexRange( "setColor", i ); > > if ( data->ctbl ) > data->ctbl[i] = c; >} > >inline uchar *QImage::scanLine( int i ) const >{ > > if ( i >= data->h ) > warningIndexRange( "scanLine", i ); > > return data->bits ? data->bits[i] : 0; >} > >inline int QImage::dotsPerMeterX() const >{ > return data->dpmx; >} > >inline int QImage::dotsPerMeterY() const >{ > return data->dpmy; >} > >inline QPoint QImage::offset() const >{ > return data->offset; >} ># 29 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qdatetime.h" 1 ># 30 "kxinewidget.cpp" 2 > ># 1 "/usr/qt/3/include/qtextcodec.h" 1 ># 47 "/usr/qt/3/include/qtextcodec.h" >class QTextCodec; >class QIODevice; >class QFont; > >class __attribute__((visibility("default"))) QTextEncoder { >public: > virtual ~QTextEncoder(); > virtual QCString fromUnicode(const QString& uc, int& lenInOut) = 0; >}; > >class __attribute__((visibility("default"))) QTextDecoder { >public: > virtual ~QTextDecoder(); > virtual QString toUnicode(const char* chars, int len) = 0; >}; > >class __attribute__((visibility("default"))) QTextCodec { >public: > virtual ~QTextCodec(); > > > static QTextCodec* loadCharmap(QIODevice*); > static QTextCodec* loadCharmapFile(QString filename); > > static QTextCodec* codecForMib(int mib); > static QTextCodec* codecForName(const char* hint, int accuracy=0); > static QTextCodec* codecForContent(const char* chars, int len); > static QTextCodec* codecForIndex(int i); > static QTextCodec* codecForLocale(); > static void setCodecForLocale(QTextCodec *c); > > static QTextCodec* codecForTr(); > static void setCodecForTr(QTextCodec *c); > static QTextCodec* codecForCStrings(); > static void setCodecForCStrings(QTextCodec *c); > > static void deleteAllCodecs(); > > static const char* locale(); > > virtual const char* name() const = 0; > virtual const char* mimeName() const; > virtual int mibEnum() const = 0; > > virtual QTextDecoder* makeDecoder() const; > virtual QTextEncoder* makeEncoder() const; > > virtual QString toUnicode(const char* chars, int len) const; > virtual QCString fromUnicode(const QString& uc, int& lenInOut) const; > > QCString fromUnicode(const QString& uc) const; > QString toUnicode(const QByteArray&, int len) const; > QString toUnicode(const QByteArray&) const; > QString toUnicode(const QCString&, int len) const; > QString toUnicode(const QCString&) const; > QString toUnicode(const char* chars) const; > virtual bool canEncode( QChar ) const; > virtual bool canEncode( const QString& ) const; > > virtual int heuristicContentMatch(const char* chars, int len) const = 0; > virtual int heuristicNameMatch(const char* hint) const; > > virtual QByteArray fromUnicode(const QString& uc, int from, int len) const; > virtual unsigned short characterFromUnicode(const QString &str, int pos) const; > >protected: > QTextCodec(); > static int simpleHeuristicNameMatch(const char* name, const char* hint); > >private: > friend class QFont; > friend class QFontEngineXLFD; > void fromUnicodeInternal( const QChar *in, unsigned short *out, int length ); > > static QTextCodec *cftr; > static QTextCodec *cfcs; >}; > >inline QTextCodec* QTextCodec::codecForTr() { return cftr; } >inline void QTextCodec::setCodecForTr(QTextCodec *c) { cftr = c; } >inline QTextCodec* QTextCodec::codecForCStrings() { return cfcs; } >inline void QTextCodec::setCodecForCStrings(QTextCodec *c) { cfcs = c; } ># 31 "kxinewidget.cpp" 2 > > ># 1 "/usr/include/xine/xineutils.h" 1 3 4 ># 27 "/usr/include/xine/xineutils.h" 3 4 >extern "C" { > > > > ># 1 "../../../../config.h" 1 3 4 ># 213 "../../../../config.h" 3 4 >extern "C" { > >unsigned long strlcat(char*, const char*, unsigned long); > >} > > > > > > > >extern "C" { > >unsigned long strlcpy(char*, const char*, unsigned long); > >} ># 32 "/usr/include/xine/xineutils.h" 2 3 4 > > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 > ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 65 "/usr/include/bits/waitstatus.h" 3 4 > ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 > ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 66 "/usr/include/bits/waitstatus.h" 2 3 4 > >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw () ; > > > > >extern double atof (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; ># 240 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) > throw () __attribute__ ((__nonnull__ (1))) ; > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))) ; ># 327 "/usr/include/stdlib.h" 3 4 >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtof_internal (__nptr, __endptr, 0); >} > >extern __inline long double >strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > > >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) throw () > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} ># 429 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw () ; > > >extern long int a64l (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 >extern "C" { > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 59 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 220 "/usr/include/sys/types.h" 3 4 > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 > ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > >} ># 221 "/usr/include/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 262 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 36 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[36]; > long int __align; >} pthread_attr_t; > > >typedef struct __pthread_internal_slist >{ > struct __pthread_internal_slist *__next; >} __pthread_slist_t; > > > > >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > > int __kind; > unsigned int __nusers; > __extension__ union > { > int __spins; > __pthread_slist_t __list; > }; > } __data; > char __size[24]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > > > unsigned int __flags; > int __writer; > } __data; > char __size[32]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[20]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > >} ># 439 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > throw () __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > throw () __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (1, 2))); ># 589 "/usr/include/stdlib.h" 3 4 >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)) ; > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 613 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; > > > > >extern char *__secure_getenv (__const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 698 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; ># 709 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 719 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 729 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; ># 738 "/usr/include/stdlib.h" 3 4 >extern int system (__const char *__command) ; > > > > > > > >extern char *canonicalize_file_name (__const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; ># 757 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw () ; > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)) ; >extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)) ; > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)) ; >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)) ; > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)) ; ># 822 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) throw () ; > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw () ; > > >extern int wctomb (char *__s, wchar_t __wchar) throw () ; > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); ># 899 "/usr/include/stdlib.h" 3 4 >extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; ># 910 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; > > > > > >extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag) ; > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw () ; > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > throw () __attribute__ ((__nonnull__ (1))); ># 978 "/usr/include/stdlib.h" 3 4 >} ># 35 "/usr/include/xine/xineutils.h" 2 3 4 > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4 ># 37 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/pthread.h" 1 3 4 ># 23 "/usr/include/pthread.h" 3 4 > ># 1 "/usr/include/sched.h" 1 3 4 ># 29 "/usr/include/sched.h" 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 30 "/usr/include/sched.h" 2 3 4 > > > ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 65 "/usr/include/bits/sched.h" 3 4 >struct sched_param > { > int __sched_priority; > }; > >extern "C" { > > > >extern int clone (int (*__fn) (void *__arg), void *__child_stack, > int __flags, void *__arg, ...) throw (); > > >extern int unshare (int __flags) throw (); > > >} > > > > > > > >struct __sched_param > { > int __sched_priority; > }; ># 104 "/usr/include/bits/sched.h" 3 4 >typedef unsigned long int __cpu_mask; > > > > > > >typedef struct >{ > __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; >} cpu_set_t; ># 33 "/usr/include/sched.h" 2 3 4 > > > > >extern "C" { > > >extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) > throw (); > > >extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); > > >extern int sched_setscheduler (__pid_t __pid, int __policy, > __const struct sched_param *__param) throw (); > > >extern int sched_getscheduler (__pid_t __pid) throw (); > > >extern int sched_yield (void) throw (); > > >extern int sched_get_priority_max (int __algorithm) throw (); > > >extern int sched_get_priority_min (int __algorithm) throw (); > > >extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); ># 76 "/usr/include/sched.h" 3 4 >extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, > __const cpu_set_t *__cpuset) throw (); > > >extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); > > >} ># 24 "/usr/include/pthread.h" 2 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 31 "/usr/include/time.h" 3 4 >extern "C" { ># 40 "/usr/include/time.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 40 "/usr/include/time.h" 2 3 4 > > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 44 "/usr/include/time.h" 2 3 4 ># 132 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; ># 162 "/usr/include/time.h" 3 4 >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 181 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) throw (); > > >extern time_t time (time_t *__timer) throw (); > > >extern double difftime (time_t __time1, time_t __time0) > throw () __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) throw (); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) throw (); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > throw (); > > > > > > > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) throw (); > >extern char *strptime_l (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) throw (); > > > > > > >extern struct tm *gmtime (__const time_t *__timer) throw (); > > > >extern struct tm *localtime (__const time_t *__timer) throw (); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > > > >extern char *asctime (__const struct tm *__tp) throw (); > > >extern char *ctime (__const time_t *__timer) throw (); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) throw (); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) throw (); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) throw (); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) throw (); ># 312 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) throw (); > > >extern time_t timelocal (struct tm *__tp) throw (); > > >extern int dysize (int __year) throw () __attribute__ ((__const__)); ># 327 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > throw (); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) throw (); > > >extern int timer_delete (timer_t __timerid) throw (); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) throw (); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > throw (); > > >extern int timer_getoverrun (timer_t __timerid) throw (); ># 389 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 398 "/usr/include/time.h" 3 4 >extern struct tm *getdate (__const char *__string); ># 412 "/usr/include/time.h" 3 4 >extern int getdate_r (__const char *__restrict __string, > struct tm *__restrict __resbufp); > > >} ># 25 "/usr/include/pthread.h" 2 3 4 > > > ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 3 4 >extern "C" { > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 34 "/usr/include/signal.h" 2 3 4 ># 400 "/usr/include/signal.h" 3 4 >} ># 28 "/usr/include/pthread.h" 2 3 4 > > ># 1 "/usr/include/bits/setjmp.h" 1 3 4 ># 29 "/usr/include/bits/setjmp.h" 3 4 >typedef int __jmp_buf[6]; ># 30 "/usr/include/pthread.h" 2 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 31 "/usr/include/pthread.h" 2 3 4 > > > >enum >{ > PTHREAD_CREATE_JOINABLE, > > PTHREAD_CREATE_DETACHED > >}; > > > >enum >{ > PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_ADAPTIVE_NP > > , > PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL > > > > , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP > >}; > > > > >enum >{ > PTHREAD_MUTEX_STALLED_NP, > PTHREAD_MUTEX_ROBUST_NP >}; > > > > > >enum >{ > PTHREAD_PRIO_NONE, > PTHREAD_PRIO_INHERIT, > PTHREAD_PRIO_PROTECT >}; ># 113 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_RWLOCK_PREFER_READER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, > PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP >}; ># 143 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_INHERIT_SCHED, > > PTHREAD_EXPLICIT_SCHED > >}; > > > >enum >{ > PTHREAD_SCOPE_SYSTEM, > > PTHREAD_SCOPE_PROCESS > >}; > > > >enum >{ > PTHREAD_PROCESS_PRIVATE, > > PTHREAD_PROCESS_SHARED > >}; ># 178 "/usr/include/pthread.h" 3 4 >struct _pthread_cleanup_buffer >{ > void (*__routine) (void *); > void *__arg; > int __canceltype; > struct _pthread_cleanup_buffer *__prev; >}; > > >enum >{ > PTHREAD_CANCEL_ENABLE, > > PTHREAD_CANCEL_DISABLE > >}; >enum >{ > PTHREAD_CANCEL_DEFERRED, > > PTHREAD_CANCEL_ASYNCHRONOUS > >}; ># 216 "/usr/include/pthread.h" 3 4 >extern "C" { > > > > >extern int pthread_create (pthread_t *__restrict __newthread, > __const pthread_attr_t *__restrict __attr, > void *(*__start_routine) (void *), > void *__restrict __arg) throw (); > > > > > >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > > > > > > > >extern int pthread_join (pthread_t __th, void **__thread_return); > > > > >extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw (); > > > > > > > >extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, > __const struct timespec *__abstime); > > > > > > >extern int pthread_detach (pthread_t __th) throw (); > > > >extern pthread_t pthread_self (void) throw () __attribute__ ((__const__)); > > >extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw (); > > > > > > > >extern int pthread_attr_init (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_destroy (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, > int *__detachstate) throw (); > > >extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, > int __detachstate) throw (); > > > >extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, > size_t *__guardsize) throw (); > > >extern int pthread_attr_setguardsize (pthread_attr_t *__attr, > size_t __guardsize) throw (); > > > >extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict > __attr, > struct sched_param *__restrict __param) > throw (); > > >extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, > __const struct sched_param *__restrict > __param) throw (); > > >extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict > __attr, int *__restrict __policy) > throw (); > > >extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) > throw (); > > >extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict > __attr, int *__restrict __inherit) > throw (); > > >extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, > int __inherit) throw (); > > > >extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, > int *__restrict __scope) throw (); > > >extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) > throw (); > > >extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict > __attr, void **__restrict __stackaddr) > throw () __attribute__ ((__deprecated__)); > > > > > >extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, > void *__stackaddr) > throw () __attribute__ ((__deprecated__)); > > >extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __stacksize) > throw (); > > > > >extern int pthread_attr_setstacksize (pthread_attr_t *__attr, > size_t __stacksize) throw (); > > > >extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, > void **__restrict __stackaddr, > size_t *__restrict __stacksize) throw (); > > > > >extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, > size_t __stacksize) throw (); > > > > > >extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, > size_t __cpusetsize, > __const cpu_set_t *__cpuset) throw (); > > > >extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr, > size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); > > > > > >extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw (); > > > > > > > >extern int pthread_setschedparam (pthread_t __target_thread, int __policy, > __const struct sched_param *__param) > throw (); > > >extern int pthread_getschedparam (pthread_t __target_thread, > int *__restrict __policy, > struct sched_param *__restrict __param) > throw (); > > >extern int pthread_setschedprio (pthread_t __target_thread, int __prio) > throw (); > > > > >extern int pthread_getconcurrency (void) throw (); > > >extern int pthread_setconcurrency (int __level) throw (); > > > > > > > >extern int pthread_yield (void) throw (); > > > > >extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, > __const cpu_set_t *__cpuset) throw (); > > >extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); ># 448 "/usr/include/pthread.h" 3 4 >extern int pthread_once (pthread_once_t *__once_control, > void (*__init_routine) (void)); ># 460 "/usr/include/pthread.h" 3 4 >extern int pthread_setcancelstate (int __state, int *__oldstate); > > > >extern int pthread_setcanceltype (int __type, int *__oldtype); > > >extern int pthread_cancel (pthread_t __th); > > > > >extern void pthread_testcancel (void); > > > > >typedef struct >{ > struct > { > __jmp_buf __cancel_jmp_buf; > int __mask_was_saved; > } __cancel_jmp_buf[1]; > void *__pad[4]; >} __pthread_unwind_buf_t __attribute__ ((__aligned__)); ># 494 "/usr/include/pthread.h" 3 4 >struct __pthread_cleanup_frame >{ > void (*__cancel_routine) (void *); > void *__cancel_arg; > int __do_it; > int __cancel_type; >}; ># 634 "/usr/include/pthread.h" 3 4 >extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) > __attribute__ ((__regparm__ (1))); ># 645 "/usr/include/pthread.h" 3 4 >extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) > __attribute__ ((__regparm__ (1))); ># 668 "/usr/include/pthread.h" 3 4 >extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) > __attribute__ ((__regparm__ (1))); ># 680 "/usr/include/pthread.h" 3 4 >extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) > __attribute__ ((__regparm__ (1))); > > > >extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) > __attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__)) > > __attribute__ ((__weak__)) > > ; > > > >struct __jmp_buf_tag; >extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw (); > > > > > >extern int pthread_mutex_init (pthread_mutex_t *__mutex, > __const pthread_mutexattr_t *__mutexattr) > throw (); > > >extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw (); > > >extern int pthread_mutex_trylock (pthread_mutex_t *_mutex) throw (); > > >extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw (); > > > >extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw (); > > > > >extern int pthread_mutex_getprioceiling (__const pthread_mutex_t * > __restrict __mutex, > int *__restrict __prioceiling) > throw (); > > > >extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, > int __prioceiling, > int *__restrict __old_ceiling) > throw (); > > > > > >extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) throw (); > > > > > > > >extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, > int __pshared) throw (); > > > >extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict > __attr, int *__restrict __kind) throw (); > > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) > throw (); > > >extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __protocol) throw (); > > > >extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, > int __protocol) throw (); > > >extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __prioceiling) > throw (); > > >extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, > int __prioceiling) throw (); > > > > >extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr, > int *__robustness) throw (); > > >extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, > int __robustness) throw (); ># 813 "/usr/include/pthread.h" 3 4 >extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, > __const pthread_rwlockattr_t *__restrict > __attr) throw (); > > >extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw (); > > > > > >extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, > int __pshared) throw (); > > >extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pref) throw (); > > >extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, > int __pref) throw (); > > > > > > > >extern int pthread_cond_init (pthread_cond_t *__restrict __cond, > __const pthread_condattr_t *__restrict > __cond_attr) throw (); > > >extern int pthread_cond_destroy (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_signal (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw (); > > > > > > >extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex); ># 910 "/usr/include/pthread.h" 3 4 >extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime); > > > > >extern int pthread_condattr_init (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_getpshared (__const pthread_condattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, > int __pshared) throw (); > > > >extern int pthread_condattr_getclock (__const pthread_condattr_t * > __restrict __attr, > __clockid_t *__restrict __clock_id) > throw (); > > >extern int pthread_condattr_setclock (pthread_condattr_t *__attr, > __clockid_t __clock_id) throw (); ># 951 "/usr/include/pthread.h" 3 4 >extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) > throw (); > > >extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw (); > > > > > > >extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, > __const pthread_barrierattr_t *__restrict > __attr, unsigned int __count) throw (); > > >extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw (); > > >extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw (); > > > >extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw (); > > >extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw (); > > >extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, > int __pshared) throw (); ># 1007 "/usr/include/pthread.h" 3 4 >extern int pthread_key_create (pthread_key_t *__key, > void (*__destr_function) (void *)) throw (); > > >extern int pthread_key_delete (pthread_key_t __key) throw (); > > >extern void *pthread_getspecific (pthread_key_t __key) throw (); > > >extern int pthread_setspecific (pthread_key_t __key, > __const void *__pointer) throw (); > > > > >extern int pthread_getcpuclockid (pthread_t __thread_id, > __clockid_t *__clock_id) throw (); ># 1039 "/usr/include/pthread.h" 3 4 >extern int pthread_atfork (void (*__prepare) (void), > void (*__parent) (void), > void (*__child) (void)) throw (); > >} ># 38 "/usr/include/xine/xineutils.h" 2 3 4 ># 53 "/usr/include/xine/xineutils.h" 3 4 > ># 1 "/usr/include/sys/time.h" 1 3 4 ># 29 "/usr/include/sys/time.h" 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/sys/time.h" 2 3 4 ># 39 "/usr/include/sys/time.h" 3 4 >extern "C" { ># 57 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 73 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) throw (); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > > > >typedef int __itimer_which_t; > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) throw (); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) throw (); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) throw (); > > > > > > >extern int futimesat (int __fd, __const char *__file, > __const struct timeval __tvp[2]) throw (); ># 191 "/usr/include/sys/time.h" 3 4 >} ># 54 "/usr/include/xine/xineutils.h" 2 3 4 > > ># 1 "/usr/include/xine/os_types.h" 1 3 4 ># 107 "/usr/include/xine/os_types.h" 3 4 > ># 1 "/usr/include/inttypes.h" 1 3 4 ># 28 "/usr/include/inttypes.h" 3 4 > ># 1 "/usr/include/stdint.h" 1 3 4 ># 28 "/usr/include/stdint.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 29 "/usr/include/inttypes.h" 2 3 4 ># 274 "/usr/include/inttypes.h" 3 4 >extern "C" { ># 288 "/usr/include/inttypes.h" 3 4 >typedef struct > { > long long int quot; > long long int rem; > } imaxdiv_t; > > > > > >extern intmax_t imaxabs (intmax_t __n) throw () __attribute__ ((__const__)); > > >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > throw () __attribute__ ((__const__)); > > >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > > >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) throw (); > > >extern intmax_t wcstoimax (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > >extern uintmax_t wcstoumax (__const wchar_t *__restrict __nptr, > wchar_t ** __restrict __endptr, int __base) > throw (); ># 396 "/usr/include/inttypes.h" 3 4 >extern __inline intmax_t >strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) throw () > >{ > return __strtoll_internal (nptr, endptr, base, 0); >} ># 414 "/usr/include/inttypes.h" 3 4 >extern __inline uintmax_t >strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) throw () > >{ > return __strtoull_internal (nptr, endptr, base, 0); >} > > > >__extension__ >extern long long int __wcstoll_internal (__const wchar_t * > __restrict __nptr, > wchar_t **__restrict __endptr, > int __base, int __group) throw (); > > >extern __inline intmax_t >wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr, int base) throw () > >{ > return __wcstoll_internal (nptr, endptr, base, 0); >} > > > > >__extension__ >extern unsigned long long int __wcstoull_internal (__const wchar_t * > __restrict __nptr, > wchar_t ** > __restrict __endptr, > int __base, > int __group) throw (); > > >extern __inline uintmax_t >wcstoumax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr, int base) throw () > >{ > return __wcstoull_internal (nptr, endptr, base, 0); >} > > > > >} ># 108 "/usr/include/xine/os_types.h" 2 3 4 ># 56 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/attributes.h" 1 3 4 ># 57 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/compat.h" 1 3 4 ># 27 "/usr/include/xine/compat.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 28 "/usr/include/xine/compat.h" 2 3 4 > > >extern "C" { ># 55 "/usr/include/xine/compat.h" 3 4 >} ># 58 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/xmlparser.h" 1 3 4 ># 36 "/usr/include/xine/xmlparser.h" 3 4 >typedef struct xml_property_s { > char *name; > char *value; > struct xml_property_s *next; >} xml_property_t; > > >typedef struct xml_node_s { > char *name; > char *data; > struct xml_property_s *props; > struct xml_node_s *child; > struct xml_node_s *next; >} xml_node_t; > >void xml_parser_init(const char * buf, int size, int mode); > >int xml_parser_build_tree(xml_node_t **root_node); > >void xml_parser_free_tree(xml_node_t *root_node); > >char *xml_parser_get_property (const xml_node_t *node, const char *name); >int xml_parser_get_property_int (const xml_node_t *node, const char *name, > int def_value); >int xml_parser_get_property_bool (const xml_node_t *node, const char *name, > int def_value); > > > > > > >typedef enum { > XML_ESCAPE_NO_QUOTE, > XML_ESCAPE_SINGLE_QUOTE, > XML_ESCAPE_DOUBLE_QUOTE >} xml_escape_quote_t; >char *xml_escape_string (const char *s, xml_escape_quote_t quote_type); > > > > > >void xml_parser_dump_tree (const xml_node_t *node) ; ># 59 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/xine_buffer.h" 1 3 4 ># 67 "/usr/include/xine/xine_buffer.h" 3 4 >void *xine_buffer_init(int chunk_size); > > > > > > >void *_xine_buffer_free(void *buf); > > > > >void *xine_buffer_dup(const void *buf); > > > > > > >void *_xine_buffer_copyin(void *buf, int index, const void *data, int len); > > > > > > >void xine_buffer_copyout(const void *buf, int index, void *data, int len); > > > > > > >void *_xine_buffer_set(void *buf, int index, uint8_t b, int len); > > > > > > > >void *_xine_buffer_strcat(void *buf, const char *data); > > > > > > >void *_xine_buffer_strcpy(void *buf, int index, const char *data); > > > > > > >char *xine_buffer_strchr(const void *buf, int ch); > > > > >int xine_buffer_get_size(const void *buf); ># 136 "/usr/include/xine/xine_buffer.h" 3 4 >void *_xine_buffer_ensure_size(void *buf, int size); ># 60 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/configfile.h" 1 3 4 ># 30 "/usr/include/xine/configfile.h" 3 4 >extern "C" { ># 39 "/usr/include/xine/configfile.h" 3 4 ># 1 "/usr/include/xine.h" 1 3 4 ># 45 "/usr/include/xine.h" 3 4 >extern "C" { ># 83 "/usr/include/xine.h" 3 4 >typedef struct xine_s xine_t; >typedef struct xine_stream_s xine_stream_t; >typedef struct xine_audio_port_s xine_audio_port_t; >typedef struct xine_video_port_s xine_video_port_t; > > > >typedef xine_audio_port_t xine_ao_driver_t; >typedef xine_video_port_t xine_vo_driver_t; ># 104 "/usr/include/xine.h" 3 4 >const char *xine_get_version_string (void); >void xine_get_version (int *major, int *minor, int *sub); > > > >int xine_check_version (int major, int minor, int sub) ; ># 133 "/usr/include/xine.h" 3 4 >xine_t *xine_new (void); > > > > >void xine_init (xine_t *self); ># 155 "/usr/include/xine.h" 3 4 >xine_audio_port_t *xine_open_audio_driver (xine_t *self, const char *id, > void *data); >xine_video_port_t *xine_open_video_driver (xine_t *self, const char *id, > int visual, void *data); > >void xine_close_audio_driver (xine_t *self, xine_audio_port_t *driver); >void xine_close_video_driver (xine_t *self, xine_video_port_t *driver); ># 179 "/usr/include/xine.h" 3 4 >void xine_exit (xine_t *self); ># 197 "/usr/include/xine.h" 3 4 >xine_stream_t *xine_stream_new (xine_t *self, > xine_audio_port_t *ao, xine_video_port_t *vo); ># 218 "/usr/include/xine.h" 3 4 >int xine_stream_master_slave(xine_stream_t *master, xine_stream_t *slave, > int affection); ># 237 "/usr/include/xine.h" 3 4 >int xine_open (xine_stream_t *stream, const char *mrl); ># 249 "/usr/include/xine.h" 3 4 >int xine_play (xine_stream_t *stream, int start_pos, int start_time); ># 258 "/usr/include/xine.h" 3 4 >int xine_trick_mode (xine_stream_t *stream, int mode, int value); ># 271 "/usr/include/xine.h" 3 4 >void xine_stop (xine_stream_t *stream); > > > > > >void xine_close (xine_stream_t *stream); > > > > > >int xine_eject (xine_stream_t *stream); > > > > > >void xine_dispose (xine_stream_t *stream); > > > > >void xine_engine_set_param(xine_t *self, int param, int value); >int xine_engine_get_param(xine_t *self, int param); > > > > > > > >void xine_set_param (xine_stream_t *stream, int param, int value); >int xine_get_param (xine_stream_t *stream, int param); ># 419 "/usr/include/xine.h" 3 4 >int xine_get_current_frame (xine_stream_t *stream, > int *width, int *height, > int *ratio_code, int *format, > uint8_t *img); ># 434 "/usr/include/xine.h" 3 4 >int64_t xine_get_current_vpts(xine_stream_t *stream); ># 531 "/usr/include/xine.h" 3 4 >typedef struct xine_post_s xine_post_t; > >struct xine_post_s { > > > > > > xine_audio_port_t **audio_input; > > > > > > xine_video_port_t **video_input; > > > > > int type; > >}; ># 564 "/usr/include/xine.h" 3 4 >xine_post_t *xine_post_init(xine_t *xine, const char *name, > int inputs, > xine_audio_port_t **audio_target, > xine_video_port_t **video_target); > > >const char *const *xine_list_post_plugins(xine_t *xine); > > >const char *const *xine_list_post_plugins_typed(xine_t *xine, int type); ># 584 "/usr/include/xine.h" 3 4 >typedef struct xine_post_in_s xine_post_in_t; >typedef struct xine_post_out_s xine_post_out_t; > >struct xine_post_in_s { > > > const char *name; > > > int type; > > > > void *data; > >}; > >struct xine_post_out_s { > > > const char *name; > > > int type; > > > > void *data; ># 622 "/usr/include/xine.h" 3 4 > int (*rewire) (xine_post_out_t *self, void *data); > >}; > > >const char *const *xine_post_list_inputs(xine_post_t *self); > > >const char *const *xine_post_list_outputs(xine_post_t *self); > > >xine_post_in_t *xine_post_input(xine_post_t *self, const char *name); > > >xine_post_out_t *xine_post_output(xine_post_t *self, const char *name); > > > > > >int xine_post_wire(xine_post_out_t *source, xine_post_in_t *target); ># 653 "/usr/include/xine.h" 3 4 >int xine_post_wire_video_port(xine_post_out_t *source, xine_video_port_t *vo); ># 664 "/usr/include/xine.h" 3 4 >int xine_post_wire_audio_port(xine_post_out_t *source, xine_audio_port_t *ao); > > > > >xine_post_out_t * xine_get_video_source(xine_stream_t *stream); >xine_post_out_t * xine_get_audio_source(xine_stream_t *stream); > > > > > > >void xine_post_dispose(xine_t *xine, xine_post_t *self); ># 720 "/usr/include/xine.h" 3 4 >typedef struct { > int type; > char *name; > int size; > int offset; > char **enum_values; > double range_min; > double range_max; > int readonly; > char *description; >} xine_post_api_parameter_t; > > >typedef struct { > int struct_size; > xine_post_api_parameter_t *parameter; >} xine_post_api_descr_t; > >typedef struct { > > > > > int (*set_parameters) (xine_post_t *self, void *params); > > > > > int (*get_parameters) (xine_post_t *self, void *params); > > > > > xine_post_api_descr_t * (*get_param_descr) (void); > > > > > > > char * (*get_help) (void); >} xine_post_api_t; ># 782 "/usr/include/xine.h" 3 4 >int xine_get_log_section_count(xine_t *self); > > >const char *const *xine_get_log_names(xine_t *self); > > > > > > >void xine_log (xine_t *self, int buf, > const char *format, ...) __attribute__ ((__format__(printf, 3, 4))); > > > >const char *const *xine_get_log (xine_t *self, int buf); > > >typedef void (*xine_log_cb_t) (void *user_data, int section); >void xine_register_log_cb (xine_t *self, xine_log_cb_t cb, > void *user_data); > > > > > > >int xine_get_error (xine_stream_t *stream); > > >int xine_get_status (xine_stream_t *stream); ># 838 "/usr/include/xine.h" 3 4 >int xine_get_audio_lang (xine_stream_t *stream, int channel, > char *lang); >int xine_get_spu_lang (xine_stream_t *stream, int channel, > char *lang); ># 854 "/usr/include/xine.h" 3 4 >int xine_get_pos_length (xine_stream_t *stream, > int *pos_stream, > int *pos_time, > int *length_time); ># 866 "/usr/include/xine.h" 3 4 >uint32_t xine_get_stream_info (xine_stream_t *stream, int info); >const char *xine_get_meta_info (xine_stream_t *stream, int info); ># 953 "/usr/include/xine.h" 3 4 >typedef struct { > char *origin; > char *mrl; > char *link; > uint32_t type; > off_t size; >} xine_mrl_t; ># 982 "/usr/include/xine.h" 3 4 >const char *const *xine_get_browsable_input_plugin_ids (xine_t *self) ; ># 992 "/usr/include/xine.h" 3 4 >xine_mrl_t **xine_get_browse_mrls (xine_t *self, > const char *plugin_id, > const char *start_mrl, > int *num_mrls); > > >const char *const *xine_get_autoplay_input_plugin_ids (xine_t *self); > > >char **xine_get_autoplay_mrls (xine_t *self, > const char *plugin_id, > int *num_mrls); > > > > > >char *xine_get_file_extensions (xine_t *self); > > > > >char *xine_get_mime_types (xine_t *self); > > > > > >char *xine_get_demux_for_mime_type (xine_t *self, const char *mime_type); > > >const char *xine_get_input_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_demux_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_spu_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_audio_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_video_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_audio_driver_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_video_driver_plugin_description (xine_t *self, > const char *plugin_id); >const char *xine_get_post_plugin_description (xine_t *self, > const char *plugin_id); > > >const char *const *xine_list_audio_output_plugins (xine_t *self) ; >const char *const *xine_list_video_output_plugins (xine_t *self) ; > > >const char *const *xine_list_demuxer_plugins(xine_t *self); > > >const char *const *xine_list_input_plugins(xine_t *self); > > >const char *const *xine_list_spu_plugins(xine_t *self); > > >const char *const *xine_list_audio_decoder_plugins(xine_t *self); >const char *const *xine_list_video_decoder_plugins(xine_t *self); > > >void xine_plugins_garbage_collector(xine_t *self); ># 1067 "/usr/include/xine.h" 3 4 >int xine_gui_send_vo_data (xine_stream_t *self, > int type, void *data); > > > >int xine_port_send_gui_data (xine_video_port_t *vo, > int type, void *data); > >typedef struct { > > > int x,y,w,h; > >} x11_rectangle_t; > > > > > > >typedef struct { > > > void *display; > int screen; > > > unsigned long d; > > void *user_data; ># 1117 "/usr/include/xine.h" 3 4 > void (*dest_size_cb) (void *user_data, > int video_width, int video_height, > double video_pixel_aspect, > int *dest_width, int *dest_height, > double *dest_pixel_aspect); ># 1148 "/usr/include/xine.h" 3 4 > void (*frame_output_cb) (void *user_data, > int video_width, int video_height, > double video_pixel_aspect, > int *dest_x, int *dest_y, > int *dest_width, int *dest_height, > double *dest_pixel_aspect, > int *win_x, int *win_y); > >} x11_visual_t; > > > > > > > >typedef struct { > > void (*frame_output_cb) (void *user_data, > int video_width, int video_height, > double video_pixel_aspect, > int *dest_x, int *dest_y, > int *dest_width, int *dest_height, > double *dest_pixel_aspect, > int *win_x, int *win_y); > > void *user_data; > >} fb_visual_t; ># 1252 "/usr/include/xine.h" 3 4 >struct xine_health_check_s { > int status; > const char* cdrom_dev; > const char* dvd_dev; > char* msg; > char* title; > char* explanation; >}; > >typedef struct xine_health_check_s xine_health_check_t; >xine_health_check_t* xine_health_check(xine_health_check_t*, int check_num); ># 1280 "/usr/include/xine.h" 3 4 >typedef struct xine_cfg_entry_s xine_cfg_entry_t; > >typedef void (*xine_config_cb_t) (void *user_data, > xine_cfg_entry_t *entry); >struct xine_cfg_entry_s { > const char *key; > > int type; > > > char *unknown_value; > > > char *str_value; > char *str_default; > > char *str_sticky; > > > > > > int num_value; > int num_default; > > > int range_min; > int range_max; > > > char **enum_values; > > > > > > const char *description; > const char *help; > > > int exp_level; ># 1330 "/usr/include/xine.h" 3 4 > xine_config_cb_t callback; > void *callback_data; > >}; > >const char *xine_config_register_string (xine_t *self, > const char *key, > const char *def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > >int xine_config_register_range (xine_t *self, > const char *key, > int def_value, > int min, int max, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > >int xine_config_register_enum (xine_t *self, > const char *key, > int def_value, > char **values, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > >int xine_config_register_num (xine_t *self, > const char *key, > int def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > >int xine_config_register_bool (xine_t *self, > const char *key, > int def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); ># 1390 "/usr/include/xine.h" 3 4 >int xine_config_get_first_entry (xine_t *self, xine_cfg_entry_t *entry); > > >int xine_config_get_next_entry (xine_t *self, xine_cfg_entry_t *entry); > > >int xine_config_lookup_entry (xine_t *self, const char *key, > xine_cfg_entry_t *entry); > > > > > > > >void xine_config_update_entry (xine_t *self, > const xine_cfg_entry_t *entry); > > > > >void xine_config_load (xine_t *self, const char *cfg_filename); >void xine_config_save (xine_t *self, const char *cfg_filename); >void xine_config_reset (xine_t *self); ># 1541 "/usr/include/xine.h" 3 4 >typedef struct { > int type; > xine_stream_t *stream; > > void *data; > int data_length; > > > struct timeval tv; >} xine_event_t; > > > > >typedef struct { > xine_event_t event; > uint8_t button; > uint16_t x,y; >} xine_input_data_t; > > > > >typedef struct { > int num_buttons; > int str_len; > char str[256]; >} xine_ui_data_t; > > > > >typedef struct { > > > > > xine_ui_data_t compatibility; > > > int type; > > > > > int explanation; > > > int num_parameters; > int parameters; > > > > > > > > char messages[1]; >} xine_ui_message_data_t; > > > > > >typedef struct { > int width; > int height; > > > int aspect; > int pan_scan; >} xine_format_change_data_t; > > > > >typedef struct { > int left; > int right; > int mute; >} xine_audio_level_data_t; > > > > >typedef struct { > const char *description; > int percent; >} xine_progress_data_t; ># 1659 "/usr/include/xine.h" 3 4 >typedef struct { > int alternative; > char mrl[1]; >} xine_mrl_reference_data_t; > >typedef struct { > int alternative; > uint32_t start_time, duration; > uint32_t spare[20]; > const char mrl[1]; > >} xine_mrl_reference_data_ext_t; > > > > >typedef struct { > > int input; > int channel; > int radio; > uint32_t frequency; > uint32_t transmission; > > > uint32_t framerate_numerator; > uint32_t framerate_denominator; > uint32_t framelines; > uint64_t standard_id; > uint32_t colorstandard; > uint32_t colorsubcarrier; > int frame_width; > int frame_height; > > > > > uint32_t spare[20]; > > > int32_t session_id; > >} xine_set_v4l2_data_t; > > > > > >typedef struct { > > > int bitrate_vbr; > int bitrate_mean; > int bitrate_peak; > int gop_size; > int gop_closure; > int b_frames; > int aspect_ratio; > > > > > uint32_t spare[20]; > >} xine_set_mpeg_data_t; > >typedef struct { > int direction; > int32_t button; >} xine_spu_button_t; ># 1770 "/usr/include/xine.h" 3 4 >typedef struct { > > > int skipped_frames; > int skipped_threshold; > int discarded_frames; > int discarded_threshold; >} xine_dropped_frames_t; ># 1807 "/usr/include/xine.h" 3 4 >typedef struct xine_event_queue_s xine_event_queue_t; ># 1816 "/usr/include/xine.h" 3 4 >xine_event_queue_t *xine_event_new_queue (xine_stream_t *stream); >void xine_event_dispose_queue (xine_event_queue_t *queue); > > > > > > > >xine_event_t *xine_event_get (xine_event_queue_t *queue); >xine_event_t *xine_event_wait (xine_event_queue_t *queue); >void xine_event_free (xine_event_t *event); ># 1837 "/usr/include/xine.h" 3 4 >typedef void (*xine_event_listener_cb_t) (void *user_data, > const xine_event_t *event); >void xine_event_create_listener_thread (xine_event_queue_t *queue, > xine_event_listener_cb_t callback, > void *user_data); > > > > > > > >void xine_event_send (xine_stream_t *stream, const xine_event_t *event); ># 1881 "/usr/include/xine.h" 3 4 >typedef struct xine_osd_s xine_osd_t; > >xine_osd_t *xine_osd_new (xine_stream_t *self, int x, int y, > int width, int height); >uint32_t xine_osd_get_capabilities (xine_osd_t *self); >void xine_osd_draw_point (xine_osd_t *self, int x, int y, int color); > >void xine_osd_draw_line (xine_osd_t *self, int x1, int y1, > int x2, int y2, int color); >void xine_osd_draw_rect (xine_osd_t *self, int x1, int y1, > int x2, int y2, > int color, int filled ); > >void xine_osd_draw_text (xine_osd_t *self, int x1, int y1, > const char *text, int color_base); >void xine_osd_draw_bitmap (xine_osd_t *self, uint8_t *bitmap, > int x1, int y1, int width, int height, > uint8_t *palette_map); > > >void xine_osd_get_text_size (xine_osd_t *self, const char *text, > int *width, int *height); > > >int xine_osd_set_font (xine_osd_t *self, const char *fontname, > int size); > > > > > >void xine_osd_set_encoding(xine_osd_t *self, const char *encoding); > >void xine_osd_set_position (xine_osd_t *self, int x, int y); >void xine_osd_show (xine_osd_t *self, int64_t vpts); >void xine_osd_show_unscaled (xine_osd_t *self, int64_t vpts); >void xine_osd_hide (xine_osd_t *self, int64_t vpts); > >void xine_osd_clear (xine_osd_t *self); ># 1935 "/usr/include/xine.h" 3 4 >void xine_osd_set_text_palette (xine_osd_t *self, > int palette_number, > int color_base ); > >void xine_osd_get_palette (xine_osd_t *self, uint32_t *color, > uint8_t *trans); >void xine_osd_set_palette (xine_osd_t *self, > const uint32_t *const color, > const uint8_t *const trans ); > > > > > >void xine_osd_free (xine_osd_t *self); ># 1961 "/usr/include/xine.h" 3 4 >typedef enum { > XINE_TVSYSTEM_PAL = 0, > XINE_TVSYSTEM_NTSC >} xine_tvsystem; > > >int xine_tvmode_init (xine_t *self); > > >int xine_tvmode_use(xine_t *self, int use_tvmode); > > >void xine_tvmode_set_tvsystem(xine_t *self, xine_tvsystem system); ># 1982 "/usr/include/xine.h" 3 4 >int xine_tvmode_switch (xine_t *self, int type, int width, int height, double fps); > > > > >void xine_tvmode_size (xine_t *self, int *width, int *height, > double *pixelratio, double *fps); > > >void xine_tvmode_exit (xine_t *self); > > > > >} ># 39 "/usr/include/xine/configfile.h" 2 3 4 ># 50 "/usr/include/xine/configfile.h" 3 4 >typedef struct cfg_entry_s cfg_entry_t; >typedef struct config_values_s config_values_t; > >struct cfg_entry_s { > cfg_entry_t *next; > config_values_t *config; > > char *key; > int type; > > > char *unknown_value; > > > char *str_value; > char *str_default; > > > > int num_value; > int num_default; > > > int range_min; > int range_max; > > > char **enum_values; > > > char *description; > char *help; > > > int exp_level; > > > xine_config_cb_t callback; > void *callback_data; >}; > >struct config_values_s { ># 102 "/usr/include/xine/configfile.h" 3 4 > char* (*register_string) (config_values_t *self, > const char *key, > const char *def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > > int (*register_range) (config_values_t *self, > const char *key, > int def_value, > int min, int max, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > > int (*register_enum) (config_values_t *self, > const char *key, > int def_value, > char **values, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > > int (*register_num) (config_values_t *self, > const char *key, > int def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > > int (*register_bool) (config_values_t *self, > const char *key, > int def_value, > const char *description, > const char *help, > int exp_level, > xine_config_cb_t changed_cb, > void *cb_data); > > > void (*update_num) (config_values_t *self, const char *key, int value); > > > void (*update_string) (config_values_t *self, const char *key, const char *value); > > > int (*parse_enum) (const char *str, char **values); ># 165 "/usr/include/xine/configfile.h" 3 4 > cfg_entry_t* (*lookup_entry) (config_values_t *self, const char *key); > > > > > void (*unregister_callback) (config_values_t *self, const char *key); > > > > > void (*dispose) (config_values_t *self); > > > > > cfg_entry_t *first, *last, *cur; > > > > > pthread_mutex_t config_lock; > > > > > int current_version; >}; > > > > >config_values_t *_x_config_init (void); > > > > > >int _x_config_change_opt(config_values_t *config, const char *opt) ; > > > >} ># 61 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/list.h" 1 3 4 ># 47 "/usr/include/xine/list.h" 3 4 >typedef struct xine_list_s xine_list_t; > > >typedef void* xine_list_iterator_t; > > >xine_list_t *xine_list_new(void); > > >void xine_list_delete(xine_list_t *list); > > >unsigned int xine_list_size(xine_list_t *list); > > >unsigned int xine_list_empty(xine_list_t *list); > > >void xine_list_push_front(xine_list_t *list, void *value); > > >void xine_list_push_back(xine_list_t *list, void *value); > > >void xine_list_clear(xine_list_t *list); > > > > > >xine_list_iterator_t xine_list_insert(xine_list_t *list, > xine_list_iterator_t position, > void *value); > > >void xine_list_remove(xine_list_t *list, xine_list_iterator_t position); > > >xine_list_iterator_t xine_list_front(xine_list_t *list); > > >xine_list_iterator_t xine_list_back(xine_list_t *list); > > > >xine_list_iterator_t xine_list_find(xine_list_t *list, void *value); > > > >xine_list_iterator_t xine_list_next(xine_list_t *list, xine_list_iterator_t ite); > > > >xine_list_iterator_t xine_list_prev(xine_list_t *list, xine_list_iterator_t ite); > > >void *xine_list_get_value(xine_list_t *list, xine_list_iterator_t ite); ># 62 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/array.h" 1 3 4 ># 29 "/usr/include/xine/array.h" 3 4 >typedef struct xine_array_s xine_array_t; > > >xine_array_t *xine_array_new(size_t initial_size); > > >void xine_array_delete(xine_array_t *array); > > >size_t xine_array_size(xine_array_t *array); > > >void xine_array_clear(xine_array_t *array); > > >void xine_array_add(xine_array_t *array, void *value); > > >void xine_array_insert(xine_array_t *array, unsigned int position, void *value); > > >void xine_array_remove(xine_array_t *array, unsigned int position); > > >void *xine_array_get(xine_array_t *array, unsigned int position); > > >void xine_array_set(xine_array_t *array, unsigned int position, void *value); ># 63 "/usr/include/xine/xineutils.h" 2 3 4 > ># 1 "/usr/include/xine/sorted_array.h" 1 3 4 ># 60 "/usr/include/xine/sorted_array.h" 3 4 > ># 1 "/usr/include/xine/array.h" 1 3 4 ># 61 "/usr/include/xine/sorted_array.h" 2 3 4 > > >typedef struct xine_sarray_s xine_sarray_t; > > >typedef int (*xine_sarray_comparator_t)(void*, void*); > > >xine_sarray_t *xine_sarray_new(size_t initial_size, xine_sarray_comparator_t comparator); > > >void xine_sarray_delete(xine_sarray_t *sarray); > > >size_t xine_sarray_size(const xine_sarray_t *sarray); > > >void xine_sarray_clear(xine_sarray_t *sarray); > > > >int xine_sarray_add(xine_sarray_t *sarray, void *value); > > >void xine_sarray_remove(xine_sarray_t *sarray, unsigned int position); > > >void *xine_sarray_get(xine_sarray_t *sarray, unsigned int position); > > > > > >int xine_sarray_binary_search(xine_sarray_t *sarray, void *key); ># 64 "/usr/include/xine/xineutils.h" 2 3 4 ># 82 "/usr/include/xine/xineutils.h" 3 4 > typedef struct { > pthread_mutex_t mutex; > char id[80]; > char *locked_by; > } xine_mutex_t; > > int xine_mutex_init (xine_mutex_t *mutex, const pthread_mutexattr_t *mutexattr, > const char *id); > > int xine_mutex_lock (xine_mutex_t *mutex, const char *who); > int xine_mutex_unlock (xine_mutex_t *mutex, const char *who); > int xine_mutex_destroy (xine_mutex_t *mutex); ># 131 "/usr/include/xine/xineutils.h" 3 4 >uint32_t xine_mm_accel (void); ># 603 "/usr/include/xine/xineutils.h" 3 4 >extern void *(* xine_fast_memcpy)(void *to, const void *from, size_t len); ># 617 "/usr/include/xine/xineutils.h" 3 4 >void xine_profiler_init (void); >int xine_profiler_allocate_slot (const char *label); >void xine_profiler_start_count (int id); >void xine_profiler_stop_count (int id); >void xine_profiler_print_results (void); ># 630 "/usr/include/xine/xineutils.h" 3 4 >void *xine_xmalloc(size_t size) __attribute__ ((__malloc__)); > > > > > > > >void *xine_xmalloc_aligned(size_t alignment, size_t size, void **base); > > > > >const char *xine_get_homedir(void); ># 658 "/usr/include/xine/xineutils.h" 3 4 >char *xine_chomp (char *str); > > > > >void xine_usec_sleep(unsigned usec); > > > > > > > >void xine_strdupa(char *dest, char *src); ># 693 "/usr/include/xine/xineutils.h" 3 4 >typedef struct yuv_planes_s { > > unsigned char *y; > unsigned char *u; > unsigned char *v; > unsigned int row_width; > unsigned int row_count; > >} yuv_planes_t; > >void init_yuv_conversion(void); >void init_yuv_planes(yuv_planes_t *yuv_planes, int width, int height); >void free_yuv_planes(yuv_planes_t *yuv_planes); > >extern void (*yuv444_to_yuy2) > (const yuv_planes_t *yuv_planes, unsigned char *yuy2_map, int pitch); >extern void (*yuv9_to_yv12) > (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dest, int y_dest_pitch, > const unsigned char *u_src, int u_src_pitch, unsigned char *u_dest, int u_dest_pitch, > const unsigned char *v_src, int v_src_pitch, unsigned char *v_dest, int v_dest_pitch, > int width, int height); >extern void (*yuv411_to_yv12) > (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dest, int y_dest_pitch, > const unsigned char *u_src, int u_src_pitch, unsigned char *u_dest, int u_dest_pitch, > const unsigned char *v_src, int v_src_pitch, unsigned char *v_dest, int v_dest_pitch, > int width, int height); >extern void (*yv12_to_yuy2) > (const unsigned char *y_src, int y_src_pitch, > const unsigned char *u_src, int u_src_pitch, > const unsigned char *v_src, int v_src_pitch, > unsigned char *yuy2_map, int yuy2_pitch, > int width, int height, int progressive); >extern void (*yuy2_to_yv12) > (const unsigned char *yuy2_map, int yuy2_pitch, > unsigned char *y_dst, int y_dst_pitch, > unsigned char *u_dst, int u_dst_pitch, > unsigned char *v_dst, int v_dst_pitch, > int width, int height); ># 765 "/usr/include/xine/xineutils.h" 3 4 >extern int y_r_table[256]; >extern int y_g_table[256]; >extern int y_b_table[256]; > >extern int u_r_table[256]; >extern int u_g_table[256]; >extern int u_b_table[256]; > >extern int v_r_table[256]; >extern int v_g_table[256]; >extern int v_b_table[256]; > > >extern void yv12_to_yv12 > (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dst, int y_dst_pitch, > const unsigned char *u_src, int u_src_pitch, unsigned char *u_dst, int u_dst_pitch, > const unsigned char *v_src, int v_src_pitch, unsigned char *v_dst, int v_dst_pitch, > int width, int height); >extern void yuy2_to_yuy2 > (const unsigned char *src, int src_pitch, > unsigned char *dst, int dst_pitch, > int width, int height); > > >void xine_hexdump (const char *buf, int length); ># 962 "/usr/include/xine/xineutils.h" 3 4 >char *xine_get_system_encoding(void); > > > > >const char *xine_guess_spu_encoding(void); > > > > > >int xine_monotonic_clock(struct timeval *tv, struct timezone *tz); > > > > > > > >} ># 33 "kxinewidget.cpp" 2 > > ># 1 "/usr/include/math.h" 1 3 4 ># 30 "/usr/include/math.h" 3 4 >extern "C" { > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/huge_valf.h" 1 3 4 ># 37 "/usr/include/math.h" 2 3 4 > ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 41 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 44 "/usr/include/math.h" 2 3 4 > > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 36 "/usr/include/bits/mathdef.h" 3 4 >typedef long double float_t; > >typedef long double double_t; ># 48 "/usr/include/math.h" 2 3 4 ># 71 "/usr/include/math.h" 3 4 > ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) throw (); extern double __acos (double __x) throw (); > >extern double asin (double __x) throw (); extern double __asin (double __x) throw (); > >extern double atan (double __x) throw (); extern double __atan (double __x) throw (); > >extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); > > >extern double cos (double __x) throw (); extern double __cos (double __x) throw (); > >extern double sin (double __x) throw (); extern double __sin (double __x) throw (); > >extern double tan (double __x) throw (); extern double __tan (double __x) throw (); > > > > >extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); > >extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); > >extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); > > > > >extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); > > > > > > >extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); > >extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); > >extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); > > > > > > > >extern double exp (double __x) throw (); extern double __exp (double __x) throw (); > > >extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); > > >extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); > > >extern double log (double __x) throw (); extern double __log (double __x) throw (); > > >extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); > > >extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw (); > > > > >extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); > >extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); > > > > > >extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); > > >extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); > > >extern double logb (double __x) throw (); extern double __logb (double __x) throw (); > > > > > > >extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); > > >extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); ># 154 "/usr/include/bits/mathcalls.h" 3 4 >extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); > > >extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); > > > > > >extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); > > > > > > >extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); ># 179 "/usr/include/bits/mathcalls.h" 3 4 >extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); > > >extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); > > >extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); > > > > >extern int __isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int __finite (double __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int finite (double __value) throw () __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); > > > >extern double significand (double __x) throw (); extern double __significand (double __x) throw (); > > > > > >extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (__const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) throw () __attribute__ ((__const__)); > > > >extern int isnan (double __value) throw () __attribute__ ((__const__)); > > >extern double j0 (double) throw (); extern double __j0 (double) throw (); >extern double j1 (double) throw (); extern double __j1 (double) throw (); >extern double jn (int, double) throw (); extern double __jn (int, double) throw (); >extern double y0 (double) throw (); extern double __y0 (double) throw (); >extern double y1 (double) throw (); extern double __y1 (double) throw (); >extern double yn (int, double) throw (); extern double __yn (int, double) throw (); > > > > > > >extern double erf (double) throw (); extern double __erf (double) throw (); >extern double erfc (double) throw (); extern double __erfc (double) throw (); >extern double lgamma (double) throw (); extern double __lgamma (double) throw (); > > > > > > >extern double tgamma (double) throw (); extern double __tgamma (double) throw (); > > > > > >extern double gamma (double) throw (); extern double __gamma (double) throw (); > > > > > > >extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); > > > > > > > >extern double rint (double __x) throw (); extern double __rint (double __x) throw (); > > >extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); > > > >extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); > > > >extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); > > > > >extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); > > > >extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); > > > >extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); > > > >extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); > > > > > > >extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); >extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); > > > >extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); >extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); > > > >extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); > > >extern double fmax (double __x, double __y) throw (); extern double __fmax (double __x, double __y) throw (); > > >extern double fmin (double __x, double __y) throw (); extern double __fmin (double __x, double __y) throw (); > > > >extern int __fpclassify (double __value) throw () > __attribute__ ((__const__)); > > >extern int __signbit (double __value) throw () > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); ># 364 "/usr/include/bits/mathcalls.h" 3 4 >extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); ># 72 "/usr/include/math.h" 2 3 4 ># 94 "/usr/include/math.h" 3 4 > ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); > >extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); > >extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); > >extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); > > >extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); > >extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); > >extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); > > > > >extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); > >extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); > >extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); > > > > >extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); > > > > > > >extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); > >extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); > >extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); > > > > > > > >extern float expf (float __x) throw (); extern float __expf (float __x) throw (); > > >extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); > > >extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); > > >extern float logf (float __x) throw (); extern float __logf (float __x) throw (); > > >extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); > > >extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw (); > > > > >extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); > >extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); > > > > > >extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); > > >extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); > > >extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); > > > > > > >extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); > > >extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); ># 154 "/usr/include/bits/mathcalls.h" 3 4 >extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); > > >extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); > > > > > >extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); > > > > > > >extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); ># 179 "/usr/include/bits/mathcalls.h" 3 4 >extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); > > >extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); > > >extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); > > > > >extern int __isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int __finitef (float __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int finitef (float __value) throw () __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); > > > >extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); > > > > > >extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) throw () __attribute__ ((__const__)); > > > >extern int isnanf (float __value) throw () __attribute__ ((__const__)); > > >extern float j0f (float) throw (); extern float __j0f (float) throw (); >extern float j1f (float) throw (); extern float __j1f (float) throw (); >extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); >extern float y0f (float) throw (); extern float __y0f (float) throw (); >extern float y1f (float) throw (); extern float __y1f (float) throw (); >extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); > > > > > > >extern float erff (float) throw (); extern float __erff (float) throw (); >extern float erfcf (float) throw (); extern float __erfcf (float) throw (); >extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); > > > > > > >extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); > > > > > >extern float gammaf (float) throw (); extern float __gammaf (float) throw (); > > > > > > >extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); > > > > > > > >extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); > > >extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); > > > >extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); > > > >extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); > > > > >extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); > > > >extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); > > > >extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); > > > >extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); > > > > > > >extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); >extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); > > > >extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); >extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); > > > >extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); > > >extern float fmaxf (float __x, float __y) throw (); extern float __fmaxf (float __x, float __y) throw (); > > >extern float fminf (float __x, float __y) throw (); extern float __fminf (float __x, float __y) throw (); > > > >extern int __fpclassifyf (float __value) throw () > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) throw () > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); ># 364 "/usr/include/bits/mathcalls.h" 3 4 >extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); ># 95 "/usr/include/math.h" 2 3 4 ># 141 "/usr/include/math.h" 3 4 > ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); > >extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); > >extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); > >extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); > > >extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); > >extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); > >extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); > > > > >extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); > >extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); > >extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); > > > > >extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); > > > > > > >extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); > >extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); > >extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); > > > > > > > >extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); > > >extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); > > >extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); > > >extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); > > >extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); > > >extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw (); > > > > >extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); > >extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); > > > > > >extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); > > >extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); > > >extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); > > > > > > >extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); > > >extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); ># 154 "/usr/include/bits/mathcalls.h" 3 4 >extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); > > >extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); > > > > > >extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); > > > > > > >extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); ># 179 "/usr/include/bits/mathcalls.h" 3 4 >extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); > > >extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); > > > > >extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); > > >extern int __finitel (long double __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) throw () __attribute__ ((__const__)); > > >extern int finitel (long double __value) throw () __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); > > > >extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); > > > > > >extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) throw () __attribute__ ((__const__)); > > >extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); >extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); >extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); >extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); >extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); >extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); > > > > > > >extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); >extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); >extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); > > > > > > >extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); > > > > > >extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); > > > > > > > >extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); > > >extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); > > > >extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); > > > >extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); > > > > >extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); > > > >extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); > > > >extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); > > > > > > >extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); >extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); > > > >extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); >extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); > > > >extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); > > >extern long double fmaxl (long double __x, long double __y) throw (); extern long double __fmaxl (long double __x, long double __y) throw (); > > >extern long double fminl (long double __x, long double __y) throw (); extern long double __fminl (long double __x, long double __y) throw (); > > > >extern int __fpclassifyl (long double __value) throw () > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) throw () > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); ># 364 "/usr/include/bits/mathcalls.h" 3 4 >extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); ># 142 "/usr/include/math.h" 2 3 4 ># 157 "/usr/include/math.h" 3 4 >extern int signgam; ># 198 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 284 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 307 "/usr/include/math.h" 3 4 >struct __exception > > > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > >extern int matherr (struct __exception *__exc) throw (); ># 409 "/usr/include/math.h" 3 4 > ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 127 "/usr/include/bits/mathinline.h" 3 4 >__inline int >__signbitf (float __x) throw () >{ > __extension__ union { float __f; int __i; } __u = { __f: __x }; > return __u.__i < 0; >} >__inline int >__signbit (double __x) throw () >{ > __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; > return __u.__i[1] < 0; >} >__inline int >__signbitl (long double __x) throw () >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 291 "/usr/include/bits/mathinline.h" 3 4 >__inline double __sgn (double) throw (); __inline double __sgn (double __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } __inline float __sgnf (float) throw (); __inline float __sgnf (float __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } __inline long double __sgnl (long double) throw (); __inline long double __sgnl (long double __x) throw () { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } ># 433 "/usr/include/bits/mathinline.h" 3 4 >__inline long double __atan2l (long double __y, long double __x) throw () { return __builtin_atan2l (__y, __x); } ># 473 "/usr/include/bits/mathinline.h" 3 4 >__inline double fabs (double __x) throw () { return __builtin_fabs (__x); } > >__inline float fabsf (float __x) throw () { return __builtin_fabsf (__x); } >__inline long double fabsl (long double __x) throw () { return __builtin_fabsl (__x); } > >__inline long double __fabsl (long double __x) throw () { return __builtin_fabsl (__x); } ># 506 "/usr/include/bits/mathinline.h" 3 4 >__inline long double __sgn1l (long double) throw (); __inline long double __sgn1l (long double __x) throw () { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } ># 530 "/usr/include/bits/mathinline.h" 3 4 >__inline double floor (double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline float floorf (float __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline long double floorl (long double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } ># 541 "/usr/include/bits/mathinline.h" 3 4 >__inline double ceil (double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline float ceilf (float __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } __inline long double ceill (long double __x) throw () { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } ># 653 "/usr/include/bits/mathinline.h" 3 4 >__inline long int >lrintf (float __x) throw () >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >__inline long int >lrint (double __x) throw () >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >__inline long int >lrintl (long double __x) throw () >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} ># 676 "/usr/include/bits/mathinline.h" 3 4 >__inline long long int >llrintf (float __x) throw () >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >__inline long long int >llrint (double __x) throw () >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >__inline long long int >llrintl (long double __x) throw () >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} ># 713 "/usr/include/bits/mathinline.h" 3 4 >__inline int >__finite (double __x) throw () >{ > return (__extension__ > (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] > | 0x800fffffu) + 1) >> 31)); >} ># 410 "/usr/include/math.h" 2 3 4 ># 465 "/usr/include/math.h" 3 4 >} ># 35 "kxinewidget.cpp" 2 > > > > ># 1 "kxinewidget.h" 1 ># 35 "kxinewidget.h" > ># 1 "../../../../config.h" 1 ># 213 "../../../../config.h" >extern "C" { > >unsigned long strlcat(char*, const char*, unsigned long); > >} > > > > > > > >extern "C" { > >unsigned long strlcpy(char*, const char*, unsigned long); > >} ># 36 "kxinewidget.h" 2 > > > >class QWidget; >class QString; >class QStringList; >class QMouseEvent; >class QTimerEvent; >class QTime; > > > > ># 1 "/usr/qt/3/include/qptrlist.h" 1 ># 49 "kxinewidget.h" 2 > ># 1 "/usr/include/X11/Xlib.h" 1 3 4 ># 60 "/usr/include/X11/Xlib.h" 3 4 > ># 1 "/usr/include/X11/X.h" 1 3 4 ># 71 "/usr/include/X11/X.h" 3 4 >typedef unsigned long XID; > > > >typedef unsigned long Mask; > > > >typedef unsigned long Atom; > >typedef unsigned long VisualID; >typedef unsigned long Time; ># 101 "/usr/include/X11/X.h" 3 4 >typedef XID Window; >typedef XID Drawable; > > >typedef XID Font; > >typedef XID Pixmap; >typedef XID Cursor; >typedef XID Colormap; >typedef XID GContext; >typedef XID KeySym; > >typedef unsigned char KeyCode; ># 61 "/usr/include/X11/Xlib.h" 2 3 4 > > > ># 1 "/usr/include/X11/Xfuncproto.h" 1 3 4 ># 64 "/usr/include/X11/Xlib.h" 2 3 4 > ># 1 "/usr/include/X11/Xosdefs.h" 1 3 4 ># 65 "/usr/include/X11/Xlib.h" 2 3 4 ># 75 "/usr/include/X11/Xlib.h" 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 152 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 76 "/usr/include/X11/Xlib.h" 2 3 4 ># 93 "/usr/include/X11/Xlib.h" 3 4 >extern int >_Xmblen( > > > > > char *str, > int len > > ); > > > > > >typedef char *XPointer; ># 180 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XExtData { > int number; > struct _XExtData *next; > int (*free_private)( > struct _XExtData *extension > ); > XPointer private_data; >} XExtData; > > > > >typedef struct { > int extension; > int major_opcode; > int first_event; > int first_error; >} XExtCodes; > > > > > >typedef struct { > int depth; > int bits_per_pixel; > int scanline_pad; >} XPixmapFormatValues; > > > > > >typedef struct { > int function; > unsigned long plane_mask; > unsigned long foreground; > unsigned long background; > int line_width; > int line_style; > int cap_style; > > int join_style; > int fill_style; > > int fill_rule; > int arc_mode; > Pixmap tile; > Pixmap stipple; > int ts_x_origin; > int ts_y_origin; > Font font; > int subwindow_mode; > int graphics_exposures; > int clip_x_origin; > int clip_y_origin; > Pixmap clip_mask; > int dash_offset; > char dashes; >} XGCValues; > > > > > > >typedef struct _XGC > > > > > > > >*GC; > > > > >typedef struct { > XExtData *ext_data; > VisualID visualid; > > int c_class; > > > > unsigned long red_mask, green_mask, blue_mask; > int bits_per_rgb; > int map_entries; >} Visual; > > > > >typedef struct { > int depth; > int nvisuals; > Visual *visuals; >} Depth; > > > > > > > >struct _XDisplay; > >typedef struct { > XExtData *ext_data; > struct _XDisplay *display; > Window root; > int width, height; > int mwidth, mheight; > int ndepths; > Depth *depths; > int root_depth; > Visual *root_visual; > GC default_gc; > Colormap cmap; > unsigned long white_pixel; > unsigned long black_pixel; > int max_maps, min_maps; > int backing_store; > int save_unders; > long root_input_mask; >} Screen; > > > > >typedef struct { > XExtData *ext_data; > int depth; > int bits_per_pixel; > int scanline_pad; >} ScreenFormat; > > > > >typedef struct { > Pixmap background_pixmap; > unsigned long background_pixel; > Pixmap border_pixmap; > unsigned long border_pixel; > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > long event_mask; > long do_not_propagate_mask; > int override_redirect; > Colormap colormap; > Cursor cursor; >} XSetWindowAttributes; > >typedef struct { > int x, y; > int width, height; > int border_width; > int depth; > Visual *visual; > Window root; > > int c_class; > > > > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > Colormap colormap; > int map_installed; > int map_state; > long all_event_masks; > long your_event_mask; > long do_not_propagate_mask; > int override_redirect; > Screen *screen; >} XWindowAttributes; > > > > > > >typedef struct { > int family; > int length; > char *address; >} XHostAddress; > > > > >typedef struct { > int typelength; > int valuelength; > char *type; > char *value; >} XServerInterpretedAddress; > > > > >typedef struct _XImage { > int width, height; > int xoffset; > int format; > char *data; > int byte_order; > int bitmap_unit; > int bitmap_bit_order; > int bitmap_pad; > int depth; > int bytes_per_line; > int bits_per_pixel; > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > XPointer obdata; > struct funcs { > struct _XImage *(*create_image)( > struct _XDisplay* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int ); > int (*destroy_image) (struct _XImage *); > unsigned long (*get_pixel) (struct _XImage *, int, int); > int (*put_pixel) (struct _XImage *, int, int, unsigned long); > struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); > int (*add_pixel) (struct _XImage *, long); > } f; >} XImage; > > > > >typedef struct { > int x, y; > int width, height; > int border_width; > Window sibling; > int stack_mode; >} XWindowChanges; > > > > >typedef struct { > unsigned long pixel; > unsigned short red, green, blue; > char flags; > char pad; >} XColor; > > > > > > >typedef struct { > short x1, y1, x2, y2; >} XSegment; > >typedef struct { > short x, y; >} XPoint; > >typedef struct { > short x, y; > unsigned short width, height; >} XRectangle; > >typedef struct { > short x, y; > unsigned short width, height; > short angle1, angle2; >} XArc; > > > > >typedef struct { > int key_click_percent; > int bell_percent; > int bell_pitch; > int bell_duration; > int led; > int led_mode; > int key; > int auto_repeat_mode; >} XKeyboardControl; > > > >typedef struct { > int key_click_percent; > int bell_percent; > unsigned int bell_pitch, bell_duration; > unsigned long led_mask; > int global_auto_repeat; > char auto_repeats[32]; >} XKeyboardState; > > > >typedef struct { > Time time; > short x, y; >} XTimeCoord; > > > >typedef struct { > int max_keypermod; > KeyCode *modifiermap; >} XModifierKeymap; ># 519 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XDisplay Display; > > >struct _XPrivate; >struct _XrmHashBucketRec; > >typedef struct > > > >{ > XExtData *ext_data; > struct _XPrivate *private1; > int fd; > int private2; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID private3; > XID private4; > XID private5; > int private6; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int private8; > int release; > struct _XPrivate *private9, *private10; > int qlen; > unsigned long last_request_read; > unsigned long request; > XPointer private11; > XPointer private12; > XPointer private13; > XPointer private14; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*private15)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long private16; > int min_keycode; > int max_keycode; > XPointer private17; > XPointer private18; > int private19; > char *xdefaults; > >} > > > >*_XPrivDisplay; > > > > > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int keycode; > int same_screen; >} XKeyEvent; >typedef XKeyEvent XKeyPressedEvent; >typedef XKeyEvent XKeyReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int button; > int same_screen; >} XButtonEvent; >typedef XButtonEvent XButtonPressedEvent; >typedef XButtonEvent XButtonReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > char is_hint; > int same_screen; >} XMotionEvent; >typedef XMotionEvent XPointerMovedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > int mode; > int detail; > > > > > int same_screen; > int focus; > unsigned int state; >} XCrossingEvent; >typedef XCrossingEvent XEnterWindowEvent; >typedef XCrossingEvent XLeaveWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int mode; > > int detail; > > > > > >} XFocusChangeEvent; >typedef XFocusChangeEvent XFocusInEvent; >typedef XFocusChangeEvent XFocusOutEvent; > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > char key_vector[32]; >} XKeymapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int x, y; > int width, height; > int count; >} XExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int x, y; > int width, height; > int count; > int major_code; > int minor_code; >} XGraphicsExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int major_code; > int minor_code; >} XNoExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int state; >} XVisibilityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > int override_redirect; >} XCreateWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; >} XDestroyWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int from_configure; >} XUnmapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int override_redirect; >} XMapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; >} XMapRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > Window parent; > int x, y; > int override_redirect; >} XReparentEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int override_redirect; >} XConfigureEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; >} XGravityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int width, height; >} XResizeRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int detail; > unsigned long value_mask; >} XConfigureRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int place; >} XCirculateEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int place; >} XCirculateRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom atom; > Time time; > int state; >} XPropertyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom selection; > Time time; >} XSelectionClearEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window owner; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Colormap colormap; > > int c_new; > > > > int state; >} XColormapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom message_type; > int format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >} XClientMessageEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int request; > > int first_keycode; > int count; >} XMappingEvent; > >typedef struct { > int type; > Display *display; > XID resourceid; > unsigned long serial; > unsigned char error_code; > unsigned char request_code; > unsigned char minor_code; >} XErrorEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; >} XAnyEvent; > > > > > >typedef union _XEvent { > int type; > XAnyEvent xany; > XKeyEvent xkey; > XButtonEvent xbutton; > XMotionEvent xmotion; > XCrossingEvent xcrossing; > XFocusChangeEvent xfocus; > XExposeEvent xexpose; > XGraphicsExposeEvent xgraphicsexpose; > XNoExposeEvent xnoexpose; > XVisibilityEvent xvisibility; > XCreateWindowEvent xcreatewindow; > XDestroyWindowEvent xdestroywindow; > XUnmapEvent xunmap; > XMapEvent xmap; > XMapRequestEvent xmaprequest; > XReparentEvent xreparent; > XConfigureEvent xconfigure; > XGravityEvent xgravity; > XResizeRequestEvent xresizerequest; > XConfigureRequestEvent xconfigurerequest; > XCirculateEvent xcirculate; > XCirculateRequestEvent xcirculaterequest; > XPropertyEvent xproperty; > XSelectionClearEvent xselectionclear; > XSelectionRequestEvent xselectionrequest; > XSelectionEvent xselection; > XColormapEvent xcolormap; > XClientMessageEvent xclient; > XMappingEvent xmapping; > XErrorEvent xerror; > XKeymapEvent xkeymap; > long pad[24]; >} XEvent; > > > > > > > >typedef struct { > short lbearing; > short rbearing; > short width; > short ascent; > short descent; > unsigned short attributes; >} XCharStruct; > > > > > >typedef struct { > Atom name; > unsigned long card32; >} XFontProp; > >typedef struct { > XExtData *ext_data; > Font fid; > unsigned direction; > unsigned min_char_or_byte2; > unsigned max_char_or_byte2; > unsigned min_byte1; > unsigned max_byte1; > int all_chars_exist; > unsigned default_char; > int n_properties; > XFontProp *properties; > XCharStruct min_bounds; > XCharStruct max_bounds; > XCharStruct *per_char; > int ascent; > int descent; >} XFontStruct; > > > > >typedef struct { > char *chars; > int nchars; > int delta; > Font font; >} XTextItem; > >typedef struct { > unsigned char byte1; > unsigned char byte2; >} XChar2b; > >typedef struct { > XChar2b *chars; > int nchars; > int delta; > Font font; >} XTextItem16; > > >typedef union { Display *display; > GC gc; > Visual *visual; > Screen *screen; > ScreenFormat *pixmap_format; > XFontStruct *font; } XEDataObject; > >typedef struct { > XRectangle max_ink_extent; > XRectangle max_logical_extent; >} XFontSetExtents; > > > > > >typedef struct _XOM *XOM; >typedef struct _XOC *XOC, *XFontSet; > >typedef struct { > char *chars; > int nchars; > int delta; > XFontSet font_set; >} XmbTextItem; > >typedef struct { > wchar_t *chars; > int nchars; > int delta; > XFontSet font_set; >} XwcTextItem; ># 1124 "/usr/include/X11/Xlib.h" 3 4 >typedef struct { > int charset_count; > char **charset_list; >} XOMCharSetList; > >typedef enum { > XOMOrientation_LTR_TTB, > XOMOrientation_RTL_TTB, > XOMOrientation_TTB_LTR, > XOMOrientation_TTB_RTL, > XOMOrientation_Context >} XOrientation; > >typedef struct { > int num_orientation; > XOrientation *orientation; >} XOMOrientation; > >typedef struct { > int num_font; > XFontStruct **font_struct_list; > char **font_name_list; >} XOMFontInfo; > >typedef struct _XIM *XIM; >typedef struct _XIC *XIC; > >typedef void (*XIMProc)( > XIM, > XPointer, > XPointer >); > >typedef int (*XICProc)( > XIC, > XPointer, > XPointer >); > >typedef void (*XIDProc)( > Display*, > XPointer, > XPointer >); > >typedef unsigned long XIMStyle; > >typedef struct { > unsigned short count_styles; > XIMStyle *supported_styles; >} XIMStyles; ># 1236 "/usr/include/X11/Xlib.h" 3 4 >typedef void *XVaNestedList; > >typedef struct { > XPointer client_data; > XIMProc callback; >} XIMCallback; > >typedef struct { > XPointer client_data; > XICProc callback; >} XICCallback; > >typedef unsigned long XIMFeedback; ># 1260 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XIMText { > unsigned short length; > XIMFeedback *feedback; > int encoding_is_wchar; > union { > char *multi_byte; > wchar_t *wide_char; > } string; >} XIMText; > >typedef unsigned long XIMPreeditState; > > > > > >typedef struct _XIMPreeditStateNotifyCallbackStruct { > XIMPreeditState state; >} XIMPreeditStateNotifyCallbackStruct; > >typedef unsigned long XIMResetState; > > > > >typedef unsigned long XIMStringConversionFeedback; ># 1294 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XIMStringConversionText { > unsigned short length; > XIMStringConversionFeedback *feedback; > int encoding_is_wchar; > union { > char *mbs; > wchar_t *wcs; > } string; >} XIMStringConversionText; > >typedef unsigned short XIMStringConversionPosition; > >typedef unsigned short XIMStringConversionType; > > > > > > >typedef unsigned short XIMStringConversionOperation; > > > > >typedef enum { > XIMForwardChar, XIMBackwardChar, > XIMForwardWord, XIMBackwardWord, > XIMCaretUp, XIMCaretDown, > XIMNextLine, XIMPreviousLine, > XIMLineStart, XIMLineEnd, > XIMAbsolutePosition, > XIMDontChange >} XIMCaretDirection; > >typedef struct _XIMStringConversionCallbackStruct { > XIMStringConversionPosition position; > XIMCaretDirection direction; > XIMStringConversionOperation operation; > unsigned short factor; > XIMStringConversionText *text; >} XIMStringConversionCallbackStruct; > >typedef struct _XIMPreeditDrawCallbackStruct { > int caret; > int chg_first; > int chg_length; > XIMText *text; >} XIMPreeditDrawCallbackStruct; > >typedef enum { > XIMIsInvisible, > XIMIsPrimary, > XIMIsSecondary >} XIMCaretStyle; > >typedef struct _XIMPreeditCaretCallbackStruct { > int position; > XIMCaretDirection direction; > XIMCaretStyle style; >} XIMPreeditCaretCallbackStruct; > >typedef enum { > XIMTextType, > XIMBitmapType >} XIMStatusDataType; > >typedef struct _XIMStatusDrawCallbackStruct { > XIMStatusDataType type; > union { > XIMText *text; > Pixmap bitmap; > } data; >} XIMStatusDrawCallbackStruct; > >typedef struct _XIMHotKeyTrigger { > KeySym keysym; > int modifier; > int modifier_mask; >} XIMHotKeyTrigger; > >typedef struct _XIMHotKeyTriggers { > int num_hot_key; > XIMHotKeyTrigger *key; >} XIMHotKeyTriggers; > >typedef unsigned long XIMHotKeyState; > > > > >typedef struct { > unsigned short count_values; > char **supported_values; >} XIMValuesList; > >extern "C" { > > > > > >extern int _Xdebug; > >extern XFontStruct *XLoadQueryFont( > Display* , > const char* >); > >extern XFontStruct *XQueryFont( > Display* , > XID >); > > >extern XTimeCoord *XGetMotionEvents( > Display* , > Window , > Time , > Time , > int* >); > >extern XModifierKeymap *XDeleteModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XGetModifierMapping( > Display* >); > >extern XModifierKeymap *XInsertModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XNewModifiermap( > int >); > >extern XImage *XCreateImage( > Display* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int >); >extern int XInitImage( > XImage* >); >extern XImage *XGetImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int >); >extern XImage *XGetSubImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int , > XImage* , > int , > int >); > > > > >extern Display *XOpenDisplay( > const char* >); > >extern void XrmInitialize( > void >); > >extern char *XFetchBytes( > Display* , > int* >); >extern char *XFetchBuffer( > Display* , > int* , > int >); >extern char *XGetAtomName( > Display* , > Atom >); >extern int XGetAtomNames( > Display* , > Atom* , > int , > char** >); >extern char *XGetDefault( > Display* , > const char* , > const char* >); >extern char *XDisplayName( > const char* >); >extern char *XKeysymToString( > KeySym >); > >extern int (*XSynchronize( > Display* , > int >))( > Display* >); >extern int (*XSetAfterFunction( > Display* , > int (*) ( > Display* > ) >))( > Display* >); >extern Atom XInternAtom( > Display* , > const char* , > int >); >extern int XInternAtoms( > Display* , > char** , > int , > int , > Atom* >); >extern Colormap XCopyColormapAndFree( > Display* , > Colormap >); >extern Colormap XCreateColormap( > Display* , > Window , > Visual* , > int >); >extern Cursor XCreatePixmapCursor( > Display* , > Pixmap , > Pixmap , > XColor* , > XColor* , > unsigned int , > unsigned int >); >extern Cursor XCreateGlyphCursor( > Display* , > Font , > Font , > unsigned int , > unsigned int , > XColor const * , > XColor const * >); >extern Cursor XCreateFontCursor( > Display* , > unsigned int >); >extern Font XLoadFont( > Display* , > const char* >); >extern GC XCreateGC( > Display* , > Drawable , > unsigned long , > XGCValues* >); >extern GContext XGContextFromGC( > GC >); >extern void XFlushGC( > Display* , > GC >); >extern Pixmap XCreatePixmap( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int >); >extern Pixmap XCreateBitmapFromData( > Display* , > Drawable , > const char* , > unsigned int , > unsigned int >); >extern Pixmap XCreatePixmapFromBitmapData( > Display* , > Drawable , > char* , > unsigned int , > unsigned int , > unsigned long , > unsigned long , > unsigned int >); >extern Window XCreateSimpleWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > unsigned long , > unsigned long >); >extern Window XGetSelectionOwner( > Display* , > Atom >); >extern Window XCreateWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > int , > unsigned int , > Visual* , > unsigned long , > XSetWindowAttributes* >); >extern Colormap *XListInstalledColormaps( > Display* , > Window , > int* >); >extern char **XListFonts( > Display* , > const char* , > int , > int* >); >extern char **XListFontsWithInfo( > Display* , > const char* , > int , > int* , > XFontStruct** >); >extern char **XGetFontPath( > Display* , > int* >); >extern char **XListExtensions( > Display* , > int* >); >extern Atom *XListProperties( > Display* , > Window , > int* >); >extern XHostAddress *XListHosts( > Display* , > int* , > int* >); >extern KeySym XKeycodeToKeysym( > Display* , > > > > KeyCode , > > int >); >extern KeySym XLookupKeysym( > XKeyEvent* , > int >); >extern KeySym *XGetKeyboardMapping( > Display* , > > > > KeyCode , > > int , > int* >); >extern KeySym XStringToKeysym( > const char* >); >extern long XMaxRequestSize( > Display* >); >extern long XExtendedMaxRequestSize( > Display* >); >extern char *XResourceManagerString( > Display* >); >extern char *XScreenResourceString( > Screen* >); >extern unsigned long XDisplayMotionBufferSize( > Display* >); >extern VisualID XVisualIDFromVisual( > Visual* >); > > > >extern int XInitThreads( > void >); > >extern void XLockDisplay( > Display* >); > >extern void XUnlockDisplay( > Display* >); > > > >extern XExtCodes *XInitExtension( > Display* , > const char* >); > >extern XExtCodes *XAddExtension( > Display* >); >extern XExtData *XFindOnExtensionList( > XExtData** , > int >); >extern XExtData **XEHeadOfExtensionList( > XEDataObject >); > > >extern Window XRootWindow( > Display* , > int >); >extern Window XDefaultRootWindow( > Display* >); >extern Window XRootWindowOfScreen( > Screen* >); >extern Visual *XDefaultVisual( > Display* , > int >); >extern Visual *XDefaultVisualOfScreen( > Screen* >); >extern GC XDefaultGC( > Display* , > int >); >extern GC XDefaultGCOfScreen( > Screen* >); >extern unsigned long XBlackPixel( > Display* , > int >); >extern unsigned long XWhitePixel( > Display* , > int >); >extern unsigned long XAllPlanes( > void >); >extern unsigned long XBlackPixelOfScreen( > Screen* >); >extern unsigned long XWhitePixelOfScreen( > Screen* >); >extern unsigned long XNextRequest( > Display* >); >extern unsigned long XLastKnownRequestProcessed( > Display* >); >extern char *XServerVendor( > Display* >); >extern char *XDisplayString( > Display* >); >extern Colormap XDefaultColormap( > Display* , > int >); >extern Colormap XDefaultColormapOfScreen( > Screen* >); >extern Display *XDisplayOfScreen( > Screen* >); >extern Screen *XScreenOfDisplay( > Display* , > int >); >extern Screen *XDefaultScreenOfDisplay( > Display* >); >extern long XEventMaskOfScreen( > Screen* >); > >extern int XScreenNumberOfScreen( > Screen* >); > >typedef int (*XErrorHandler) ( > Display* , > XErrorEvent* >); > >extern XErrorHandler XSetErrorHandler ( > XErrorHandler >); > > >typedef int (*XIOErrorHandler) ( > Display* >); > >extern XIOErrorHandler XSetIOErrorHandler ( > XIOErrorHandler >); > > >extern XPixmapFormatValues *XListPixmapFormats( > Display* , > int* >); >extern int *XListDepths( > Display* , > int , > int* >); > > > >extern int XReconfigureWMWindow( > Display* , > Window , > int , > unsigned int , > XWindowChanges* >); > >extern int XGetWMProtocols( > Display* , > Window , > Atom** , > int* >); >extern int XSetWMProtocols( > Display* , > Window , > Atom* , > int >); >extern int XIconifyWindow( > Display* , > Window , > int >); >extern int XWithdrawWindow( > Display* , > Window , > int >); >extern int XGetCommand( > Display* , > Window , > char*** , > int* >); >extern int XGetWMColormapWindows( > Display* , > Window , > Window** , > int* >); >extern int XSetWMColormapWindows( > Display* , > Window , > Window* , > int >); >extern void XFreeStringList( > char** >); >extern int XSetTransientForHint( > Display* , > Window , > Window >); > > > >extern int XActivateScreenSaver( > Display* >); > >extern int XAddHost( > Display* , > XHostAddress* >); > >extern int XAddHosts( > Display* , > XHostAddress* , > int >); > >extern int XAddToExtensionList( > struct _XExtData** , > XExtData* >); > >extern int XAddToSaveSet( > Display* , > Window >); > >extern int XAllocColor( > Display* , > Colormap , > XColor* >); > >extern int XAllocColorCells( > Display* , > Colormap , > int , > unsigned long* , > unsigned int , > unsigned long* , > unsigned int >); > >extern int XAllocColorPlanes( > Display* , > Colormap , > int , > unsigned long* , > int , > int , > int , > int , > unsigned long* , > unsigned long* , > unsigned long* >); > >extern int XAllocNamedColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XAllowEvents( > Display* , > int , > Time >); > >extern int XAutoRepeatOff( > Display* >); > >extern int XAutoRepeatOn( > Display* >); > >extern int XBell( > Display* , > int >); > >extern int XBitmapBitOrder( > Display* >); > >extern int XBitmapPad( > Display* >); > >extern int XBitmapUnit( > Display* >); > >extern int XCellsOfScreen( > Screen* >); > >extern int XChangeActivePointerGrab( > Display* , > unsigned int , > Cursor , > Time >); > >extern int XChangeGC( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XChangeKeyboardControl( > Display* , > unsigned long , > XKeyboardControl* >); > >extern int XChangeKeyboardMapping( > Display* , > int , > int , > KeySym* , > int >); > >extern int XChangePointerControl( > Display* , > int , > int , > int , > int , > int >); > >extern int XChangeProperty( > Display* , > Window , > Atom , > Atom , > int , > int , > const unsigned char* , > int >); > >extern int XChangeSaveSet( > Display* , > Window , > int >); > >extern int XChangeWindowAttributes( > Display* , > Window , > unsigned long , > XSetWindowAttributes* >); > >extern int XCheckIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XCheckMaskEvent( > Display* , > long , > XEvent* >); > >extern int XCheckTypedEvent( > Display* , > int , > XEvent* >); > >extern int XCheckTypedWindowEvent( > Display* , > Window , > int , > XEvent* >); > >extern int XCheckWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XCirculateSubwindows( > Display* , > Window , > int >); > >extern int XCirculateSubwindowsDown( > Display* , > Window >); > >extern int XCirculateSubwindowsUp( > Display* , > Window >); > >extern int XClearArea( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > int >); > >extern int XClearWindow( > Display* , > Window >); > >extern int XCloseDisplay( > Display* >); > >extern int XConfigureWindow( > Display* , > Window , > unsigned int , > XWindowChanges* >); > >extern int XConnectionNumber( > Display* >); > >extern int XConvertSelection( > Display* , > Atom , > Atom , > Atom , > Window , > Time >); > >extern int XCopyArea( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XCopyGC( > Display* , > GC , > unsigned long , > GC >); > >extern int XCopyPlane( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int , > unsigned long >); > >extern int XDefaultDepth( > Display* , > int >); > >extern int XDefaultDepthOfScreen( > Screen* >); > >extern int XDefaultScreen( > Display* >); > >extern int XDefineCursor( > Display* , > Window , > Cursor >); > >extern int XDeleteProperty( > Display* , > Window , > Atom >); > >extern int XDestroyWindow( > Display* , > Window >); > >extern int XDestroySubwindows( > Display* , > Window >); > >extern int XDoesBackingStore( > Screen* >); > >extern int XDoesSaveUnders( > Screen* >); > >extern int XDisableAccessControl( > Display* >); > > >extern int XDisplayCells( > Display* , > int >); > >extern int XDisplayHeight( > Display* , > int >); > >extern int XDisplayHeightMM( > Display* , > int >); > >extern int XDisplayKeycodes( > Display* , > int* , > int* >); > >extern int XDisplayPlanes( > Display* , > int >); > >extern int XDisplayWidth( > Display* , > int >); > >extern int XDisplayWidthMM( > Display* , > int >); > >extern int XDrawArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XDrawArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XDrawImageString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawImageString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawLine( > Display* , > Drawable , > GC , > int , > int , > int , > int >); > >extern int XDrawLines( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawPoint( > Display* , > Drawable , > GC , > int , > int >); > >extern int XDrawPoints( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XDrawRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XDrawSegments( > Display* , > Drawable , > GC , > XSegment* , > int >); > >extern int XDrawString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawText( > Display* , > Drawable , > GC , > int , > int , > XTextItem* , > int >); > >extern int XDrawText16( > Display* , > Drawable , > GC , > int , > int , > XTextItem16* , > int >); > >extern int XEnableAccessControl( > Display* >); > >extern int XEventsQueued( > Display* , > int >); > >extern int XFetchName( > Display* , > Window , > char** >); > >extern int XFillArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XFillArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XFillPolygon( > Display* , > Drawable , > GC , > XPoint* , > int , > int , > int >); > >extern int XFillRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XFillRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XFlush( > Display* >); > >extern int XForceScreenSaver( > Display* , > int >); > >extern int XFree( > void* >); > >extern int XFreeColormap( > Display* , > Colormap >); > >extern int XFreeColors( > Display* , > Colormap , > unsigned long* , > int , > unsigned long >); > >extern int XFreeCursor( > Display* , > Cursor >); > >extern int XFreeExtensionList( > char** >); > >extern int XFreeFont( > Display* , > XFontStruct* >); > >extern int XFreeFontInfo( > char** , > XFontStruct* , > int >); > >extern int XFreeFontNames( > char** >); > >extern int XFreeFontPath( > char** >); > >extern int XFreeGC( > Display* , > GC >); > >extern int XFreeModifiermap( > XModifierKeymap* >); > >extern int XFreePixmap( > Display* , > Pixmap >); > >extern int XGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > unsigned int , > unsigned int , > int , > int , > int* , > int* , > int* , > int* >); > >extern int XGetErrorDatabaseText( > Display* , > const char* , > const char* , > const char* , > char* , > int >); > >extern int XGetErrorText( > Display* , > int , > char* , > int >); > >extern int XGetFontProperty( > XFontStruct* , > Atom , > unsigned long* >); > >extern int XGetGCValues( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XGetGeometry( > Display* , > Drawable , > Window* , > int* , > int* , > unsigned int* , > unsigned int* , > unsigned int* , > unsigned int* >); > >extern int XGetIconName( > Display* , > Window , > char** >); > >extern int XGetInputFocus( > Display* , > Window* , > int* >); > >extern int XGetKeyboardControl( > Display* , > XKeyboardState* >); > >extern int XGetPointerControl( > Display* , > int* , > int* , > int* >); > >extern int XGetPointerMapping( > Display* , > unsigned char* , > int >); > >extern int XGetScreenSaver( > Display* , > int* , > int* , > int* , > int* >); > >extern int XGetTransientForHint( > Display* , > Window , > Window* >); > >extern int XGetWindowProperty( > Display* , > Window , > Atom , > long , > long , > int , > Atom , > Atom* , > int* , > unsigned long* , > unsigned long* , > unsigned char** >); > >extern int XGetWindowAttributes( > Display* , > Window , > XWindowAttributes* >); > >extern int XGrabButton( > Display* , > unsigned int , > unsigned int , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor >); > >extern int XGrabKey( > Display* , > int , > unsigned int , > Window , > int , > int , > int >); > >extern int XGrabKeyboard( > Display* , > Window , > int , > int , > int , > Time >); > >extern int XGrabPointer( > Display* , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor , > Time >); > >extern int XGrabServer( > Display* >); > >extern int XHeightMMOfScreen( > Screen* >); > >extern int XHeightOfScreen( > Screen* >); > >extern int XIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XImageByteOrder( > Display* >); > >extern int XInstallColormap( > Display* , > Colormap >); > >extern KeyCode XKeysymToKeycode( > Display* , > KeySym >); > >extern int XKillClient( > Display* , > XID >); > >extern int XLookupColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XLowerWindow( > Display* , > Window >); > >extern int XMapRaised( > Display* , > Window >); > >extern int XMapSubwindows( > Display* , > Window >); > >extern int XMapWindow( > Display* , > Window >); > >extern int XMaskEvent( > Display* , > long , > XEvent* >); > >extern int XMaxCmapsOfScreen( > Screen* >); > >extern int XMinCmapsOfScreen( > Screen* >); > >extern int XMoveResizeWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int >); > >extern int XMoveWindow( > Display* , > Window , > int , > int >); > >extern int XNextEvent( > Display* , > XEvent* >); > >extern int XNoOp( > Display* >); > >extern int XParseColor( > Display* , > Colormap , > const char* , > XColor* >); > >extern int XParseGeometry( > const char* , > int* , > int* , > unsigned int* , > unsigned int* >); > >extern int XPeekEvent( > Display* , > XEvent* >); > >extern int XPeekIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XPending( > Display* >); > >extern int XPlanesOfScreen( > Screen* >); > >extern int XProtocolRevision( > Display* >); > >extern int XProtocolVersion( > Display* >); > > >extern int XPutBackEvent( > Display* , > XEvent* >); > >extern int XPutImage( > Display* , > Drawable , > GC , > XImage* , > int , > int , > int , > int , > unsigned int , > unsigned int >); > >extern int XQLength( > Display* >); > >extern int XQueryBestCursor( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestSize( > Display* , > int , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestStipple( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestTile( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryColor( > Display* , > Colormap , > XColor* >); > >extern int XQueryColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XQueryExtension( > Display* , > const char* , > int* , > int* , > int* >); > >extern int XQueryKeymap( > Display* , > char [32] >); > >extern int XQueryPointer( > Display* , > Window , > Window* , > Window* , > int* , > int* , > int* , > int* , > unsigned int* >); > >extern int XQueryTextExtents( > Display* , > XID , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTextExtents16( > Display* , > XID , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTree( > Display* , > Window , > Window* , > Window* , > Window** , > unsigned int* >); > >extern int XRaiseWindow( > Display* , > Window >); > >extern int XReadBitmapFile( > Display* , > Drawable , > const char* , > unsigned int* , > unsigned int* , > Pixmap* , > int* , > int* >); > >extern int XReadBitmapFileData( > const char* , > unsigned int* , > unsigned int* , > unsigned char** , > int* , > int* >); > >extern int XRebindKeysym( > Display* , > KeySym , > KeySym* , > int , > const unsigned char* , > int >); > >extern int XRecolorCursor( > Display* , > Cursor , > XColor* , > XColor* >); > >extern int XRefreshKeyboardMapping( > XMappingEvent* >); > >extern int XRemoveFromSaveSet( > Display* , > Window >); > >extern int XRemoveHost( > Display* , > XHostAddress* >); > >extern int XRemoveHosts( > Display* , > XHostAddress* , > int >); > >extern int XReparentWindow( > Display* , > Window , > Window , > int , > int >); > >extern int XResetScreenSaver( > Display* >); > >extern int XResizeWindow( > Display* , > Window , > unsigned int , > unsigned int >); > >extern int XRestackWindows( > Display* , > Window* , > int >); > >extern int XRotateBuffers( > Display* , > int >); > >extern int XRotateWindowProperties( > Display* , > Window , > Atom* , > int , > int >); > >extern int XScreenCount( > Display* >); > >extern int XSelectInput( > Display* , > Window , > long >); > >extern int XSendEvent( > Display* , > Window , > int , > long , > XEvent* >); > >extern int XSetAccessControl( > Display* , > int >); > >extern int XSetArcMode( > Display* , > GC , > int >); > >extern int XSetBackground( > Display* , > GC , > unsigned long >); > >extern int XSetClipMask( > Display* , > GC , > Pixmap >); > >extern int XSetClipOrigin( > Display* , > GC , > int , > int >); > >extern int XSetClipRectangles( > Display* , > GC , > int , > int , > XRectangle* , > int , > int >); > >extern int XSetCloseDownMode( > Display* , > int >); > >extern int XSetCommand( > Display* , > Window , > char** , > int >); > >extern int XSetDashes( > Display* , > GC , > int , > const char* , > int >); > >extern int XSetFillRule( > Display* , > GC , > int >); > >extern int XSetFillStyle( > Display* , > GC , > int >); > >extern int XSetFont( > Display* , > GC , > Font >); > >extern int XSetFontPath( > Display* , > char** , > int >); > >extern int XSetForeground( > Display* , > GC , > unsigned long >); > >extern int XSetFunction( > Display* , > GC , > int >); > >extern int XSetGraphicsExposures( > Display* , > GC , > int >); > >extern int XSetIconName( > Display* , > Window , > const char* >); > >extern int XSetInputFocus( > Display* , > Window , > int , > Time >); > >extern int XSetLineAttributes( > Display* , > GC , > unsigned int , > int , > int , > int >); > >extern int XSetModifierMapping( > Display* , > XModifierKeymap* >); > >extern int XSetPlaneMask( > Display* , > GC , > unsigned long >); > >extern int XSetPointerMapping( > Display* , > const unsigned char* , > int >); > >extern int XSetScreenSaver( > Display* , > int , > int , > int , > int >); > >extern int XSetSelectionOwner( > Display* , > Atom , > Window , > Time >); > >extern int XSetState( > Display* , > GC , > unsigned long , > unsigned long , > int , > unsigned long >); > >extern int XSetStipple( > Display* , > GC , > Pixmap >); > >extern int XSetSubwindowMode( > Display* , > GC , > int >); > >extern int XSetTSOrigin( > Display* , > GC , > int , > int >); > >extern int XSetTile( > Display* , > GC , > Pixmap >); > >extern int XSetWindowBackground( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBackgroundPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorder( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBorderPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorderWidth( > Display* , > Window , > unsigned int >); > >extern int XSetWindowColormap( > Display* , > Window , > Colormap >); > >extern int XStoreBuffer( > Display* , > const char* , > int , > int >); > >extern int XStoreBytes( > Display* , > const char* , > int >); > >extern int XStoreColor( > Display* , > Colormap , > XColor* >); > >extern int XStoreColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XStoreName( > Display* , > Window , > const char* >); > >extern int XStoreNamedColor( > Display* , > Colormap , > const char* , > unsigned long , > int >); > >extern int XSync( > Display* , > int >); > >extern int XTextExtents( > XFontStruct* , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextExtents16( > XFontStruct* , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextWidth( > XFontStruct* , > const char* , > int >); > >extern int XTextWidth16( > XFontStruct* , > const XChar2b* , > int >); > >extern int XTranslateCoordinates( > Display* , > Window , > Window , > int , > int , > int* , > int* , > Window* >); > >extern int XUndefineCursor( > Display* , > Window >); > >extern int XUngrabButton( > Display* , > unsigned int , > unsigned int , > Window >); > >extern int XUngrabKey( > Display* , > int , > unsigned int , > Window >); > >extern int XUngrabKeyboard( > Display* , > Time >); > >extern int XUngrabPointer( > Display* , > Time >); > >extern int XUngrabServer( > Display* >); > >extern int XUninstallColormap( > Display* , > Colormap >); > >extern int XUnloadFont( > Display* , > Font >); > >extern int XUnmapSubwindows( > Display* , > Window >); > >extern int XUnmapWindow( > Display* , > Window >); > >extern int XVendorRelease( > Display* >); > >extern int XWarpPointer( > Display* , > Window , > Window , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XWidthMMOfScreen( > Screen* >); > >extern int XWidthOfScreen( > Screen* >); > >extern int XWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XWriteBitmapFile( > Display* , > const char* , > Pixmap , > unsigned int , > unsigned int , > int , > int >); > >extern int XSupportsLocale (void); > >extern char *XSetLocaleModifiers( > const char* >); > >extern XOM XOpenOM( > Display* , > struct _XrmHashBucketRec* , > const char* , > const char* >); > >extern int XCloseOM( > XOM >); > >extern char *XSetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfOM( > XOM >); > >extern char *XLocaleOfOM( > XOM >); > >extern XOC XCreateOC( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyOC( > XOC >); > >extern XOM XOMOfOC( > XOC >); > >extern char *XSetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern XFontSet XCreateFontSet( > Display* , > const char* , > char*** , > int* , > char** >); > >extern void XFreeFontSet( > Display* , > XFontSet >); > >extern int XFontsOfFontSet( > XFontSet , > XFontStruct*** , > char*** >); > >extern char *XBaseFontNameListOfFontSet( > XFontSet >); > >extern char *XLocaleOfFontSet( > XFontSet >); > >extern int XContextDependentDrawing( > XFontSet >); > >extern int XDirectionalDependentDrawing( > XFontSet >); > >extern int XContextualDrawing( > XFontSet >); > >extern XFontSetExtents *XExtentsOfFontSet( > XFontSet >); > >extern int XmbTextEscapement( > XFontSet , > const char* , > int >); > >extern int XwcTextEscapement( > XFontSet , > const wchar_t* , > int >); > >extern int Xutf8TextEscapement( > XFontSet , > const char* , > int >); > >extern int XmbTextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XwcTextExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XmbTextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int XwcTextPerCharExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern void XmbDrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XwcDrawText( > Display* , > Drawable , > GC , > int , > int , > XwcTextItem* , > int >); > >extern void Xutf8DrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XmbDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XmbDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern XIM XOpenIM( > Display* , > struct _XrmHashBucketRec* , > char* , > char* >); > >extern int XCloseIM( > XIM >); > >extern char *XGetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XSetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfIM( > XIM >); > >extern char *XLocaleOfIM( > XIM >); > >extern XIC XCreateIC( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyIC( > XIC >); > >extern void XSetICFocus( > XIC >); > >extern void XUnsetICFocus( > XIC >); > >extern wchar_t *XwcResetIC( > XIC >); > >extern char *XmbResetIC( > XIC >); > >extern char *Xutf8ResetIC( > XIC >); > >extern char *XSetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern XIM XIMOfIC( > XIC >); > >extern int XFilterEvent( > XEvent* , > Window >); > >extern int XmbLookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern int XwcLookupString( > XIC , > XKeyPressedEvent* , > wchar_t* , > int , > KeySym* , > int* >); > >extern int Xutf8LookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern XVaNestedList XVaCreateNestedList( > int , ... >) __attribute__ ((__sentinel__(0))); > > > >extern int XRegisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >extern int XUnregisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >typedef void (*XConnectionWatchProc)( > Display* , > XPointer , > int , > int , > XPointer* >); > > >extern int XInternalConnectionNumbers( > Display* , > int** , > int* >); > >extern void XProcessInternalConnection( > Display* , > int >); > >extern int XAddConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XRemoveConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XSetAuthorization( > char * , > int , > char * , > int >); > >extern int _Xmbtowc( > wchar_t * , > > > > > char * , > int > >); > >extern int _Xwctomb( > char * , > wchar_t >); > >} ># 50 "kxinewidget.h" 2 > > > > ># 1 "postfilter.h" 1 ># 25 "postfilter.h" >class QWidget; >class QObject; >class QString; >class QGroupBox; >class QTextEdit; >class KPushButton; > > ># 1 "/usr/kde/3.5/include/klineedit.h" 1 ># 33 "/usr/kde/3.5/include/klineedit.h" > ># 1 "/usr/qt/3/include/qlineedit.h" 1 ># 41 "/usr/qt/3/include/qlineedit.h" >struct QLineEditPrivate; > >class QValidator; >class QPopupMenu; > > > ># 1 "/usr/qt/3/include/qframe.h" 1 ># 47 "/usr/qt/3/include/qframe.h" >class __attribute__((visibility("default"))) QFrame : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 60 "/usr/qt/3/include/qframe.h" >public: > QFrame( QWidget* parent=0, const char* name=0, WFlags f=0 ); > > int frameStyle() const; > virtual void setFrameStyle( int ); > > int frameWidth() const; > QRect contentsRect() const; > > > bool lineShapesOk() const { return TRUE; } > > > QSize sizeHint() const; > > enum Shape { NoFrame = 0, > Box = 0x0001, > Panel = 0x0002, > WinPanel = 0x0003, > HLine = 0x0004, > VLine = 0x0005, > StyledPanel = 0x0006, > PopupPanel = 0x0007, > MenuBarPanel = 0x0008, > ToolBarPanel = 0x0009, > LineEditPanel = 0x000a, > TabWidgetPanel = 0x000b, > GroupBoxPanel = 0x000c, > MShape = 0x000f > }; > enum Shadow { Plain = 0x0010, > Raised = 0x0020, > Sunken = 0x0030, > MShadow = 0x00f0 }; > > Shape frameShape() const; > void setFrameShape( Shape ); > Shadow frameShadow() const; > void setFrameShadow( Shadow ); > > int lineWidth() const; > virtual void setLineWidth( int ); > > int margin() const; > virtual void setMargin( int ); > > int midLineWidth() const; > virtual void setMidLineWidth( int ); > > QRect frameRect() const; > virtual void setFrameRect( const QRect & ); > >protected: > void paintEvent( QPaintEvent * ); > void resizeEvent( QResizeEvent * ); > virtual void drawFrame( QPainter * ); > virtual void drawContents( QPainter * ); > virtual void frameChanged(); > void styleChange( QStyle& ); > >private: > void updateFrameWidth(bool=FALSE); > QRect frect; > int fstyle; > short lwidth; > short mwidth; > short mlwidth; > short fwidth; > > void * d; >private: > > QFrame( const QFrame & ); > QFrame &operator=( const QFrame & ); > >}; > > >inline int QFrame::frameStyle() const >{ return fstyle; } > >inline QFrame::Shape QFrame::frameShape() const >{ return (Shape) ( fstyle & MShape ); } > >inline QFrame::Shadow QFrame::frameShadow() const >{ return (Shadow) ( fstyle & MShadow ); } > >inline void QFrame::setFrameShape( QFrame::Shape s ) >{ setFrameStyle( ( fstyle & MShadow ) | s ); } > >inline void QFrame::setFrameShadow( QFrame::Shadow s ) >{ setFrameStyle( ( fstyle & MShape ) | s ); } > >inline int QFrame::lineWidth() const >{ return lwidth; } > >inline int QFrame::midLineWidth() const >{ return mlwidth; } > >inline int QFrame::margin() const >{ return mwidth; } > >inline int QFrame::frameWidth() const >{ return fwidth; } ># 48 "/usr/qt/3/include/qlineedit.h" 2 > > > > > >class QTextParagraph; >class QTextCursor; > >class __attribute__((visibility("default"))) QLineEdit : public QFrame >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 80 "/usr/qt/3/include/qlineedit.h" >public: > QLineEdit( QWidget* parent, const char* name=0 ); > QLineEdit( const QString &, QWidget* parent, const char* name=0 ); > QLineEdit( const QString &, const QString &, QWidget* parent, const char* name=0 ); > ~QLineEdit(); > > QString text() const; > > QString displayText() const; > > int maxLength() const; > > bool frame() const; > > enum EchoMode { Normal, NoEcho, Password }; > EchoMode echoMode() const; > > bool isReadOnly() const; > > const QValidator * validator() const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > int cursorPosition() const; > bool validateAndSet( const QString &, int, int, int ); > > int alignment() const; > > > > > > void cursorForward( bool mark, int steps = 1 ); > void cursorBackward( bool mark, int steps = 1 ); > void cursorWordForward( bool mark ); > void cursorWordBackward( bool mark ); > void backspace(); > void del(); > void home( bool mark ); > void end( bool mark ); > > bool isModified() const; > void clearModified(); > > bool edited() const; > void setEdited( bool ); > > bool hasSelectedText() const; > QString selectedText() const; > int selectionStart() const; > > bool isUndoAvailable() const; > bool isRedoAvailable() const; > > > > > > > bool dragEnabled() const; > > QString inputMask() const; > void setInputMask( const QString &inputMask ); > bool hasAcceptableInput() const; > >public : > virtual void setText( const QString &); > virtual void selectAll(); > virtual void deselect(); > virtual void clearValidator(); > virtual void insert( const QString &); > virtual void clear(); > virtual void undo(); > virtual void redo(); > virtual void setMaxLength( int ); > virtual void setFrame( bool ); > virtual void setEchoMode( EchoMode ); > virtual void setReadOnly( bool ); > virtual void setValidator( const QValidator * ); > virtual void setFont( const QFont & ); > virtual void setPalette( const QPalette & ); > virtual void setSelection( int, int ); > virtual void setCursorPosition( int ); > virtual void setAlignment( int flag ); > > virtual void cut(); > virtual void copy() const; > virtual void paste(); > > virtual void setDragEnabled( bool b ); > >protected: > void textChanged( const QString &); > void returnPressed(); > void lostFocus(); > void selectionChanged(); > >protected: > bool event( QEvent * ); > void mousePressEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseDoubleClickEvent( QMouseEvent * ); > void keyPressEvent( QKeyEvent * ); > void imStartEvent( QIMEvent * ); > void imComposeEvent( QIMEvent * ); > void imEndEvent( QIMEvent * ); > void focusInEvent( QFocusEvent * ); > void focusOutEvent( QFocusEvent * ); > void resizeEvent( QResizeEvent * ); > void drawContents( QPainter * ); > > void dragEnterEvent( QDragEnterEvent * ); > void dragMoveEvent( QDragMoveEvent *e ); > void dragLeaveEvent( QDragLeaveEvent *e ); > void dropEvent( QDropEvent * ); > > void contextMenuEvent( QContextMenuEvent * ); > virtual QPopupMenu *createPopupMenu(); > void windowActivationChange( bool ); > > > > >private : > void clipboardChanged(); > >public: > void setPasswordChar( QChar c ); > QChar passwordChar() const; > int characterAt( int, QChar* ) const; > bool getSelection( int *, int * ); > >private: > friend struct QLineEditPrivate; > QLineEditPrivate * d; > >private: > > QLineEdit( const QLineEdit & ); > QLineEdit &operator=( const QLineEdit & ); > >}; ># 34 "/usr/kde/3.5/include/klineedit.h" 2 > ># 1 "/usr/kde/3.5/include/kcompletion.h" 1 ># 23 "/usr/kde/3.5/include/kcompletion.h" > ># 1 "/usr/qt/3/include/qmap.h" 1 ># 24 "/usr/kde/3.5/include/kcompletion.h" 2 > > ># 1 "/usr/qt/3/include/qobject.h" 1 ># 26 "/usr/kde/3.5/include/kcompletion.h" 2 > ># 1 "/usr/qt/3/include/qstring.h" 1 ># 27 "/usr/kde/3.5/include/kcompletion.h" 2 > > ># 1 "/usr/qt/3/include/qguardedptr.h" 1 ># 46 "/usr/qt/3/include/qguardedptr.h" >class __attribute__((visibility("default"))) QGuardedPtrPrivate : public QObject, public QShared >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > QGuardedPtrPrivate( QObject* ); > ~QGuardedPtrPrivate(); > > QObject* object() const; > void reconnect( QObject* ); > >private : > void objectDestroyed(); > >private: > QObject* obj; > > QGuardedPtrPrivate( const QGuardedPtrPrivate & ); > QGuardedPtrPrivate &operator=( const QGuardedPtrPrivate & ); > >}; > >template <class T> >class QGuardedPtr >{ >public: > QGuardedPtr() : priv( new QGuardedPtrPrivate( 0 ) ) {} > > QGuardedPtr( T* o) { > priv = new QGuardedPtrPrivate( (QObject*)o ); > } > > QGuardedPtr(const QGuardedPtr<T> &p) { > priv = p.priv; > ref(); > } > > ~QGuardedPtr() { deref(); } > > QGuardedPtr<T> &operator=(const QGuardedPtr<T> &p) { > if ( priv != p.priv ) { > deref(); > priv = p.priv; > ref(); > } > return *this; > } > > QGuardedPtr<T> &operator=(T* o) { > if ( priv && priv->count == 1 ) { > priv->reconnect( (QObject*)o ); > } else { > deref(); > priv = new QGuardedPtrPrivate( (QObject*)o ); > } > return *this; > } > > bool operator==( const QGuardedPtr<T> &p ) const { > return (T*)(*this) == (T*) p; > } > > bool operator!= ( const QGuardedPtr<T>& p ) const { > return !( *this == p ); > } > > bool isNull() const { return !priv || !priv->object(); } > > T* operator->() const { return (T*)(priv?priv->object():0); } > > T& operator*() const { return *((T*)(priv?priv->object():0)); } > > operator T*() const { return (T*)(priv?priv->object():0); } > >private: > > void ref() { if (priv) priv->ref(); } > > void deref() { > if ( priv && priv->deref() ) > delete priv; > } > > QGuardedPtrPrivate* priv; >}; > > > > >inline QObject* QGuardedPtrPrivate::object() const >{ > return obj; >} > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 141 "/usr/qt/3/include/qguardedptr.h" 2 ># 29 "/usr/kde/3.5/include/kcompletion.h" 2 > > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 24 "/usr/kde/3.5/include/kdelibs_export.h" > ># 1 "/usr/kde/3.5/include/kdemacros.h" 1 ># 25 "/usr/kde/3.5/include/kdelibs_export.h" 2 > > > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 28 "/usr/kde/3.5/include/kdelibs_export.h" 2 ># 31 "/usr/kde/3.5/include/kcompletion.h" 2 > ># 1 "/usr/kde/3.5/include/kglobalsettings.h" 1 ># 22 "/usr/kde/3.5/include/kglobalsettings.h" > ># 1 "/usr/qt/3/include/qcolor.h" 1 ># 23 "/usr/kde/3.5/include/kglobalsettings.h" 2 > ># 1 "/usr/qt/3/include/qfont.h" 1 ># 24 "/usr/kde/3.5/include/kglobalsettings.h" 2 > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 25 "/usr/kde/3.5/include/kglobalsettings.h" 2 ># 39 "/usr/kde/3.5/include/kglobalsettings.h" >class KURL; > > > > > > >class __attribute__ ((visibility("default"))) KGlobalSettings >{ > public: ># 93 "/usr/kde/3.5/include/kglobalsettings.h" > static int dndEventDelay(); > > > > > > > > static bool singleClick(); > > > > > > > > enum TearOffHandle { > Disable = 0, > ApplicationLevel, > Enable > }; > > > > > > > static TearOffHandle insertTearOffHandle(); > > > > > > static bool changeCursorOverIcon(); > > > > > > > static bool visualActivate(); > > > > > > > static unsigned int visualActivateSpeed(); > > > > > > > static int autoSelectDelay(); > > > > > > > > static int contextMenuKey (); > > > > > > > > static bool showContextMenusOnPress (); > > > > > > > enum Completion { > > > > CompletionNone=1, > > > > CompletionAuto, > > > > CompletionMan, > > > > CompletionShell, > > > > CompletionPopup, > > > > > CompletionPopupAuto > }; > > > > > > > static Completion completionMode(); > > > > > struct KMouseSettings > { > enum { RightHanded = 0, LeftHanded = 1 }; > int handed; > }; > > > > > > > static KMouseSettings & mouseSettings(); > > > > > > static QString desktopPath() { initStatic(); return *s_desktopPath; } > > > > > > static QString autostartPath() { initStatic(); return *s_autostartPath; } > > > > > > > static QString trashPath() { initStatic(); return *s_trashPath; } > > > > > > > > static QString documentPath() { initStatic(); return *s_documentPath; } > > > > > > > static QColor toolBarHighlightColor(); > > > > > > static QColor inactiveTitleColor(); > > > > > > static QColor inactiveTextColor(); > > > > > > static QColor activeTitleColor(); > > > > > > static QColor activeTextColor(); > > > > > > > static int contrast(); > > > > > > > static QColor buttonBackground(); > > > > > > > static QColor buttonTextColor(); > > > > > > > static QColor baseColor(); > > > > > > > static QColor textColor(); > > > > > > static QColor linkColor(); > > > > > > static QColor visitedLinkColor(); > > > > > > > static QColor highlightedTextColor(); > > > > > > > static QColor highlightColor(); ># 348 "/usr/kde/3.5/include/kglobalsettings.h" > static QColor alternateBackgroundColor(); ># 357 "/usr/kde/3.5/include/kglobalsettings.h" > static QColor calculateAlternateBackgroundColor(const QColor& base); > > > > > > > > static bool shadeSortColumn(); > > > > > > static QFont generalFont(); > > > > > > static QFont fixedFont(); > > > > > > static QFont toolBarFont(); > > > > > > static QFont menuFont(); > > > > > > static QFont windowTitleFont(); > > > > > > static QFont taskbarFont(); > > > > > > > > static QFont largeFont(const QString &text = QString::null); ># 418 "/usr/kde/3.5/include/kglobalsettings.h" > static bool isMultiHead(); ># 432 "/usr/kde/3.5/include/kglobalsettings.h" > static bool wheelMouseZooms(); ># 444 "/usr/kde/3.5/include/kglobalsettings.h" > static QRect splashScreenDesktopGeometry(); ># 462 "/usr/kde/3.5/include/kglobalsettings.h" > static QRect desktopGeometry(const QPoint& point); ># 477 "/usr/kde/3.5/include/kglobalsettings.h" > static QRect desktopGeometry(QWidget* w); ># 487 "/usr/kde/3.5/include/kglobalsettings.h" > static bool showIconsOnPushButtons(); ># 497 "/usr/kde/3.5/include/kglobalsettings.h" > static bool showFilePreview(const KURL &); ># 507 "/usr/kde/3.5/include/kglobalsettings.h" > static bool opaqueResize(); ># 516 "/usr/kde/3.5/include/kglobalsettings.h" > static int buttonLayout(); > >private: > > > > static void initStatic(); > > > > static void initColors(); > > > > static void rereadFontSettings(); > > > > static void rereadPathSettings(); > > > > static void rereadMouseSettings(); > > > static QString* s_desktopPath; > static QString* s_autostartPath; > static QString* s_trashPath; > static QString* s_documentPath; > static QFont *_generalFont; > static QFont *_fixedFont; > static QFont *_toolBarFont; > static QFont *_menuFont; > static QFont *_windowTitleFont; > static QFont *_taskbarFont; > static QFont *_largeFont; > static QColor * _kde34Blue; > static QColor * _inactiveBackground; > static QColor * _inactiveForeground; > static QColor * _activeBackground; > static QColor * _buttonBackground; > static QColor * _selectBackground; > static QColor * _linkColor; > static QColor * _visitedLinkColor; > static QColor * alternateColor; > static KMouseSettings *s_mouseSettings; > > friend class KApplication; >}; ># 32 "/usr/kde/3.5/include/kcompletion.h" 2 > ># 1 "/usr/kde/3.5/include/ksortablevaluelist.h" 1 ># 23 "/usr/kde/3.5/include/ksortablevaluelist.h" > ># 1 "/usr/qt/3/include/qpair.h" 1 ># 24 "/usr/kde/3.5/include/ksortablevaluelist.h" 2 > ># 1 "/usr/qt/3/include/qvaluelist.h" 1 ># 25 "/usr/kde/3.5/include/ksortablevaluelist.h" 2 > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 26 "/usr/kde/3.5/include/ksortablevaluelist.h" 2 > > > > > > >template<class T, class Key = int> class KSortableItem : public QPair<Key,T> >{ >public: > > > > > > KSortableItem( Key i, const T& t ) : QPair<Key, T>( i, t ) {} > > > > > KSortableItem( const KSortableItem<T, Key> &rhs ) > : QPair<Key,T>( rhs.first, rhs.second ) {} > > > > > KSortableItem() {} > > > > > KSortableItem<T, Key> &operator=( const KSortableItem<T, Key>& i ) { > this->first = i.first; > this->second = i.second; > return *this; > } > > > > > > > bool operator> ( const KSortableItem<T, Key>& i2 ) const { > return (i2.first < this->first); > } > > > > > bool operator< ( const KSortableItem<T, Key>& i2 ) const { > return (this->first < i2.first); > } > > > > > bool operator>= ( const KSortableItem<T, Key>& i2 ) const { > return (this->first >= i2.first); > } > > > > > bool operator<= ( const KSortableItem<T, Key>& i2 ) const { > return !(i2.first < this->first); > } > > > > > bool operator== ( const KSortableItem<T, Key>& i2 ) const { > return (this->first == i2.first); > } > > > > > bool operator!= ( const KSortableItem<T, Key>& i2 ) const { > return (this->first != i2.first); > } > > > > > T& value() { return this->second; } > > > > > const T& value() const { return this->second; } > > > > > Key index() const { return this->first; } >}; ># 129 "/usr/kde/3.5/include/ksortablevaluelist.h" >template <class T, class Key = int> >class KSortableValueList : public QValueList<KSortableItem<T, Key> > >{ >public: > > > > > > void insert( Key i, const T& t ) { > QValueList<KSortableItem<T, Key> >::append( KSortableItem<T, Key>( i, t ) ); > } > > > > > > > T& operator[]( Key i ) { > return QValueList<KSortableItem<T, Key> >::operator[]( i ).value(); > } > > > > > > const T& operator[]( Key i ) const { > return QValueList<KSortableItem<T, Key> >::operator[]( i ).value(); > } > > > > > void sort() { > qHeapSort( *this ); > } >}; ># 33 "/usr/kde/3.5/include/kcompletion.h" 2 > ># 1 "/usr/kde/3.5/include/kshortcut.h" 1 ># 23 "/usr/kde/3.5/include/kshortcut.h" > ># 1 "/usr/qt/3/include/qkeysequence.h" 1 ># 54 "/usr/qt/3/include/qkeysequence.h" >class QKeySequence; >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QKeySequence & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QKeySequence & ); > > >class QKeySequencePrivate; > >class __attribute__((visibility("default"))) QKeySequence : public Qt >{ >public: > QKeySequence(); > QKeySequence( const QString& key ); > QKeySequence( int key ); > QKeySequence( int k1, int k2, int k3 = 0, int k4 = 0 ); > QKeySequence( const QKeySequence & ); > ~QKeySequence(); > > uint count() const; > bool isEmpty() const; > Qt::SequenceMatch matches( const QKeySequence & ) const; > > operator QString() const; > operator int () const; > int operator[]( uint ) const; > QKeySequence &operator=( const QKeySequence & ); > bool operator==( const QKeySequence& ) const; > bool operator!= ( const QKeySequence& ) const; > >private: > static int decodeString( const QString & ); > static QString encodeString( int ); > int assign( QString ); > void setKey( int key, int index ); > > QKeySequencePrivate* d; > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QKeySequence & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QKeySequence & ); > friend class QAccelManager; >}; ># 24 "/usr/kde/3.5/include/kshortcut.h" 2 > > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 26 "/usr/kde/3.5/include/kshortcut.h" 2 > >class QKeyEvent; >class KKeyNative; ># 40 "/usr/kde/3.5/include/kshortcut.h" >class __attribute__ ((visibility("default"))) KKey >{ > public: > > > > > enum { MOD_FLAG_COUNT = 4 }; > enum { QtWIN = (Qt::META) }; > > > > > enum ModFlag { > SHIFT = 0x01, > CTRL = 0x02, > ALT = 0x04, > WIN = 0x08 > }; > > > > > > > > KKey(); > > > > > > > KKey( int keyQt ); > > > > > > KKey( const QKeySequence& keySeq ); > > > > > > KKey( const QKeyEvent* keyEvent ); > > > > > KKey( const KKey& key ); ># 100 "/usr/kde/3.5/include/kshortcut.h" > KKey( const QString& key ); > > > > KKey( uint key, uint mod ); > ~KKey(); > > > > > > > void clear(); > > > > > > > > bool init( int keyQt ); > > > > > > > bool init( const QKeySequence& keySeq ); > > > > > > > bool init( const QKeyEvent* keyEvent ); > > > > > > > bool init( const KKey& key ); ># 152 "/usr/kde/3.5/include/kshortcut.h" > bool init( const QString& key); > > > > > bool init( uint key, uint mod ); > > > > > KKey& operator =( const KKey& key ) > { init( key ); return *this; } ># 173 "/usr/kde/3.5/include/kshortcut.h" > bool isNull() const; > > > > > uint sym() const; > > > > uint modFlags() const; ># 195 "/usr/kde/3.5/include/kshortcut.h" > int compare( const KKey& key ) const; > > > > > > bool operator == ( const KKey& key ) const > { return compare( key ) == 0; } > > > > > bool operator != ( const KKey& key ) const > { return compare( key ) != 0; } > > > > > bool operator < ( const KKey& key ) const > { return compare( key ) < 0; } > > > > > > > > int keyCodeQt() const; ># 231 "/usr/kde/3.5/include/kshortcut.h" > QString toString() const; > > > > > > QString toStringInternal() const; > > > > > > void simplify(); > > > > > > > > static KKey& null(); > > > > > > > static QString modFlagLabel( ModFlag f ); > > private: ># 271 "/usr/kde/3.5/include/kshortcut.h" > uint m_sym; > > > > uint m_mod; > > private: > friend class KKeyNative; >}; ># 288 "/usr/kde/3.5/include/kshortcut.h" >class __attribute__ ((visibility("default"))) KKeySequence >{ > public: > > enum { MAX_KEYS = 4 }; > > > > > > > > KKeySequence(); > > > > > > KKeySequence( const QKeySequence& keySeq ); > > > > > > KKeySequence( const KKey& key ); > > > > > > KKeySequence( const KKeyNative& key ); > > > > > > KKeySequence( const KKeySequence& keySeq ); ># 334 "/usr/kde/3.5/include/kshortcut.h" > KKeySequence( const QString& keySeq ); > > ~KKeySequence(); > > > > > > > void clear(); > > > > > > > bool init( const QKeySequence& keySeq ); > > > > > > > bool init( const KKey& key ); > > > > > > > bool init( const KKeyNative& key ); > > > > > > > bool init( const KKeySequence& keySeq ); ># 382 "/usr/kde/3.5/include/kshortcut.h" > bool init( const QString& key ); > > > > > KKeySequence& operator =( const KKeySequence& seq ) > { init( seq ); return *this; } > > > > > > > uint count() const; ># 405 "/usr/kde/3.5/include/kshortcut.h" > const KKey& key( uint i ) const; > > > > > bool isTriggerOnRelease() const; ># 420 "/usr/kde/3.5/include/kshortcut.h" > bool setKey( uint i, const KKey& key ); ># 429 "/usr/kde/3.5/include/kshortcut.h" > bool isNull() const; > > > > > > > bool startsWith( const KKeySequence& keySeq ) const; ># 450 "/usr/kde/3.5/include/kshortcut.h" > int compare( const KKeySequence& keySeq ) const; > > > > > > bool operator == ( const KKeySequence& seq ) const > { return compare( seq ) == 0; } > > > > > > bool operator != ( const KKeySequence& seq ) const > { return compare( seq ) != 0; } > > > > > > bool operator < ( const KKeySequence& seq ) const > { return compare( seq ) < 0; } > > > > > > > QKeySequence qt() const; > > > > > > > > int keyCodeQt() const; > > > > > > > > QString toString() const; > > > > > QString toStringInternal() const; > > > > > > > > static KKeySequence& null(); > > protected: > uchar m_nKeys; > uchar m_bTriggerOnRelease; > > KKey m_rgvar[MAX_KEYS]; > > private: > class KKeySequencePrivate* d; > friend class KKeyNative; >}; ># 543 "/usr/kde/3.5/include/kshortcut.h" >class __attribute__ ((visibility("default"))) KShortcut >{ > public: > > > > > enum { MAX_SEQUENCES = 2 }; > > > > > > > > KShortcut(); > > > > > > > > KShortcut( int keyQt ); > > > > > > > KShortcut( const QKeySequence& keySeq ); > > > > > > > KShortcut( const KKey& key ); > > > > > > > KShortcut( const KKeySequence& keySeq ); > > > > > > KShortcut( const KShortcut& shortcut ); ># 602 "/usr/kde/3.5/include/kshortcut.h" > KShortcut( const char* shortcut ); ># 611 "/usr/kde/3.5/include/kshortcut.h" > KShortcut( const QString& shortcut ); > ~KShortcut(); > > > > > > > void clear(); > > > > > > > > bool init( int keyQt ); > > > > > > bool init( const QKeySequence& keySeq ); > > > > > > bool init( const KKey& key ); > > > > > > bool init( const KKeySequence& keySeq ); > > > > > > bool init( const KShortcut& shortcut ); ># 660 "/usr/kde/3.5/include/kshortcut.h" > bool init( const QString& shortcut ); > > > > > KShortcut& operator =( const KShortcut& cut ) > { init( cut ); return *this; } > > > > > > > > uint count() const; ># 683 "/usr/kde/3.5/include/kshortcut.h" > const KKeySequence& seq( uint i ) const; ># 692 "/usr/kde/3.5/include/kshortcut.h" > int keyCodeQt() const; ># 701 "/usr/kde/3.5/include/kshortcut.h" > bool isNull() const; ># 716 "/usr/kde/3.5/include/kshortcut.h" > int compare( const KShortcut& shortcut ) const; > > > > > > bool operator == ( const KShortcut& cut ) const > { return compare( cut ) == 0; } > > > > > > bool operator != ( const KShortcut& cut ) const > { return compare( cut ) != 0; } > > > > > > bool operator < ( const KShortcut& cut ) const > { return compare( cut ) < 0; } > > > > > > > > bool contains( const KKey& key ) const; > > > > > > > > bool contains( const KKeyNative& key ) const; > > > > > > > bool contains( const KKeySequence& keySeq ) const; ># 770 "/usr/kde/3.5/include/kshortcut.h" > bool setSeq( uint i, const KKeySequence& keySeq ); ># 781 "/usr/kde/3.5/include/kshortcut.h" > bool append( const KKeySequence& keySeq ); > > > > > > > void remove( const KKeySequence& keySeq ); ># 798 "/usr/kde/3.5/include/kshortcut.h" > bool append( const KKey& spec ); ># 807 "/usr/kde/3.5/include/kshortcut.h" > bool append( const KShortcut& cut ); > > > > > > operator QKeySequence () const; ># 822 "/usr/kde/3.5/include/kshortcut.h" > QString toString() const; > > > > > QString toStringInternal( const KShortcut* pcutDefault = 0 ) const; > > > > > > > > static KShortcut& null(); > > protected: > uint m_nSeqs; > KKeySequence m_rgseq[MAX_SEQUENCES]; > > private: > class KShortcutPrivate* d; > friend class KKeyNative; > > > public: > operator int () const { return keyCodeQt(); } > >}; ># 34 "/usr/kde/3.5/include/kcompletion.h" 2 > >class KCompTreeNode; >class KCompletionPrivate; >class KCompletionBasePrivate; >class KCompletionMatchesWrapper; >class KCompletionMatches; >class QPopupMenu; ># 132 "/usr/kde/3.5/include/kcompletion.h" >class __attribute__ ((visibility("default"))) KCompletion : public QObject >{ > > > > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > >public: > > > > > enum CompOrder { Sorted, > Insertion, > Weighted > }; > > > > > KCompletion(); > > > > > > > virtual ~KCompletion(); ># 184 "/usr/kde/3.5/include/kcompletion.h" > virtual QString makeCompletion( const QString& string ); ># 194 "/usr/kde/3.5/include/kcompletion.h" > QStringList substringCompletion( const QString& string ) const; ># 205 "/usr/kde/3.5/include/kcompletion.h" > QString previousMatch(); ># 216 "/usr/kde/3.5/include/kcompletion.h" > QString nextMatch(); > > > > > > > > virtual const QString& lastMatch() const { return myLastMatch; } ># 244 "/usr/kde/3.5/include/kcompletion.h" > QStringList items() const; > > > > > bool isEmpty() const; ># 260 "/usr/kde/3.5/include/kcompletion.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 269 "/usr/kde/3.5/include/kcompletion.h" > KGlobalSettings::Completion completionMode() const { > return myCompletionMode; > } ># 293 "/usr/kde/3.5/include/kcompletion.h" > virtual void setOrder( CompOrder order ); > > > > > > > CompOrder order() const { return myOrder; } ># 309 "/usr/kde/3.5/include/kcompletion.h" > virtual void setIgnoreCase( bool ignoreCase ); > > > > > > > > bool ignoreCase() const { return myIgnoreCase; } > > > > > > > > QStringList allMatches(); > > > > > > > QStringList allMatches( const QString& string ); ># 346 "/usr/kde/3.5/include/kcompletion.h" > KCompletionMatches allWeightedMatches(); > > > > > > > KCompletionMatches allWeightedMatches( const QString& string ); ># 368 "/usr/kde/3.5/include/kcompletion.h" > virtual void setEnableSounds( bool enable ) { myBeep = enable; } ># 377 "/usr/kde/3.5/include/kcompletion.h" > bool isSoundsEnabled() const { return myBeep; } > > > > > > > bool hasMultipleMatches() const { return myHasMultipleMatches; } > > > > > > > void enableSounds() { myBeep = true; } > > > > > > void disableSounds() { myBeep = false; } > > >public : > > > > > > > void slotMakeCompletion( const QString& string ) { > (void) makeCompletion( string ); > } > > > > > > > void slotPreviousMatch() { > (void) previousMatch(); > } > > > > > > > void slotNextMatch() { > (void) nextMatch(); > } ># 436 "/usr/kde/3.5/include/kcompletion.h" > void insertItems( const QStringList& items ); ># 453 "/usr/kde/3.5/include/kcompletion.h" > virtual void setItems( const QStringList& list); > > > > > > > > void addItem( const QString& item); ># 474 "/usr/kde/3.5/include/kcompletion.h" > void addItem( const QString& item, uint weight ); > > > > > > > > void removeItem( const QString& item); > > > > > virtual void clear(); > > >protected: > > > > > > > void match( const QString& item); > > > > > > > > void matches( const QStringList& matchlist); > > > > > > > void multipleMatches(); > >protected: ># 528 "/usr/kde/3.5/include/kcompletion.h" > virtual void postProcessMatch( QString *match ) const { (void)match; } ># 540 "/usr/kde/3.5/include/kcompletion.h" > virtual void postProcessMatches( QStringList * matches ) const { (void)matches;} ># 552 "/usr/kde/3.5/include/kcompletion.h" > virtual void postProcessMatches( KCompletionMatches * matches ) const {(void)matches;} > >private: > void addWeightedItem( const QString& ); > QString findCompletion( const QString& string ); > void findAllCompletions( const QString&, > KCompletionMatchesWrapper *matches, > bool& hasMultipleMatches ) const; > > void extractStringsFromNode( const KCompTreeNode *, > const QString& beginning, > KCompletionMatchesWrapper *matches, > bool addWeight = false ) const; > void extractStringsFromNodeCI( const KCompTreeNode *, > const QString& beginning, > const QString& restString, > KCompletionMatchesWrapper *matches) const; > > enum BeepMode { NoMatch, PartialMatch, Rotation }; > void doBeep( BeepMode ) const; > > KGlobalSettings::Completion myCompletionMode; > > CompOrder myOrder; > QString myLastString; > QString myLastMatch; > QString myCurrentMatch; > KCompTreeNode * myTreeRoot; > QStringList myRotations; > bool myBeep; > bool myIgnoreCase; > bool myHasMultipleMatches; > uint myRotationIndex; > > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KCompletionPrivate *d; >}; > > >typedef KSortableValueList<QString> KCompletionMatchesList; >class KCompletionMatchesPrivate; ># 615 "/usr/kde/3.5/include/kcompletion.h" >class __attribute__ ((visibility("default"))) KCompletionMatches : public KCompletionMatchesList >{ >public: > KCompletionMatches( bool sort ); > > > > KCompletionMatches( const KCompletionMatchesWrapper& matches ); > ~KCompletionMatches(); > > > > > void removeDuplicates(); > > > > > > > QStringList list( bool sort = true ) const; > > > > > > bool sorting() const { > return _sorting; > } >private: > bool _sorting; > KCompletionMatchesPrivate* d; >}; ># 663 "/usr/kde/3.5/include/kcompletion.h" >class __attribute__ ((visibility("default"))) KCompletionBase >{ >public: > > > > > > enum KeyBindingType { > > > > TextCompletion, > > > > PrevCompletionMatch, > > > > NextCompletionMatch, > > > > SubstringCompletion > }; > > > > typedef QMap<KeyBindingType, KShortcut> KeyBindingMap; > > > > > KCompletionBase(); > > > > > virtual ~KCompletionBase(); ># 719 "/usr/kde/3.5/include/kcompletion.h" > KCompletion* completionObject( bool hsig = true ); ># 737 "/usr/kde/3.5/include/kcompletion.h" > virtual void setCompletionObject( KCompletion* compObj, bool hsig = true ); ># 751 "/usr/kde/3.5/include/kcompletion.h" > virtual void setHandleSignals( bool handle ); ># 763 "/usr/kde/3.5/include/kcompletion.h" > bool isCompletionObjectAutoDeleted() const { > return m_delegate ? m_delegate->isCompletionObjectAutoDeleted() : m_bAutoDelCompObj; > } ># 776 "/usr/kde/3.5/include/kcompletion.h" > void setAutoDeleteCompletionObject( bool autoDelete ) { > if ( m_delegate ) > m_delegate->setAutoDeleteCompletionObject( autoDelete ); > else > m_bAutoDelCompObj = autoDelete; > } ># 803 "/usr/kde/3.5/include/kcompletion.h" > void setEnableSignals( bool enable ) { > if ( m_delegate ) > m_delegate->setEnableSignals( enable ); > else > m_bEmitSignals = enable; > } > > > > > > > bool handleSignals() const { return m_delegate ? m_delegate->handleSignals() : m_bHandleSignals; } > > > > > > > bool emitSignals() const { return m_delegate ? m_delegate->emitSignals() : m_bEmitSignals; } ># 844 "/usr/kde/3.5/include/kcompletion.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 854 "/usr/kde/3.5/include/kcompletion.h" > KGlobalSettings::Completion completionMode() const { > return m_delegate ? m_delegate->completionMode() : m_iCompletionMode; > } ># 888 "/usr/kde/3.5/include/kcompletion.h" > bool setKeyBinding( KeyBindingType item , const KShortcut& key ); ># 902 "/usr/kde/3.5/include/kcompletion.h" > const KShortcut& getKeyBinding( KeyBindingType item ) const { > return m_delegate ? m_delegate->getKeyBinding( item ) : m_keyMap[ item ]; > } ># 917 "/usr/kde/3.5/include/kcompletion.h" > void useGlobalKeyBindings(); ># 933 "/usr/kde/3.5/include/kcompletion.h" > virtual void setCompletedText( const QString& text ) = 0; > > > > > > > virtual void setCompletedItems( const QStringList& items ) = 0; ># 953 "/usr/kde/3.5/include/kcompletion.h" > KCompletion* compObj() const { return m_delegate ? m_delegate->compObj() : (KCompletion*) m_pCompObj; } > >protected: ># 964 "/usr/kde/3.5/include/kcompletion.h" > KeyBindingMap getKeyBindings() const { return m_delegate ? m_delegate->getKeyBindings() : m_keyMap; } > > > > > > > void setDelegate( KCompletionBase *delegate ); > > > > > > > KCompletionBase *delegate() const { return m_delegate; } > >private: > > > > void setup( bool, bool, bool ); > > > > bool m_bAutoDelCompObj; > > > bool m_bHandleSignals; > > bool m_bEmitSignals; > > KGlobalSettings::Completion m_iCompletionMode; > > QGuardedPtr<KCompletion> m_pCompObj; > > KeyBindingMap m_keyMap; > > KCompletionBase *m_delegate; > > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KCompletionBasePrivate *d; >}; ># 35 "/usr/kde/3.5/include/klineedit.h" 2 > >class QPopupMenu; > >class KCompletionBox; >class KURL; ># 145 "/usr/kde/3.5/include/klineedit.h" >class __attribute__ ((visibility("default"))) KLineEdit : public QLineEdit, public KCompletionBase >{ > friend class KComboBox; > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > > > > > >public: ># 167 "/usr/kde/3.5/include/klineedit.h" > KLineEdit( const QString &string, QWidget *parent, const char *name = 0 ); > > > > > > > > KLineEdit ( QWidget *parent=0, const char *name=0 ); > > > > > virtual ~KLineEdit (); > > > > > > void setURL( const KURL& url ); ># 197 "/usr/kde/3.5/include/klineedit.h" > void cursorAtEnd() { end( false ); } ># 207 "/usr/kde/3.5/include/klineedit.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 223 "/usr/kde/3.5/include/klineedit.h" > virtual void setContextMenuEnabled( bool showMenu ) { m_bEnableMenu = showMenu; } > > > > > bool isContextMenuEnabled() const { return m_bEnableMenu; } ># 237 "/usr/kde/3.5/include/klineedit.h" > void setURLDropsEnabled( bool enable ); > > > > > bool isURLDropsEnabled() const; ># 254 "/usr/kde/3.5/include/klineedit.h" > void setTrapReturnKey( bool trap ); > > > > > > > > bool trapReturnKey() const; > > > > > > virtual bool eventFilter( QObject *, QEvent * ); ># 278 "/usr/kde/3.5/include/klineedit.h" > KCompletionBox * completionBox( bool create = true ); > > > > > virtual void setCompletionObject( KCompletion *, bool hsig = true ); > > > > > virtual void copy() const; ># 301 "/usr/kde/3.5/include/klineedit.h" > void setEnableSqueezedText( bool enable ); > > > > > > > > bool isSqueezedTextEnabled() const; ># 319 "/usr/kde/3.5/include/klineedit.h" > QString originalText() const; ># 329 "/usr/kde/3.5/include/klineedit.h" > void setCompletionBox( KCompletionBox *box ); > > > > > > > > void setClickMessage( const QString &msg ); > > > > > > QString clickMessage() const; > >protected: > > > > > > void completionBoxActivated (const QString &); ># 360 "/usr/kde/3.5/include/klineedit.h" > void returnPressed( const QString& ); ># 369 "/usr/kde/3.5/include/klineedit.h" > void completion( const QString& ); > > > > > void substringCompletion( const QString& ); ># 388 "/usr/kde/3.5/include/klineedit.h" > void textRotation( KCompletionBase::KeyBindingType ); > > > > > > void completionModeChanged( KGlobalSettings::Completion ); ># 408 "/usr/kde/3.5/include/klineedit.h" > void aboutToShowContextMenu( QPopupMenu * p ); > >public : > > > > > virtual void setReadOnly(bool); ># 427 "/usr/kde/3.5/include/klineedit.h" > void rotateText( KCompletionBase::KeyBindingType type ); > > > > > virtual void setCompletedText( const QString& ); > > > > > > > > void setCompletedItems( const QStringList& items ); ># 452 "/usr/kde/3.5/include/klineedit.h" > void setCompletedItems( const QStringList& items, bool autoSuggest ); > > > > > > virtual void clear(); > > > > > > > void setSqueezedText( const QString &text); > > > > > virtual void setText ( const QString& ); > > >protected : > > > > > > virtual void makeCompletion( const QString& ); > > > > > void slotAboutToShow() {} > > > > > void slotCancelled() {} > > > > > > > void userCancelled(const QString & cancelText); > >protected: > > > > > > > virtual void resizeEvent( QResizeEvent * ); > > > > > > > virtual void keyPressEvent( QKeyEvent * ); > > > > > > > virtual void mousePressEvent( QMouseEvent * ); > > > > > > > virtual void mouseDoubleClickEvent( QMouseEvent * ); > > > > > > > virtual void contextMenuEvent( QContextMenuEvent * ); > > > > > > > virtual QPopupMenu *createPopupMenu(); > > > > > > > virtual void drawContents( QPainter *p ); > > > > > > > virtual void dropEvent( QDropEvent * ); ># 564 "/usr/kde/3.5/include/klineedit.h" > virtual void setCompletedText( const QString& , bool ); > > > > > > > void setUserSelection( bool userSelection ); > > > > > virtual void create( WId = 0, bool initializeWindow = true, > bool destroyOldWindow = true ); > > > > > > > virtual void focusInEvent( QFocusEvent* ); > > > > > > > virtual void focusOutEvent( QFocusEvent* ); > > > > > > bool autoSuggest() const; > >private : > void completionMenuActivated( int id ); > void tripleClickTimeout(); > void slotRestoreSelectionColors(); > void setTextWorkaround( const QString& text ); > >private: > > > enum MenuID > { > Default = 42, > NoCompletion, > AutoCompletion, > ShellCompletion, > PopupCompletion, > ShortAutoCompletion, > PopupAutoCompletion > }; > > > > > void init(); > > > > > > bool overrideAccel (const QKeyEvent* e); > > > > > > void setSqueezedText (); > > bool m_bEnableMenu; > > bool possibleTripleClick; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KLineEditPrivate; > KLineEditPrivate *d; >}; ># 33 "postfilter.h" 2 > ># 1 "/usr/kde/3.5/include/knuminput.h" 1 ># 31 "/usr/kde/3.5/include/knuminput.h" > ># 1 "/usr/qt/3/include/qspinbox.h" 1 ># 43 "/usr/qt/3/include/qspinbox.h" > ># 1 "/usr/qt/3/include/qrangecontrol.h" 1 ># 42 "/usr/qt/3/include/qrangecontrol.h" > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qrangecontrol.h" 2 > > > > > > >class QRangeControlPrivate; > > >class __attribute__((visibility("default"))) QRangeControl >{ >public: > QRangeControl(); > QRangeControl( int minValue, int maxValue, > int lineStep, int pageStep, int value ); > virtual ~QRangeControl(); > int value() const; > void setValue( int ); > void addPage(); > void subtractPage(); > void addLine(); > void subtractLine(); > > int minValue() const; > int maxValue() const; > void setRange( int minValue, int maxValue ); > void setMinValue( int minVal ); > void setMaxValue( int minVal ); > > int lineStep() const; > int pageStep() const; > void setSteps( int line, int page ); > > int bound( int ) const; > >protected: > int positionFromValue( int val, int space ) const; > int valueFromPosition( int pos, int space ) const; > void directSetValue( int val ); > int prevValue() const; > > virtual void valueChange(); > virtual void rangeChange(); > virtual void stepChange(); > >private: > int minVal, maxVal; > int line, page; > int val, prevVal; > > QRangeControlPrivate * d; > >private: > > QRangeControl( const QRangeControl & ); > QRangeControl &operator=( const QRangeControl & ); > >}; > > >inline int QRangeControl::value() const >{ return val; } > >inline int QRangeControl::prevValue() const >{ return prevVal; } > >inline int QRangeControl::minValue() const >{ return minVal; } > >inline int QRangeControl::maxValue() const >{ return maxVal; } > >inline int QRangeControl::lineStep() const >{ return line; } > >inline int QRangeControl::pageStep() const >{ return page; } > > > > > > >class QSpinWidgetPrivate; >class __attribute__((visibility("default"))) QSpinWidget : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > QSpinWidget( QWidget* parent=0, const char* name=0 ); > ~QSpinWidget(); > > void setEditWidget( QWidget * widget ); > QWidget * editWidget(); > > QRect upRect() const; > QRect downRect() const; > > void setUpEnabled( bool on ); > void setDownEnabled( bool on ); > > bool isUpEnabled() const; > bool isDownEnabled() const; > > enum ButtonSymbols { UpDownArrows, PlusMinus }; > virtual void setButtonSymbols( ButtonSymbols bs ); > ButtonSymbols buttonSymbols() const; > > void arrange(); > >protected: > void stepUpPressed(); > void stepDownPressed(); > >public : > void stepUp(); > void stepDown(); > >protected: > void mousePressEvent( QMouseEvent *e ); > void resizeEvent( QResizeEvent* ev ); > void mouseReleaseEvent( QMouseEvent *e ); > void mouseMoveEvent( QMouseEvent *e ); > > void wheelEvent( QWheelEvent * ); > > void styleChange( QStyle& ); > void paintEvent( QPaintEvent * ); > void enableChanged( bool old ); > void windowActivationChange( bool ); > >private : > void timerDone(); > void timerDoneEx(); > >private: > QSpinWidgetPrivate * d; > > void updateDisplay(); > >private: > > QSpinWidget( const QSpinWidget& ); > QSpinWidget& operator=( const QSpinWidget& ); > >}; ># 44 "/usr/qt/3/include/qspinbox.h" 2 > > > > >class QLineEdit; >class QValidator; >class QSpinBoxPrivate; > >class __attribute__((visibility("default"))) QSpinBox: public QWidget, public QRangeControl >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 68 "/usr/qt/3/include/qspinbox.h" >public: > QSpinBox( QWidget* parent=0, const char* name=0 ); > QSpinBox( int minValue, int maxValue, int step = 1, > QWidget* parent=0, const char* name=0 ); > ~QSpinBox(); > > QString text() const; > > virtual QString prefix() const; > virtual QString suffix() const; > virtual QString cleanText() const; > > virtual void setSpecialValueText( const QString &text ); > QString specialValueText() const; > > virtual void setWrapping( bool on ); > bool wrapping() const; > > enum ButtonSymbols { UpDownArrows, PlusMinus }; > virtual void setButtonSymbols( ButtonSymbols ); > ButtonSymbols buttonSymbols() const; > > virtual void setValidator( const QValidator* v ); > const QValidator * validator() const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > int minValue() const; > int maxValue() const; > void setMinValue( int ); > void setMaxValue( int ); > int lineStep() const; > void setLineStep( int ); > int value() const; > > QRect upRect() const; > QRect downRect() const; > >public : > virtual void setValue( int value ); > virtual void setPrefix( const QString &text ); > virtual void setSuffix( const QString &text ); > virtual void stepUp(); > virtual void stepDown(); > virtual void setEnabled( bool enabled ); > virtual void selectAll(); > >protected: > void valueChanged( int value ); > void valueChanged( const QString &valueText ); > >protected: > virtual QString mapValueToText( int value ); > virtual int mapTextToValue( bool* ok ); > QString currentValueText(); > > virtual void updateDisplay(); > virtual void interpretText(); > > QLineEdit* editor() const; > > virtual void valueChange(); > virtual void rangeChange(); > > bool eventFilter( QObject* obj, QEvent* ev ); > void resizeEvent( QResizeEvent* ev ); > > void wheelEvent( QWheelEvent * ); > > void leaveEvent( QEvent* ); > > void styleChange( QStyle& ); > >protected : > void textChanged(); > >private: > void initSpinBox(); > QSpinBoxPrivate* d; > QLineEdit* vi; > QValidator* validate; > QString pfix; > QString sfix; > QString specText; > > uint wrap : 1; > uint edited : 1; > > void arrangeWidgets(); > >private: > > QSpinBox( const QSpinBox& ); > QSpinBox& operator=( const QSpinBox& ); > > >}; ># 32 "/usr/kde/3.5/include/knuminput.h" 2 > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 33 "/usr/kde/3.5/include/knuminput.h" 2 > >class QLabel; >class QSlider; >class QLineEdit; >class QLayout; >class QValidator; > >class KIntSpinBox; ># 49 "/usr/kde/3.5/include/knuminput.h" >class __attribute__ ((visibility("default"))) KNumInput : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > >public: > > > > > > KNumInput(QWidget* parent=0, const char* name=0); > > > > > > > KNumInput(KNumInput* below, QWidget* parent=0, const char* name=0); > ~KNumInput(); ># 87 "/usr/kde/3.5/include/knuminput.h" > virtual void setLabel(const QString & label, int a = AlignLeft | AlignTop); > > > > > QString label() const; > > > > > > bool showSlider() const { return m_slider; } > > > > > > > > void setSteps(int minor, int major); > > > > > > QSizePolicy sizePolicy() const; > > > > > > > virtual QSize sizeHint() const; > >protected: > > > > > > void layout(bool deep); ># 137 "/usr/kde/3.5/include/knuminput.h" > virtual void doLayout() = 0; > > KNumInput* m_prev, *m_next; > int m_colw1, m_colw2; > > QLabel* m_label; > QSlider* m_slider; > QSize m_sizeSlider, m_sizeLabel; > > int m_alignment; > >private: > void init(); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KNumInputPrivate; > KNumInputPrivate *d; >}; ># 187 "/usr/kde/3.5/include/knuminput.h" >class __attribute__ ((visibility("default"))) KIntNumInput : public KNumInput >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 199 "/usr/kde/3.5/include/knuminput.h" >public: > > > > > KIntNumInput(QWidget *parent=0, const char *name=0); ># 217 "/usr/kde/3.5/include/knuminput.h" > KIntNumInput(int value, QWidget* parent=0, int base = 10, const char *name=0); ># 236 "/usr/kde/3.5/include/knuminput.h" > KIntNumInput(KNumInput* below, int value, QWidget* parent=0, int base = 10, const char *name=0); > > > > > > > virtual ~KIntNumInput(); > > > > > int value() const; > > > > > > double relativeValue() const; > > > > > > int referencePoint() const; > > > > > > QString suffix() const; > > > > > QString prefix() const; > > > > > QString specialValueText() const; > > > > > > > > void setRange(int min, int max, int step=1, bool slider=true); > > > > void setMinValue(int min); > > > > int minValue() const; > > > > void setMaxValue(int max); > > > > int maxValue() const; > > > > > > > > void setSpecialValueText(const QString& text); > > virtual void setLabel(const QString & label, int a = AlignLeft | AlignTop); ># 319 "/usr/kde/3.5/include/knuminput.h" > virtual QSize minimumSizeHint() const; > >public : > > > > void setValue(int); > > > > > > void setRelativeValue(double); > > > > > > void setReferencePoint(int); ># 348 "/usr/kde/3.5/include/knuminput.h" > void setSuffix(const QString &suffix); ># 357 "/usr/kde/3.5/include/knuminput.h" > void setPrefix(const QString &prefix); > > > > > > void setEditFocus( bool mark = true ); > >protected: > > > > > void valueChanged(int); > > > > > > > void relativeValueChanged(double); > >private : > void spinValueChanged(int); > void slotEmitRelativeValueChanged(int); > >protected: > virtual void doLayout(); > void resizeEvent ( QResizeEvent * ); > > KIntSpinBox* m_spin; > QSize m_sizeSpin; > >private: > void init(int value, int _base); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KIntNumInputPrivate; > KIntNumInputPrivate *d; >}; > > > > >class KDoubleLine; ># 432 "/usr/kde/3.5/include/knuminput.h" >class __attribute__ ((visibility("default"))) KDoubleNumInput : public KNumInput >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 445 "/usr/kde/3.5/include/knuminput.h" >public: > > > > > KDoubleNumInput(QWidget *parent=0, const char *name=0); ># 460 "/usr/kde/3.5/include/knuminput.h" > KDoubleNumInput(double value, QWidget *parent=0, const char *name=0) __attribute__ ((deprecated)); ># 474 "/usr/kde/3.5/include/knuminput.h" > KDoubleNumInput(double lower, double upper, double value, double step=0.01, > int precision=2, QWidget *parent=0, const char *name=0); > > > > > virtual ~KDoubleNumInput(); ># 493 "/usr/kde/3.5/include/knuminput.h" > KDoubleNumInput(KNumInput* below, double value, QWidget* parent=0, const char* name=0) __attribute__ ((deprecated)); ># 516 "/usr/kde/3.5/include/knuminput.h" > KDoubleNumInput(KNumInput* below, > double lower, double upper, double value, double step=0.02, > int precision=2, QWidget *parent=0, const char *name=0); > > > > > double value() const; > > > > > > QString suffix() const; > > > > > > QString prefix() const; > > > > > > int precision() const; > > > > > > QString specialValueText() const { return m_specialvalue; } > > > > > > > > void setRange(double min, double max, double step=1, bool slider=true); > > > > void setMinValue(double min); > > > > double minValue() const; > > > > void setMaxValue(double max); > > > > double maxValue() const; > > > > > void setPrecision(int precision); > > > > > > double referencePoint() const; > > > > > > double relativeValue() const; > > > > > > > > void setSpecialValueText(const QString& text); > > virtual void setLabel(const QString & label, int a = AlignLeft | AlignTop); > virtual QSize minimumSizeHint() const; > virtual bool eventFilter(QObject*, QEvent*); > >public : > > > > void setValue(double); > > > > > > void setRelativeValue(double); > > > > > > > > void setReferencePoint(double ref); ># 629 "/usr/kde/3.5/include/knuminput.h" > void setSuffix(const QString &suffix); > > > > > > > > void setPrefix(const QString &prefix); > >protected: > > > > > void valueChanged(double); > > > > > > > > void relativeValueChanged(double); > >private : > void sliderMoved(int); > void slotEmitRelativeValueChanged(double); > >protected: > virtual void doLayout(); > void resizeEvent ( QResizeEvent * ); > > virtual void resetEditBox(); > > > KDoubleLine* edit; > > bool m_range; > double m_lower, m_upper, m_step; > > > QSize m_sizeEdit; > > friend class KDoubleLine; >private: > void init(double value, double lower, double upper, > double step, int precision); > double mapSliderToSpin(int) const; > void updateLegacyMembers(); > > QString m_specialvalue, m_prefix, m_suffix; > double m_value; > short m_precision; > > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KDoubleNumInputPrivate; > KDoubleNumInputPrivate *d; >}; ># 704 "/usr/kde/3.5/include/knuminput.h" >class __attribute__ ((visibility("default"))) KIntSpinBox : public QSpinBox >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > >public: ># 718 "/usr/kde/3.5/include/knuminput.h" > KIntSpinBox( QWidget *parent=0, const char *name=0); ># 734 "/usr/kde/3.5/include/knuminput.h" > KIntSpinBox(int lower, int upper, int step, int value, int base = 10, > QWidget* parent = 0, const char* name = 0); > > > > > virtual ~KIntSpinBox(); > > > > > void setBase(int base); > > > > int base() const; > > > > > void setEditFocus(bool mark); > >protected: > > > > > > virtual QString mapValueToText(int); > > > > > > virtual int mapTextToValue(bool*); > >private: > int val_base; >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KIntSpinBoxPrivate; > KIntSpinBoxPrivate *d; >}; ># 834 "/usr/kde/3.5/include/knuminput.h" >class __attribute__ ((visibility("default"))) KDoubleSpinBox : public QSpinBox { > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > > > > > >public: > > > > KDoubleSpinBox( QWidget * parent=0, const char * name=0 ); > > > > > KDoubleSpinBox( double lower, double upper, double step, double value, > int precision=2, QWidget * parent=0, const char * name=0 ); > > virtual ~KDoubleSpinBox(); > > > bool acceptLocalizedNumbers() const; > > > > virtual void setAcceptLocalizedNumbers( bool accept ); > > > > > void setRange( double lower, double upper, double step=0.01, int precision=2 ); > > > > int precision() const; > > > > > void setPrecision( int precision ); ># 890 "/usr/kde/3.5/include/knuminput.h" > virtual void setPrecision( int precision, bool force ); > > > double value() const; > > > double minValue() const; > > > > > > > > void setMinValue( double value ); > > > double maxValue() const; > > > > > > > > void setMaxValue( double value ); > > > double lineStep() const; > > > > > > void setLineStep( double step ); > > > void setValidator( const QValidator * ); > >protected: > > void valueChanged( double value ); > >public : > > > > virtual void setValue( double value ); > >protected: > virtual QString mapValueToText(int); > virtual int mapTextToValue(bool*); > >protected : > void slotValueChanged( int value ); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > typedef QSpinBox base; > void updateValidator(); > int maxPrecision() const; > > class Private; > Private * d; >}; ># 34 "postfilter.h" 2 > ># 1 "/usr/kde/3.5/include/kcombobox.h" 1 ># 26 "/usr/kde/3.5/include/kcombobox.h" > ># 1 "/usr/qt/3/include/qcombobox.h" 1 ># 48 "/usr/qt/3/include/qcombobox.h" >class QStrList; >class QStringList; >class QLineEdit; >class QValidator; >class QListBox; >class QComboBoxData; >class QWheelEvent; > >class __attribute__((visibility("default"))) QComboBox : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 72 "/usr/qt/3/include/qcombobox.h" >public: > QComboBox( QWidget* parent=0, const char* name=0 ); > QComboBox( bool rw, QWidget* parent=0, const char* name=0 ); > ~QComboBox(); > > int count() const; > > void insertStringList( const QStringList &, int index=-1 ); > void insertStrList( const QStrList &, int index=-1 ); > void insertStrList( const QStrList *, int index=-1 ); > void insertStrList( const char **, int numStrings=-1, int index=-1); > > void insertItem( const QString &text, int index=-1 ); > void insertItem( const QPixmap &pixmap, int index=-1 ); > void insertItem( const QPixmap &pixmap, const QString &text, int index=-1 ); > > void removeItem( int index ); > > int currentItem() const; > virtual void setCurrentItem( int index ); > > QString currentText() const; > virtual void setCurrentText( const QString& ); > > QString text( int index ) const; > const QPixmap *pixmap( int index ) const; > > void changeItem( const QString &text, int index ); > void changeItem( const QPixmap &pixmap, int index ); > void changeItem( const QPixmap &pixmap, const QString &text, int index ); > > bool autoResize() const; > virtual void setAutoResize( bool ); > QSize sizeHint() const; > > void setPalette( const QPalette & ); > void setFont( const QFont & ); > void setEnabled( bool ); > > virtual void setSizeLimit( int ); > int sizeLimit() const; > > virtual void setMaxCount( int ); > int maxCount() const; > > enum Policy { NoInsertion, AtTop, AtCurrent, AtBottom, > AfterCurrent, BeforeCurrent }; > > virtual void setInsertionPolicy( Policy policy ); > Policy insertionPolicy() const; > > virtual void setValidator( const QValidator * ); > const QValidator * validator() const; > > virtual void setListBox( QListBox * ); > QListBox * listBox() const; > > virtual void setLineEdit( QLineEdit *edit ); > QLineEdit* lineEdit() const; > > virtual void setAutoCompletion( bool ); > bool autoCompletion() const; > > bool eventFilter( QObject *object, QEvent *event ); > > void setDuplicatesEnabled( bool enable ); > bool duplicatesEnabled() const; > > bool editable() const; > void setEditable( bool ); > > virtual void popup(); > > void hide(); > >public : > void clear(); > void clearValidator(); > void clearEdit(); > virtual void setEditText( const QString &); > >protected: > void activated( int index ); > void highlighted( int index ); > void activated( const QString &); > void highlighted( const QString &); > void textChanged( const QString &); > >private : > void internalActivate( int ); > void internalHighlight( int ); > void internalClickTimeout(); > void returnPressed(); > >protected: > void paintEvent( QPaintEvent * ); > void resizeEvent( QResizeEvent * ); > void mousePressEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseDoubleClickEvent( QMouseEvent * ); > void keyPressEvent( QKeyEvent *e ); > void focusInEvent( QFocusEvent *e ); > void focusOutEvent( QFocusEvent *e ); > > void wheelEvent( QWheelEvent *e ); > > void styleChange( QStyle& ); > > void updateMask(); > >private: > void setUpListBox(); > void setUpLineEdit(); > void popDownListBox(); > void reIndex(); > void currentChanged(); > int completionIndex( const QString &, int ) const; > > QComboBoxData *d; > >private: > > QComboBox( const QComboBox & ); > QComboBox &operator=( const QComboBox & ); > >}; ># 27 "/usr/kde/3.5/include/kcombobox.h" 2 > > > >class QListBoxItem; >class QPopupMenu; >class QLineEdit; > >class KCompletionBox; >class KURL; ># 144 "/usr/kde/3.5/include/kcombobox.h" >class __attribute__ ((visibility("default"))) KComboBox : public QComboBox, public KCompletionBase >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > > > >public: ># 161 "/usr/kde/3.5/include/kcombobox.h" > KComboBox( QWidget *parent=0, const char *name=0 ); ># 172 "/usr/kde/3.5/include/kcombobox.h" > KComboBox( bool rw, QWidget *parent=0, const char *name=0 ); > > > > > virtual ~KComboBox(); > > > > > > > void setEditURL( const KURL& url ); > > > > > > > void insertURL( const KURL& url, int index = -1 ); > > > > > > > > void insertURL( const QPixmap& pixmap, const KURL& url, int index = -1 ); > > > > > > > void changeURL( const KURL& url, int index ); > > > > > > > void changeURL( const QPixmap& pixmap, const KURL& url, int index ); ># 223 "/usr/kde/3.5/include/kcombobox.h" > int cursorPosition() const { return ( lineEdit() ) ? lineEdit()->cursorPosition() : -1; } ># 235 "/usr/kde/3.5/include/kcombobox.h" > virtual void setAutoCompletion( bool autocomplete ); ># 246 "/usr/kde/3.5/include/kcombobox.h" > bool autoCompletion() const { > return completionMode() == KGlobalSettings::CompletionAuto; > } ># 265 "/usr/kde/3.5/include/kcombobox.h" > virtual void setContextMenuEnabled( bool showMenu ); > > > > > bool isContextMenuEnabled() const { return m_bEnableMenu; } ># 279 "/usr/kde/3.5/include/kcombobox.h" > void setURLDropsEnabled( bool enable ); > > > > > bool isURLDropsEnabled() const; ># 295 "/usr/kde/3.5/include/kcombobox.h" > bool contains( const QString& text ) const; ># 310 "/usr/kde/3.5/include/kcombobox.h" > void setTrapReturnKey( bool trap ); > > > > > > > > bool trapReturnKey() const; > > > > > virtual bool eventFilter( QObject *, QEvent * ); ># 334 "/usr/kde/3.5/include/kcombobox.h" > KCompletionBox * completionBox( bool create = true ); > > > > > > > > virtual void setLineEdit( QLineEdit * ); > >protected: > > > > > > void returnPressed(); ># 361 "/usr/kde/3.5/include/kcombobox.h" > void returnPressed( const QString& ); ># 371 "/usr/kde/3.5/include/kcombobox.h" > void completion( const QString& ); > > > > > void substringCompletion( const QString& ); ># 389 "/usr/kde/3.5/include/kcombobox.h" > void textRotation( KCompletionBase::KeyBindingType ); > > > > > > void completionModeChanged( KGlobalSettings::Completion ); ># 406 "/usr/kde/3.5/include/kcombobox.h" > void aboutToShowContextMenu( QPopupMenu * p ); > >public : ># 427 "/usr/kde/3.5/include/kcombobox.h" > void rotateText( KCompletionBase::KeyBindingType type ); > > > > > > > virtual void setCompletedText( const QString& ); > > > > > > void setCompletedItems( const QStringList& items ); > > > > > > > void setCurrentItem( const QString& item, bool insert = false, int index = -1 ); > > > > > > void setCurrentItem(int index) { QComboBox::setCurrentItem(index); } > >protected : > > > > > virtual void itemSelected( QListBoxItem* ) {}; ># 473 "/usr/kde/3.5/include/kcombobox.h" > virtual void makeCompletion( const QString& ); > >protected: ># 484 "/usr/kde/3.5/include/kcombobox.h" > virtual void setCompletedText( const QString& , bool ); > > > > > virtual void create( WId = 0, bool initializeWindow = true, > bool destroyOldWindow = true ); > > virtual void wheelEvent( QWheelEvent *ev ); > >private : > void lineEditDeleted(); > >private: > > > > void init(); > bool m_bEnableMenu; > bool m_trapReturnKey; > >protected: > virtual void virtual_hook( int id, void* data ); > >private: > class KComboBoxPrivate; > KComboBoxPrivate* const d; >}; > > >class KPixmapProvider; ># 533 "/usr/kde/3.5/include/kcombobox.h" >class __attribute__ ((visibility("default"))) KHistoryCombo : public KComboBox >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > >public: ># 558 "/usr/kde/3.5/include/kcombobox.h" > KHistoryCombo( QWidget *parent = 0L, const char *name = 0L ); ># 567 "/usr/kde/3.5/include/kcombobox.h" > KHistoryCombo( bool useCompletion, > QWidget *parent = 0L, const char *name = 0L ); > > > > > ~KHistoryCombo(); > > > > > > > > inline void setHistoryItems( QStringList items ) { > setHistoryItems(items, false); > } ># 626 "/usr/kde/3.5/include/kcombobox.h" > void setHistoryItems( QStringList items, bool setCompletionList ); > > > > > > > > QStringList historyItems() const; ># 643 "/usr/kde/3.5/include/kcombobox.h" > bool removeFromHistory( const QString& item ); ># 657 "/usr/kde/3.5/include/kcombobox.h" > void setPixmapProvider( KPixmapProvider *prov ); > > > > > > > KPixmapProvider * pixmapProvider() const { return myPixProvider; } > > > > > > void reset() { slotReset(); } > >public : ># 692 "/usr/kde/3.5/include/kcombobox.h" > void addToHistory( const QString& item ); > > > > > void clearHistory(); > >protected: > > > > void cleared(); > >protected: > > > > virtual void keyPressEvent( QKeyEvent * ); > > > > > virtual void wheelEvent( QWheelEvent *ev ); ># 724 "/usr/kde/3.5/include/kcombobox.h" > void insertItems( const QStringList& items ); > > > > > bool useCompletion() const { return compObj(); } > >private : > > > > void slotReset(); > > > > > > void slotClear(); > > > > > void addContextMenuItems( QPopupMenu* ); > >private: > void init( bool useCompletion ); > void rotateUp(); > void rotateDown(); > > > > > int myIterateIndex; > > > > > QString myText; > > > > > > bool myRotated; > KPixmapProvider *myPixProvider; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KHistoryComboPrivate; > KHistoryComboPrivate* const d; >}; ># 35 "postfilter.h" 2 > ># 1 "/usr/kde/3.5/include/kdialogbase.h" 1 ># 26 "/usr/kde/3.5/include/kdialogbase.h" > ># 1 "/usr/kde/3.5/include/kdialog.h" 1 ># 24 "/usr/kde/3.5/include/kdialog.h" >class QLayoutItem; > > ># 1 "/usr/qt/3/include/qdialog.h" 1 ># 49 "/usr/qt/3/include/qdialog.h" >class QPushButton; >class QDialogPrivate; > >class __attribute__((visibility("default"))) QDialog : public QWidget >{ >friend class QPushButton; > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > >public: > explicit QDialog( QWidget* parent=0, const char* name=0, bool modal=FALSE, > WFlags f=0 ); > ~QDialog(); > > enum DialogCode { Rejected, Accepted }; > > int result() const { return rescode; } > > void show(); > void hide(); > void move( int x, int y ); > void move( const QPoint &p ); > void resize( int w, int h ); > void resize( const QSize & ); > void setGeometry( int x, int y, int w, int h ); > void setGeometry( const QRect & ); > > void setOrientation( Orientation orientation ); > Orientation orientation() const; > > void setExtension( QWidget* extension ); > QWidget* extension() const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > void setSizeGripEnabled( bool ); > bool isSizeGripEnabled() const; > > void setModal( bool modal ); > bool isModal() const; > > > > >public : > int exec(); > >protected : > virtual void done( int ); > virtual void accept(); > virtual void reject(); > > void showExtension( bool ); > >protected: > void setResult( int r ) { rescode = r; } > void keyPressEvent( QKeyEvent * ); > void closeEvent( QCloseEvent * ); > void resizeEvent( QResizeEvent * ); > void contextMenuEvent( QContextMenuEvent * ); > bool eventFilter( QObject *, QEvent * ); > void adjustPosition( QWidget*); > >private: > void setDefault( QPushButton * ); > void setMainDefault( QPushButton * ); > void hideDefault(); > > > > > int rescode; > uint did_move : 1; > uint has_relpos : 1; > uint did_resize : 1; > uint in_loop: 1; > void adjustPositionInternal( QWidget*, bool useRelPos = FALSE ); > QDialogPrivate* d; > >private: > > QDialog( const QDialog & ); > QDialog &operator=( const QDialog & ); > >}; ># 27 "/usr/kde/3.5/include/kdialog.h" 2 > > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 29 "/usr/kde/3.5/include/kdialog.h" 2 ># 52 "/usr/kde/3.5/include/kdialog.h" >class __attribute__ ((visibility("default"))) KDialog : public QDialog >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > public: > > > > > > > KDialog(QWidget *parent = 0, const char *name = 0, > bool modal = false, WFlags f = 0); > > > > > > static int marginHint(); > > > > > > static int spacingHint(); ># 85 "/usr/kde/3.5/include/kdialog.h" > static void resizeLayout( QWidget *widget, int margin, int spacing ); ># 94 "/usr/kde/3.5/include/kdialog.h" > static void resizeLayout( QLayoutItem *lay, int margin, int spacing ); ># 106 "/usr/kde/3.5/include/kdialog.h" > static void centerOnScreen( QWidget *widget, int screen = -1 ); ># 117 "/usr/kde/3.5/include/kdialog.h" > static bool avoidArea( QWidget *widget, const QRect& area, int screen = -1 ); > > public : > > > > > virtual void polish(); ># 133 "/usr/kde/3.5/include/kdialog.h" > virtual void setCaption( const QString &caption ); > > > > > > > > virtual void setPlainCaption( const QString &caption ); > > > protected: > > > > virtual void keyPressEvent(QKeyEvent*); > > > protected: > > > > > > > > void layoutHintChanged(); > > private: > static const int mMarginSize; > static const int mSpacingSize; > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KDialogPrivate; > KDialogPrivate* const d; > >}; ># 188 "/usr/kde/3.5/include/kdialog.h" >class KDialogQueuePrivate; >class __attribute__ ((visibility("default"))) KDialogQueue : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > >public: > > static void queueDialog(QDialog *); > > ~KDialogQueue(); > >protected: > KDialogQueue(); > static KDialogQueue *self(); > >private : > void slotShowQueuedDialog(); > >protected: > KDialogQueuePrivate* const d; > static KDialogQueue *_self; >}; ># 27 "/usr/kde/3.5/include/kdialogbase.h" 2 > ># 1 "/usr/kde/3.5/include/kjanuswidget.h" 1 ># 24 "/usr/kde/3.5/include/kjanuswidget.h" > ># 1 "/usr/qt/3/include/qpixmap.h" 1 ># 25 "/usr/kde/3.5/include/kjanuswidget.h" 2 > ># 1 "/usr/qt/3/include/qsplitter.h" 1 ># 48 "/usr/qt/3/include/qsplitter.h" >class QSplitterHandle; >class QSplitterPrivate; >class QSplitterLayoutStruct; >class QTextStream; > >class __attribute__((visibility("default"))) QSplitter : public QFrame >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > > > >public: > > enum ResizeMode { Stretch, KeepSize, FollowSizeHint, Auto }; > > QSplitter( QWidget* parent = 0, const char* name = 0 ); > QSplitter( Orientation, QWidget* parent = 0, const char* name = 0 ); > ~QSplitter(); > > virtual void setOrientation( Orientation ); > Orientation orientation() const { return orient; } > > > > void setChildrenCollapsible( bool ); > bool childrenCollapsible() const; > > void setCollapsible( QWidget *w, bool ); > virtual void setResizeMode( QWidget *w, ResizeMode ); > virtual void setOpaqueResize( bool = TRUE ); > bool opaqueResize() const; > > void moveToFirst( QWidget * ); > void moveToLast( QWidget * ); > > void refresh() { recalc( TRUE ); } > QSize sizeHint() const; > QSize minimumSizeHint() const; > > QValueList<int> sizes() const; > void setSizes( QValueList<int> ); > > int handleWidth() const; > void setHandleWidth( int ); > >protected: > void childEvent( QChildEvent * ); > > bool event( QEvent * ); > void resizeEvent( QResizeEvent * ); > > int idAfter( QWidget* ) const; > > void moveSplitter( QCOORD pos, int id ); > virtual void drawSplitter( QPainter*, QCOORD x, QCOORD y, > QCOORD w, QCOORD h ); > void styleChange( QStyle& ); > int adjustPos( int, int ); > virtual void setRubberband( int ); > void getRange( int id, int *, int * ); > >private: > enum { DefaultResizeMode = 3 }; > > void init(); > void recalc( bool update = FALSE ); > void doResize(); > void storeSizes(); > void getRange( int id, int *, int *, int *, int * ); > void addContribution( int, int *, int *, bool ); > int adjustPos( int, int, int *, int *, int *, int * ); > bool collapsible( QSplitterLayoutStruct * ); > void processChildEvents(); > QSplitterLayoutStruct *findWidget( QWidget * ); > QSplitterLayoutStruct *addWidget( QWidget *, bool prepend = FALSE ); > void recalcId(); > void doMove( bool backwards, int pos, int id, int delta, bool upLeft, > bool mayCollapse ); > void setGeo( QWidget *w, int pos, int size, bool splitterMoved ); > int findWidgetJustBeforeOrJustAfter( int id, int delta, int &collapsibleSize ); > void updateHandles(); > > inline QCOORD pick( const QPoint &p ) const > { return orient == Horizontal ? p.x() : p.y(); } > inline QCOORD pick( const QSize &s ) const > { return orient == Horizontal ? s.width() : s.height(); } > > inline QCOORD trans( const QPoint &p ) const > { return orient == Vertical ? p.x() : p.y(); } > inline QCOORD trans( const QSize &s ) const > { return orient == Vertical ? s.width() : s.height(); } > > QSplitterPrivate *d; > > Orientation orient; > friend class QSplitterHandle; > > > friend __attribute__((visibility("default"))) QTextStream& operator<<( QTextStream&, const QSplitter& ); > friend __attribute__((visibility("default"))) QTextStream& operator>>( QTextStream&, QSplitter& ); > > >private: > > QSplitter( const QSplitter & ); > QSplitter& operator=( const QSplitter & ); > >}; > > >__attribute__((visibility("default"))) QTextStream& operator<<( QTextStream&, const QSplitter& ); >__attribute__((visibility("default"))) QTextStream& operator>>( QTextStream&, QSplitter& ); ># 26 "/usr/kde/3.5/include/kjanuswidget.h" 2 > > ># 1 "/usr/kde/3.5/include/klistbox.h" 1 ># 21 "/usr/kde/3.5/include/klistbox.h" > ># 1 "/usr/qt/3/include/qlistbox.h" 1 ># 42 "/usr/qt/3/include/qlistbox.h" > ># 1 "/usr/qt/3/include/qscrollview.h" 1 ># 42 "/usr/qt/3/include/qscrollview.h" > ># 1 "/usr/qt/3/include/qscrollbar.h" 1 ># 41 "/usr/qt/3/include/qscrollbar.h" >class QTimer; ># 50 "/usr/qt/3/include/qscrollbar.h" >class __attribute__((visibility("default"))) QScrollBar : public QWidget, public QRangeControl >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 62 "/usr/qt/3/include/qscrollbar.h" >public: > QScrollBar( QWidget *parent, const char* name = 0 ); > QScrollBar( Orientation, QWidget *parent, const char* name = 0 ); > QScrollBar( int minValue, int maxValue, int lineStep, int pageStep, > int value, Orientation, QWidget *parent, const char* name = 0 ); > ~QScrollBar(); > > virtual void setOrientation( Orientation ); > Orientation orientation() const; > virtual void setTracking( bool enable ); > bool tracking() const; > bool draggingSlider() const; > > virtual void setPalette( const QPalette & ); > virtual QSize sizeHint() const; > virtual void setSizePolicy( QSizePolicy sp ); > void setSizePolicy( QSizePolicy::SizeType hor, QSizePolicy::SizeType ver, bool hfw = FALSE ); > > int minValue() const; > int maxValue() const; > void setMinValue( int ); > void setMaxValue( int ); > int lineStep() const; > int pageStep() const; > void setLineStep( int ); > void setPageStep( int ); > int value() const; > > int sliderStart() const; > QRect sliderRect() const; > >public : > void setValue( int ); > >protected: > void valueChanged( int value ); > void sliderPressed(); > void sliderMoved( int value ); > void sliderReleased(); > void nextLine(); > void prevLine(); > void nextPage(); > void prevPage(); > >protected: > > void wheelEvent( QWheelEvent * ); > > void keyPressEvent( QKeyEvent * ); > void resizeEvent( QResizeEvent * ); > void paintEvent( QPaintEvent * ); > > void mousePressEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > void contextMenuEvent( QContextMenuEvent * ); > void hideEvent( QHideEvent* ); > > void valueChange(); > void stepChange(); > void rangeChange(); > > void styleChange( QStyle& ); > >private : > void doAutoRepeat(); > >private: > void init(); > void positionSliderFromValue(); > int calculateValueFromSlider() const; > > void startAutoRepeat(); > void stopAutoRepeat(); > > int rangeValueToSliderPos( int val ) const; > int sliderPosToRangeValue( int val ) const; > > void action( int control ); > > void drawControls( uint controls, uint activeControl ) const; > void drawControls( uint controls, uint activeControl, > QPainter *p ) const; > > uint pressedControl; > bool track; > bool clickedAt; > Orientation orient; > > int slidePrevVal; > QCOORD sliderPos; > QCOORD clickOffset; > > QTimer * repeater; > void * d; > >private: > > QScrollBar( const QScrollBar & ); > QScrollBar &operator=( const QScrollBar & ); > >}; > > >inline void QScrollBar::setTracking( bool t ) >{ > track = t; >} > >inline bool QScrollBar::tracking() const >{ > return track; >} > >inline QScrollBar::Orientation QScrollBar::orientation() const >{ > return orient; >} > >inline int QScrollBar::sliderStart() const >{ > return sliderPos; >} > >inline void QScrollBar::setSizePolicy( QSizePolicy::SizeType hor, QSizePolicy::SizeType ver, bool hfw ) >{ > QWidget::setSizePolicy( hor, ver, hfw ); >} ># 43 "/usr/qt/3/include/qscrollview.h" 2 > > > > >class QScrollViewData; > >class __attribute__((visibility("default"))) QScrollView : public QFrame >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 66 "/usr/qt/3/include/qscrollview.h" >public: > QScrollView(QWidget* parent=0, const char* name=0, WFlags f=0); > ~QScrollView(); > > enum ResizePolicy { Default, Manual, AutoOne, AutoOneFit }; > virtual void setResizePolicy( ResizePolicy ); > ResizePolicy resizePolicy() const; > > void styleChange( QStyle & ); > void removeChild(QWidget* child); > virtual void addChild( QWidget* child, int x=0, int y=0 ); > virtual void moveChild( QWidget* child, int x, int y ); > int childX(QWidget* child); > int childY(QWidget* child); > bool childIsVisible(QWidget* child) { return child->isVisible(); } > void showChild(QWidget* child, bool yes=TRUE) { > if ( yes ) > child->show(); > else > child->hide(); > } > > enum ScrollBarMode { Auto, AlwaysOff, AlwaysOn }; > > ScrollBarMode vScrollBarMode() const; > virtual void setVScrollBarMode( ScrollBarMode ); > > ScrollBarMode hScrollBarMode() const; > virtual void setHScrollBarMode( ScrollBarMode ); > > QWidget* cornerWidget() const; > virtual void setCornerWidget(QWidget*); > > > > QScrollBar* horizontalScrollBar() const; > QScrollBar* verticalScrollBar() const; > QWidget* viewport() const; > QWidget* clipper() const; > > int visibleWidth() const; > int visibleHeight() const; > > int contentsWidth() const; > int contentsHeight() const; > int contentsX() const; > int contentsY() const; > > void resize( int w, int h ); > void resize( const QSize& ); > void show(); > > void updateContents( int x, int y, int w, int h ); > void updateContents( const QRect& r ); > void updateContents(); > void repaintContents( int x, int y, int w, int h, bool erase=TRUE ); > void repaintContents( const QRect& r, bool erase=TRUE ); > void repaintContents( bool erase=TRUE ); > void contentsToViewport( int x, int y, int& vx, int& vy ) const; > void viewportToContents( int vx, int vy, int& x, int& y ) const; > QPoint contentsToViewport( const QPoint& ) const; > QPoint viewportToContents( const QPoint& ) const; > void enableClipper( bool y ); > > void setStaticBackground( bool y ); > bool hasStaticBackground() const; > > QSize viewportSize( int, int ) const; > QSize sizeHint() const; > QSize minimumSizeHint() const; > > void removeChild(QObject* child); > > bool isHorizontalSliderPressed(); > bool isVerticalSliderPressed(); > > > virtual void setDragAutoScroll( bool b ); > bool dragAutoScroll() const; > > >protected: > void contentsMoving(int x, int y); > void horizontalSliderPressed(); > void horizontalSliderReleased(); > void verticalSliderPressed(); > void verticalSliderReleased(); > >public : > virtual void resizeContents( int w, int h ); > void scrollBy( int dx, int dy ); > virtual void setContentsPos( int x, int y ); > void ensureVisible(int x, int y); > void ensureVisible(int x, int y, int xmargin, int ymargin); > void center(int x, int y); > void center(int x, int y, float xmargin, float ymargin); > > void updateScrollBars(); > void setEnabled( bool enable ); > >protected: > virtual void drawContents(QPainter*, int cx, int cy, int cw, int ch); > virtual void drawContentsOffset(QPainter*, int ox, int oy, > int cx, int cy, int cw, int ch); > > > virtual void contentsMousePressEvent( QMouseEvent* ); > virtual void contentsMouseReleaseEvent( QMouseEvent* ); > virtual void contentsMouseDoubleClickEvent( QMouseEvent* ); > virtual void contentsMouseMoveEvent( QMouseEvent* ); > > virtual void contentsDragEnterEvent( QDragEnterEvent * ); > virtual void contentsDragMoveEvent( QDragMoveEvent * ); > virtual void contentsDragLeaveEvent( QDragLeaveEvent * ); > virtual void contentsDropEvent( QDropEvent * ); > > > virtual void contentsWheelEvent( QWheelEvent * ); > > virtual void contentsContextMenuEvent( QContextMenuEvent * ); > > > virtual void viewportPaintEvent( QPaintEvent* ); > virtual void viewportResizeEvent( QResizeEvent* ); > virtual void viewportMousePressEvent( QMouseEvent* ); > virtual void viewportMouseReleaseEvent( QMouseEvent* ); > virtual void viewportMouseDoubleClickEvent( QMouseEvent* ); > virtual void viewportMouseMoveEvent( QMouseEvent* ); > > virtual void viewportDragEnterEvent( QDragEnterEvent * ); > virtual void viewportDragMoveEvent( QDragMoveEvent * ); > virtual void viewportDragLeaveEvent( QDragLeaveEvent * ); > virtual void viewportDropEvent( QDropEvent * ); > > > virtual void viewportWheelEvent( QWheelEvent * ); > > virtual void viewportContextMenuEvent( QContextMenuEvent * ); > > void frameChanged(); > > virtual void setMargins(int left, int top, int right, int bottom); > int leftMargin() const; > int topMargin() const; > int rightMargin() const; > int bottomMargin() const; > > bool focusNextPrevChild( bool next ); > > virtual void setHBarGeometry(QScrollBar& hbar, int x, int y, int w, int h); > virtual void setVBarGeometry(QScrollBar& vbar, int x, int y, int w, int h); > > void resizeEvent(QResizeEvent*); > void mousePressEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseDoubleClickEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > > void wheelEvent( QWheelEvent * ); > > void contextMenuEvent( QContextMenuEvent * ); > bool eventFilter( QObject *, QEvent *e ); > > void setCachedSizeHint( const QSize &sh ) const; > QSize cachedSizeHint() const; > void fontChange( const QFont & ); > >private: > void drawContents( QPainter* ); > void moveContents(int x, int y); > > QScrollViewData* d; > >private : > void hslide(int); > void vslide(int); > void hbarIsPressed(); > void hbarIsReleased(); > void vbarIsPressed(); > void vbarIsReleased(); > > void doDragAutoScroll(); > void startDragAutoScroll(); > void stopDragAutoScroll(); > > >private: > > QScrollView( const QScrollView & ); > QScrollView &operator=( const QScrollView & ); > > void changeFrameRect(const QRect&); > >public: > void disableSizeHintCaching(); > >}; ># 43 "/usr/qt/3/include/qlistbox.h" 2 > > > > > > >class QListBoxPrivate; >class QListBoxItem; >class QString; >class QStrList; >class QStringList; > > >class __attribute__((visibility("default"))) QListBox : public QScrollView >{ > friend class QListBoxItem; > friend class QListBoxPrivate; > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 77 "/usr/qt/3/include/qlistbox.h" >public: > QListBox( QWidget* parent=0, const char* name=0, WFlags f=0 ); > ~QListBox(); > > virtual void setFont( const QFont & ); > > uint count() const; > > void insertStringList( const QStringList&, int index=-1 ); > void insertStrList( const QStrList *, int index=-1 ); > void insertStrList( const QStrList &, int index=-1 ); > void insertStrList( const char **, > int numStrings=-1, int index=-1 ); > > void insertItem( const QListBoxItem *, int index=-1 ); > void insertItem( const QListBoxItem *, const QListBoxItem *after ); > void insertItem( const QString &text, int index=-1 ); > void insertItem( const QPixmap &pixmap, int index=-1 ); > void insertItem( const QPixmap &pixmap, const QString &text, int index=-1 ); > > void removeItem( int index ); > > QString text( int index ) const; > const QPixmap *pixmap( int index ) const; > > void changeItem( const QListBoxItem *, int index ); > void changeItem( const QString &text, int index ); > void changeItem( const QPixmap &pixmap, int index ); > void changeItem( const QPixmap &pixmap, const QString &text, int index ); > > void takeItem( const QListBoxItem * ); > > int numItemsVisible() const; > > int currentItem() const; > QString currentText() const { return text(currentItem()); } > virtual void setCurrentItem( int index ); > virtual void setCurrentItem( QListBoxItem * ); > void centerCurrentItem() { ensureCurrentVisible(); } > int topItem() const; > virtual void setTopItem( int index ); > virtual void setBottomItem( int index ); > > long maxItemWidth() const; > > enum SelectionMode { Single, Multi, Extended, NoSelection }; > virtual void setSelectionMode( SelectionMode ); > SelectionMode selectionMode() const; > > void setMultiSelection( bool multi ); > bool isMultiSelection() const; > > virtual void setSelected( QListBoxItem *, bool ); > void setSelected( int, bool ); > bool isSelected( int ) const; > bool isSelected( const QListBoxItem * ) const; > QListBoxItem* selectedItem() const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > QListBoxItem *item( int index ) const; > int index( const QListBoxItem * ) const; > QListBoxItem *findItem( const QString &text, ComparisonFlags compare = BeginsWith ) const; > > void triggerUpdate( bool doLayout ); > > bool itemVisible( int index ); > bool itemVisible( const QListBoxItem * ); > > enum LayoutMode { FixedNumber, > FitToWidth, FitToHeight = FitToWidth, > Variable }; > virtual void setColumnMode( LayoutMode ); > virtual void setColumnMode( int ); > virtual void setRowMode( LayoutMode ); > virtual void setRowMode( int ); > > LayoutMode columnMode() const; > LayoutMode rowMode() const; > > int numColumns() const; > int numRows() const; > > bool variableWidth() const; > virtual void setVariableWidth( bool ); > > bool variableHeight() const; > virtual void setVariableHeight( bool ); > > void viewportPaintEvent( QPaintEvent * ); ># 196 "/usr/qt/3/include/qlistbox.h" > int itemHeight( int index = 0 ) const; > QListBoxItem * itemAt( const QPoint & ) const; > > QRect itemRect( QListBoxItem *item ) const; > > QListBoxItem *firstItem() const; > > void sort( bool ascending = TRUE ); > >public : > void clear(); > virtual void ensureCurrentVisible(); > virtual void clearSelection(); > virtual void selectAll( bool select ); > virtual void invertSelection(); > >protected: > void highlighted( int index ); > void selected( int index ); > void highlighted( const QString &); > void selected( const QString &); > void highlighted( QListBoxItem * ); > void selected( QListBoxItem * ); > > void selectionChanged(); > void selectionChanged( QListBoxItem * ); > void currentChanged( QListBoxItem * ); > void clicked( QListBoxItem * ); > void clicked( QListBoxItem *, const QPoint & ); > void pressed( QListBoxItem * ); > void pressed( QListBoxItem *, const QPoint & ); > > void doubleClicked( QListBoxItem * ); > void returnPressed( QListBoxItem * ); > void rightButtonClicked( QListBoxItem *, const QPoint & ); > void rightButtonPressed( QListBoxItem *, const QPoint & ); > void mouseButtonPressed( int, QListBoxItem*, const QPoint& ); > void mouseButtonClicked( int, QListBoxItem*, const QPoint& ); > > void contextMenuRequested( QListBoxItem *, const QPoint & ); > > void onItem( QListBoxItem *item ); > void onViewport(); > >protected: > void mousePressEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseDoubleClickEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > void contentsContextMenuEvent( QContextMenuEvent * ); > > void keyPressEvent( QKeyEvent *e ); > void focusInEvent( QFocusEvent *e ); > void focusOutEvent( QFocusEvent *e ); > void resizeEvent( QResizeEvent * ); > void showEvent( QShowEvent * ); > > bool eventFilter( QObject *o, QEvent *e ); > > void updateItem( int index ); > void updateItem( QListBoxItem * ); > > > > > > > > virtual void paintCell( QPainter *, int row, int col ); > > void toggleCurrentItem(); > bool isRubberSelecting() const; > > void doLayout() const; > > void windowActivationChange( bool ); > > > > > > >protected : > void clearInputString(); > >private : > void refreshSlot(); > void doAutoScroll(); > void adjustItems(); > >private: > void mousePressEventEx( QMouseEvent * ); > void tryGeometry( int, int ) const; > int currentRow() const; > int currentColumn() const; > void updateSelection(); > void repaintSelection(); > void drawRubber(); > void doRubberSelection( const QRect &old, const QRect &rubber ); > void handleItemChange( QListBoxItem *old, bool shift, bool control ); > void selectRange( QListBoxItem *from, QListBoxItem *to, bool invert, bool includeFirst, bool clearSel = FALSE ); > > void emitChangedSignal( bool ); > > int columnAt( int ) const; > int rowAt( int ) const; > > QListBoxPrivate * d; > > static QListBox * changedListBox; > >private: > > QListBox( const QListBox & ); > QListBox &operator=( const QListBox & ); > >}; > > >class __attribute__((visibility("default"))) QListBoxItem >{ >public: > QListBoxItem( QListBox* listbox = 0 ); > QListBoxItem( QListBox* listbox, QListBoxItem *after ); > virtual ~QListBoxItem(); > > virtual QString text() const; > virtual const QPixmap *pixmap() const; > > virtual int height( const QListBox * ) const; > virtual int width( const QListBox * ) const; > > bool isSelected() const { return s; } > bool isCurrent() const; > > > > > > > QListBox *listBox() const; > > void setSelectable( bool b ); > bool isSelectable() const; > > QListBoxItem *next() const; > QListBoxItem *prev() const; > > virtual int rtti() const; > static int RTTI; > >protected: > virtual void paint( QPainter * ) = 0; > virtual void setText( const QString &text ) { txt = text; } > void setCustomHighlighting( bool ); > >private: > QString txt; > uint s:1; > uint dirty:1; > uint custom_highlight : 1; > int x, y; > QListBoxItem * p, * n; > QListBox* lbox; > friend class QListBox; > friend class QListBoxPrivate; > friend class QComboBox; > friend class QComboBoxPopupItem; > >private: > > QListBoxItem( const QListBoxItem & ); > QListBoxItem &operator=( const QListBoxItem & ); > >}; > > >class __attribute__((visibility("default"))) QListBoxText : public QListBoxItem >{ >public: > QListBoxText( QListBox* listbox, const QString & text=QString::null ); > QListBoxText( const QString & text=QString::null ); > QListBoxText( QListBox* listbox, const QString & text, QListBoxItem *after ); > ~QListBoxText(); > > int height( const QListBox * ) const; > int width( const QListBox * ) const; > > int rtti() const; > static int RTTI; > >protected: > void paint( QPainter * ); > >private: > > QListBoxText( const QListBoxText & ); > QListBoxText &operator=( const QListBoxText & ); > >}; > > >class __attribute__((visibility("default"))) QListBoxPixmap : public QListBoxItem >{ >public: > QListBoxPixmap( QListBox* listbox, const QPixmap & ); > QListBoxPixmap( const QPixmap & ); > QListBoxPixmap( QListBox* listbox, const QPixmap & pix, QListBoxItem *after ); > QListBoxPixmap( QListBox* listbox, const QPixmap &, const QString& ); > QListBoxPixmap( const QPixmap &, const QString& ); > QListBoxPixmap( QListBox* listbox, const QPixmap & pix, const QString&, QListBoxItem *after ); > ~QListBoxPixmap(); > > const QPixmap *pixmap() const { return ± } > > int height( const QListBox * ) const; > int width( const QListBox * ) const; > > int rtti() const; > static int RTTI; > >protected: > void paint( QPainter * ); > >private: > QPixmap pm; >private: > > QListBoxPixmap( const QListBoxPixmap & ); > QListBoxPixmap &operator=( const QListBoxPixmap & ); > >}; ># 22 "/usr/kde/3.5/include/klistbox.h" 2 > > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 24 "/usr/kde/3.5/include/klistbox.h" 2 ># 40 "/usr/kde/3.5/include/klistbox.h" >class __attribute__ ((visibility("default"))) KListBox : public QListBox >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > >public: > KListBox( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); > >protected: ># 59 "/usr/kde/3.5/include/klistbox.h" > void executed( QListBoxItem *item ); ># 72 "/usr/kde/3.5/include/klistbox.h" > void executed( QListBoxItem *item, const QPoint &pos ); ># 88 "/usr/kde/3.5/include/klistbox.h" > void doubleClicked( QListBoxItem *item, const QPoint &pos ); > >protected : > void slotOnItem( QListBoxItem *item ); > void slotOnViewport(); > > void slotSettingsChanged(int); > > > > > void slotAutoSelect(); > >protected: > void emitExecute( QListBoxItem *item, const QPoint &pos ); > > virtual void keyPressEvent(QKeyEvent *e); > virtual void focusOutEvent( QFocusEvent *fe ); > virtual void leaveEvent( QEvent *e ); > virtual void contentsMousePressEvent( QMouseEvent *e ); > virtual void contentsMouseDoubleClickEvent ( QMouseEvent *e ); > > bool m_bUseSingle; > bool m_bChangeCursorOverItem; > > QListBoxItem* m_pCurrentItem; > > QTimer* m_pAutoSelect; > int m_autoSelectDelay; > >private : > void slotMouseButtonClicked( int btn, QListBoxItem *item, const QPoint &pos ); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KListBoxPrivate; > KListBoxPrivate* const d; >}; ># 28 "/usr/kde/3.5/include/kjanuswidget.h" 2 > > > >class KListView; > >class QGrid; >class QHBox; >class QLabel; >class QTabWidget; >class QVBox; >class QWidgetStack; >class KSeparator; >class QListViewItem; >class KGuiItem; ># 67 "/usr/kde/3.5/include/kjanuswidget.h" >class __attribute__ ((visibility("default"))) KJanusWidget : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > private: > class IconListBox : public KListBox > { > public: > IconListBox( QWidget *parent=0, const char *name=0, WFlags f=0 ); > void updateMinimumHeight(); > void updateWidth(); > void invalidateHeight(); > void invalidateWidth(); > void setShowAll( bool showAll ); > > private: > bool mShowAll; > bool mHeightValid; > bool mWidthValid; > }; > > public: > enum Face > { > > > > > > > TreeList = 0, > > > > > > > Tabbed, > > > > > > Plain, > > > > > > > > Swallow, > > > > > > > > IconList > }; > > public: ># 139 "/usr/kde/3.5/include/kjanuswidget.h" > KJanusWidget( QWidget *parent=0, const char *name=0, int face=Plain ); > > > > > ~KJanusWidget(); > > > > > > > virtual bool showPage( int index ); > > > > > > > > virtual int activePageIndex() const; > > > > > > > > virtual bool isValid() const; > > > > > > > virtual int face() const; > > > > > > > > virtual QSize minimumSizeHint() const; > > > > > > > > virtual QSize sizeHint() const; > > > > > > > virtual QFrame *plainPage(); ># 218 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QFrame *addPage(const QString &item,const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 235 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QFrame *addPage(const QStringList &items, const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 257 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QVBox *addVBoxPage( const QString &item, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 273 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QVBox *addVBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 297 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QHBox *addHBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 313 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QHBox *addHBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 340 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QGrid *addGridPage( int n, Orientation dir, > const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 357 "/usr/kde/3.5/include/kjanuswidget.h" > virtual QGrid *addGridPage( int n, Orientation dir, > const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 371 "/usr/kde/3.5/include/kjanuswidget.h" > void removePage( QWidget *page ); ># 390 "/usr/kde/3.5/include/kjanuswidget.h" > virtual int pageIndex( QWidget *widget ) const; ># 401 "/usr/kde/3.5/include/kjanuswidget.h" > virtual bool setSwallowedWidget( QWidget *widget ); ># 413 "/usr/kde/3.5/include/kjanuswidget.h" > virtual void setTreeListAutoResize( bool state ); ># 427 "/usr/kde/3.5/include/kjanuswidget.h" > virtual void setShowIconsInTreeList(bool state); ># 437 "/usr/kde/3.5/include/kjanuswidget.h" > virtual void setRootIsDecorated( bool state ); ># 452 "/usr/kde/3.5/include/kjanuswidget.h" > void unfoldTreeList( bool persist = false ); ># 462 "/usr/kde/3.5/include/kjanuswidget.h" > void addWidgetBelowList( QWidget * widget ); ># 474 "/usr/kde/3.5/include/kjanuswidget.h" > void addButtonBelowList( const QString & text, QObject * recv, > const char * slot ); ># 488 "/usr/kde/3.5/include/kjanuswidget.h" > void addButtonBelowList( const KGuiItem & guiitem, QObject * > recv, const char * slot ); ># 503 "/usr/kde/3.5/include/kjanuswidget.h" > virtual void setIconListAllVisible( bool state ); > > > > > > > virtual void setFolderIcon(const QStringList &path, const QPixmap &pixmap); > > > > > > > QString pageTitle(int index) const; > > > > > > > > QWidget *pageWidget(int index) const; > > protected: > > > > > > void aboutToShowPage(QWidget *page); > > public : > > > > virtual void setFocus(); > > protected: > > > > > virtual void showEvent( QShowEvent * ); ># 556 "/usr/kde/3.5/include/kjanuswidget.h" > virtual bool eventFilter( QObject *o, QEvent *e ); > > private : > bool slotShowPage(); > void slotFontChanged(); > void slotItemClicked(QListViewItem *it); > void pageGone(QObject *obj); > void slotReopen(QListViewItem *item); > > protected: > bool showPage( QWidget *w ); > void addPageWidget( QFrame *page, const QStringList &items, > const QString &header, const QPixmap &pixmap ); > void InsertTreeListItem(const QStringList &items, const QPixmap &pixmap, QFrame *page); > QWidget *FindParent(); > > private: > bool mValid; > > > QPtrList<QWidget> *mPageList; > QStringList *mTitleList; > > int mFace; > KListView *mTreeList; > IconListBox *mIconList; > QWidgetStack *mPageStack; > QLabel *mTitleLabel; > QTabWidget *mTabControl; > QFrame *mPlainPage; > QWidget *mSwallowPage; > QWidget *mActivePageWidget; > KSeparator *mTitleSep; > QSplitter::ResizeMode mTreeListResizeMode; > bool mShowIconsInTreeList; > QMap<QListViewItem *, QWidget *> mTreeListToPageStack; > QMap<QListBoxItem *, QWidget *> mIconListToPageStack; > QMap<QString, QPixmap> mFolderIconMap; > QMap<QString, QStringList> mChildrenNames; > QMap<QString, QWidget *> mChildPages; > > public: > class IconListItem; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KJanusWidgetPrivate; > KJanusWidgetPrivate *d; >}; ># 28 "/usr/kde/3.5/include/kdialogbase.h" 2 > ># 1 "/usr/kde/3.5/include/kguiitem.h" 1 ># 26 "/usr/kde/3.5/include/kguiitem.h" > ># 1 "/usr/qt/3/include/qiconset.h" 1 ># 48 "/usr/qt/3/include/qiconset.h" >class QIconFactory; >class QIconSetPrivate; > > >class __attribute__((visibility("default"))) QIconSet >{ >public: > > enum Size { Automatic, Small, Large }; > enum Mode { Normal, Disabled, Active }; > enum State { On, Off }; > > QIconSet(); > QIconSet( const QPixmap& pixmap, Size size = Automatic ); > QIconSet( const QPixmap& smallPix, const QPixmap& largePix ); > QIconSet( const QIconSet& other ); > virtual ~QIconSet(); > > void reset( const QPixmap& pixmap, Size size ); > > virtual void setPixmap( const QPixmap& pixmap, Size size, > Mode mode = Normal, State state = Off ); > virtual void setPixmap( const QString& fileName, Size size, > Mode mode = Normal, State state = Off ); > QPixmap pixmap( Size size, Mode mode, State state = Off ) const; > QPixmap pixmap( Size size, bool enabled, State state = Off ) const; > QPixmap pixmap() const; > bool isGenerated( Size size, Mode mode, State state = Off ) const; > void clearGenerated(); > void installIconFactory( QIconFactory *factory ); > > bool isNull() const; > > void detach(); > > QIconSet& operator=( const QIconSet& other ); > > > static void setIconSize( Size which, const QSize& size ); > static const QSize& iconSize( Size which ); > > > > > >private: > void normalize( Size& which, const QSize& pixSize ); > QPixmap *createScaled( Size size, const QPixmap *suppliedPix ) const; > QPixmap *createDisabled( Size size, State state ) const; > > QIconSetPrivate *d; >}; > >class __attribute__((visibility("default"))) QIconFactory : private QShared >{ >public: > QIconFactory(); > virtual ~QIconFactory(); > > virtual QPixmap *createPixmap( const QIconSet& iconSet, QIconSet::Size size, > QIconSet::Mode mode, QIconSet::State state ); > void setAutoDelete( bool autoDelete ) { autoDel = autoDelete; } > bool autoDelete() const { return autoDel; } > > static QIconFactory *defaultFactory(); > static void installDefaultFactory( QIconFactory *factory ); > >private: > > QIconFactory( const QIconFactory & ); > QIconFactory &operator=( const QIconFactory & ); > > > friend class QIconSet; > friend class QIconSetPrivate; > > uint autoDel : 1; > uint unused : 31; >}; ># 27 "/usr/kde/3.5/include/kguiitem.h" 2 > > > ># 1 "/usr/kde/3.5/include/kicontheme.h" 1 ># 19 "/usr/kde/3.5/include/kicontheme.h" > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 20 "/usr/kde/3.5/include/kicontheme.h" 2 > >class KConfig; >class KIconThemeDir; > >class KIconThemePrivate; > >class KIconPrivate; ># 35 "/usr/kde/3.5/include/kicontheme.h" >class __attribute__ ((visibility("default"))) KIcon >{ >public: > KIcon() { size = 0; } > > > > > bool isValid() const { return size != 0; } > > > > > enum Context { > Any, > Action, > Application, > Device, > FileSystem, > MimeType > }; > > > > > enum Type { > Fixed, > Scalable, > Threshold > }; > > > > > enum MatchType { > MatchExact, > MatchBest > > }; > > > > > > > enum Group { > > NoGroup=-1, > > Desktop=0, > > FirstGroup=0, > > Toolbar, > > MainToolbar, > > Small, > > Panel, > > LastGroup, > > User > }; > > > > > enum StdSizes { > > SizeSmall=16, > > SizeSmallMedium=22, > > SizeMedium=32, > > SizeLarge=48, > > SizeHuge=64, > > SizeEnormous=128 > }; > > > > > enum States { DefaultState, > ActiveState, > DisabledState, > LastState > }; > > > > > > > enum Overlays { > LockOverlay=0x100, > ZipOverlay=0x200, > LinkOverlay=0x400, > HiddenOverlay=0x800, > ShareOverlay=0x1000, > OverlayMask = ~0xff > }; > > > > > int size; > > > > > Context context; > > > > > Type type; > > > > > int threshold; > > > > > QString path; > >private: > KIconPrivate *d; >}; > >inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } >inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } > > > > > > >class __attribute__ ((visibility("default"))) KIconTheme >{ >public: > > > > > > > KIconTheme(const QString& name, const QString& appName=QString::null); > ~KIconTheme(); > > > > > > QString name() const { return mName; } > > > > > > > QString description() const { return mDesc; } > > > > > > > QString example() const; > > > > > > QString screenshot() const; > > > > > > QString linkOverlay() const; > > > > > > QString zipOverlay() const; > > > > > > QString lockOverlay() const; > > > > > > > QString shareOverlay () const; > > > > > > QString dir() const { return mDir; } > > > > > > QStringList inherits() const { return mInherits; } > > > > > > bool isValid() const; > > > > > > > bool isHidden() const; > > > > > > > int depth() const { return mDepth; } > > > > > > > int defaultSize(KIcon::Group group) const; > > > > > > > QValueList<int> querySizes(KIcon::Group group) const; > > > > > > > > QStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; > > > > > > > > QStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; ># 315 "/usr/kde/3.5/include/kicontheme.h" > KIcon iconPath(const QString& name, int size, KIcon::MatchType match) const; > > > > > > static QStringList list(); > > > > > > static QString current(); > > > > > static void reconfigure(); > > > > > > > static QString defaultThemeName(); > >private: > int mDefSize[8]; > QValueList<int> mSizes[8]; > > int mDepth; > QString mDir, mName, mDesc; > QStringList mInherits; > QPtrList<KIconThemeDir> mDirs; > KIconThemePrivate *d; > > static QString *_theme; > static QStringList *_theme_list; >}; ># 30 "/usr/kde/3.5/include/kguiitem.h" 2 > ># 1 "/usr/kde/3.5/include/kglobal.h" 1 ># 21 "/usr/kde/3.5/include/kglobal.h" > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 22 "/usr/kde/3.5/include/kglobal.h" 2 > ># 1 "/usr/kde/3.5/include/kinstance.h" 1 ># 21 "/usr/kde/3.5/include/kinstance.h" >class KStandardDirs; >class KAboutData; >class KConfig; >class KIconLoader; >class KCharsets; >class QFont; >class KInstancePrivate; >class KMimeSourceFactory; >class KSharedConfig; > > > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 33 "/usr/kde/3.5/include/kinstance.h" 2 ># 43 "/usr/kde/3.5/include/kinstance.h" >class __attribute__ ((visibility("default"))) KInstance >{ > friend class KStandardDirs; > > public: > > > > > KInstance( const QCString& instanceName) ; ># 64 "/usr/kde/3.5/include/kinstance.h" > KInstance( const KAboutData * aboutData ); > > > > > > > > KInstance( KInstance* src ); > > > > > virtual ~KInstance(); > > > > > > KStandardDirs *dirs() const; > > > > > > KConfig *config() const; > > > > > > KSharedConfig *sharedConfig() const; > > > > > > KIconLoader *iconLoader() const; > > > > > void newIconLoader() const; > > > > > > > > const KAboutData *aboutData() const; > > > > > > > QCString instanceName() const; > > > > > > > KMimeSourceFactory* mimeSourceFactory () const; > >protected: > > > > KInstance( const KInstance& ); > > > > > > > void setConfigName(const QString &name); > >private: > mutable KStandardDirs *_dirs; > > mutable KConfig *_config; > mutable KIconLoader *_iconLoader; > > QCString _name; > const KAboutData *_aboutData; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KInstancePrivate *d; >}; ># 23 "/usr/kde/3.5/include/kglobal.h" 2 > >class KCharsets; >class KConfig; >class KSharedConfig; >class KIconLoader; >class KLocale; >class KStandardDirs; >class KStaticDeleterBase; >class KStaticDeleterList; >class KStringDict; >class QString; ># 44 "/usr/kde/3.5/include/kglobal.h" >class __attribute__ ((visibility("default"))) KGlobal >{ >public: > > > > > > > > static KInstance *instance(); > > > > > > static KStandardDirs *dirs(); > > > > > > static KConfig *config(); > > > > > > static KSharedConfig *sharedConfig(); > > > > > > static KIconLoader *iconLoader(); > > > > > > static KLocale *locale(); > > > > > > static KCharsets *charsets(); ># 109 "/usr/kde/3.5/include/kglobal.h" > static const QString &staticQString(const char *str); ># 128 "/usr/kde/3.5/include/kglobal.h" > static const QString &staticQString(const QString &str); > > > > > > > > static void registerStaticDeleter(KStaticDeleterBase *d); > > > > > > > > static void unregisterStaticDeleter(KStaticDeleterBase *d); > > > > > > > > static void deleteStaticDeleters(); > > > static KStringDict *_stringDict; > static KInstance *_instance; > static KLocale *_locale; > static KCharsets *_charsets; > static KStaticDeleterList *_staticDeleters; > > > > > > > > static void setActiveInstance(KInstance *d); > static KInstance *activeInstance() { return _activeInstance; } > > static KInstance *_activeInstance; >}; ># 196 "/usr/kde/3.5/include/kglobal.h" >template<class T> >inline const T& kMin (const T& a, const T& b) { return a < b ? a : b; } > >template<class T> >inline const T& kMax (const T& a, const T& b) { return b < a ? a : b; } > >template<class T> >inline T kAbs (const T& a) { return a < 0 ? -a : a; } > >template<class T> >inline const T& kClamp( const T& x, const T& low, const T& high ) >{ > if ( x < low ) return low; > else if ( high < x ) return high; > else return x; >} > > > > > > > >int __attribute__ ((visibility("default"))) kasciistricmp( const char *str1, const char *str2 ); ># 31 "/usr/kde/3.5/include/kguiitem.h" 2 > > > > > > > >class __attribute__ ((visibility("default"))) KGuiItem >{ >public: > KGuiItem(); > > > > > > KGuiItem( const QString &text, > const QString &iconName = QString::null, > const QString &toolTip = QString::null, > const QString &whatsThis = QString::null ); > > KGuiItem( const QString &text, const QIconSet &iconSet, > const QString &toolTip = QString::null, > const QString &whatsThis = QString::null ); > > KGuiItem( const KGuiItem &rhs ); > KGuiItem &operator=( const KGuiItem &rhs ); > > ~KGuiItem(); > > QString text() const; > QString plainText() const; > > QIconSet iconSet( KIcon::Group, int size = 0, KInstance* instance = KGlobal::instance()) const; > QIconSet iconSet() const { return iconSet( KIcon::Small ); } > > > > > QString iconName() const; > QString toolTip() const; > QString whatsThis() const; > bool isEnabled() const; > > > > bool hasIcon() const; > > bool hasIconSet() const { return hasIcon(); } > > > void setText( const QString &text ); > void setIconSet( const QIconSet &iconset ); > void setIconName( const QString &iconName ); > void setToolTip( const QString &tooltip ); > void setWhatsThis( const QString &whatsThis ); > void setEnabled( bool enable ); > >private: > class KGuiItemPrivate; > KGuiItemPrivate *d; >}; ># 29 "/usr/kde/3.5/include/kdialogbase.h" 2 > ># 1 "/usr/kde/3.5/include/kstdguiitem.h" 1 ># 37 "/usr/kde/3.5/include/kstdguiitem.h" >class __attribute__ ((visibility("default"))) KStdGuiItem >{ >public: > > > > > > enum BidiMode { UseRTL = 0, IgnoreRTL }; > > enum StdItem > { > Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, > Apply, Clear, Help, Defaults, Close, Back, Forward, Print, > Continue, Open, Quit, AdminMode, Reset, Delete, Insert, > Configure, > Find, > Stop, > Add, > Remove, > Test, > Properties, > Overwrite > }; > static KGuiItem guiItem ( StdItem ui_enum ); > static QString stdItem ( StdItem ui_enum ); > static KGuiItem ok(); > static KGuiItem cancel(); > static KGuiItem yes(); > static KGuiItem no(); > static KGuiItem insert(); > static KGuiItem discard(); > static KGuiItem save(); > static KGuiItem help(); > static KGuiItem dontSave(); > static KGuiItem saveAs(); > static KGuiItem apply(); > static KGuiItem clear(); > static KGuiItem defaults(); > static KGuiItem close(); > static KGuiItem print(); > > > > static KGuiItem properties(); > static KGuiItem reset(); > > > > static KGuiItem overwrite(); > > > > > static KGuiItem adminMode(); > > > > > > static KGuiItem cont(); > > > > > > > static KGuiItem del(); > > static KGuiItem open(); ># 118 "/usr/kde/3.5/include/kstdguiitem.h" > static KGuiItem back( BidiMode useBidi = IgnoreRTL ); ># 130 "/usr/kde/3.5/include/kstdguiitem.h" > static KGuiItem forward( BidiMode useBidi = IgnoreRTL ); > > > > > > static KGuiItem configure(); > > > > > > > > static QPair<KGuiItem, KGuiItem> backAndForward(); > > static KGuiItem quit(); > > > > > > static KGuiItem find(); > > > > > > static KGuiItem stop(); > > > > > > static KGuiItem add(); > > > > > > static KGuiItem remove(); > > > > > > static KGuiItem test(); > >}; ># 30 "/usr/kde/3.5/include/kdialogbase.h" 2 > > >class QPushButton; >class KSeparator; >class KURLLabel; >class QBoxLayout; >class QPixmap; >class KGuiItem; > > > > >class KDialogBaseButton; > > > > > >class KDialogBaseTile; ># 191 "/usr/kde/3.5/include/kdialogbase.h" >class __attribute__ ((visibility("default"))) KDialogBase : public KDialog >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > public: > > enum ButtonCode > { > Help = 0x00000001, > Default = 0x00000002, > Ok = 0x00000004, > Apply = 0x00000008, > Try = 0x00000010, > Cancel = 0x00000020, > Close = 0x00000040, > User1 = 0x00000080, > User2 = 0x00000100, > User3 = 0x00000200, > No = 0x00000080, > Yes = 0x00000100, > Details = 0x00000400, > Filler = 0x40000000, > Stretch = 0x80000000, > NoDefault > }; > > enum ActionButtonStyle > { > ActionStyle0=0, > ActionStyle1, > ActionStyle2, > ActionStyle3, > ActionStyle4, > ActionStyleMAX > }; ># 237 "/usr/kde/3.5/include/kdialogbase.h" > enum DialogType > { > TreeList = KJanusWidget::TreeList, > Tabbed = KJanusWidget::Tabbed, > Plain = KJanusWidget::Plain, > Swallow = KJanusWidget::Swallow, > IconList = KJanusWidget::IconList > }; > > public: ># 270 "/usr/kde/3.5/include/kdialogbase.h" > KDialogBase( QWidget *parent=0, const char *name=0, bool modal=true, > const QString &caption=QString::null, > int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, > bool separator=false, > const KGuiItem &user1=KGuiItem(), > const KGuiItem &user2=KGuiItem(), > const KGuiItem &user3=KGuiItem() ); ># 305 "/usr/kde/3.5/include/kdialogbase.h" > KDialogBase( int dialogFace, const QString &caption, > int buttonMask, ButtonCode defaultButton, > QWidget *parent=0, const char *name=0, bool modal=true, > bool separator=false, > const KGuiItem &user1=KGuiItem(), > const KGuiItem &user2=KGuiItem(), > const KGuiItem &user3=KGuiItem() ); ># 341 "/usr/kde/3.5/include/kdialogbase.h" > KDialogBase( KDialogBase::DialogType dialogFace, WFlags f, > QWidget *parent=0, const char *name=0, bool modal=true, > const QString &caption=QString::null, > int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, > bool separator=false, > const KGuiItem &user1=KGuiItem(), > const KGuiItem &user2=KGuiItem(), > const KGuiItem &user3=KGuiItem() ); ># 381 "/usr/kde/3.5/include/kdialogbase.h" > KDialogBase( const QString &caption, int buttonMask=Yes|No|Cancel, > ButtonCode defaultButton=Yes, ButtonCode escapeButton=Cancel, > QWidget *parent=0, const char *name=0, > bool modal=true, bool separator=false, > const KGuiItem &yes = KStdGuiItem::yes(), > const KGuiItem &no = KStdGuiItem::no(), > const KGuiItem &cancel = KStdGuiItem::cancel() > ); > > > > > ~KDialogBase(); ># 405 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonBoxOrientation( int orientation ); ># 418 "/usr/kde/3.5/include/kdialogbase.h" > void setEscapeButton( ButtonCode id ); ># 428 "/usr/kde/3.5/include/kdialogbase.h" > virtual void adjustSize(); > virtual QSize sizeHint() const; > virtual QSize minimumSizeHint() const; ># 442 "/usr/kde/3.5/include/kdialogbase.h" > QFrame *plainPage(); ># 471 "/usr/kde/3.5/include/kdialogbase.h" > QFrame *addPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 486 "/usr/kde/3.5/include/kdialogbase.h" > QFrame *addPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 514 "/usr/kde/3.5/include/kdialogbase.h" > QVBox *addVBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 529 "/usr/kde/3.5/include/kdialogbase.h" > QVBox *addVBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 551 "/usr/kde/3.5/include/kdialogbase.h" > QHBox *addHBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 566 "/usr/kde/3.5/include/kdialogbase.h" > QHBox *addHBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 590 "/usr/kde/3.5/include/kdialogbase.h" > QGrid *addGridPage( int n, Orientation dir, > const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 607 "/usr/kde/3.5/include/kdialogbase.h" > QGrid *addGridPage( int n, Orientation dir, > const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 619 "/usr/kde/3.5/include/kdialogbase.h" > void setFolderIcon(const QStringList &path,const QPixmap &pixmap); ># 634 "/usr/kde/3.5/include/kdialogbase.h" > QFrame *makeMainWidget(); ># 649 "/usr/kde/3.5/include/kdialogbase.h" > QVBox *makeVBoxMainWidget(); ># 664 "/usr/kde/3.5/include/kdialogbase.h" > QHBox *makeHBoxMainWidget(); ># 683 "/usr/kde/3.5/include/kdialogbase.h" > QGrid *makeGridMainWidget( int n, Orientation dir ); > > > > > > > void enableButtonSeparator( bool state ); ># 702 "/usr/kde/3.5/include/kdialogbase.h" > void showButton( ButtonCode id, bool state ); ># 712 "/usr/kde/3.5/include/kdialogbase.h" > void showButtonOK( bool state ); ># 722 "/usr/kde/3.5/include/kdialogbase.h" > void showButtonApply( bool state ); > > > > > > > > void showButtonCancel( bool state ); ># 742 "/usr/kde/3.5/include/kdialogbase.h" > bool showPage( int index ); ># 752 "/usr/kde/3.5/include/kdialogbase.h" > int activePageIndex() const; ># 771 "/usr/kde/3.5/include/kdialogbase.h" > int pageIndex( QWidget *widget ) const; ># 786 "/usr/kde/3.5/include/kdialogbase.h" > void setMainWidget( QWidget *widget ); > > > > > > > QWidget *mainWidget(); ># 802 "/usr/kde/3.5/include/kdialogbase.h" > void disableResize(); ># 815 "/usr/kde/3.5/include/kdialogbase.h" > void setInitialSize( const QSize &s, bool noResize=false ); ># 827 "/usr/kde/3.5/include/kdialogbase.h" > void incInitialSize( const QSize &s, bool noResize=false ); ># 836 "/usr/kde/3.5/include/kdialogbase.h" > QSize configDialogSize( const QString& groupName ) const; ># 847 "/usr/kde/3.5/include/kdialogbase.h" > QSize configDialogSize( KConfig& config, const QString& groupName ) const; ># 858 "/usr/kde/3.5/include/kdialogbase.h" > void saveDialogSize( const QString& groupName, bool global=false ); ># 870 "/usr/kde/3.5/include/kdialogbase.h" > void saveDialogSize( KConfig& config, const QString& groupName, > bool global=false ) const; ># 882 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonOK( const KGuiItem &item = KStdGuiItem::ok() ); ># 899 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonOKText( const QString &text=QString::null, > const QString &tooltip=QString::null, > const QString &quickhelp=QString::null ) __attribute__ ((deprecated)); ># 912 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonApply( const KGuiItem &item = KStdGuiItem::apply() ); ># 929 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonApplyText( const QString &text=QString::null, > const QString &tooltip=QString::null, > const QString &quickhelp=QString::null ) __attribute__ ((deprecated)); ># 942 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonCancel( const KGuiItem &item = KStdGuiItem::cancel() ); ># 957 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonCancelText( const QString &text=QString::null, > const QString &tooltip=QString::null, > const QString &quickhelp=QString::null ) __attribute__ ((deprecated)); > > > > > > > > void setButtonText( ButtonCode id, const QString &text ); > > > > > > > > void setButtonTip( ButtonCode id, const QString &text ); > > > > > > > > void setButtonWhatsThis( ButtonCode id, const QString &text ); ># 996 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonGuiItem( ButtonCode id, const KGuiItem &item ); ># 1008 "/usr/kde/3.5/include/kdialogbase.h" > void setTreeListAutoResize( bool state ); ># 1022 "/usr/kde/3.5/include/kdialogbase.h" > void setShowIconsInTreeList(bool state); ># 1032 "/usr/kde/3.5/include/kdialogbase.h" > void setRootIsDecorated( bool state ); ># 1047 "/usr/kde/3.5/include/kdialogbase.h" > void unfoldTreeList( bool persist = false ); ># 1057 "/usr/kde/3.5/include/kdialogbase.h" > void addWidgetBelowList( QWidget * widget ); ># 1069 "/usr/kde/3.5/include/kdialogbase.h" > void addButtonBelowList( const QString & text, QObject * recv, const char * slot ); ># 1082 "/usr/kde/3.5/include/kdialogbase.h" > void addButtonBelowList( const KGuiItem & guiitem, QObject * recv, const char * slot ); ># 1096 "/usr/kde/3.5/include/kdialogbase.h" > void setIconListAllVisible( bool state ); > > > > > > > static bool haveBackgroundTile(); > > > > > > > > static const QPixmap *backgroundTile(); > > > > > static const QPixmap *getBackgroundTile() __attribute__ ((deprecated)); ># 1125 "/usr/kde/3.5/include/kdialogbase.h" > static void setBackgroundTile( const QPixmap *pix ); > > > > > > > void showTile( bool state ); ># 1145 "/usr/kde/3.5/include/kdialogbase.h" > void getBorderWidths( int& ulx, int& uly, int& lrx, int& lry ) const __attribute__ ((deprecated)); ># 1158 "/usr/kde/3.5/include/kdialogbase.h" > QRect getContentsRect() const __attribute__ ((deprecated)); ># 1177 "/usr/kde/3.5/include/kdialogbase.h" > QSize calculateSize( int w, int h ) const; ># 1187 "/usr/kde/3.5/include/kdialogbase.h" > QString helpLinkText() const; ># 1202 "/usr/kde/3.5/include/kdialogbase.h" > QPushButton *actionButton( ButtonCode id ); > > public : > > > > > > > void enableButton( ButtonCode id, bool state ); > > > > > > > void enableButtonOK( bool state ); > > > > > > > void enableButtonApply( bool state ); > > > > > > > void enableButtonCancel( bool state ); > > > > > > > void enableLinkedHelp( bool state ); ># 1250 "/usr/kde/3.5/include/kdialogbase.h" > void delayedDestruct(); ># 1260 "/usr/kde/3.5/include/kdialogbase.h" > void setHelpLinkText( const QString &text ); ># 1274 "/usr/kde/3.5/include/kdialogbase.h" > void setHelp( const QString &anchor, > const QString &appname = QString::null ); > > > > > void helpClickedSlot( const QString & ); > > > > > void setDetails(bool showDetails); > > > > > > > > void setDetailsWidget(QWidget *detailsWidget); > > > > > > void updateBackground(); ># 1309 "/usr/kde/3.5/include/kdialogbase.h" > void cancel(); > > protected: > > > > > void helpClicked(); > > > > > > void defaultClicked(); > > > > > > > void user3Clicked(); > > > > > > void user2Clicked(); > > > > > > void user1Clicked(); > > > > > > void applyClicked(); > > > > > > void tryClicked(); > > > > > > void okClicked(); > > > > > > void yesClicked(); > > > > > > void noClicked(); > > > > > > void cancelClicked(); > > > > > > void closeClicked(); > > > > > > void apply(); > > > > > void backgroundChanged(); ># 1403 "/usr/kde/3.5/include/kdialogbase.h" > void hidden(); ># 1419 "/usr/kde/3.5/include/kdialogbase.h" > void finished(); > > > > > > void aboutToShowDetails(); > > > > > > void aboutToShowPage(QWidget *page); > > protected: > > > > > > virtual void keyPressEvent( QKeyEvent *e ); > > > > > > virtual void hideEvent( QHideEvent * ); > > > > > > > > virtual void closeEvent( QCloseEvent *e ); > > protected : > > > > > virtual void slotHelp(); > > > > > virtual void slotDefault(); > > > > > > virtual void slotDetails(); > > > > > virtual void slotUser3(); > > > > > virtual void slotUser2(); > > > > > virtual void slotUser1(); > > > > > > virtual void slotOk(); > > > > > virtual void slotApply(); > > > > > virtual void slotTry(); > > > > > > virtual void slotYes(); > > > > > > virtual void slotNo(); > > > > > > > virtual void slotCancel(); > > > > > > virtual void slotClose(); > > > > > > > virtual void applyPressed(); > > > > > void updateGeometry(); ># 1548 "/usr/kde/3.5/include/kdialogbase.h" > void slotDelayedDestruct(); > > private: > > > > void setupLayout(); > > > > > > > void makeRelay(); ># 1575 "/usr/kde/3.5/include/kdialogbase.h" > void makeButtonBox( int mask, ButtonCode defaultButton, > const KGuiItem &user1 = KGuiItem(), > const KGuiItem &user2 = KGuiItem(), > const KGuiItem &user3 = KGuiItem() ); ># 1587 "/usr/kde/3.5/include/kdialogbase.h" > void setButtonFocus( QPushButton *p, bool isDefault, bool isFocus ); > > > > > > > void printMakeMainWidgetError(); > > private : > > > > > > void setButtonStyle( int style ); > > > private: > QBoxLayout *mTopLayout; > QWidget *mMainWidget; > KURLLabel *mUrlHelp; > KJanusWidget *mJanus; > KSeparator *mActionSep; > > bool mIsActivated; > > QString mAnchor; > QString mHelpApp; > QString mHelpLinkText; > > static KDialogBaseTile *mTile; > bool mShowTile; > > bool mMessageBoxMode; > int mButtonOrientation; > ButtonCode mEscapeButton; > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KDialogBasePrivate; > KDialogBasePrivate* const d; >}; ># 36 "postfilter.h" 2 > > ># 1 "/usr/qt/3/include/qcheckbox.h" 1 ># 42 "/usr/qt/3/include/qcheckbox.h" > ># 1 "/usr/qt/3/include/qbutton.h" 1 ># 43 "/usr/qt/3/include/qbutton.h" > ># 1 "/usr/qt/3/include/qkeysequence.h" 1 ># 44 "/usr/qt/3/include/qbutton.h" 2 > > > > > >class QButtonGroup; >class QToolBar; >class QButtonData; > >class __attribute__((visibility("default"))) QButton : public QWidget >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; ># 69 "/usr/qt/3/include/qbutton.h" >public: > QButton( QWidget* parent=0, const char* name=0, WFlags f=0 ); > ~QButton(); > > QString text() const; > virtual void setText( const QString &); > const QPixmap *pixmap() const; > virtual void setPixmap( const QPixmap & ); > > > QKeySequence accel() const; > virtual void setAccel( const QKeySequence& ); > > > bool isToggleButton() const; > > enum ToggleType { SingleShot, Toggle, Tristate }; > ToggleType toggleType() const; > > virtual void setDown( bool ); > bool isDown() const; > > bool isOn() const; > > enum ToggleState { Off, NoChange, On }; > ToggleState state() const; > > > > > > > bool autoRepeat() const; > virtual void setAutoRepeat( bool ); > bool isExclusiveToggle() const; > > QButtonGroup *group() const; > >public : > void animateClick(); > void toggle(); > >protected: > void pressed(); > void released(); > void clicked(); > void toggled( bool ); > void stateChanged( int ); > >protected: > void setToggleButton( bool ); > virtual void setToggleType( ToggleType ); > void setOn( bool ); > virtual void setState( ToggleState ); > > virtual bool hitButton( const QPoint &pos ) const; > virtual void drawButton( QPainter * ); > virtual void drawButtonLabel( QPainter * ); > > void keyPressEvent( QKeyEvent *); > void keyReleaseEvent( QKeyEvent *); > void mousePressEvent( QMouseEvent * ); > void mouseReleaseEvent( QMouseEvent * ); > void mouseMoveEvent( QMouseEvent * ); > void paintEvent( QPaintEvent * ); > void focusInEvent( QFocusEvent * ); > void focusOutEvent( QFocusEvent * ); > > void enabledChange( bool ); > >private : > void animateTimeout(); > void autoRepeatTimeout(); > void emulateClick(); > >private: > QString btext; > QPixmap *bpixmap; > uint toggleTyp : 2; > uint buttonDown : 1; > uint stat : 2; > uint mlbDown : 1; > uint autoresize : 1; > uint animation : 1; > uint repeat : 1; > QButtonData *d; > > friend class QButtonGroup; > friend class QToolBar; > void ensureData(); > virtual void setGroup( QButtonGroup* ); > QTimer *timer(); > void nextState(); > >private: > > QButton( const QButton & ); > QButton &operator=( const QButton & ); > >}; > > >inline QString QButton::text() const >{ > return btext; >} > >inline const QPixmap *QButton::pixmap() const >{ > return bpixmap; >} > >inline bool QButton::isToggleButton() const >{ > return toggleTyp != SingleShot; >} > >inline bool QButton::isDown() const >{ > return buttonDown; >} > >inline bool QButton::isOn() const >{ > return stat != Off; >} ># 203 "/usr/qt/3/include/qbutton.h" >inline bool QButton::autoRepeat() const >{ > return repeat; >} > >inline QButton::ToggleState QButton::state() const >{ > return ToggleState(stat); >} > >inline void QButton::setToggleButton( bool b ) >{ > setToggleType( b ? Toggle : SingleShot ); >} > >inline void QButton::setOn( bool y ) >{ > setState( y ? On : Off ); >} > >inline QButton::ToggleType QButton::toggleType() const >{ > return ToggleType(toggleTyp); >} ># 43 "/usr/qt/3/include/qcheckbox.h" 2 > > > > >class __attribute__((visibility("default"))) QCheckBox : public QButton >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > > > >public: > QCheckBox( QWidget *parent, const char* name=0 ); > QCheckBox( const QString &text, QWidget *parent, const char* name=0 ); > > bool isChecked() const; > > void setNoChange(); > > void setTristate(bool y=TRUE); > bool isTristate() const; > > QSize sizeHint() const; > >public : > void setChecked( bool check ); > >protected: > void resizeEvent( QResizeEvent* ); > void drawButton( QPainter * ); > void drawButtonLabel( QPainter * ); > void updateMask(); > bool hitButton( const QPoint &pos ) const; >private: > > QCheckBox( const QCheckBox & ); > QCheckBox &operator=( const QCheckBox & ); > >}; > > >inline bool QCheckBox::isChecked() const >{ return isOn(); } > >inline void QCheckBox::setChecked( bool check ) >{ setOn( check ); } ># 38 "postfilter.h" 2 > > > > >class PostFilterParameter : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameter(const QString& name, int offset, QWidget* parent) > : QObject(parent, name.ascii()), m_offset(offset) > {} > ~PostFilterParameter() {}; > > virtual void setValue( const QString& ) = 0; > virtual QString getValue() = 0; > virtual QWidget *getWidget() = 0; > >protected: > int m_offset; >}; > > >class PostFilterParameterInt : public PostFilterParameter >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameterInt(const QString& name, int offset, int value, int min, int max, QWidget* parent); > ~PostFilterParameterInt() {}; > > void setValue( const QString &value ) > { int i = value.toInt(); m_numInput->setValue(i); slotIntValue(i); } > QString getValue() > { QString s; s.sprintf("%d", m_numInput->value()); return s; } > QWidget *getWidget() { return m_numInput; } > >protected: > void signalIntValue( int, int ); > >public : > void slotIntValue(int val) { signalIntValue(m_offset, val); } > >private: > KIntNumInput* m_numInput; >}; > > >class PostFilterParameterDouble : public PostFilterParameter >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameterDouble(const QString& name, int offset, double value, double min, double max, QWidget* parent); > ~PostFilterParameterDouble() {}; > > void setValue( const QString &value ) > { double d = value.toDouble(); m_numInput->setValue(d); slotDoubleValue(d); } > QString getValue() > { QString s; s.sprintf("%lf",m_numInput->value()); return s; } > QWidget *getWidget() { return m_numInput; } > >protected: > void signalDoubleValue(int, double); > >public : > void slotDoubleValue(double val) { signalDoubleValue(m_offset, val); } > >private: > KDoubleNumInput* m_numInput; >}; > > >class PostFilterParameterChar : public PostFilterParameter >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameterChar(const QString& name, int offset, char *value, int size, QWidget* parent); > ~PostFilterParameterChar() {}; > > void setValue(const QString &value) > { m_charInput->setText(value); slotCharValue(value); } > QString getValue() { return m_charInput->text(); } > QWidget *getWidget() { return m_charInput; } > >protected: > void signalCharValue(int, const QString&); > >public : > void slotCharValue(const QString& val) { signalCharValue(m_offset, val); } > >private: > KLineEdit* m_charInput; >}; > > >class PostFilterParameterCombo : public PostFilterParameter >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameterCombo(const QString& name, int offset, int value, char **enums, QWidget* parent); > ~PostFilterParameterCombo() {}; > > void setValue(const QString &value) { m_comboBox->setCurrentItem(value); slotIntValue(m_comboBox->currentItem()); } > QString getValue() { return m_comboBox->currentText(); } > QWidget *getWidget() { return m_comboBox; } > >protected: > void signalIntValue(int, int); > >public : > void slotIntValue(int val) { signalIntValue(m_offset, val); } > >private: > KComboBox* m_comboBox; >}; > > >class PostFilterParameterBool : public PostFilterParameter >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterParameterBool(const QString& name, int offset, bool value, QWidget* parent); > ~PostFilterParameterBool() {}; > > void setValue(const QString &value) > { bool b = (bool)value.toInt(); m_checkBox->setChecked(b); slotBoolValue(b); } > QString getValue() > { QString s; s.sprintf("%d",(int)m_checkBox->isOn()); return s; } > QWidget *getWidget() { return m_checkBox; } > >protected: > void signalIntValue(int, int); > >public : > void slotBoolValue(bool val) { signalIntValue(m_offset, (int)val); } > >private: > QCheckBox* m_checkBox; >}; > > >class PostFilterHelp : public KDialogBase >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilterHelp(QWidget *parent=0, const char *name=0, const QString& text = QString::null); > ~PostFilterHelp(); > >private: > QTextEdit *m_textEdit; >}; > > >class PostFilter : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > PostFilter(const QString& name, xine_t* engine, xine_audio_port_t* audioDriver, > xine_video_port_t* videoDriver, QWidget *parent); > ~PostFilter(); > > xine_post_in_t* getInput() const; > xine_post_out_t* getOutput() const; > void setConfig(const QString &); > QString getConfig(); > > >protected: > void signalDeleteMe( PostFilter* me ); > > >private : > void slotDeletePressed() { signalDeleteMe(this); } > void slotApplyIntValue(int offset, int val); > void slotApplyDoubleValue(int offset, double val); > void slotApplyCharValue(int offset, const QString& val); > void slotHelpPressed(); > >private: > xine_t* m_xineEngine; > xine_post_t* m_xinePost; > xine_post_api_t* m_xinePostAPI; > xine_post_api_descr_t* m_xinePostDescr; > xine_post_api_parameter_t* m_xinePostParameter; > char* m_data; > > QGroupBox* m_groupBox; > QString m_filterName; > > QPtrList<PostFilterParameter> m_parameterList; >}; ># 54 "kxinewidget.h" 2 ># 67 "kxinewidget.h" >class KXineWidget : public QWidget, private QThread >{ > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > >public: > KXineWidget(QWidget *parent=0, const char *name=0, > const QString& pathToConfigFile = QString::null, const QString& pathToLogoFile = QString::null, > const QString& audioDriver = QString::null, const QString& videoDriver = QString::null, > bool startManual = false, bool verbose = false); > ~KXineWidget(); > > enum Speed { Normal = 0, Pause, Fast1, Fast2, Slow1, Slow2, Undefined }; > > bool initXine(); > bool isXineReady() const { return m_xineReady; } > bool isPlaying() const; > Speed getSpeed() const { return m_currentSpeed; } > QString getXineLog() const; > > void setQueue(const QStringList& urls) { m_queue = urls; } > void appendToQueue(const QString& url) { m_queue.append(url); } > void clearQueue() { m_queue.clear(); } > bool isQueueEmpty() const { return m_queue.empty(); } > > void showOSDMessage(const QString& message, uint duration = 5000 , int priority = 2); > > > const QString& getURL() const { return m_trackURL; } > const QString& getTitle() const { return m_trackTitle; } > const QString& getArtist() const { return m_trackArtist; } > const QString& getAlbum() const { return m_trackAlbum; } > const QString& getTrackNumber() const { return m_trackNumber; } > const QString& getGenre() const { return m_trackGenre; } > const QString& getYear() const { return m_trackYear; } > const QString& getComment() const { return m_trackComment; } > const QTime& getLength() const { return m_trackLength; } > const QString& getVideoCodec() const { return m_trackVideoCodec; } > QSize getVideoSize() const { return QSize(m_videoFrameWidth, m_videoFrameHeight); } > int getVideoWidth(); > int getVideoHeight(); > uint getVideoBitrate() const { return m_trackVideoBitrate; } > const QString& getAudioCodec() const { return m_trackAudioCodec; } > uint getAudioBitrate() const { return m_trackAudioBitrate; } > const QString& getSubtitleURL() const { return m_trackSubtitleURL; } > const QString& getSaveURL() const { return m_trackSaveURL; } > bool hasVideo() const { return m_trackHasVideo; } > bool hasAudio() const { return m_trackHasAudio; } > bool hasChapters() const { return m_trackHasChapters; } > bool hasSubtitleURL() const { return !m_trackSubtitleURL.isNull(); } > bool hasSaveURL() const { return !m_trackSaveURL.isNull(); } > bool isSeekable() const { return m_trackIsSeekable; } > > uint getVolume() const; > bool SoftwareMixing() const; > QTime getPlaytime() const; > uint getPosition() const; > > void savePosition(const int pos) { (pos > 0) ? m_savedPos = pos : m_savedPos = 0; } > > > QStringList getAudioDrivers() const { return m_audioDriverList; } > QStringList getVideoDrivers() const { return m_videoDriverList; } > void getAutoplayPlugins(QStringList& pluginNames) const; > bool getAutoplayPluginURLS(const QString& name, QStringList& urls); > QStringList getVisualPlugins() const; > > > void createDeinterlacePlugin(const QString& configString, QWidget* parent); > const QString getDeinterlaceConfig() const; > QStringList getVideoFilterNames() const; > QStringList getAudioFilterNames() const; > QStringList getAudioFilterConfig(); > QStringList getVideoFilterConfig(); > > > QString getSupportedExtensions() const; > > void playNextChapter() const; > void playPreviousChapter() const; > > > void setStreamSaveDir(const QString& dir); > const QString getStreamSaveDir(); > void setBroadcasterPort(const uint port); > void getVideoSettings(int& hue, int& sat, int& contrast, int& bright, > int& avOffset, int& spuOffset) const; > > QString audiocdDevice() const; > QString vcdDevice() const; > QString dvdDevice() const; > > > uint currentDVDTitleNumber() const; > uint getDVDTitleCount() const; > uint currentDVDChapterNumber() const; > uint getDVDChapterCount() const; > uint currentDVDAngleNumber() const; > uint getDVDAngleCount() const; > > > QImage getScreenshot() const; > void getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& videoHeight, double& scaleFactor) const; > > > const xine_t* const getXineEngine() const; > void saveXineConfig(); > > > void startMouseHideTimer(); > void stopMouseHideTimer(); > > void globalPosChanged(); > >protected: > void signalXineFatal(const QString& message); > void signalXineError(const QString& message); > void signalXineMessage(const QString& message); > void signalXineStatus(const QString& status); > void signalXineReady(); > void signalXinePlaying(); > > void signalHasChapters(bool); > void signalPlaybackFinished(); > void signalNewChannels(const QStringList& audio, const QStringList& sub, int currentAudio, int currentSub); > void signalNewPosition(int, const QTime&); > > void signalTitleChanged(); > void signalVideoSizeChanged(); > void signalLengthChanged(); > > void signalRightClick(const QPoint&); > void signalLeftClick(const QPoint&); > void signalMiddleClick(); > void signalDoubleClick(); > void signalSyncVolume(); > > void signalDvbOSDHidden(); > >public : > virtual void polish(); > > void slotPlay(); > void slotStop(); > > void slotSetVolume(int); > void slotToggleMute(); > void slotSpeedPause(); > void slotSpeedNormal(); > void slotSpeedFaster(); > void slotSpeedSlower(); > void slotSetVisualPlugin(const QString& name); > void slotSetAudioChannel(int); > void slotSetSubtitleChannel(int); > void slotSetFileSubtitles(QString); > void slotStartSeeking(); > void slotSeekToPosition(int pos); > void slotSeekToTime(const QTime&); > void slotStopSeeking(); > void slotEnableVideoFilters(bool enable); > void slotEnableAudioFilters(bool enable); > void slotEject(); > void slotEnableAutoresize(bool enable); > void slotAspectRatioAuto(); > void slotAspectRatio4_3(); > void slotAspectRatioAnamorphic(); > void slotAspectRatioSquare(); > void slotAspectRatioDVB(); > void slotZoomIn(); > void slotZoomOut(); > void slotZoomOff(); > void slotZoomOutX(); > void slotZoomInX(); > void slotZoomOutY(); > void slotZoomInY(); > void slotToggleDeinterlace(); > void slotSetDeinterlaceConfig(const QString&); > void slotGetInfoDelayed(); > > > void slotSetAudiocdDevice(const QString&); > void slotSetVcdDevice(const QString&); > void slotSetDvdDevice(const QString&); > > void slotSetHue(int hue); > void slotSetSaturation(int sat); > void slotSetContrast(int contrast); > void slotSetBrightness(int bright); > void slotSetAVOffset(int av); > void slotSetSpuOffset(int spu); > > void slotSetEq30(int val); > void slotSetEq60(int val); > void slotSetEq125(int val); > void slotSetEq250(int val); > void slotSetEq500(int val); > void slotSetEq1k(int val); > void slotSetEq2k(int val); > void slotSetEq4k(int val); > void slotSetEq8k(int val); > void slotSetEq16k(int val); > void slotSetVolumeGain(bool gain); > > > void slotMenuToggle(); > void slotMenuTitle(); > void slotMenuRoot(); > void slotMenuSubpicture(); > void slotMenuAudio(); > void slotMenuAngle(); > void slotMenuPart(); > void slotDVDMenuLeft(); > void slotDVDMenuRight(); > void slotDVDMenuUp(); > void slotDVDMenuDown(); > void slotDVDMenuSelect(); > > > void slotCreateVideoFilter(const QString& name, QWidget* parent); > void slotCreateAudioFilter(const QString& name, QWidget* parent); > void slotDeleteVideoFilter(PostFilter* filter); > void slotDeleteAudioFilter(PostFilter* filter); > void slotRemoveAllVideoFilters(); > void slotRemoveAllAudioFilters(); > >protected : > void slotSendPosition(); > void slotEmitLengthInfo(); > void slotHideMouse(); > void slotOSDHide(); > void slotNoRecentMessage(); > >protected: > void mouseMoveEvent(QMouseEvent*); > void mousePressEvent(QMouseEvent*); > void timerEvent(QTimerEvent*); > void mouseDoubleClickEvent(QMouseEvent*); > void wheelEvent(QWheelEvent*); > void initOSD(); > >private: > virtual void run(); > > > static void destSizeCallback(void* p, int video_width, int video_height, double video_aspect, > int* dest_width, int* dest_height, double* dest_aspect); > > static void frameOutputCallback(void* p, int video_width, int video_height, double video_aspect, > int* dest_x, int* dest_y, int* dest_width, int* dest_height, > double* dest_aspect, int* win_x, int* win_y); > > static void videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry); > static void audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry); > static void audioMixerMethodChangedCallback(void* p, xine_cfg_entry_t* entry); > static void showOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry); > static void sizeForOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry); > static void fontForOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry); > > static void xineEventListener(void* p, const xine_event_t*); > >protected: > void sendXineError(); > QTime getLengthInfo(); > > void wireVideoFilters(); > void unwireVideoFilters(); > void wireAudioFilters(); > void unwireAudioFilters(); > > > >public: > > > > static void debugOut(QString); > static void errorOut(QString); > static void warningOut(QString); > static QTime msToTime(int msec); > static void yuy2Toyv12(uint8_t *y, uint8_t *u, uint8_t *v, uint8_t *input, int width, int height); > static uchar *yv12ToRgb(uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, int width, int height); > >protected: > QStringList m_queue; > > bool m_startXineManual; > bool m_xineReady; > QString m_logoFile; > QString m_preferedAudio; > QString m_preferedVideo; > bool m_xineVerbose; > QString m_configFilePath; > QStringList m_audioDriverList; > QStringList m_videoDriverList; > > > Window m_xineWindow; > Display* m_xineDisplay; > int m_xineScreen; > > > x11_visual_t m_x11Visual; > xine_t* m_xineEngine; > xine_audio_port_t* m_audioDriver; > xine_video_port_t* m_videoDriver; > xine_stream_t* m_xineStream; > xine_event_queue_t* m_eventQueue; > xine_osd_t* m_osd; > bool m_osdUnscaled; > bool m_osdShow; > int m_osdSize; > char* m_osdFont; > char** m_audioChoices; > char* m_audioInfo; > char** m_videoChoices; > char* m_videoInfo; > char* m_mixerInfo; > char* m_osdShowInfo; > char** m_osdSizeOptions; > char* m_osdSizeInfo; > char* m_osdFontInfo; > > > > QPtrList<PostFilter> m_videoFilterList; > bool m_videoFiltersEnabled; > QPtrList<PostFilter> m_audioFilterList; > bool m_audioFiltersEnabled; > PostFilter* m_deinterlaceFilter; > bool m_deinterlaceEnabled; > PostFilter* m_visualPlugin; > > > > > > > QString m_audioDriverName; > QString m_videoDriverName; > QString m_visualPluginName; > > int m_videoFrameWidth; > int m_videoFrameHeight; > double m_videoAspect; > int m_globalX; > int m_globalY; > > Speed m_currentSpeed; > QString m_xineMessage; > QString m_xineError; > QString m_statusString; > bool m_softwareMixer; > bool m_volumeGain; > double m_displayRatio; > QString m_cachedCDPath, m_cachedVCDPath, m_cachedDVDPath; > QSize m_newParentSize; > int m_currentZoom; > int m_currentZoomX, m_currentZoomY; > QStringList m_audioCh; > QStringList m_subCh; > int m_currentAudio, m_currentSub; > int m_savedPos; > bool m_autoresizeEnabled; > bool m_DVDButtonEntered; > QString m_newMRLReference; > > QTimer m_posTimer; > QTimer m_lengthInfoTimer; > uint m_lengthInfoTries; > QTimer m_mouseHideTimer; > QTimer m_osdTimer; > QTimer m_recentMessagesTimer; > > QString m_trackURL; > QString m_trackTitle; > QString m_trackArtist; > QString m_trackAlbum; > QString m_trackNumber; > QString m_trackGenre; > QString m_trackYear; > QString m_trackComment; > QTime m_trackLength; > QString m_trackVideoCodec; > uint m_trackVideoBitrate; > QString m_trackAudioCodec; > uint m_trackAudioBitrate; > QString m_trackSubtitleURL; > QString m_trackSaveURL; > bool m_trackHasVideo; > bool m_trackHasAudio; > bool m_trackHasChapters; > bool m_trackIsSeekable; > > >protected: > void stopDvb(); > >public: > QString TimeShiftFilename; > >public : > void setDvb( const QString &pipeName, const QString &chanName, int haveVideo ); > void setDvbCurrentNext( const QString &channelName, const QStringList &list ); > bool openDvb(); > bool playDvb(); > void slotPlayTimeShift(); > void dvbShowOSD(); > void dvbHideOSD(); > >private: > QString m_dvbChannelName; > bool m_dvbSaveTitle; > int dvbHaveVideo; > QTimer dvbOSDHideTimer; > xine_osd_t *dvbOSD; > QStringList dvbCurrentNext; > unsigned int dvbColor[256]; > unsigned char dvbTrans[256]; > unsigned int rgb2yuv( unsigned int R, unsigned int G, unsigned int B ); > void initDvbPalette(); >}; ># 39 "kxinewidget.cpp" 2 > > > > > > > ># 1 "kxinewidget.moc" 1 ># 12 "kxinewidget.moc" > ># 1 "/usr/qt/3/include/qmetaobject.h" 1 ># 42 "/usr/qt/3/include/qmetaobject.h" > ># 1 "/usr/qt/3/include/qconnection.h" 1 ># 45 "/usr/qt/3/include/qconnection.h" >class __attribute__((visibility("default"))) QConnection >{ >public: > QConnection( const QObject *, int, const char *memberName, int memberType ); > ~QConnection() {} > > bool isConnected() const { return obj != 0; } > > QObject *object() const { return obj; } > int member() const { return mbr; } > const char *memberName() const { return mbr_name; } > int memberType() const { return mbr_type; } > int numArgs() const { return nargs; } > >private: > QObject *obj; > int mbr; > const char *mbr_name; > int mbr_type; > int nargs; > >private: > > QConnection( const QConnection & ); > QConnection &operator=( const QConnection & ); > >}; > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 75 "/usr/qt/3/include/qconnection.h" 2 ># 43 "/usr/qt/3/include/qmetaobject.h" 2 > > > > > > > >class QObject; >struct QUMethod; >class QMetaObjectPrivate; > >struct QMetaData >{ > const char *name; > const QUMethod* method; > enum Access { Private, Protected, Public }; > Access access; >}; > > >struct QMetaEnum >{ > const char *name; > uint count; > struct Item > { > const char *key; > int value; > }; > const Item *items; > bool set; >}; > > > > >class __attribute__((visibility("default"))) QMetaProperty >{ >public: > const char* type() const { return t; } > const char* name() const { return n; } > > bool writable() const; > bool isValid() const; > > bool isSetType() const; > bool isEnumType() const; > QStrList enumKeys() const; > > int keyToValue( const char* key ) const; > const char* valueToKey( int value ) const; > int keysToValue( const QStrList& keys ) const; > QStrList valueToKeys( int value ) const; > > bool designable( QObject* = 0 ) const; > bool scriptable( QObject* = 0 ) const; > bool stored( QObject* = 0 ) const; > > bool reset( QObject* ) const; > > const char* t; > const char* n; > > enum Flags { > Invalid = 0x00000000, > Readable = 0x00000001, > Writable = 0x00000002, > EnumOrSet = 0x00000004, > UnresolvedEnum = 0x00000008, > StdSet = 0x00000100, > Override = 0x00000200 > }; > > uint flags; > bool testFlags( uint f ) const; > bool stdSet() const; > int id() const; > > QMetaObject** meta; > > const QMetaEnum* enumData; > int _id; > void clear(); >}; > >inline bool QMetaProperty::testFlags( uint f ) const >{ return (flags & (uint)f) != (uint)0; } > > > >struct QClassInfo >{ > const char* name; > const char* value; >}; > >class __attribute__((visibility("default"))) QMetaObject >{ >public: > QMetaObject( const char * const class_name, QMetaObject *superclass, > const QMetaData * const slot_data, int n_slots, > const QMetaData * const signal_data, int n_signals, > > const QMetaProperty *const prop_data, int n_props, > const QMetaEnum *const enum_data, int n_enums, > > const QClassInfo *const class_info, int n_info ); > > > QMetaObject( const char * const class_name, QMetaObject *superclass, > const QMetaData * const slot_data, int n_slots, > const QMetaData * const signal_data, int n_signals, > const QMetaProperty *const prop_data, int n_props, > const QMetaEnum *const enum_data, int n_enums, > bool (*qt_static_property)(QObject*, int, int, QVariant*), > const QClassInfo *const class_info, int n_info ); > > > > virtual ~QMetaObject(); > > const char *className() const { return classname; } > const char *superClassName() const { return superclassname; } > > QMetaObject *superClass() const { return superclass; } > > bool inherits( const char* clname ) const; > > int numSlots( bool super = FALSE ) const; > int numSignals( bool super = FALSE ) const; > > int findSlot( const char *, bool super = FALSE ) const; > int findSignal( const char *, bool super = FALSE ) const; > > const QMetaData *slot( int index, bool super = FALSE ) const; > const QMetaData *signal( int index, bool super = FALSE ) const; > > QStrList slotNames( bool super = FALSE ) const; > QStrList signalNames( bool super = FALSE ) const; > > int slotOffset() const; > int signalOffset() const; > int propertyOffset() const; > > int numClassInfo( bool super = FALSE ) const; > const QClassInfo *classInfo( int index, bool super = FALSE ) const; > const char *classInfo( const char* name, bool super = FALSE ) const; > > > const QMetaProperty *property( int index, bool super = FALSE ) const; > int findProperty( const char *name, bool super = FALSE ) const; > int indexOfProperty( const QMetaProperty*, bool super = FALSE ) const; > const QMetaProperty* resolveProperty( const QMetaProperty* ) const; > int resolveProperty( int ) const; > QStrList propertyNames( bool super = FALSE ) const; > int numProperties( bool super = FALSE ) const; > > > > > > static QMetaObject *new_metaobject( const char *, QMetaObject *, > const QMetaData *const, int, > const QMetaData *const, int, > > const QMetaProperty *const prop_data, int n_props, > const QMetaEnum *const enum_data, int n_enums, > > const QClassInfo *const class_info, int n_info ); > > static QMetaObject *new_metaobject( const char *, QMetaObject *, > const QMetaData *const, int, > const QMetaData *const, int, > const QMetaProperty *const prop_data, int n_props, > const QMetaEnum *const enum_data, int n_enums, > bool (*qt_static_property)(QObject*, int, int, QVariant*), > const QClassInfo *const class_info, int n_info ); > QStrList enumeratorNames( bool super = FALSE ) const; > int numEnumerators( bool super = FALSE ) const; > const QMetaEnum *enumerator( const char* name, bool super = FALSE ) const; > > > static QMetaObject *metaObject( const char *class_name ); > static bool hasMetaObject( const char *class_name ); > >private: > QMemberDict *init( const QMetaData *, int ); > > const char *classname; > const char *superclassname; > QMetaObject *superclass; > QMetaObjectPrivate *d; > void *reserved; > const QMetaData *slotData; > QMemberDict *slotDict; > const QMetaData *signalData; > QMemberDict *signalDict; > int signaloffset; > int slotoffset; > > int propertyoffset; >public: > bool qt_static_property( QObject* o, int id, int f, QVariant* v); >private: > friend class QMetaProperty; > > >private: > > QMetaObject( const QMetaObject & ); > QMetaObject &operator=( const QMetaObject & ); > >}; > >inline int QMetaObject::slotOffset() const >{ return slotoffset; } > >inline int QMetaObject::signalOffset() const >{ return signaloffset; } > > >inline int QMetaObject::propertyOffset() const >{ return propertyoffset; } > > >typedef QMetaObject *(*QtStaticMetaObjectFunction)(); > >class __attribute__((visibility("default"))) QMetaObjectCleanUp >{ >public: > QMetaObjectCleanUp( const char *mo_name, QtStaticMetaObjectFunction ); > QMetaObjectCleanUp(); > ~QMetaObjectCleanUp(); > > void setMetaObject( QMetaObject *&mo ); > >private: > QMetaObject **metaObject; >}; ># 13 "kxinewidget.moc" 2 > > > ># 1 "/usr/qt/3/include/private/qucomextra_p.h" 1 ># 54 "/usr/qt/3/include/private/qucomextra_p.h" > ># 1 "/usr/qt/3/include/private/qucom_p.h" 1 ># 55 "/usr/qt/3/include/private/qucom_p.h" > ># 1 "/usr/qt/3/include/quuid.h" 1 ># 61 "/usr/qt/3/include/quuid.h" >struct __attribute__((visibility("default"))) QUuid >{ > enum Variant { > VarUnknown =-1, > NCS = 0, > DCE = 2, > Microsoft = 6, > Reserved = 7 > }; > > enum Version { > VerUnknown =-1, > Time = 1, > EmbeddedPOSIX = 2, > Name = 3, > Random = 4 > }; > > QUuid() > { > memset( this, 0, sizeof(QUuid) ); > } > QUuid( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 ) > { > data1 = l; > data2 = w1; > data3 = w2; > data4[0] = b1; > data4[1] = b2; > data4[2] = b3; > data4[3] = b4; > data4[4] = b5; > data4[5] = b6; > data4[6] = b7; > data4[7] = b8; > } > QUuid( const QUuid &uuid ) > { > memcpy( this, &uuid, sizeof(QUuid) ); > } > > QUuid( const QString & ); > QUuid( const char * ); > QString toString() const; > operator QString() const { return toString(); } > > bool isNull() const; > > QUuid &operator=(const QUuid &orig ) > { > memcpy( this, &orig, sizeof(QUuid) ); > return *this; > } > > bool operator==(const QUuid &orig ) const > { > uint i; > if ( data1 != orig.data1 || data2 != orig.data2 || > data3 != orig.data3 ) > return FALSE; > > for( i = 0; i < 8; i++ ) > if ( data4[i] != orig.data4[i] ) > return FALSE; > > return TRUE; > } > > bool operator!=(const QUuid &orig ) const > { > return !( *this == orig ); > } > > bool operator<(const QUuid &other ) const; > bool operator>(const QUuid &other ) const; ># 176 "/usr/qt/3/include/quuid.h" > static QUuid createUuid(); > QUuid::Variant variant() const; > QUuid::Version version() const; > > uint data1; > ushort data2; > ushort data3; > uchar data4[ 8 ]; >}; > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QUuid & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QUuid & ); ># 56 "/usr/qt/3/include/private/qucom_p.h" 2 ># 64 "/usr/qt/3/include/private/qucom_p.h" 3 > > >struct QUObject; >struct QUInterfaceDescription; >struct QUnknownInterface; >struct QDispatchInterface; > > >struct __attribute__((visibility("default"))) QUBuffer >{ > virtual long read( char *data, ulong maxlen ) = 0; > virtual long write( const char *data, ulong len ) = 0; >}; > > > >struct __attribute__((visibility("default"))) QUType >{ > virtual const QUuid *uuid() const = 0; > virtual const char *desc() const = 0; > > > virtual bool canConvertFrom( QUObject *, QUType * ) = 0; > > virtual bool canConvertTo( QUObject *, QUType * ) = 0; > > > virtual bool convertFrom( QUObject *, QUType * ) = 0; > > virtual bool convertTo( QUObject *, QUType * ) = 0; > > virtual void clear( QUObject * ) = 0; > > virtual int serializeTo( QUObject *, QUBuffer * ) = 0; > virtual int serializeFrom( QUObject *, QUBuffer * ) = 0; > > static bool isEqual( const QUType *t1, const QUType *t2 ); > static bool check( QUObject* o, QUType* t ); >}; > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_Null; >struct __attribute__((visibility("default"))) QUType_Null : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ); > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_Null static_QUType_Null; > > > >struct __attribute__((visibility("default"))) QUObject >{ >public: > QUObject() : type( &static_QUType_Null ) {} > ~QUObject() { type->clear( this ); } > > QUType *type; > > > union > { > bool b; > > char c; > short s; > int i; > long l; > > unsigned char uc; > unsigned short us; > unsigned int ui; > unsigned long ul; > > float f; > double d; > > char byte[16]; > > struct { > char* data; > unsigned long size; > } bytearray; > > void* ptr; > > struct { > void *ptr; > bool owner; > } voidstar; > > struct { > char *ptr; > bool owner; > } charstar; > > struct { > char *ptr; > bool owner; > } utf8; > > struct { > char *ptr; > bool owner; > } local8bit; > > QUnknownInterface* iface; > QDispatchInterface* idisp; > > } payload; > >}; > > > > > >struct __attribute__((visibility("default"))) QUParameter >{ > const char* name; > QUType *type; > const void* typeExtra; > enum { In = 1, Out = 2, InOut = In | Out }; > int inOut; >}; > > > >struct __attribute__((visibility("default"))) QUMethod >{ > const char* name; > int count; > const QUParameter* parameters; >}; > > >struct __attribute__((visibility("default"))) QUProperty >{ > const char* name; > QUType* type; > const void* typeExtra; > > int set; > int get; > > int designable; > int stored; >}; > > > >struct __attribute__((visibility("default"))) QUInterfaceDescription >{ > int methodCount; > const QUMethod* methods; > int propertyCount; > const QUProperty* properties; >}; > > > > > >struct __attribute__((visibility("default"))) QUComponentDescription >{ > const char* name; > const char* vendor; > const char* release; > const char* info; > QUuid cid; > int count; > const QUuid* interfaces; >}; > > > > > >struct __attribute__((visibility("default"))) QUComponentServerDescription >{ > const char* name; > const char* vendor; > const char* release; > const char* info; > int count; > const QUComponentDescription* components; >}; > > > >struct __attribute__((visibility("default"))) QUEnumItem >{ > const char *key; > int value; >}; > >struct __attribute__((visibility("default"))) QUEnum >{ > const char *name; > unsigned int count; > const QUEnumItem *items; > bool set; >}; > >inline bool QUType::isEqual( const QUType *t1, const QUType *t2 ) { > return t1 == t2 || t1->uuid() == t2->uuid() || > *(t1->uuid()) == *(t2->uuid()); >} > >inline bool QUType::check( QUObject* o, QUType* t ) { > return isEqual( o->type, t ) || t->convertFrom( o, o->type ); >} > > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_enum; >struct __attribute__((visibility("default"))) QUType_enum : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, int ); > int &get( QUObject * o ) { return o->payload.i; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_enum static_QUType_enum; > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_ptr; >struct __attribute__((visibility("default"))) QUType_ptr : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, const void* ); > void* &get( QUObject * o ) { return o->payload.ptr; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_ptr static_QUType_ptr; > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_iface; >struct __attribute__((visibility("default"))) QUType_iface : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, QUnknownInterface* ); > QUnknownInterface* &get( QUObject *o ){ return o->payload.iface; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_iface static_QUType_iface; > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_idisp; >struct __attribute__((visibility("default"))) QUType_idisp : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, QDispatchInterface* ); > QDispatchInterface* &get( QUObject *o ){ return o->payload.idisp; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_idisp static_QUType_idisp; > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_bool; >struct __attribute__((visibility("default"))) QUType_bool : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, bool ); > bool &get( QUObject *o ) { return o->payload.b; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_bool static_QUType_bool; > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_int; >struct __attribute__((visibility("default"))) QUType_int : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, int ); > int &get( QUObject *o ) { return o->payload.i; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_int static_QUType_int; > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_double; >struct __attribute__((visibility("default"))) QUType_double : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, double ); > double &get( QUObject *o ) { return o->payload.d; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_double static_QUType_double; > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_charstar; >struct __attribute__((visibility("default"))) QUType_charstar : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, const char*, bool take = FALSE ); > char* get( QUObject *o ){ return o->payload.charstar.ptr; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ); > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); > >}; >extern __attribute__((visibility("default"))) QUType_charstar static_QUType_charstar; > > >extern const QUuid TID_QUType_QString; > >struct __attribute__((visibility("default"))) QUType_QString : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, const QString & ); > QString &get( QUObject * o ) { return *(QString*)o->payload.ptr; } > > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ); > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); > >}; >extern __attribute__((visibility("default"))) QUType_QString static_QUType_QString; ># 55 "/usr/qt/3/include/private/qucomextra_p.h" 2 ># 59 "/usr/qt/3/include/private/qucomextra_p.h" 3 > > >class QVariant; > > > >extern const QUuid TID_QUType_QVariant; > >struct __attribute__((visibility("default"))) QUType_QVariant : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, const QVariant & ); > QVariant &get( QUObject * o ); > > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ); > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_QVariant static_QUType_QVariant; > > > > >extern __attribute__((visibility("default"))) const QUuid TID_QUType_varptr; >struct __attribute__((visibility("default"))) QUType_varptr : public QUType >{ > const QUuid *uuid() const; > const char *desc() const; > > void set( QUObject *, const void* ); > void* &get( QUObject * o ) { return o->payload.ptr; } > bool canConvertFrom( QUObject *, QUType * ); > bool canConvertTo( QUObject *, QUType * ); > bool convertFrom( QUObject *, QUType * ); > bool convertTo( QUObject *, QUType * ); > void clear( QUObject * ) {} > int serializeTo( QUObject *, QUBuffer * ); > int serializeFrom( QUObject *, QUBuffer * ); >}; >extern __attribute__((visibility("default"))) QUType_varptr static_QUType_varptr; ># 16 "kxinewidget.moc" 2 > > > > > > >const char *KXineWidget::className() const >{ > return "KXineWidget"; >} > >QMetaObject *KXineWidget::metaObj = 0; >static QMetaObjectCleanUp cleanUp_KXineWidget( "KXineWidget", &KXineWidget::staticMetaObject ); ># 50 "kxinewidget.moc" >QMetaObject* KXineWidget::staticMetaObject() >{ > if ( metaObj ) > return metaObj; > QMetaObject* parentObject = QWidget::staticMetaObject(); > static const QUMethod slot_0 = {"polish", 0, 0 }; > static const QUMethod slot_1 = {"slotPlay", 0, 0 }; > static const QUMethod slot_2 = {"slotStop", 0, 0 }; > static const QUParameter param_slot_3[] = { > { 0, &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_3 = {"slotSetVolume", 1, param_slot_3 }; > static const QUMethod slot_4 = {"slotToggleMute", 0, 0 }; > static const QUMethod slot_5 = {"slotSpeedPause", 0, 0 }; > static const QUMethod slot_6 = {"slotSpeedNormal", 0, 0 }; > static const QUMethod slot_7 = {"slotSpeedFaster", 0, 0 }; > static const QUMethod slot_8 = {"slotSpeedSlower", 0, 0 }; > static const QUParameter param_slot_9[] = { > { "name", &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_9 = {"slotSetVisualPlugin", 1, param_slot_9 }; > static const QUParameter param_slot_10[] = { > { 0, &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_10 = {"slotSetAudioChannel", 1, param_slot_10 }; > static const QUParameter param_slot_11[] = { > { 0, &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_11 = {"slotSetSubtitleChannel", 1, param_slot_11 }; > static const QUParameter param_slot_12[] = { > { 0, &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_12 = {"slotSetFileSubtitles", 1, param_slot_12 }; > static const QUMethod slot_13 = {"slotStartSeeking", 0, 0 }; > static const QUParameter param_slot_14[] = { > { "pos", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_14 = {"slotSeekToPosition", 1, param_slot_14 }; > static const QUParameter param_slot_15[] = { > { 0, &static_QUType_varptr, "\x1b", QUParameter::In } > }; > static const QUMethod slot_15 = {"slotSeekToTime", 1, param_slot_15 }; > static const QUMethod slot_16 = {"slotStopSeeking", 0, 0 }; > static const QUParameter param_slot_17[] = { > { "enable", &static_QUType_bool, 0, QUParameter::In } > }; > static const QUMethod slot_17 = {"slotEnableVideoFilters", 1, param_slot_17 }; > static const QUParameter param_slot_18[] = { > { "enable", &static_QUType_bool, 0, QUParameter::In } > }; > static const QUMethod slot_18 = {"slotEnableAudioFilters", 1, param_slot_18 }; > static const QUMethod slot_19 = {"slotEject", 0, 0 }; > static const QUParameter param_slot_20[] = { > { "enable", &static_QUType_bool, 0, QUParameter::In } > }; > static const QUMethod slot_20 = {"slotEnableAutoresize", 1, param_slot_20 }; > static const QUMethod slot_21 = {"slotAspectRatioAuto", 0, 0 }; > static const QUMethod slot_22 = {"slotAspectRatio4_3", 0, 0 }; > static const QUMethod slot_23 = {"slotAspectRatioAnamorphic", 0, 0 }; > static const QUMethod slot_24 = {"slotAspectRatioSquare", 0, 0 }; > static const QUMethod slot_25 = {"slotAspectRatioDVB", 0, 0 }; > static const QUMethod slot_26 = {"slotZoomIn", 0, 0 }; > static const QUMethod slot_27 = {"slotZoomOut", 0, 0 }; > static const QUMethod slot_28 = {"slotZoomOff", 0, 0 }; > static const QUMethod slot_29 = {"slotZoomOutX", 0, 0 }; > static const QUMethod slot_30 = {"slotZoomInX", 0, 0 }; > static const QUMethod slot_31 = {"slotZoomOutY", 0, 0 }; > static const QUMethod slot_32 = {"slotZoomInY", 0, 0 }; > static const QUMethod slot_33 = {"slotToggleDeinterlace", 0, 0 }; > static const QUParameter param_slot_34[] = { > { 0, &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_34 = {"slotSetDeinterlaceConfig", 1, param_slot_34 }; > static const QUMethod slot_35 = {"slotGetInfoDelayed", 0, 0 }; > static const QUParameter param_slot_36[] = { > { 0, &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_36 = {"slotSetAudiocdDevice", 1, param_slot_36 }; > static const QUParameter param_slot_37[] = { > { 0, &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_37 = {"slotSetVcdDevice", 1, param_slot_37 }; > static const QUParameter param_slot_38[] = { > { 0, &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod slot_38 = {"slotSetDvdDevice", 1, param_slot_38 }; > static const QUParameter param_slot_39[] = { > { "hue", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_39 = {"slotSetHue", 1, param_slot_39 }; > static const QUParameter param_slot_40[] = { > { "sat", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_40 = {"slotSetSaturation", 1, param_slot_40 }; > static const QUParameter param_slot_41[] = { > { "contrast", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_41 = {"slotSetContrast", 1, param_slot_41 }; > static const QUParameter param_slot_42[] = { > { "bright", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_42 = {"slotSetBrightness", 1, param_slot_42 }; > static const QUParameter param_slot_43[] = { > { "av", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_43 = {"slotSetAVOffset", 1, param_slot_43 }; > static const QUParameter param_slot_44[] = { > { "spu", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_44 = {"slotSetSpuOffset", 1, param_slot_44 }; > static const QUParameter param_slot_45[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_45 = {"slotSetEq30", 1, param_slot_45 }; > static const QUParameter param_slot_46[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_46 = {"slotSetEq60", 1, param_slot_46 }; > static const QUParameter param_slot_47[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_47 = {"slotSetEq125", 1, param_slot_47 }; > static const QUParameter param_slot_48[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_48 = {"slotSetEq250", 1, param_slot_48 }; > static const QUParameter param_slot_49[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_49 = {"slotSetEq500", 1, param_slot_49 }; > static const QUParameter param_slot_50[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_50 = {"slotSetEq1k", 1, param_slot_50 }; > static const QUParameter param_slot_51[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_51 = {"slotSetEq2k", 1, param_slot_51 }; > static const QUParameter param_slot_52[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_52 = {"slotSetEq4k", 1, param_slot_52 }; > static const QUParameter param_slot_53[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_53 = {"slotSetEq8k", 1, param_slot_53 }; > static const QUParameter param_slot_54[] = { > { "val", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_54 = {"slotSetEq16k", 1, param_slot_54 }; > static const QUParameter param_slot_55[] = { > { "gain", &static_QUType_bool, 0, QUParameter::In } > }; > static const QUMethod slot_55 = {"slotSetVolumeGain", 1, param_slot_55 }; > static const QUMethod slot_56 = {"slotMenuToggle", 0, 0 }; > static const QUMethod slot_57 = {"slotMenuTitle", 0, 0 }; > static const QUMethod slot_58 = {"slotMenuRoot", 0, 0 }; > static const QUMethod slot_59 = {"slotMenuSubpicture", 0, 0 }; > static const QUMethod slot_60 = {"slotMenuAudio", 0, 0 }; > static const QUMethod slot_61 = {"slotMenuAngle", 0, 0 }; > static const QUMethod slot_62 = {"slotMenuPart", 0, 0 }; > static const QUMethod slot_63 = {"slotDVDMenuLeft", 0, 0 }; > static const QUMethod slot_64 = {"slotDVDMenuRight", 0, 0 }; > static const QUMethod slot_65 = {"slotDVDMenuUp", 0, 0 }; > static const QUMethod slot_66 = {"slotDVDMenuDown", 0, 0 }; > static const QUMethod slot_67 = {"slotDVDMenuSelect", 0, 0 }; > static const QUParameter param_slot_68[] = { > { "name", &static_QUType_QString, 0, QUParameter::In }, > { "parent", &static_QUType_ptr, "QWidget", QUParameter::In } > }; > static const QUMethod slot_68 = {"slotCreateVideoFilter", 2, param_slot_68 }; > static const QUParameter param_slot_69[] = { > { "name", &static_QUType_QString, 0, QUParameter::In }, > { "parent", &static_QUType_ptr, "QWidget", QUParameter::In } > }; > static const QUMethod slot_69 = {"slotCreateAudioFilter", 2, param_slot_69 }; > static const QUParameter param_slot_70[] = { > { "filter", &static_QUType_ptr, "PostFilter", QUParameter::In } > }; > static const QUMethod slot_70 = {"slotDeleteVideoFilter", 1, param_slot_70 }; > static const QUParameter param_slot_71[] = { > { "filter", &static_QUType_ptr, "PostFilter", QUParameter::In } > }; > static const QUMethod slot_71 = {"slotDeleteAudioFilter", 1, param_slot_71 }; > static const QUMethod slot_72 = {"slotRemoveAllVideoFilters", 0, 0 }; > static const QUMethod slot_73 = {"slotRemoveAllAudioFilters", 0, 0 }; > static const QUMethod slot_74 = {"slotSendPosition", 0, 0 }; > static const QUMethod slot_75 = {"slotEmitLengthInfo", 0, 0 }; > static const QUMethod slot_76 = {"slotHideMouse", 0, 0 }; > static const QUMethod slot_77 = {"slotOSDHide", 0, 0 }; > static const QUMethod slot_78 = {"slotNoRecentMessage", 0, 0 }; > static const QUParameter param_slot_79[] = { > { "pipeName", &static_QUType_QString, 0, QUParameter::In }, > { "chanName", &static_QUType_QString, 0, QUParameter::In }, > { "haveVideo", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod slot_79 = {"setDvb", 3, param_slot_79 }; > static const QUParameter param_slot_80[] = { > { "channelName", &static_QUType_QString, 0, QUParameter::In }, > { "list", &static_QUType_varptr, "\x04", QUParameter::In } > }; > static const QUMethod slot_80 = {"setDvbCurrentNext", 2, param_slot_80 }; > static const QUParameter param_slot_81[] = { > { 0, &static_QUType_bool, 0, QUParameter::Out } > }; > static const QUMethod slot_81 = {"openDvb", 1, param_slot_81 }; > static const QUParameter param_slot_82[] = { > { 0, &static_QUType_bool, 0, QUParameter::Out } > }; > static const QUMethod slot_82 = {"playDvb", 1, param_slot_82 }; > static const QUMethod slot_83 = {"slotPlayTimeShift", 0, 0 }; > static const QUMethod slot_84 = {"dvbShowOSD", 0, 0 }; > static const QUMethod slot_85 = {"dvbHideOSD", 0, 0 }; > static const QMetaData slot_tbl[] = { > { "polish()", &slot_0, QMetaData::Public }, > { "slotPlay()", &slot_1, QMetaData::Public }, > { "slotStop()", &slot_2, QMetaData::Public }, > { "slotSetVolume(int)", &slot_3, QMetaData::Public }, > { "slotToggleMute()", &slot_4, QMetaData::Public }, > { "slotSpeedPause()", &slot_5, QMetaData::Public }, > { "slotSpeedNormal()", &slot_6, QMetaData::Public }, > { "slotSpeedFaster()", &slot_7, QMetaData::Public }, > { "slotSpeedSlower()", &slot_8, QMetaData::Public }, > { "slotSetVisualPlugin(const QString&)", &slot_9, QMetaData::Public }, > { "slotSetAudioChannel(int)", &slot_10, QMetaData::Public }, > { "slotSetSubtitleChannel(int)", &slot_11, QMetaData::Public }, > { "slotSetFileSubtitles(QString)", &slot_12, QMetaData::Public }, > { "slotStartSeeking()", &slot_13, QMetaData::Public }, > { "slotSeekToPosition(int)", &slot_14, QMetaData::Public }, > { "slotSeekToTime(const QTime&)", &slot_15, QMetaData::Public }, > { "slotStopSeeking()", &slot_16, QMetaData::Public }, > { "slotEnableVideoFilters(bool)", &slot_17, QMetaData::Public }, > { "slotEnableAudioFilters(bool)", &slot_18, QMetaData::Public }, > { "slotEject()", &slot_19, QMetaData::Public }, > { "slotEnableAutoresize(bool)", &slot_20, QMetaData::Public }, > { "slotAspectRatioAuto()", &slot_21, QMetaData::Public }, > { "slotAspectRatio4_3()", &slot_22, QMetaData::Public }, > { "slotAspectRatioAnamorphic()", &slot_23, QMetaData::Public }, > { "slotAspectRatioSquare()", &slot_24, QMetaData::Public }, > { "slotAspectRatioDVB()", &slot_25, QMetaData::Public }, > { "slotZoomIn()", &slot_26, QMetaData::Public }, > { "slotZoomOut()", &slot_27, QMetaData::Public }, > { "slotZoomOff()", &slot_28, QMetaData::Public }, > { "slotZoomOutX()", &slot_29, QMetaData::Public }, > { "slotZoomInX()", &slot_30, QMetaData::Public }, > { "slotZoomOutY()", &slot_31, QMetaData::Public }, > { "slotZoomInY()", &slot_32, QMetaData::Public }, > { "slotToggleDeinterlace()", &slot_33, QMetaData::Public }, > { "slotSetDeinterlaceConfig(const QString&)", &slot_34, QMetaData::Public }, > { "slotGetInfoDelayed()", &slot_35, QMetaData::Public }, > { "slotSetAudiocdDevice(const QString&)", &slot_36, QMetaData::Public }, > { "slotSetVcdDevice(const QString&)", &slot_37, QMetaData::Public }, > { "slotSetDvdDevice(const QString&)", &slot_38, QMetaData::Public }, > { "slotSetHue(int)", &slot_39, QMetaData::Public }, > { "slotSetSaturation(int)", &slot_40, QMetaData::Public }, > { "slotSetContrast(int)", &slot_41, QMetaData::Public }, > { "slotSetBrightness(int)", &slot_42, QMetaData::Public }, > { "slotSetAVOffset(int)", &slot_43, QMetaData::Public }, > { "slotSetSpuOffset(int)", &slot_44, QMetaData::Public }, > { "slotSetEq30(int)", &slot_45, QMetaData::Public }, > { "slotSetEq60(int)", &slot_46, QMetaData::Public }, > { "slotSetEq125(int)", &slot_47, QMetaData::Public }, > { "slotSetEq250(int)", &slot_48, QMetaData::Public }, > { "slotSetEq500(int)", &slot_49, QMetaData::Public }, > { "slotSetEq1k(int)", &slot_50, QMetaData::Public }, > { "slotSetEq2k(int)", &slot_51, QMetaData::Public }, > { "slotSetEq4k(int)", &slot_52, QMetaData::Public }, > { "slotSetEq8k(int)", &slot_53, QMetaData::Public }, > { "slotSetEq16k(int)", &slot_54, QMetaData::Public }, > { "slotSetVolumeGain(bool)", &slot_55, QMetaData::Public }, > { "slotMenuToggle()", &slot_56, QMetaData::Public }, > { "slotMenuTitle()", &slot_57, QMetaData::Public }, > { "slotMenuRoot()", &slot_58, QMetaData::Public }, > { "slotMenuSubpicture()", &slot_59, QMetaData::Public }, > { "slotMenuAudio()", &slot_60, QMetaData::Public }, > { "slotMenuAngle()", &slot_61, QMetaData::Public }, > { "slotMenuPart()", &slot_62, QMetaData::Public }, > { "slotDVDMenuLeft()", &slot_63, QMetaData::Public }, > { "slotDVDMenuRight()", &slot_64, QMetaData::Public }, > { "slotDVDMenuUp()", &slot_65, QMetaData::Public }, > { "slotDVDMenuDown()", &slot_66, QMetaData::Public }, > { "slotDVDMenuSelect()", &slot_67, QMetaData::Public }, > { "slotCreateVideoFilter(const QString&,QWidget*)", &slot_68, QMetaData::Public }, > { "slotCreateAudioFilter(const QString&,QWidget*)", &slot_69, QMetaData::Public }, > { "slotDeleteVideoFilter(PostFilter*)", &slot_70, QMetaData::Public }, > { "slotDeleteAudioFilter(PostFilter*)", &slot_71, QMetaData::Public }, > { "slotRemoveAllVideoFilters()", &slot_72, QMetaData::Public }, > { "slotRemoveAllAudioFilters()", &slot_73, QMetaData::Public }, > { "slotSendPosition()", &slot_74, QMetaData::Protected }, > { "slotEmitLengthInfo()", &slot_75, QMetaData::Protected }, > { "slotHideMouse()", &slot_76, QMetaData::Protected }, > { "slotOSDHide()", &slot_77, QMetaData::Protected }, > { "slotNoRecentMessage()", &slot_78, QMetaData::Protected }, > { "setDvb(const QString&,const QString&,int)", &slot_79, QMetaData::Public }, > { "setDvbCurrentNext(const QString&,const QStringList&)", &slot_80, QMetaData::Public }, > { "openDvb()", &slot_81, QMetaData::Public }, > { "playDvb()", &slot_82, QMetaData::Public }, > { "slotPlayTimeShift()", &slot_83, QMetaData::Public }, > { "dvbShowOSD()", &slot_84, QMetaData::Public }, > { "dvbHideOSD()", &slot_85, QMetaData::Public } > }; > static const QUParameter param_signal_0[] = { > { "message", &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod signal_0 = {"signalXineFatal", 1, param_signal_0 }; > static const QUParameter param_signal_1[] = { > { "message", &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod signal_1 = {"signalXineError", 1, param_signal_1 }; > static const QUParameter param_signal_2[] = { > { "message", &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod signal_2 = {"signalXineMessage", 1, param_signal_2 }; > static const QUParameter param_signal_3[] = { > { "status", &static_QUType_QString, 0, QUParameter::In } > }; > static const QUMethod signal_3 = {"signalXineStatus", 1, param_signal_3 }; > static const QUMethod signal_4 = {"signalXineReady", 0, 0 }; > static const QUMethod signal_5 = {"signalXinePlaying", 0, 0 }; > static const QUParameter param_signal_6[] = { > { 0, &static_QUType_bool, 0, QUParameter::In } > }; > static const QUMethod signal_6 = {"signalHasChapters", 1, param_signal_6 }; > static const QUMethod signal_7 = {"signalPlaybackFinished", 0, 0 }; > static const QUParameter param_signal_8[] = { > { "audio", &static_QUType_varptr, "\x04", QUParameter::In }, > { "sub", &static_QUType_varptr, "\x04", QUParameter::In }, > { "currentAudio", &static_QUType_int, 0, QUParameter::In }, > { "currentSub", &static_QUType_int, 0, QUParameter::In } > }; > static const QUMethod signal_8 = {"signalNewChannels", 4, param_signal_8 }; > static const QUParameter param_signal_9[] = { > { 0, &static_QUType_int, 0, QUParameter::In }, > { 0, &static_QUType_varptr, "\x1b", QUParameter::In } > }; > static const QUMethod signal_9 = {"signalNewPosition", 2, param_signal_9 }; > static const QUMethod signal_10 = {"signalTitleChanged", 0, 0 }; > static const QUMethod signal_11 = {"signalVideoSizeChanged", 0, 0 }; > static const QUMethod signal_12 = {"signalLengthChanged", 0, 0 }; > static const QUParameter param_signal_13[] = { > { 0, &static_QUType_varptr, "\x0e", QUParameter::In } > }; > static const QUMethod signal_13 = {"signalRightClick", 1, param_signal_13 }; > static const QUParameter param_signal_14[] = { > { 0, &static_QUType_varptr, "\x0e", QUParameter::In } > }; > static const QUMethod signal_14 = {"signalLeftClick", 1, param_signal_14 }; > static const QUMethod signal_15 = {"signalMiddleClick", 0, 0 }; > static const QUMethod signal_16 = {"signalDoubleClick", 0, 0 }; > static const QUMethod signal_17 = {"signalSyncVolume", 0, 0 }; > static const QUMethod signal_18 = {"signalDvbOSDHidden", 0, 0 }; > static const QUMethod signal_19 = {"stopDvb", 0, 0 }; > static const QMetaData signal_tbl[] = { > { "signalXineFatal(const QString&)", &signal_0, QMetaData::Public }, > { "signalXineError(const QString&)", &signal_1, QMetaData::Public }, > { "signalXineMessage(const QString&)", &signal_2, QMetaData::Public }, > { "signalXineStatus(const QString&)", &signal_3, QMetaData::Public }, > { "signalXineReady()", &signal_4, QMetaData::Public }, > { "signalXinePlaying()", &signal_5, QMetaData::Public }, > { "signalHasChapters(bool)", &signal_6, QMetaData::Public }, > { "signalPlaybackFinished()", &signal_7, QMetaData::Public }, > { "signalNewChannels(const QStringList&,const QStringList&,int,int)", &signal_8, QMetaData::Public }, > { "signalNewPosition(int,const QTime&)", &signal_9, QMetaData::Public }, > { "signalTitleChanged()", &signal_10, QMetaData::Public }, > { "signalVideoSizeChanged()", &signal_11, QMetaData::Public }, > { "signalLengthChanged()", &signal_12, QMetaData::Public }, > { "signalRightClick(const QPoint&)", &signal_13, QMetaData::Public }, > { "signalLeftClick(const QPoint&)", &signal_14, QMetaData::Public }, > { "signalMiddleClick()", &signal_15, QMetaData::Public }, > { "signalDoubleClick()", &signal_16, QMetaData::Public }, > { "signalSyncVolume()", &signal_17, QMetaData::Public }, > { "signalDvbOSDHidden()", &signal_18, QMetaData::Public }, > { "stopDvb()", &signal_19, QMetaData::Protected } > }; > metaObj = QMetaObject::new_metaobject( > "KXineWidget", parentObject, > slot_tbl, 86, > signal_tbl, 20, > > 0, 0, > 0, 0, > > 0, 0 ); > cleanUp_KXineWidget.setMetaObject( metaObj ); > return metaObj; >} > >void* KXineWidget::qt_cast( const char* clname ) >{ > if ( !qstrcmp( clname, "KXineWidget" ) ) > return this; > if ( !qstrcmp( clname, "QThread" ) ) > return (QThread*)this; > return QWidget::qt_cast( clname ); >} > > >void KXineWidget::signalXineFatal( const QString& t0 ) >{ > activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); >} > > >void KXineWidget::signalXineError( const QString& t0 ) >{ > activate_signal( staticMetaObject()->signalOffset() + 1, t0 ); >} > > >void KXineWidget::signalXineMessage( const QString& t0 ) >{ > activate_signal( staticMetaObject()->signalOffset() + 2, t0 ); >} > > >void KXineWidget::signalXineStatus( const QString& t0 ) >{ > activate_signal( staticMetaObject()->signalOffset() + 3, t0 ); >} > > >void KXineWidget::signalXineReady() >{ > activate_signal( staticMetaObject()->signalOffset() + 4 ); >} > > >void KXineWidget::signalXinePlaying() >{ > activate_signal( staticMetaObject()->signalOffset() + 5 ); >} > > >void KXineWidget::signalHasChapters( bool t0 ) >{ > activate_signal_bool( staticMetaObject()->signalOffset() + 6, t0 ); >} > > >void KXineWidget::signalPlaybackFinished() >{ > activate_signal( staticMetaObject()->signalOffset() + 7 ); >} > > ># 1 "/usr/qt/3/include/qobjectdefs.h" 1 ># 495 "kxinewidget.moc" 2 > ># 1 "/usr/qt/3/include/qsignalslotimp.h" 1 ># 44 "/usr/qt/3/include/qsignalslotimp.h" > ># 1 "/usr/qt/3/include/qptrvector.h" 1 ># 42 "/usr/qt/3/include/qptrvector.h" > ># 1 "/usr/qt/3/include/qgvector.h" 1 ># 46 "/usr/qt/3/include/qgvector.h" >class __attribute__((visibility("default"))) QGVector : public QPtrCollection >{ >friend class QGList; >public: > > QDataStream &read( QDataStream & ); > QDataStream &write( QDataStream & ) const; > > virtual int compareItems( Item, Item ); > >protected: > QGVector(); > QGVector( uint size ); > QGVector( const QGVector &v ); > ~QGVector(); > > QGVector &operator=( const QGVector &v ); > bool operator==( const QGVector &v ) const; > > Item *data() const { return vec; } > uint size() const { return len; } > uint count() const { return numItems; } > > bool insert( uint index, Item ); > bool remove( uint index ); > Item take( uint index ); > > void clear(); > bool resize( uint newsize ); > > bool fill( Item, int flen ); > > void sort(); > int bsearch( Item ) const; > > int findRef( Item, uint index ) const; > int find( Item, uint index ) const; > uint containsRef( Item ) const; > uint contains( Item ) const; > > Item at( uint index ) const > { > > if ( index >= len ) > warningIndexRange( index ); > > return vec[index]; > } > > bool insertExpand( uint index, Item ); > > void toList( QGList * ) const; > > > virtual QDataStream &read( QDataStream &, Item & ); > virtual QDataStream &write( QDataStream &, Item ) const; > >private: > Item *vec; > uint len; > uint numItems; > > static void warningIndexRange( uint ); >}; > > > > > > > >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QGVector & ); >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QGVector & ); ># 43 "/usr/qt/3/include/qptrvector.h" 2 > > >template<class type> >class QPtrVector > > > > : public QGVector > >{ >public: > QPtrVector() { } > QPtrVector( uint size ) : QGVector(size) { } > QPtrVector( const QPtrVector<type> &v ) : QGVector( v ) { } > ~QPtrVector() { clear(); } > QPtrVector<type> &operator=(const QPtrVector<type> &v) > { return (QPtrVector<type>&)QGVector::operator=(v); } > bool operator==( const QPtrVector<type> &v ) const { return QGVector::operator==(v); } > type **data() const { return (type **)QGVector::data(); } > uint size() const { return QGVector::size(); } > uint count() const { return QGVector::count(); } > bool isEmpty() const { return QGVector::count() == 0; } > bool isNull() const { return QGVector::size() == 0; } > bool resize( uint size ) { return QGVector::resize(size); } > bool insert( uint i, const type *d){ return QGVector::insert(i,(Item)d); } > bool remove( uint i ) { return QGVector::remove(i); } > type *take( uint i ) { return (type *)QGVector::take(i); } > void clear() { QGVector::clear(); } > bool fill( const type *d, int size=-1 ) > { return QGVector::fill((Item)d,size);} > void sort() { QGVector::sort(); } > int bsearch( const type *d ) const{ return QGVector::bsearch((Item)d); } > int findRef( const type *d, uint i=0 ) const > { return QGVector::findRef((Item)d,i);} > int find( const type *d, uint i= 0 ) const > { return QGVector::find((Item)d,i); } > uint containsRef( const type *d ) const > { return QGVector::containsRef((Item)d); } > uint contains( const type *d ) const > { return QGVector::contains((Item)d); } > type *operator[]( int i ) const { return (type *)QGVector::at(i); } > type *at( uint i ) const { return (type *)QGVector::at(i); } > void toList( QGList *list ) const { QGVector::toList(list); } ># 94 "/usr/qt/3/include/qptrvector.h" >private: > void deleteItem( Item d ); >}; > > >template<> inline void QPtrVector<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QPtrVector<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > > > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 115 "/usr/qt/3/include/qptrvector.h" 2 ># 45 "/usr/qt/3/include/qsignalslotimp.h" 2 > > >class __attribute__((visibility("default"))) QConnectionList : public QPtrList<QConnection> >{ >public: > QConnectionList() : QPtrList<QConnection>() {} > QConnectionList( const QConnectionList &list ) : QPtrList<QConnection>(list) {} > ~QConnectionList() { clear(); } > QConnectionList &operator=(const QConnectionList &list) > { return (QConnectionList&)QPtrList<QConnection>::operator=(list); } >}; > >class __attribute__((visibility("default"))) QConnectionListIt : public QPtrListIterator<QConnection> >{ >public: > QConnectionListIt( const QConnectionList &l ) : QPtrListIterator<QConnection>(l) {} > QConnectionListIt &operator=(const QConnectionListIt &i) > { return (QConnectionListIt&)QPtrListIterator<QConnection>::operator=(i); } >}; ># 72 "/usr/qt/3/include/qsignalslotimp.h" >class __attribute__((visibility("default"))) QSignalVec : public QPtrVector<QConnectionList> >{ >public: > QSignalVec(int size=17 ) > : QPtrVector<QConnectionList>(size) {} > QSignalVec( const QSignalVec &dict ) > : QPtrVector<QConnectionList>(dict) {} > ~QSignalVec() { clear(); } > QSignalVec &operator=(const QSignalVec &dict) > { return (QSignalVec&)QPtrVector<QConnectionList>::operator=(dict); } > QConnectionList* at( uint index ) const { > return index >= size()? 0 : QPtrVector<QConnectionList>::at(index); > } > bool insert( uint index, const QConnectionList* d ) { > if (index >= size() ) > resize( 2*index + 1); > return QPtrVector<QConnectionList>::insert(index, d); > } >}; > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 94 "/usr/qt/3/include/qsignalslotimp.h" 2 ># 496 "kxinewidget.moc" 2 > > >void KXineWidget::signalNewChannels( const QStringList& t0, const QStringList& t1, int t2, int t3 ) >{ > if ( signalsBlocked() ) > return; > QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 ); > if ( !clist ) > return; > QUObject o[5]; > static_QUType_varptr.set(o+1,&t0); > static_QUType_varptr.set(o+2,&t1); > static_QUType_int.set(o+3,t2); > static_QUType_int.set(o+4,t3); > activate_signal( clist, o ); >} > > >void KXineWidget::signalNewPosition( int t0, const QTime& t1 ) >{ > if ( signalsBlocked() ) > return; > QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 ); > if ( !clist ) > return; > QUObject o[3]; > static_QUType_int.set(o+1,t0); > static_QUType_varptr.set(o+2,&t1); > activate_signal( clist, o ); >} > > >void KXineWidget::signalTitleChanged() >{ > activate_signal( staticMetaObject()->signalOffset() + 10 ); >} > > >void KXineWidget::signalVideoSizeChanged() >{ > activate_signal( staticMetaObject()->signalOffset() + 11 ); >} > > >void KXineWidget::signalLengthChanged() >{ > activate_signal( staticMetaObject()->signalOffset() + 12 ); >} > > >void KXineWidget::signalRightClick( const QPoint& t0 ) >{ > if ( signalsBlocked() ) > return; > QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 13 ); > if ( !clist ) > return; > QUObject o[2]; > static_QUType_varptr.set(o+1,&t0); > activate_signal( clist, o ); >} > > >void KXineWidget::signalLeftClick( const QPoint& t0 ) >{ > if ( signalsBlocked() ) > return; > QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 14 ); > if ( !clist ) > return; > QUObject o[2]; > static_QUType_varptr.set(o+1,&t0); > activate_signal( clist, o ); >} > > >void KXineWidget::signalMiddleClick() >{ > activate_signal( staticMetaObject()->signalOffset() + 15 ); >} > > >void KXineWidget::signalDoubleClick() >{ > activate_signal( staticMetaObject()->signalOffset() + 16 ); >} > > >void KXineWidget::signalSyncVolume() >{ > activate_signal( staticMetaObject()->signalOffset() + 17 ); >} > > >void KXineWidget::signalDvbOSDHidden() >{ > activate_signal( staticMetaObject()->signalOffset() + 18 ); >} > > >void KXineWidget::stopDvb() >{ > activate_signal( staticMetaObject()->signalOffset() + 19 ); >} > >bool KXineWidget::qt_invoke( int _id, QUObject* _o ) >{ > switch ( _id - staticMetaObject()->slotOffset() ) { > case 0: polish(); break; > case 1: slotPlay(); break; > case 2: slotStop(); break; > case 3: slotSetVolume((int)static_QUType_int.get(_o+1)); break; > case 4: slotToggleMute(); break; > case 5: slotSpeedPause(); break; > case 6: slotSpeedNormal(); break; > case 7: slotSpeedFaster(); break; > case 8: slotSpeedSlower(); break; > case 9: slotSetVisualPlugin((const QString&)static_QUType_QString.get(_o+1)); break; > case 10: slotSetAudioChannel((int)static_QUType_int.get(_o+1)); break; > case 11: slotSetSubtitleChannel((int)static_QUType_int.get(_o+1)); break; > case 12: slotSetFileSubtitles((QString)static_QUType_QString.get(_o+1)); break; > case 13: slotStartSeeking(); break; > case 14: slotSeekToPosition((int)static_QUType_int.get(_o+1)); break; > case 15: slotSeekToTime((const QTime&)*((const QTime*)static_QUType_ptr.get(_o+1))); break; > case 16: slotStopSeeking(); break; > case 17: slotEnableVideoFilters((bool)static_QUType_bool.get(_o+1)); break; > case 18: slotEnableAudioFilters((bool)static_QUType_bool.get(_o+1)); break; > case 19: slotEject(); break; > case 20: slotEnableAutoresize((bool)static_QUType_bool.get(_o+1)); break; > case 21: slotAspectRatioAuto(); break; > case 22: slotAspectRatio4_3(); break; > case 23: slotAspectRatioAnamorphic(); break; > case 24: slotAspectRatioSquare(); break; > case 25: slotAspectRatioDVB(); break; > case 26: slotZoomIn(); break; > case 27: slotZoomOut(); break; > case 28: slotZoomOff(); break; > case 29: slotZoomOutX(); break; > case 30: slotZoomInX(); break; > case 31: slotZoomOutY(); break; > case 32: slotZoomInY(); break; > case 33: slotToggleDeinterlace(); break; > case 34: slotSetDeinterlaceConfig((const QString&)static_QUType_QString.get(_o+1)); break; > case 35: slotGetInfoDelayed(); break; > case 36: slotSetAudiocdDevice((const QString&)static_QUType_QString.get(_o+1)); break; > case 37: slotSetVcdDevice((const QString&)static_QUType_QString.get(_o+1)); break; > case 38: slotSetDvdDevice((const QString&)static_QUType_QString.get(_o+1)); break; > case 39: slotSetHue((int)static_QUType_int.get(_o+1)); break; > case 40: slotSetSaturation((int)static_QUType_int.get(_o+1)); break; > case 41: slotSetContrast((int)static_QUType_int.get(_o+1)); break; > case 42: slotSetBrightness((int)static_QUType_int.get(_o+1)); break; > case 43: slotSetAVOffset((int)static_QUType_int.get(_o+1)); break; > case 44: slotSetSpuOffset((int)static_QUType_int.get(_o+1)); break; > case 45: slotSetEq30((int)static_QUType_int.get(_o+1)); break; > case 46: slotSetEq60((int)static_QUType_int.get(_o+1)); break; > case 47: slotSetEq125((int)static_QUType_int.get(_o+1)); break; > case 48: slotSetEq250((int)static_QUType_int.get(_o+1)); break; > case 49: slotSetEq500((int)static_QUType_int.get(_o+1)); break; > case 50: slotSetEq1k((int)static_QUType_int.get(_o+1)); break; > case 51: slotSetEq2k((int)static_QUType_int.get(_o+1)); break; > case 52: slotSetEq4k((int)static_QUType_int.get(_o+1)); break; > case 53: slotSetEq8k((int)static_QUType_int.get(_o+1)); break; > case 54: slotSetEq16k((int)static_QUType_int.get(_o+1)); break; > case 55: slotSetVolumeGain((bool)static_QUType_bool.get(_o+1)); break; > case 56: slotMenuToggle(); break; > case 57: slotMenuTitle(); break; > case 58: slotMenuRoot(); break; > case 59: slotMenuSubpicture(); break; > case 60: slotMenuAudio(); break; > case 61: slotMenuAngle(); break; > case 62: slotMenuPart(); break; > case 63: slotDVDMenuLeft(); break; > case 64: slotDVDMenuRight(); break; > case 65: slotDVDMenuUp(); break; > case 66: slotDVDMenuDown(); break; > case 67: slotDVDMenuSelect(); break; > case 68: slotCreateVideoFilter((const QString&)static_QUType_QString.get(_o+1),(QWidget*)static_QUType_ptr.get(_o+2)); break; > case 69: slotCreateAudioFilter((const QString&)static_QUType_QString.get(_o+1),(QWidget*)static_QUType_ptr.get(_o+2)); break; > case 70: slotDeleteVideoFilter((PostFilter*)static_QUType_ptr.get(_o+1)); break; > case 71: slotDeleteAudioFilter((PostFilter*)static_QUType_ptr.get(_o+1)); break; > case 72: slotRemoveAllVideoFilters(); break; > case 73: slotRemoveAllAudioFilters(); break; > case 74: slotSendPosition(); break; > case 75: slotEmitLengthInfo(); break; > case 76: slotHideMouse(); break; > case 77: slotOSDHide(); break; > case 78: slotNoRecentMessage(); break; > case 79: setDvb((const QString&)static_QUType_QString.get(_o+1),(const QString&)static_QUType_QString.get(_o+2),(int)static_QUType_int.get(_o+3)); break; > case 80: setDvbCurrentNext((const QString&)static_QUType_QString.get(_o+1),(const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+2))); break; > case 81: static_QUType_bool.set(_o,openDvb()); break; > case 82: static_QUType_bool.set(_o,playDvb()); break; > case 83: slotPlayTimeShift(); break; > case 84: dvbShowOSD(); break; > case 85: dvbHideOSD(); break; > default: > return QWidget::qt_invoke( _id, _o ); > } > return TRUE; >} > >bool KXineWidget::qt_emit( int _id, QUObject* _o ) >{ > switch ( _id - staticMetaObject()->signalOffset() ) { > case 0: signalXineFatal((const QString&)static_QUType_QString.get(_o+1)); break; > case 1: signalXineError((const QString&)static_QUType_QString.get(_o+1)); break; > case 2: signalXineMessage((const QString&)static_QUType_QString.get(_o+1)); break; > case 3: signalXineStatus((const QString&)static_QUType_QString.get(_o+1)); break; > case 4: signalXineReady(); break; > case 5: signalXinePlaying(); break; > case 6: signalHasChapters((bool)static_QUType_bool.get(_o+1)); break; > case 7: signalPlaybackFinished(); break; > case 8: signalNewChannels((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break; > case 9: signalNewPosition((int)static_QUType_int.get(_o+1),(const QTime&)*((const QTime*)static_QUType_ptr.get(_o+2))); break; > case 10: signalTitleChanged(); break; > case 11: signalVideoSizeChanged(); break; > case 12: signalLengthChanged(); break; > case 13: signalRightClick((const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+1))); break; > case 14: signalLeftClick((const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+1))); break; > case 15: signalMiddleClick(); break; > case 16: signalDoubleClick(); break; > case 17: signalSyncVolume(); break; > case 18: signalDvbOSDHidden(); break; > case 19: stopDvb(); break; > default: > return QWidget::qt_emit(_id,_o); > } > return TRUE; >} > > >bool KXineWidget::qt_property( int id, int f, QVariant* v) >{ > return QWidget::qt_property( id, f, v); >} > >bool KXineWidget::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } ># 46 "kxinewidget.cpp" 2 > ># 1 "/usr/kde/3.5/include/klocale.h" 1 ># 26 "/usr/kde/3.5/include/klocale.h" > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 27 "/usr/kde/3.5/include/klocale.h" 2 > >class QStringList; >class QTextCodec; >class QDate; >class QTime; >class QDateTime; > >class KGlobal; >class KConfig; >class KConfigBase; >class KLocalePrivate; >class KCatalogue; >class KCalendarSystem; ># 78 "/usr/kde/3.5/include/klocale.h" >__attribute__ ((visibility("default"))) QString i18n(const char *text); ># 87 "/usr/kde/3.5/include/klocale.h" >__attribute__ ((visibility("default"))) QString i18n(const char *comment, const char *text); ># 100 "/usr/kde/3.5/include/klocale.h" >__attribute__ ((visibility("default"))) QString i18n(const char *singular, const char *plural, unsigned long n); > > > > > > > >inline QString tr2i18n(const char* message, const char* =0) { > return i18n(message); >} ># 124 "/usr/kde/3.5/include/klocale.h" >class __attribute__ ((visibility("default"))) KLocale >{ > friend class KGlobal; >public: ># 144 "/usr/kde/3.5/include/klocale.h" > KLocale( const QString& catalog, KConfig *config = 0 ); > > > > > KLocale( const KLocale & rhs ); > > > > > KLocale& operator= ( const KLocale & rhs ); > > > > > ~KLocale(); ># 179 "/usr/kde/3.5/include/klocale.h" > QString translate( const char *index ) const; ># 206 "/usr/kde/3.5/include/klocale.h" > QString translate( const char *comment, const char *fallback) const; ># 218 "/usr/kde/3.5/include/klocale.h" > QString translate( const char *singular, const char *plural, > unsigned long n) const; ># 228 "/usr/kde/3.5/include/klocale.h" > bool setEncoding(int mibEnum); ># 239 "/usr/kde/3.5/include/klocale.h" > bool setLanguage(const QString & language); ># 250 "/usr/kde/3.5/include/klocale.h" > bool setLanguage(const QStringList & languages); ># 261 "/usr/kde/3.5/include/klocale.h" > bool setCountry(const QString & country); > > > > > > enum SignPosition { ParensAround = 0, BeforeQuantityMoney = 1, > AfterQuantityMoney = 2, > BeforeMoney = 3, AfterMoney = 4 }; > > > > > > > > QString decimalSymbol() const; ># 286 "/usr/kde/3.5/include/klocale.h" > QString thousandsSeparator() const; > > > > > > > > QString currencySymbol() const; ># 303 "/usr/kde/3.5/include/klocale.h" > QString monetaryDecimalSymbol() const; ># 312 "/usr/kde/3.5/include/klocale.h" > QString monetaryThousandsSeparator() const; > > > > > > > > QString positiveSign() const; > > > > > > > > QString negativeSign() const; > > > > > > > > int fracDigits() const; > > > > > > > > bool positivePrefixCurrencySymbol() const; > > > > > > > > bool negativePrefixCurrencySymbol() const; ># 361 "/usr/kde/3.5/include/klocale.h" > SignPosition positiveMonetarySignPosition() const; ># 370 "/usr/kde/3.5/include/klocale.h" > SignPosition negativeMonetarySignPosition() const; ># 386 "/usr/kde/3.5/include/klocale.h" > QString formatMoney(double num, > const QString & currency = QString::null, > int digits = -1) const; ># 405 "/usr/kde/3.5/include/klocale.h" > QString formatNumber(double num, int precision = -1) const; ># 414 "/usr/kde/3.5/include/klocale.h" > QString formatNumber(const QString &numStr) const __attribute__ ((deprecated)); ># 429 "/usr/kde/3.5/include/klocale.h" > QString formatNumber(const QString &numStr, bool round, int precision) const; ># 442 "/usr/kde/3.5/include/klocale.h" > QString formatLong(long num) const; ># 452 "/usr/kde/3.5/include/klocale.h" > bool nounDeclension() const; ># 463 "/usr/kde/3.5/include/klocale.h" > QString formatDate(const QDate &pDate, bool shortFormat = false) const; ># 472 "/usr/kde/3.5/include/klocale.h" > bool dateMonthNamePossessive() const; ># 486 "/usr/kde/3.5/include/klocale.h" > QString formatTime(const QTime &pTime, bool includeSecs, bool isDuration ) const; ># 498 "/usr/kde/3.5/include/klocale.h" > QString formatTime(const QTime &pTime, bool includeSecs = false) const; > > > > > > > bool use12Clock() const; ># 516 "/usr/kde/3.5/include/klocale.h" > bool weekStartsMonday() const __attribute__ ((deprecated)); > > > > > > > > int weekStartDay() const; ># 546 "/usr/kde/3.5/include/klocale.h" > QString monthName(int i, bool shortName = false) const __attribute__ ((deprecated)); ># 571 "/usr/kde/3.5/include/klocale.h" > QString monthNamePossessive(int i, bool shortName = false) const __attribute__ ((deprecated)); ># 583 "/usr/kde/3.5/include/klocale.h" > QString weekDayName(int i, bool shortName = false) const __attribute__ ((deprecated)); > > > > > > > > const KCalendarSystem * calendar() const; ># 600 "/usr/kde/3.5/include/klocale.h" > QString calendarType() const; ># 610 "/usr/kde/3.5/include/klocale.h" > void setCalendar(const QString & calendarType); ># 622 "/usr/kde/3.5/include/klocale.h" > QString formatDateTime(const QDateTime &pDateTime, > bool shortFormat = true, > bool includeSecs = false) const; ># 635 "/usr/kde/3.5/include/klocale.h" > double readMoney(const QString &numStr, bool * ok = 0) const; ># 646 "/usr/kde/3.5/include/klocale.h" > double readNumber(const QString &numStr, bool * ok = 0) const; ># 658 "/usr/kde/3.5/include/klocale.h" > QDate readDate(const QString &str, bool* ok = 0) const; > > > > > > QDate readDate( const QString &intstr, const QString &fmt, bool* ok = 0) const; > > enum ReadDateFlags { > NormalFormat = 1, > ShortFormat = 2 > }; ># 684 "/usr/kde/3.5/include/klocale.h" > QDate readDate(const QString &str, ReadDateFlags flags, bool *ok = 0) const; ># 698 "/usr/kde/3.5/include/klocale.h" > QTime readTime(const QString &str, bool* ok = 0) const; > > enum ReadTimeFlags { > WithSeconds = 0, > WithoutSeconds = 1 > }; ># 718 "/usr/kde/3.5/include/klocale.h" > QTime readTime(const QString &str, ReadTimeFlags flags, bool *ok = 0) const; ># 727 "/usr/kde/3.5/include/klocale.h" > QString language() const; > > > > > > > > QString country() const; ># 750 "/usr/kde/3.5/include/klocale.h" > QStringList languagesTwoAlpha() const; ># 760 "/usr/kde/3.5/include/klocale.h" > QStringList languageList() const; ># 770 "/usr/kde/3.5/include/klocale.h" > const char * encoding() const; ># 780 "/usr/kde/3.5/include/klocale.h" > int encodingMib() const; ># 789 "/usr/kde/3.5/include/klocale.h" > QTextCodec * codecForEncoding() const; ># 799 "/usr/kde/3.5/include/klocale.h" > int fileEncodingMib() const; ># 823 "/usr/kde/3.5/include/klocale.h" > void setDateFormat(const QString & format); ># 846 "/usr/kde/3.5/include/klocale.h" > void setDateFormatShort(const QString & format); > > > > > > > void setDateMonthNamePossessive(bool possessive); ># 873 "/usr/kde/3.5/include/klocale.h" > void setTimeFormat(const QString & format); ># 884 "/usr/kde/3.5/include/klocale.h" > void setWeekStartsMonday(bool start) __attribute__ ((deprecated)); > > > > > > > > void setWeekStartDay(int day); > > > > > > > QString dateFormat() const; > > > > > > > QString dateFormatShort() const; > > > > > > > QString timeFormat() const; > > > > > > > void setDecimalSymbol(const QString & symbol); > > > > > > void setThousandsSeparator(const QString & separator); > > > > > > > void setPositiveSign(const QString & sign); > > > > > > void setNegativeSign(const QString & sign); > > > > > > void setPositiveMonetarySignPosition(SignPosition signpos); > > > > > > void setNegativeMonetarySignPosition(SignPosition signpos); > > > > > > > > void setPositivePrefixCurrencySymbol(bool prefix); > > > > > > > > void setNegativePrefixCurrencySymbol(bool prefix); > > > > > > void setFracDigits(int digits); > > > > > > void setMonetaryThousandsSeparator(const QString & separator); > > > > > > > void setMonetaryDecimalSymbol(const QString & symbol); > > > > > > void setCurrencySymbol(const QString & symbol); > > > > > > > int pageSize() const; > > > > > > > void setPageSize(int paperFormat); > > > > > > enum MeasureSystem { Metric, Imperial }; > > > > > > > MeasureSystem measureSystem() const; > > > > > > > void setMeasureSystem(MeasureSystem value); ># 1038 "/usr/kde/3.5/include/klocale.h" > void insertCatalogue(const QString& catalog); > > > > > > > void removeCatalogue(const QString &catalog); > > > > > > void setActiveCatalogue(const QString &catalog); > > > > > > > > QString translateQt(const char *context, > const char *sourceText, > const char *message) const; > > > > > > > QStringList allLanguagesTwoAlpha() const; > > > > > > > > QString twoAlphaToLanguageName(const QString &code) const; > > > > > > > QStringList allCountriesTwoAlpha() const; > > > > > > > > QString twoAlphaToCountryName(const QString &code) const; ># 1102 "/usr/kde/3.5/include/klocale.h" > static void splitLocale(const QString & str, > QString & language, > QString & country, > QString & charset); ># 1115 "/usr/kde/3.5/include/klocale.h" > static void setMainCatalogue(const char *catalog); > > > > > > > > static QString langLookup(const QString &fname, const char *rtype = "html"); > > > > > > > static QString defaultLanguage(); > > > > > > > static QString defaultCountry(); > > > > > > static QString _initLanguage(KConfigBase *config); ># 1152 "/usr/kde/3.5/include/klocale.h" > QString formatMoney(const QString &numStr) const __attribute__ ((deprecated)); > > > > > > > > QString languages() const __attribute__ ((deprecated)); > > > > > > bool setCharset(const QString & charset) __attribute__ ((deprecated)); > > > > > > QString charset() const __attribute__ ((deprecated)); > >protected: > > > > > static void initInstance(); > >private: > > > > > > > void initFormat(KConfig *config); > > > > > > > > void initMainCatalogues(const QString & catalog); ># 1206 "/usr/kde/3.5/include/klocale.h" > void initLanguageList(KConfig * config, bool useEnv); > > > > > > > void initEncoding(KConfig * config); > > > > > > void initFileNameEncoding(KConfig *config); > > > > > static QCString encodeFileNameUTF8( const QString & fileName ); > > > > > static QString decodeFileNameUTF8( const QCString & localFileName ); > > > > > > void initCatalogue( KCatalogue & catalog ); > > > > > void doFormatInit() const; > > > > > void initFormat(); > > > > > QString translate_priv(const char *index, > const char *text, > const char ** original = 0, > int* pluralType = 0) const; > > > > > bool useDefaultLanguage() const; > > > > > bool isLanguageInstalled(const QString & language) const; > > > > > > void updateCatalogues( ); > > > > > void initPluralTypes( ); > > > > > > int pluralType( const QString & language ); > > > > > > > > int pluralType( const KCatalogue& catalog ); ># 1302 "/usr/kde/3.5/include/klocale.h" > static QString catalogueFileName(const QString & language, > const KCatalogue & catalog); > > > > > > > bool isApplicationTranslatedInto( const QString & language); > >private: > > QString m_decimalSymbol; > QString m_thousandsSeparator; > QString m_currencySymbol; > QString m_monetaryDecimalSymbol; > QString m_monetaryThousandsSeparator; > QString m_positiveSign; > QString m_negativeSign; > int m_fracDigits; > SignPosition m_positiveMonetarySignPosition; > SignPosition m_negativeMonetarySignPosition; > > > QString m_timeFormat; > QString m_dateFormat; > QString m_dateFormatShort; > > QString m_language; > QString m_country; > > bool m_weekStartsMonday; > bool m_positivePrefixCurrencySymbol; > bool m_negativePrefixCurrencySymbol; > > KLocalePrivate *d; >}; ># 47 "kxinewidget.cpp" 2 > ># 1 "/usr/kde/3.5/include/kdebug.h" 1 ># 26 "/usr/kde/3.5/include/kdebug.h" > ># 1 "/usr/kde/3.5/include/kdelibs_export.h" 1 ># 27 "/usr/kde/3.5/include/kdebug.h" 2 > >class QWidget; >class QDateTime; >class QDate; >class QTime; >class QPoint; >class QSize; >class QRect; >class QRegion; >class KURL; >class QStringList; >class QColor; >class QPen; >class QBrush; >class QVariant; >template <class T> >class QValueList; > >class kdbgstream; >class kndbgstream; ># 55 "/usr/kde/3.5/include/kdebug.h" >typedef kdbgstream & (*KDBGFUNC)(kdbgstream &); >typedef kndbgstream & (*KNDBGFUNC)(kndbgstream &); ># 66 "/usr/kde/3.5/include/kdebug.h" >class kdbgstreamprivate; ># 80 "/usr/kde/3.5/include/kdebug.h" >class __attribute__ ((visibility("default"))) kdbgstream { > public: > > > > kdbgstream(unsigned int _area, unsigned int _level, bool _print = true) : > area(_area), level(_level), print(_print) { } > kdbgstream(const char * initialString, unsigned int _area, unsigned int _level, bool _print = true) : > output(QString::fromLatin1(initialString)), area(_area), level(_level), print(_print) { } > > kdbgstream(kdbgstream &str); > kdbgstream(const kdbgstream &str) : > output(str.output), area(str.area), level(str.level), print(str.print) {} > ~kdbgstream(); > > > > > > kdbgstream &operator<<(bool i) { > if (!print) return *this; > output += QString::fromLatin1(i ? "true" : "false"); > return *this; > } > > > > > > kdbgstream &operator<<(short i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned short i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(char ch); > > > > > > kdbgstream &operator<<(unsigned char ch) { > return operator<<( static_cast<char>( ch ) ); > } > > > > > > kdbgstream &operator<<(int i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned int i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(long i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned long i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(Q_LLONG i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(Q_ULLONG i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > void flush(); > > > > > > > > kdbgstream &operator<<(QChar ch); > > > > > > kdbgstream &operator<<(const QString& string) { > if (!print) return *this; > output += string; > if (output.at(output.length() -1 ) == '\n') > flush(); > return *this; > } > > > > > > kdbgstream &operator<<(const char *string) { > if (!print) return *this; > output += QString::fromUtf8(string); > if (output.at(output.length() - 1) == '\n') > flush(); > return *this; > } > > > > > > kdbgstream &operator<<(const QCString& string) { > *this << string.data(); > return *this; > } > > > > > > kdbgstream& operator<<(const void * p) { > form("%p", p); > return *this; > } > > > > > > kdbgstream& operator<<(KDBGFUNC f) { > if (!print) return *this; > return (*f)(*this); > } > > > > > > kdbgstream& operator<<(double d) { > QString tmp; tmp.setNum(d); output += tmp; > return *this; > } > > > > > > > kdbgstream &form(const char *format, ...) > > __attribute__ ( ( format ( printf, 2, 3 ) ) ) > > ; > > > > > > > kdbgstream& operator << (const QWidget* widget); > kdbgstream& operator << (QWidget* widget); > > > > > > > kdbgstream& operator << ( const QDateTime& dateTime ); > > > > > > > kdbgstream& operator << ( const QDate& date ); > > > > > > > kdbgstream& operator << ( const QTime& time ); > > > > > > > kdbgstream& operator << ( const QPoint& point ); > > > > > > > kdbgstream& operator << ( const QSize& size ); > > > > > > > kdbgstream& operator << ( const QRect& rect); > > > > > > > kdbgstream& operator << ( const QRegion& region); > > > > > > > kdbgstream& operator << ( const KURL& url ); > > > > > > > > kdbgstream& operator << ( const QStringList& list); > > > > > > > kdbgstream& operator << ( const QColor& color); > > > > > > > > kdbgstream& operator << ( const QPen& pen ); > > > > > > > kdbgstream& operator << ( const QBrush& brush ); > > > > > > > > kdbgstream& operator << ( const QVariant& variant ); > > > > > > > > kdbgstream& operator << ( const QByteArray& data ); > > > > > > > > template <class T> > kdbgstream& operator << ( const QValueList<T> &list ); > > private: > QString output; > unsigned int area, level; > bool print; > kdbgstreamprivate* d; >}; > >template <class T> >kdbgstream &kdbgstream::operator<<( const QValueList<T> &list ) >{ > *this << "("; > typename QValueList<T>::ConstIterator it = list.begin(); > if ( !list.isEmpty() ) { > *this << *it++; > } > for ( ; it != list.end(); ++it ) { > *this << "," << *it; > } > *this << ")"; > return *this; >} > > > > > > > >inline kdbgstream &endl( kdbgstream &s) { s << "\n"; return s; } > > > > > > > >inline kdbgstream &flush( kdbgstream &s) { s.flush(); return s; } > >__attribute__ ((visibility("default"))) kdbgstream &perror( kdbgstream &s); > > > > > > > >class __attribute__ ((visibility("default"))) kndbgstream { > public: > > kndbgstream() {} > ~kndbgstream() {} > > > > > kndbgstream &operator<<(short int ) { return *this; } > > > > > kndbgstream &operator<<(unsigned short int ) { return *this; } > > > > > kndbgstream &operator<<(char ) { return *this; } > > > > > kndbgstream &operator<<(unsigned char ) { return *this; } > > > > > kndbgstream &operator<<(int ) { return *this; } > > > > > kndbgstream &operator<<(unsigned int ) { return *this; } > > > > void flush() {} > > > > > kndbgstream &operator<<(QChar) { return *this; } > > > > > kndbgstream &operator<<(const QString& ) { return *this; } > > > > > kndbgstream &operator<<(const QCString& ) { return *this; } > > > > > kndbgstream &operator<<(const char *) { return *this; } > > > > > kndbgstream& operator<<(const void *) { return *this; } > > > > > kndbgstream& operator<<(void *) { return *this; } > > > > > kndbgstream& operator<<(double) { return *this; } > > > > > kndbgstream& operator<<(long) { return *this; } > > > > > kndbgstream& operator<<(unsigned long) { return *this; } > > > > > kndbgstream& operator<<(Q_LLONG) { return *this; } > > > > > kndbgstream& operator<<(Q_ULLONG) { return *this; } > > > > > kndbgstream& operator<<(KNDBGFUNC) { return *this; } > > > > > kndbgstream& operator << (const QWidget*) { return *this; } > kndbgstream& operator << (QWidget*) { return *this; } > > > > > kndbgstream &form(const char *, ...) { return *this; } > > kndbgstream& operator<<( const QDateTime& ) { return *this; } > kndbgstream& operator<<( const QDate& ) { return *this; } > kndbgstream& operator<<( const QTime& ) { return *this; } > kndbgstream& operator<<( const QPoint & ) { return *this; } > kndbgstream& operator<<( const QSize & ) { return *this; } > kndbgstream& operator<<( const QRect & ) { return *this; } > kndbgstream& operator<<( const QRegion & ) { return *this; } > kndbgstream& operator<<( const KURL & ) { return *this; } > kndbgstream& operator<<( const QStringList & ) { return *this; } > kndbgstream& operator<<( const QColor & ) { return *this; } > kndbgstream& operator<<( const QPen & ) { return *this; } > kndbgstream& operator<<( const QBrush & ) { return *this; } > kndbgstream& operator<<( const QVariant & ) { return *this; } > kndbgstream& operator<<( const QByteArray & ) { return *this; } > > template <class T> > kndbgstream& operator<<( const QValueList<T> & ) { return *this; } >}; > > > > > > >inline kndbgstream &endl( kndbgstream & s) { return s; } > > > > > >inline kndbgstream &flush( kndbgstream & s) { return s; } >inline kndbgstream &perror( kndbgstream & s) { return s; } ># 599 "/usr/kde/3.5/include/kdebug.h" >__attribute__ ((visibility("default"))) kdbgstream kdDebug(int area = 0); >__attribute__ ((visibility("default"))) kdbgstream kdDebug(bool cond, int area = 0); > > > > > >__attribute__ ((visibility("default"))) QString kdBacktrace(); > > > > > > > >__attribute__ ((visibility("default"))) QString kdBacktrace(int levels); > > > > > >inline kndbgstream kndDebug(int area = 0) { (void)area;; return kndbgstream(); } >inline kndbgstream kndDebug(bool , int = 0) { return kndbgstream(); } >inline QString kndBacktrace() { return QString::null; } >inline QString kndBacktrace(int) { return QString::null; } > > > > > > > >__attribute__ ((visibility("default"))) kdbgstream kdWarning(int area = 0); >__attribute__ ((visibility("default"))) kdbgstream kdWarning(bool cond, int area = 0); > > > > > > >__attribute__ ((visibility("default"))) kdbgstream kdError(int area = 0); >__attribute__ ((visibility("default"))) kdbgstream kdError(bool cond, int area = 0); > > > > > > >__attribute__ ((visibility("default"))) kdbgstream kdFatal(int area = 0); >__attribute__ ((visibility("default"))) kdbgstream kdFatal(bool cond, int area = 0); > > > > > > >__attribute__ ((visibility("default"))) void kdClearDebugConfig(); ># 48 "kxinewidget.cpp" 2 ># 64 "kxinewidget.cpp" >KXineWidget::KXineWidget(QWidget* parent, const char* name, > const QString& pathToConfigFile, const QString& pathToLogoFile, > const QString& audioDriver, const QString& videoDriver, > bool startManual, bool verbose) > : QWidget(parent,name), QThread(), m_startXineManual(startManual), m_xineReady(false), > m_logoFile(pathToLogoFile), m_preferedAudio(audioDriver), m_preferedVideo(videoDriver), m_xineVerbose(verbose), > m_xineDisplay(__null), m_xineEngine(__null), m_audioDriver(__null), m_videoDriver(__null), m_xineStream(__null), > m_eventQueue(__null), m_osd(__null), m_osdUnscaled(false), m_osdShow(false), m_osdSize(0), m_osdFont(__null), > m_audioChoices(__null), m_audioInfo(__null), m_videoChoices(__null), m_videoInfo(__null), m_mixerInfo(__null), > m_osdShowInfo(__null), > m_osdSizeOptions(__null), m_osdSizeInfo(__null), m_osdFontInfo(__null), > > m_videoFiltersEnabled(true), m_audioFiltersEnabled(true), m_deinterlaceFilter(__null), > m_deinterlaceEnabled(false), > m_visualPlugin(__null), > > > > m_visualPluginName(QString::null), m_currentSpeed(Normal), m_softwareMixer(false), m_volumeGain(false), > m_currentZoom(100), m_currentZoomX(100), m_currentZoomY(100), m_currentAudio(0), m_currentSub(0), m_savedPos(0), m_autoresizeEnabled(false) >{ > setMinimumSize(QSize(20,20)); > setPaletteBackgroundColor(QColor(0,0,0)); > > > TimeShiftFilename = ""; > dvbHaveVideo = 0; > dvbOSD = 0; > dvbColor[0] = 0; > connect( &dvbOSDHideTimer, "2""timeout()", this, "1""dvbHideOSD()" ); > > if (pathToConfigFile.isNull()) > { > debugOut("Using default config file ~/.xine/config"); > m_configFilePath = QDir::homeDirPath(); > m_configFilePath.append("/.xine/config"); > } > else > m_configFilePath = pathToConfigFile; > > if (!m_logoFile.isNull()) > appendToQueue(m_logoFile); > > > m_videoFilterList.setAutoDelete(true); > m_audioFilterList.setAutoDelete(true); > > > connect(&m_posTimer, "2""timeout()", this, "1""slotSendPosition()"); > connect(&m_lengthInfoTimer, "2""timeout()", this, "1""slotEmitLengthInfo()"); > connect(&m_mouseHideTimer, "2""timeout()", this, "1""slotHideMouse()"); > connect(&m_osdTimer, "2""timeout()", this, "1""slotOSDHide()"); > connect(&m_recentMessagesTimer, "2""timeout()", this, "1""slotNoRecentMessage()"); > > setUpdatesEnabled(false); > setMouseTracking(true); >} > > >KXineWidget::~KXineWidget() >{ > > m_xineReady = false; > > > m_posTimer.stop(); > m_mouseHideTimer.stop(); > > > slotRemoveAllAudioFilters(); > slotRemoveAllVideoFilters(); > > if (m_osd) > xine_osd_free(m_osd); > > if (m_xineStream) > xine_close(m_xineStream); > > if (running()) > { > XEvent ev; > ev.type = 12; > ev.xexpose.display = m_xineDisplay; > ev.xexpose.window = winId(); > ev.xexpose.x = x(); > ev.xexpose.y = y(); > ev.xexpose.width = width(); > ev.xexpose.height = height(); > ev.xexpose.count = 0; > > XSendEvent( x11Display(), winId(), 0, (1L<<15), &ev ); > XFlush(x11Display()); > > if( !wait(1000) ) > { > warningOut("XEvent thread don't exit. Terminating it..."); > terminate(); > } > } > > debugOut("Shut down xine engine"); > > > if (m_deinterlaceFilter) > { > debugOut("Unwire video filters"); > unwireVideoFilters(); > delete m_deinterlaceFilter; > m_deinterlaceFilter = __null; > } > if (m_visualPlugin) > { > debugOut("Unwire audio filters"); > unwireAudioFilters(); > debugOut(QString("Dispose visual plugin: %1").arg(m_visualPluginName )); > delete m_visualPlugin; > m_visualPlugin = __null; > } ># 191 "kxinewidget.cpp" > if (m_eventQueue) > { > debugOut("Dispose event queue"); > xine_event_dispose_queue(m_eventQueue); > } > if (m_xineStream) > { > debugOut("Dispose stream"); > xine_dispose(m_xineStream); > } > if (m_audioDriver) > { > debugOut("Close audio driver"); > xine_close_audio_driver(m_xineEngine, m_audioDriver); > } > if (m_videoDriver) > { > debugOut("Close video driver"); > xine_close_video_driver(m_xineEngine, m_videoDriver); > } > if (m_xineEngine) > { > saveXineConfig(); > debugOut("Close xine engine"); > xine_exit(m_xineEngine); > } > m_xineEngine = __null; > > > if (m_osdShowInfo) free(m_osdShowInfo); > > if (m_osdFontInfo) free(m_osdFontInfo); > if (m_osdFont) free(m_osdFont); > > if (m_osdSizeInfo) free(m_osdSizeInfo); > if (m_osdSizeOptions) > { > int i=0; > while (m_osdSizeOptions[i]) > { > free(m_osdSizeOptions[i]); > i++; > } > delete [] m_osdSizeOptions; > } > > if (m_mixerInfo) free(m_mixerInfo); > > if (m_videoInfo) free(m_videoInfo); > if (m_videoChoices) > { > int i=0; > while (m_videoChoices[i]) > { > free(m_videoChoices[i]); > i++; > } > delete [] m_videoChoices; > } > > if (m_audioInfo) free(m_audioInfo); > if (m_audioChoices) > { > int i=0; > while (m_audioChoices[i]) > { > free(m_audioChoices[i]); > i++; > } > delete [] m_audioChoices; > } > > if (m_xineDisplay) > { > debugOut("Close xine display"); > XCloseDisplay(m_xineDisplay); > } > m_xineDisplay = __null; > > debugOut("xine closed"); >} > > >void KXineWidget::saveXineConfig() >{ > debugOut("Set CD/VCD/DVD path back"); > xine_cfg_entry_t config; > > if (!m_cachedCDPath.isNull()) > { > xine_config_lookup_entry (m_xineEngine, "input.cdda_device", &config); > config.str_value = (char*)m_cachedCDPath.latin1(); > xine_config_update_entry (m_xineEngine, &config); > } > > if (!m_cachedVCDPath.isNull()) > { > xine_config_lookup_entry (m_xineEngine, "input.vcd_device", &config); > config.str_value = (char*)m_cachedVCDPath.latin1(); > xine_config_update_entry (m_xineEngine, &config); > } > > if (!m_cachedDVDPath.isNull()) > { > xine_config_lookup_entry (m_xineEngine, "input.dvd_device", &config); > config.str_value = (char*)m_cachedDVDPath.latin1(); > xine_config_update_entry (m_xineEngine, &config); > } > > debugOut(QString("Save xine config to: %1").arg(m_configFilePath)); > xine_config_save(m_xineEngine, m_configFilePath.ascii()); >} > > > > > > >void KXineWidget::destSizeCallback(void* p, int , int , double , > int* dest_width, int* dest_height, double* dest_aspect) > >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > *dest_width = vw->width(); > *dest_height = vw->height(); > *dest_aspect = vw->m_displayRatio; >} > > >void KXineWidget::frameOutputCallback(void* p, int video_width, int video_height, double video_aspect, > int* dest_x, int* dest_y, int* dest_width, int* dest_height, > double* dest_aspect, int* win_x, int* win_y) > >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > *dest_x = 0; > *dest_y = 0 ; > *dest_width = vw->width(); > *dest_height = vw->height(); > *win_x = vw->m_globalX; > *win_y = vw->m_globalY; > *dest_aspect = vw->m_displayRatio; > > > if ( !vw->hasVideo() ) { > *dest_aspect = (video_width*video_aspect)/((vw->width()*video_height/vw->height())-0.5); > } > > > if (video_aspect >= vw->m_displayRatio) > video_width = (int) ( (double) (video_width * video_aspect / vw->m_displayRatio + 0.5) ); > else > video_height = (int) ( (double) (video_height * vw->m_displayRatio / video_aspect) + 0.5); > > > if ( (video_width != vw->m_videoFrameWidth) || (video_height != vw->m_videoFrameHeight) ) > { > debugOut(QString("New video frame size: %1x%2 - aspect ratio: %3").arg(video_width).arg(video_height).arg(video_aspect)); > vw->m_videoFrameWidth = video_width; > vw->m_videoFrameHeight = video_height; > vw->m_videoAspect = video_aspect; > QApplication::postEvent(vw, new QTimerEvent(108)); > > > if ((vw->m_autoresizeEnabled) && (vw->parentWidget()) && (vw->m_posTimer.isActive()) && (!vw->parentWidget()->isFullScreen()) > && (video_width > 0) && (video_height > 0)) > { > vw->m_newParentSize = vw->parentWidget()->size() - QSize((vw->width() - video_width), vw->height() - video_height); > > debugOut(QString("Resize video window to: %1x%2").arg(vw->m_newParentSize.width()).arg(vw->m_newParentSize.height())); > > > > QApplication::postEvent(vw, new QTimerEvent(300)); > } > } >} ># 383 "kxinewidget.cpp" >void KXineWidget::xineEventListener(void *p, const xine_event_t* xineEvent) >{ > > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > switch (xineEvent->type) > { > case 1: > { > debugOut("xine event: playback finished"); > QApplication::postEvent(vw, new QTimerEvent(100 )); > break; > } > case 2: > { > debugOut("xine event: channels changed"); > int i,j,channels; > char* lang = new char[128]; > QString num; > > vw->m_audioCh.clear(); > vw->m_audioCh.append(i18n("auto")); > vw->m_subCh.clear(); > vw->m_subCh.append(i18n("off")); > > > > channels = xine_get_stream_info(vw->m_xineStream, 24)+1; > for(i = 0; i < channels; i++) > { > if (xine_get_audio_lang(vw->m_xineStream, i, lang)) > vw->m_audioCh << lang; > else > vw->m_audioCh << " "; > } > > > > > channels = xine_get_stream_info(vw->m_xineStream, 25)+1; > for(j = 0; j < channels; j++) > { > if (xine_get_spu_lang(vw->m_xineStream, j, lang)) > vw->m_subCh << lang; > else > vw->m_subCh << " "; > } > > delete [] lang; > > vw->m_currentAudio = xine_get_param(vw->m_xineStream, 3) + 1; > vw->m_currentSub = xine_get_param(vw->m_xineStream, 4) + 1; > > if (vw->m_currentAudio > (i-1)) > { > vw->slotSetAudioChannel(0); > vw->m_currentAudio = -1; > } > > if (vw->m_currentSub > (j-1)) > { > vw->slotSetSubtitleChannel(0); > vw->m_currentSub = -1; > } > > > vw->m_trackIsSeekable = (bool)xine_get_stream_info(vw->m_xineStream, 1); > > QApplication::postEvent(vw, new QTimerEvent(101)); > break; > } > case 3: > { > debugOut("xine event: ui set title"); > xine_ui_data_t* xd = (xine_ui_data_t*)xineEvent->data; > vw->m_trackTitle = QString::fromLocal8Bit( (char*)xd->str ); > > vw->m_lengthInfoTries = 0; > vw->m_lengthInfoTimer.start(1000); > QApplication::postEvent(vw, new QTimerEvent(102)); > break; > } > case 8: > { > debugOut("xine event: progress info"); > xine_progress_data_t* pd = (xine_progress_data_t*)xineEvent->data; > > vw->m_statusString = QString::fromLocal8Bit(pd->description) + " " + QString::number(pd->percent) + "%"; > > QApplication::postEvent(vw, new QTimerEvent(103)); > break; > } > case 12: > { > debugOut("xine event: dropped frames"); > xine_dropped_frames_t* dropped = (xine_dropped_frames_t*)xineEvent->data; > > warningOut(QString("Skipped frames: %1 - discarded frames: %2").arg(dropped->skipped_frames/10).arg(dropped->discarded_frames/10)); > > break; > } > case 11: > { > debugOut("xine event: spu button"); > xine_spu_button_t* button = (xine_spu_button_t*)xineEvent->data; > > if (button->direction == 1) > { > debugOut("DVD Menu: Mouse entered button"); > vw->m_DVDButtonEntered = true; > } > else > { > debugOut("DVD Menu: Mouse left button"); > vw->m_DVDButtonEntered = false; > } > > QApplication::postEvent(vw, new QTimerEvent(104)); > break; > } > case 10: > { > debugOut("xine event: ui num buttons"); > > break; > } > case 9: > { > debugOut("xine event: mrl reference"); > xine_mrl_reference_data_t* mrldata = (xine_mrl_reference_data_t*)xineEvent->data; > vw->m_newMRLReference = mrldata->mrl; > > QApplication::postEvent(vw, new QTimerEvent(105)); > break; > } > case 5: > { > > > > break; > } > case 6: > { > QApplication::postEvent(vw, new QTimerEvent(109)); > break; > } > case 4: > { > debugOut("xine event: xine message"); > > xine_ui_message_data_t *data = (xine_ui_message_data_t *)xineEvent->data; > QString message; > > switch(data->type) > { > case 0: > { > > char* s = data->messages; > char* d = new char[2000]; > > while(s && (*s != '\0') && ((*s + 1) != '\0')) > { > switch(*s) > { > case '\0': > { > *d = '\n'; > break; > } > default: > { > *d = *s; > break; > } > } > s++; > d++; > } > *++d = '\0'; > > message = d; > delete [] d; > break; > } > case 1: > { > message = i18n("General Warning: \n"); > > if(data->explanation) > message = message + ((char *) data + data->explanation) + " " + ((char *) data + data->parameters); > else > message = message + i18n("No Informations available."); > > break; > } > case 10: > { > message = i18n("Security Warning: \n"); > > if(data->explanation) > message = message + ((char *) data + data->explanation) + " " + ((char *) data + data->parameters); > > break; > } > case 2: > { > message = i18n("The host you're trying to connect is unknown.\nCheck the validity of the specified hostname. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 3: > { > message = i18n("The device name you specified seems invalid. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 4: > { > message = i18n("The network looks unreachable.\nCheck your network setup and the server name. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 11: > { > message = i18n("Audio output unavailable. Device is busy. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 5: > { > message = i18n("The connection was refused.\nCheck the host name. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 6: > { > message = "@"+i18n("The specified file or url was not found. Please check it. "); > if(data->explanation) > message = message + "(" + QString::fromLocal8Bit((char *) data + data->parameters) + ")"; > break; > } > case 12: > { > message = i18n("Permission to this source was denied. "); > > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 7: > { > message = i18n("The source can't be read.\nMaybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc in drive). "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > case 8: > { > message = i18n("A problem occur while loading a library or a decoder: "); > if(data->explanation) > message = message + ((char *) data + data->parameters); > break; > } > case 9: > { > message = i18n("The source seems encrypted, and can't be read. "); > if (vw->m_trackURL.contains("dvd:/")) > message = message + i18n("\nYour DVD is probably crypted. According to your country laws, you can or can't use libdvdcss to be able to read this disc. "); > if(data->explanation) > message = message + "(" + ((char *) data + data->parameters) + ")"; > break; > } > default: > { > message = i18n("Unknown error: \n"); > if(data->explanation) > message = message + ((char *) data + data->explanation) + " " + ((char *) data + data->parameters); > break; > } > } > > vw->m_xineMessage = message; > QApplication::postEvent(vw, new QTimerEvent(106)); > break; > } > default: > { > > break; > } > } >} > >void KXineWidget::timerEvent( QTimerEvent* tevent ) >{ > switch ( tevent->timerId() ) > { > case 100: > { > if ( !TimeShiftFilename.isEmpty() ) > { > QTimer::singleShot(0, this, "1""slotPlayTimeShift()"); > break; > } > if ( m_trackURL=="DVB" || m_trackURL.contains(".kaxtv") ) > break; > > > if ( xine_check_version(1,1,1) ) > xine_set_param( m_xineStream, 32, 1); > > if (isQueueEmpty()) > { > if (m_trackURL != m_logoFile) > signalPlaybackFinished(); > else > xine_stop(m_xineStream); > } > else > QTimer::singleShot(0, this, "1""slotPlay()"); > break; > } > case 101: > { > signalNewChannels(m_audioCh, m_subCh, m_currentAudio, m_currentSub); > break; > } > case 102: > { > signalTitleChanged(); > break; > } > case 108: > { > if ((m_trackHasVideo) && (m_trackURL != m_logoFile)) > signalVideoSizeChanged(); > break; > } > case 103: > { > signalXineStatus(m_statusString); > break; > } > case 104: > { > if (m_DVDButtonEntered) > setCursor(QCursor(Qt::PointingHandCursor)); > else > setCursor(QCursor(Qt::ArrowCursor)); > break; > } > case 105: > { > m_queue.prepend(m_newMRLReference ); > break; > } > case 109: > { > signalSyncVolume(); > break; > } > case 106: > { > if (!m_recentMessagesTimer.isActive()) > { > m_recentMessagesTimer.start(1500); > signalXineMessage(m_xineMessage); > } > else > { > > warningOut(QString("Message: '%1' was blocked!").arg(m_xineMessage)); > m_recentMessagesTimer.start(1500); > } > break; > } > case 107: > { > signalXineError(m_xineError); > break; > } > case 200: > { > appendToQueue(m_trackURL); > slotPlay(); > break; > } > case 300: > { > parentWidget()->resize(m_newParentSize); > break; > } > default: break; > } >} > >void KXineWidget::slotNoRecentMessage() >{ > m_recentMessagesTimer.stop(); >} > > > >void KXineWidget::videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > if (entry == __null) return; > > KXineWidget* vw = (KXineWidget*) p; > xine_video_port_t* oldVideoDriver = vw->m_videoDriver; > xine_video_port_t* noneVideoDriver; > > int pos, time, length; > > debugOut(QString("New video driver: %1").arg(entry->enum_values[entry->num_value])); > > if (vw->m_osd) > { > xine_osd_free(vw->m_osd); > vw->m_osd = __null; > } > > noneVideoDriver = xine_open_video_driver(vw->m_xineEngine, "none", > 0, __null); > if (!noneVideoDriver) > { > errorOut("Can't init Video Driver 'none', operation aborted."); > return; > } > > bool playing = false; > if (vw->isPlaying()) > { > playing = true; > vw->m_savedPos = 0; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(vw->m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret != 0 ) > vw->m_savedPos = pos; > } > > xine_close(vw->m_xineStream); > > > vw->m_videoDriver = noneVideoDriver; > vw->unwireVideoFilters(); > vw->wireVideoFilters(); > > vw->unwireAudioFilters(); > if (vw->m_visualPlugin) > { > debugOut(QString("Dispose visual plugin: %1").arg(vw->m_visualPluginName)); > delete vw->m_visualPlugin; > vw->m_visualPlugin = __null; > } > > xine_event_dispose_queue(vw->m_eventQueue); > xine_dispose(vw->m_xineStream); > > xine_close_video_driver(vw->m_xineEngine, oldVideoDriver); > > vw->m_videoDriver = xine_open_video_driver(vw->m_xineEngine, > entry->enum_values[entry->num_value], 1, > (void *) &(vw->m_x11Visual)); > > if (!vw->m_videoDriver) > { > vw->m_xineError = i18n("Error: Can't init new Video Driver %1 - using %2!").arg(entry->enum_values[entry->num_value]).arg(vw->m_videoDriverName); > QApplication::postEvent(vw, new QTimerEvent( 107)); > playing = false; > vw->m_videoDriver = xine_open_video_driver(vw->m_xineEngine, > vw->m_videoDriverName.ascii(), 1, > (void *) &(vw->m_x11Visual)); > } > else > { > vw->m_videoDriverName = entry->enum_values[entry->num_value]; > vw->m_statusString = i18n("Using Video Driver: %1").arg(vw->m_videoDriverName); > QApplication::postEvent(vw, new QTimerEvent(103)); > } > > vw->m_xineStream = xine_stream_new(vw->m_xineEngine, vw->m_audioDriver, vw->m_videoDriver); > vw->m_eventQueue = xine_event_new_queue (vw->m_xineStream); > xine_event_create_listener_thread(vw->m_eventQueue, &KXineWidget::xineEventListener, p); > > > vw->unwireVideoFilters(); > vw->wireVideoFilters(); > > > xine_close_video_driver(vw->m_xineEngine, noneVideoDriver); > > vw->initOSD(); > > if (playing) > QApplication::postEvent(vw, new QTimerEvent(200)); > >} > > > >void KXineWidget::audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > if (entry == __null) return; > > KXineWidget* vw = (KXineWidget*) p; > > int pos, time, length; > > debugOut(QString("New audio driver: %1").arg(entry->enum_values[entry->num_value])); > > if (vw->m_osd) > { > xine_osd_free(vw->m_osd); > vw->m_osd = __null; > } > > vw->unwireVideoFilters(); > > bool playing = false; > if (vw->isPlaying()) > { > playing = true; > vw->m_savedPos = 0; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(vw->m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret != 0 ) > vw->m_savedPos = pos; > } > > xine_close(vw->m_xineStream); > > vw->unwireAudioFilters(); > if (vw->m_visualPlugin) > { > debugOut(QString("Dispose visual plugin: %1").arg(vw->m_visualPluginName)); > delete vw->m_visualPlugin; > vw->m_visualPlugin = __null; > } > > xine_event_dispose_queue(vw->m_eventQueue); > xine_dispose(vw->m_xineStream); > xine_close_audio_driver(vw->m_xineEngine, vw->m_audioDriver); > vw->m_audioDriver = __null; > > vw->m_audioDriver = xine_open_audio_driver(vw->m_xineEngine, entry->enum_values[entry->num_value], __null); > > if (!vw->m_audioDriver) > { > vw->m_xineError = i18n("Error: Can't init new Audio Driver %1 - using %2!").arg(entry->enum_values[entry->num_value]).arg(vw->m_audioDriverName); > QApplication::postEvent(vw, new QTimerEvent( 107)); > playing = false; > vw->m_audioDriver = xine_open_audio_driver(vw->m_xineEngine, vw->m_audioDriverName.ascii(), __null); > } > else > { > vw->m_audioDriverName = entry->enum_values[entry->num_value]; > vw->m_statusString = i18n("Using Audio Driver: %1").arg(vw->m_audioDriverName); > QApplication::postEvent(vw, new QTimerEvent(103)); > } > > vw->m_xineStream = xine_stream_new(vw->m_xineEngine, vw->m_audioDriver, vw->m_videoDriver); > vw->m_eventQueue = xine_event_new_queue (vw->m_xineStream); > xine_event_create_listener_thread(vw->m_eventQueue, &KXineWidget::xineEventListener, p); > > vw->wireVideoFilters(); > > vw->initOSD(); > > if (playing) > QApplication::postEvent(vw, new QTimerEvent(200)); > >} > > >void KXineWidget::audioMixerMethodChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > vw->m_softwareMixer = (bool)entry->num_value; >} > > >void KXineWidget::showOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > if (vw->m_osd) > vw->m_osdShow = (bool)entry->num_value; >} > >void KXineWidget::sizeForOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > const int fontsizetable[] = { 16,20,24,32,48,64 }; > > if (entry->num_value >= 6) > { > debugOut("Font size not defined: Shouldn't have happened"); > return; > } > > if (vw->m_osd) > { > vw->m_osdSize = entry->num_value; > xine_osd_set_font(vw->m_osd, vw->m_osdFont, fontsizetable[vw->m_osdSize]); > } >} > >void KXineWidget::fontForOSDMessagesChangedCallback(void* p, xine_cfg_entry_t* entry) >{ > if (p == __null) return; > KXineWidget* vw = (KXineWidget*) p; > > const int fontsizetable[] = { 16,20,24,32,48,64 }; > > if (vw->m_osd) > if (entry->str_value) > { > free(vw->m_osdFont); > vw->m_osdFont = strdup(entry->str_value); > if (!xine_osd_set_font(vw->m_osd, vw->m_osdFont, fontsizetable[vw->m_osdSize])) > { > free(vw->m_osdFont); > vw->m_osdFont = strdup("sans"); > if (!xine_osd_set_font(vw->m_osd, vw->m_osdFont, fontsizetable[vw->m_osdSize])) > warningOut("Default SANS font not found: shouldn't have happened."); > } > } >} > > > > > >void KXineWidget::run() >{ > debugOut("Start event loop..."); > > XEvent event; > > while (isXineReady()) > { > XNextEvent (m_xineDisplay, &event); > XLockDisplay(m_xineDisplay); > > if (event.type == 12) > { > if (event.xexpose.count == 0) > { > xine_port_send_gui_data(m_videoDriver, 3, &event); > } > } > > XUnlockDisplay(m_xineDisplay); > } > > debugOut("Exiting event loop..."); >} > > > > > >void KXineWidget::polish() >{ > if ((!m_startXineManual) && (!isXineReady())) > { > initXine(); > } >} > >bool KXineWidget::initXine() >{ > if (isXineReady()) > return true; > > signalXineStatus(i18n("Init xine...")); > globalPosChanged(); > > > > XInitThreads(); > > m_xineDisplay = XOpenDisplay( getenv("DISPLAY") ); > > if (!m_xineDisplay) > { > signalXineFatal(i18n("Failed to connect to X-Server!")); > return false; > } > > m_xineScreen = (((_XPrivDisplay)m_xineDisplay)->default_screen); > m_xineWindow = winId(); > > XLockDisplay(m_xineDisplay); > > XSelectInput(m_xineDisplay, m_xineWindow, (1L<<15)); > > > > double resHor = ((&((_XPrivDisplay)m_xineDisplay)->screens[m_xineScreen])->width)*1000 / ((&((_XPrivDisplay)m_xineDisplay)->screens[m_xineScreen])->mwidth); > double resVer = ((&((_XPrivDisplay)m_xineDisplay)->screens[m_xineScreen])->height)*1000 / ((&((_XPrivDisplay)m_xineDisplay)->screens[m_xineScreen])->mheight); > > m_displayRatio = resVer / resHor; ># 1122 "kxinewidget.cpp" > debugOut(QString("Display aspect ratio (v/h): %1").arg(m_displayRatio)); > > XUnlockDisplay(m_xineDisplay); > > > > debugOut(QString("Using xine version %1").arg(xine_get_version_string())); > > m_xineEngine = xine_new(); > if (!m_xineEngine) > { > signalXineFatal(i18n("Can't init xine Engine!")); > return false; > } > > if (m_xineVerbose) > xine_engine_set_param(m_xineEngine, 1, 99); > > > > if (!QFile::exists(m_configFilePath)) > warningOut("No config file found, will create one..."); > else > xine_config_load(m_xineEngine, QFile::encodeName(m_configFilePath)); > > > debugOut("Post-init xine engine"); > xine_init(m_xineEngine); > > > > const char* const* drivers = __null; > drivers = xine_list_audio_output_plugins(m_xineEngine); > int i = 0; > while (drivers[i] != __null) i++; > m_audioChoices = new char*[i+2]; > m_audioChoices[0] = strdup("auto"); > m_audioDriverList << m_audioChoices[0]; > i = 0; > while(drivers[i]) > { > m_audioChoices[i+1] = strdup(drivers[i]); > m_audioDriverList << m_audioChoices[i+1]; > i++; > } > m_audioChoices[i+1] = __null; > > m_audioInfo = strdup(i18n("Audiodriver to use (default: auto)").utf8()); > i = xine_config_register_enum(m_xineEngine, "audio.driver", 0, > m_audioChoices, m_audioInfo, __null, 10, &KXineWidget::audioDriverChangedCallback, this); > > if (m_audioDriverList.contains(m_preferedAudio)) > m_audioDriverName = m_preferedAudio; > else > m_audioDriverName = m_audioChoices[i]; > > debugOut(QString("Use audio driver %1").arg(m_audioDriverName)); > > drivers = xine_list_video_output_plugins(m_xineEngine); > i = 0; > while (drivers[i] != __null) i++; > m_videoChoices = new char*[i+2]; > m_videoChoices[0] = strdup("auto"); > m_videoDriverList << m_videoChoices[0]; > i = 0; > while(drivers[i]) > { > m_videoChoices[i+1] = strdup(drivers[i]); > m_videoDriverList << m_videoChoices[i+1]; > i++; > } > m_videoChoices[i+1] = __null; > > m_videoInfo = strdup(i18n("Videodriver to use (default: auto)").utf8()); > i = xine_config_register_enum(m_xineEngine, "video.driver", 0, > m_videoChoices, m_videoInfo, __null, 10, &KXineWidget::videoDriverChangedCallback, this); > > if (m_videoDriverList.contains(m_preferedVideo)) > m_videoDriverName = m_preferedVideo; > else > m_videoDriverName = m_videoChoices[i]; > > debugOut(QString("Use video driver %1").arg(m_videoDriverName)); > > m_mixerInfo = strdup(i18n("Use software audio mixer").utf8()); > m_softwareMixer = (bool)xine_config_register_bool(m_xineEngine, "audio.mixer_software", 1, m_mixerInfo, > __null, 10, &KXineWidget::audioMixerMethodChangedCallback, this); > > m_osdShowInfo = strdup(i18n("Show OSD Messages").utf8()); > m_osdShow = (bool)xine_config_register_bool(m_xineEngine, "osd.osd_messages", 1, m_osdShowInfo, > __null, 10, &KXineWidget::showOSDMessagesChangedCallback, this); > > m_osdSizeOptions = new char*[7]; > m_osdSizeOptions[0] = strdup("tiny"); > m_osdSizeOptions[1] = strdup("small"); > m_osdSizeOptions[2] = strdup("medium"); > m_osdSizeOptions[3] = strdup("large"); > m_osdSizeOptions[4] = strdup("very large"); > m_osdSizeOptions[5] = strdup("huge"); > m_osdSizeOptions[6] = __null; > > m_osdSizeInfo = strdup(i18n("Size of OSD text").utf8()); > m_osdSize = (int)xine_config_register_enum(m_xineEngine, "osd.osd_size", 1 , m_osdSizeOptions, m_osdSizeInfo, > __null, 10, &KXineWidget::sizeForOSDMessagesChangedCallback, this); > > m_osdFontInfo = strdup(i18n("Font for OSD Messages").utf8()); > m_osdFont = strdup((char*)xine_config_register_string(m_xineEngine, "osd.osd_font", "sans", m_osdFontInfo, > __null, 10, &KXineWidget::fontForOSDMessagesChangedCallback, this)); > > > debugOut("Init video driver"); > > m_x11Visual.display = m_xineDisplay; > m_x11Visual.screen = m_xineScreen; > m_x11Visual.d = m_xineWindow; > m_x11Visual.dest_size_cb = &KXineWidget::destSizeCallback; > m_x11Visual.frame_output_cb = &KXineWidget::frameOutputCallback; > m_x11Visual.user_data = (void*)this; > > m_videoDriver = xine_open_video_driver(m_xineEngine, > m_videoDriverName.ascii(), 1, > (void *) &(m_x11Visual)); > > if (!m_videoDriver && m_videoDriverName != "auto") > { > signalXineError(i18n("Can't init Video Driver '%1' - trying 'auto'...").arg(m_videoDriverName)); > m_videoDriverName = "auto"; > m_videoDriver = xine_open_video_driver(m_xineEngine, > m_videoDriverName.ascii(), 1, > (void *) &(m_x11Visual)); > } > > if (!m_videoDriver) > { > signalXineFatal(i18n("All Video Drivers failed to initialize!")); > return false; > } > > > debugOut("Init audio driver"); > > m_audioDriver = xine_open_audio_driver(m_xineEngine, m_audioDriverName.ascii(), __null); > > if (!m_audioDriver && m_audioDriverName != "auto") > { > signalXineError(i18n("Can't init Audio Driver '%1' - trying 'auto'...").arg(m_audioDriverName)); > m_audioDriverName = "auto"; > m_audioDriver = xine_open_audio_driver (m_xineEngine, m_audioDriverName.ascii(), __null); > } > > if (!m_audioDriver) > { > signalXineFatal(i18n("All Audio Drivers failed to initialize!")); > return false; > } > > > > m_xineStream = xine_stream_new(m_xineEngine, m_audioDriver, m_videoDriver); > if (!m_xineStream) > { > signalXineFatal(i18n("Can't create a new xine Stream!")); > return false; > } > > > if ( xine_check_version(1,1,1) ) { > > xine_set_param(m_xineStream, 31, 1 ); > } > > > > > initOSD(); > > > > m_eventQueue = xine_event_new_queue (m_xineStream); > xine_event_create_listener_thread(m_eventQueue, &KXineWidget::xineEventListener, (void*)this); > > > if (m_softwareMixer) > xine_set_param(m_xineStream, 29, 0); > else > xine_set_param(m_xineStream, 7, 0); > > m_xineReady = true; > start(); > > debugOut("xine init successful"); > > signalXineStatus(i18n("Ready")); > signalXineReady(); > > > slotPlay(); > > return true; >} > >void KXineWidget::initOSD() >{ > debugOut("Init OSD"); > const int fontsizetable[] = { 16,20,24,32,48,64 }; > m_osd = xine_osd_new(m_xineStream, 10, 10, 1000, 200); > if (m_osd) > { > if (!xine_osd_set_font(m_osd, m_osdFont, fontsizetable[m_osdSize])) > { > debugOut(QString("Font ->%1<- specified for OSD doesn't exists.").arg(m_osdFont)); > free(m_osdFont); > m_osdFont = strdup("sans"); > xine_osd_set_font(m_osd, m_osdFont, fontsizetable[m_osdSize]); > } > debugOut(QString("Font for OSD: %1").arg(m_osdFont)); > xine_osd_set_text_palette(m_osd, 0, (0 * 11)); > m_osdUnscaled = (xine_osd_get_capabilities(m_osd) & 0x0002); > if (m_osdUnscaled) > debugOut("Unscaled OSD available"); > } > else > warningOut("Initialisation of xine OSD failed."); >} > > > > > >bool KXineWidget::playDvb() >{ > > unwireAudioFilters(); > > QPtrList<PostFilter> activeList; > > if (m_audioFilterList.count() && m_audioFiltersEnabled) > activeList = m_audioFilterList; > > if ( !dvbHaveVideo ) > { > if (!m_visualPlugin) > { > debugOut(QString("Init visual plugin: %1").arg(m_visualPluginName)); > m_visualPlugin = new PostFilter(m_visualPluginName, m_xineEngine, m_audioDriver, m_videoDriver, __null); > } > > activeList.insert (0, m_visualPlugin); > } > else > { > if (m_visualPlugin) > { > debugOut(QString("Dispose visual plugin: %1").arg(m_visualPluginName)); > delete m_visualPlugin; > m_visualPlugin = __null; > } > } > > if (activeList.count()) > { > xine_post_wire_audio_port(activeList.at(activeList.count()-1)->getOutput(), m_audioDriver); > > for (uint i = activeList.count()-1; i >0; i--) > { > xine_post_wire(activeList.at(i-1)->getOutput(), activeList.at(i)->getInput()); > } > > xine_post_wire( xine_get_audio_source(m_xineStream), activeList.at(0)->getInput()); > } > > > if (!xine_play(m_xineStream, 0,0)) > { > sendXineError(); > return false; > } > > m_currentSpeed = Normal; > m_trackHasChapters = false; > m_trackArtist = QString::null; > m_trackAlbum = QString::null; > m_trackNumber = QString::null; > m_trackYear = QString::null; > m_trackComment = QString::null; > > m_trackIsSeekable = false; > > if ( !dvbHaveVideo ) m_trackHasVideo = false; > else m_trackHasVideo = (bool)xine_get_stream_info(m_xineStream, 18); > if (m_trackHasVideo) > { > m_trackVideoCodec = xine_get_meta_info(m_xineStream, 6); > m_videoFrameWidth = xine_get_stream_info(m_xineStream, 2); > m_videoFrameHeight = xine_get_stream_info(m_xineStream, 3); > m_trackVideoBitrate = xine_get_stream_info(m_xineStream, 7); > } > else > { > m_trackVideoCodec = QString::null; > m_videoFrameWidth = 0; > m_videoFrameHeight = 0; > m_trackVideoBitrate = 0; > } > > m_trackHasAudio = (bool)xine_get_stream_info(m_xineStream, 19); > if (m_trackHasAudio) > { > m_trackAudioCodec = xine_get_meta_info(m_xineStream, 7); > m_trackAudioBitrate = xine_get_stream_info(m_xineStream, 14); > } > else > { > m_trackAudioCodec = QString::null; > m_trackAudioBitrate = 0; > } > > m_trackLength = getLengthInfo(); > > slotSetAudioChannel(0); > m_posTimer.start(1000); > > signalXinePlaying(); > signalXineStatus(i18n("Playing")); > > return true; >} > >unsigned int KXineWidget::rgb2yuv( unsigned int R, unsigned int G, unsigned int B ) >{ > return ((((((66*R+129*G+25*B+128)>>8)+16)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((-38*R-74*G+112*B+128)>>8)+128)); >} > >void KXineWidget::initDvbPalette() >{ > if ( dvbColor[0] ) return; > > memset( dvbColor, 0, sizeof(dvbColor) ); > memset( dvbTrans, 0, sizeof(dvbTrans) ); > dvbColor[0]=1; > > unsigned int blueText[11] = { > rgb2yuv(0,0,0), > rgb2yuv(0,0,0), > rgb2yuv(10,50,40), > rgb2yuv(30,100,85), > rgb2yuv(50,150,130), > rgb2yuv(70,200,175), > rgb2yuv(90,255,220), > rgb2yuv(90,255,220), > rgb2yuv(90,255,220), > rgb2yuv(90,255,220), > rgb2yuv(90,255,220), > }; > unsigned int whiteText[11] = { > rgb2yuv(0,0,0), > rgb2yuv(0,0,0), > rgb2yuv(50,50,50), > rgb2yuv(100,100,100), > rgb2yuv(150,150,150), > rgb2yuv(200,200,200), > rgb2yuv(255,255,255), > rgb2yuv(255,255,255), > rgb2yuv(255,255,255), > rgb2yuv(255,255,255), > rgb2yuv(255,255,255), > }; > unsigned int greenText[11] = { > rgb2yuv(0,0,0), > rgb2yuv(0,0,0), > rgb2yuv(30,50,30), > rgb2yuv(60,100,30), > rgb2yuv(90,150,90), > rgb2yuv(120,200,120), > rgb2yuv(150,255,150), > rgb2yuv(150,255,150), > rgb2yuv(150,255,150), > rgb2yuv(150,255,150), > rgb2yuv(150,255,150), > }; > unsigned char textAlpha[11] = { 0, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, }; > > > > int a; > for ( a=111; a<111 +11; a++ ) > { > dvbColor[a]=blueText[a-111]; > dvbTrans[a]=textAlpha[a-111]; > } > for ( a=122; a<122 +11; a++ ) > { > dvbColor[a]=greenText[a-122]; > dvbTrans[a]=textAlpha[a-122]; > } > for ( a=100; a<100 +11; a++ ) > { > dvbColor[a]=whiteText[a-100]; > dvbTrans[a]=textAlpha[a-100]; > } > > dvbColor[200] = rgb2yuv(255,0,0); dvbTrans[200] = 15; > > dvbColor[201] = rgb2yuv(0,255,0); dvbTrans[201] = 15; > > dvbColor[202] = rgb2yuv(255,128,255); dvbTrans[202] = 15; > > dvbColor[203] = rgb2yuv(255,128,0); dvbTrans[203] = 8; >} > >void getOSDLine( xine_osd_t *osd, int w, QCString &dest, QCString &source ) >{ > int prevPos, pos, tw, th; > bool wrap=false; > > pos = source.find(" "); > if ( pos==-1 ) { > dest = source; > source = ""; > return; > } > prevPos = pos; > dest = source.left( pos ); > while ( !wrap ) { > xine_osd_get_text_size( osd, dest, &tw, &th ); > if ( tw>w ) { > wrap = true; > break; > } > if ( pos==-1 ) > break; > prevPos = pos; > pos = source.find(" ",pos+1); > dest = source.left( pos ); > } > if ( wrap ) { > dest = source.left( prevPos ); > source = source.right( source.length()-dest.length()-1 ); > } > else { > dest = source; > source = ""; > } >} > >void KXineWidget::dvbShowOSD() >{ > if ( m_trackURL!="DVB" ) > return; > > if ( xine_get_status(m_xineStream)!=2 ) > return; > > if ( !dvbHaveVideo ) > m_trackHasVideo = false; > else > m_trackHasVideo = (bool)xine_get_stream_info(m_xineStream, 18); > > if (m_trackHasVideo) { > m_trackVideoCodec = xine_get_meta_info(m_xineStream, 6); > m_videoFrameWidth = xine_get_stream_info(m_xineStream, 2); > m_videoFrameHeight = xine_get_stream_info(m_xineStream, 3); > m_trackVideoBitrate = xine_get_stream_info(m_xineStream, 7); > } > else { > m_trackVideoCodec = QString::null; > m_videoFrameWidth = 0; > m_videoFrameHeight = 0; > m_trackVideoBitrate = 0; > } > > m_trackHasAudio = (bool)xine_get_stream_info(m_xineStream, 19); > if (m_trackHasAudio) { > m_trackAudioCodec = xine_get_meta_info(m_xineStream, 7); > m_trackAudioBitrate = xine_get_stream_info(m_xineStream, 14); > } > else { > m_trackAudioCodec = QString::null; > m_trackAudioBitrate = 0; > } > > if ( dvbOSD ) { > xine_osd_free( dvbOSD ); > dvbOSD = 0; > } > > int border=40; > int w = m_videoFrameWidth; > int h = m_videoFrameHeight; > if ( !w || !h ) > return; > if ( w<800 ) { > if ( dvbCurrentNext[0]=="E" ) { > dvbOSDHideTimer.stop(); > dvbOSD = xine_osd_new( m_xineStream, border, border, w-(2*border), h-(2/border) ); > } > else > dvbOSD = xine_osd_new( m_xineStream, border, h-border-100, w-(2*border), 100 ); > } > if ( dvbOSD ) { > QCString ct, cs; > if ( !dvbColor[0] ) initDvbPalette(); > xine_osd_set_palette( dvbOSD, dvbColor, dvbTrans ); > xine_osd_set_font( dvbOSD, m_osdFont, 16 ); > xine_osd_set_encoding( dvbOSD, "utf-8" ); > if ( dvbCurrentNext[0]=="E" ) > xine_osd_draw_rect( dvbOSD, 0, 0, w-(2*border), h-(2*border), 100 +1, 1 ); > else > xine_osd_draw_rect( dvbOSD, 0, 0, w-(2*border), 100, 100 +1, 1 ); > QString t = QTime::currentTime().toString( "hh:mm" ); > int tw, th, len; > xine_osd_get_text_size(dvbOSD, t.utf8(), &tw, &th); > len = tw; > int offset = 5; > xine_osd_draw_text( dvbOSD, w-(2*border)-tw-offset, 5, t.utf8(), 111 ); > int i; > for ( i=0; i<(int)dvbCurrentNext.count(); i++ ) { > if ( dvbCurrentNext[i]=="R" ) { > xine_osd_draw_rect( dvbOSD, offset, 5, offset+16, 21, 200, 1 ); > offset+=21; > } > else if ( dvbCurrentNext[i]=="T" ) { > xine_osd_draw_rect( dvbOSD, offset, 5, offset+16, 21, 201, 1 ); > offset+=21; > } > } > if (m_dvbChannelName == "") > t = m_trackTitle; > else > t = m_dvbChannelName; > > i=0; > ct = t.utf8(); > while ( i<(int)t.length() ) { > xine_osd_get_text_size( dvbOSD, ct, &tw, &th ); > if ( tw<=(w-(2*border)-offset-5-len) ) break; > ct = ct.remove( ct.length()-1, ct.length() ); > i++; > } > xine_osd_draw_text( dvbOSD, offset, 5, ct, 111 ); > xine_osd_draw_line( dvbOSD, 5, 10+18, w-(2*border)-5, 10+18, 202 ); > > QString s, c; > int y=43; > int pos; > if ( dvbCurrentNext[0]=="E" ) { > if ( dvbCurrentNext.count()<2 ) { > xine_osd_show( dvbOSD, 0 ); > return; > } > if ( !dvbCurrentNext[1].isEmpty() ) { > s = dvbCurrentNext[1]; > pos = s.find("-"); > c = s.left( pos+1 ); > s = s.right( s.length()-pos-1 ); > t = s; > xine_osd_draw_text( dvbOSD, 10, y, c.utf8(), 122 ); > xine_osd_get_text_size( dvbOSD, c.utf8(), &offset, &th ); > i=0; > cs = s.utf8(); > while ( i<(int)t.length() ) { > ct = cs.remove( cs.length()-i, cs.length() ); > xine_osd_get_text_size( dvbOSD, ct, &tw, &th ); > if ( tw<=(w-(2*border)-20-offset) ) break; > i++; > } > xine_osd_draw_text( dvbOSD, 10+offset, y, ct, 100 ); > y+= 40; > } > if ( !dvbCurrentNext[2].isEmpty() ) { > cs = dvbCurrentNext[2].utf8(); > while ( y<(h-(2*border)-23) ) { > getOSDLine( dvbOSD, (w-(2*border)-20), ct, cs ); > xine_osd_draw_text( dvbOSD, 10, y, ct, 111 ); > y+= 28; > if ( !cs.length() ) > break; > } > y+= 40; > } > if ( !dvbCurrentNext[3].isEmpty() ) { > cs = dvbCurrentNext[3].utf8(); > while ( y<(h-(2*border)-23) ) { > getOSDLine( dvbOSD, (w-(2*border)-20), ct, cs ); > xine_osd_draw_text( dvbOSD, 10, y, ct, 100 ); > y+= 28; > if ( !cs.length() ) > break; > } > } > xine_osd_show( dvbOSD, 0 ); > return; > } > int bar=-1; > int barOffset=0; > for ( int j=0; j<(int)dvbCurrentNext.count(); j++ ) { > if ( (dvbCurrentNext[ j ]=="T") || (dvbCurrentNext[ j ]=="R") ) continue; > if ( dvbCurrentNext[ j ].startsWith("BAR") ) { > s = dvbCurrentNext[ j ]; > s = s.remove("BAR"); > bar = s.toInt(); > > continue; > } > s = dvbCurrentNext[ j ]; > pos = s.find("-"); > c = s.left( pos+1 ); > s = s.right( s.length()-pos-1 ); > ct = cs = s.utf8(); > xine_osd_draw_text( dvbOSD, 10, y, c.utf8(), 122 ); > xine_osd_get_text_size( dvbOSD, c.utf8(), &offset, &th ); > i=0; > while ( i<(int)t.length() ) { > ct = cs.remove( cs.length()-i, cs.length() ); > xine_osd_get_text_size( dvbOSD, ct, &tw, &th ); > if ( tw<=(w-(2*border)-20-offset-35) ) break; > i++; > } > if ( !barOffset ) > barOffset = tw; > xine_osd_draw_text( dvbOSD, 10+offset, y, ct, 100 ); > y+= 28; > if ( bar>-1 ) { > int x1=10+offset+barOffset+10; > int x2=w-(2*border)-5; > if ( (x1+30)>x2 ) > x1 = x2 - 30; > int x3=x1+((bar*(x2-x1))/100); > > int y1=46; > int y2=60; > xine_osd_draw_line( dvbOSD, x1, y1, x2, y1, 203 ); > xine_osd_draw_line( dvbOSD, x1, y2, x2, y2, 203 ); > xine_osd_draw_line( dvbOSD, x1, y1, x1, y2, 203 ); > xine_osd_draw_line( dvbOSD, x2, y1, x2, y2, 203 ); > xine_osd_draw_rect( dvbOSD, x1, y1, x3, y2, 203, 1 ); > } > } > xine_osd_show( dvbOSD, 0 ); > dvbOSDHideTimer.start( 5000, true ); > } >} > >void KXineWidget::dvbHideOSD() >{ > if ( dvbOSD ) { > xine_osd_hide( dvbOSD, 0 ); > xine_osd_free( dvbOSD ); > dvbOSD = 0; > > if (m_dvbChannelName != "") > m_dvbChannelName = ""; > > signalDvbOSDHidden(); > } >} > >void KXineWidget::setDvbCurrentNext( const QString &channelName, const QStringList &list ) >{ > if ( list[0]=="STOP" ) { > dvbHideOSD(); > return; > } > dvbCurrentNext = list; > > m_dvbChannelName = channelName; > > QTimer::singleShot( 0, this, "1""dvbShowOSD()" ); >} > >void KXineWidget::setDvb( const QString &pipeName, const QString &chanName, int haveVideo ) >{ > m_trackURL = pipeName; > m_trackTitle = chanName; > dvbHaveVideo = haveVideo; >} > >bool KXineWidget::openDvb() >{ > if ( dvbOSD ) { > dvbOSDHideTimer.stop(); > xine_osd_hide( dvbOSD, 0 ); > xine_osd_free( dvbOSD ); > dvbOSD = 0; > } > > clearQueue(); > m_lengthInfoTimer.stop(); > m_posTimer.stop(); > xine_set_param( m_xineStream, 17, 180000); > if (!xine_open(m_xineStream, QFile::encodeName(m_trackURL))) { > sendXineError(); > return false; > } > else fprintf(stderr,"xine pipe opened %s\n", m_trackURL.ascii()); > m_trackURL = "DVB"; > signalXineStatus(i18n("DVB: opening...")); > QTimer::singleShot( 0, this, "1""playDvb()" ); > > return true; >} > >void KXineWidget::slotPlayTimeShift() >{ > m_lengthInfoTimer.stop(); > m_posTimer.stop(); > xine_set_param( m_xineStream, 17, 0); > if (!xine_open(m_xineStream, QFile::encodeName(TimeShiftFilename))) { > sendXineError(); > > if ( xine_check_version(1,1,1) ) > xine_set_param( m_xineStream, 32, 0); > > return; > } > if (!xine_play(m_xineStream, 0,0)) { > sendXineError(); > return; > } > m_trackIsSeekable = true; > m_lengthInfoTimer.start(1000); > m_posTimer.start(1000); >} > >void KXineWidget::slotPlay() >{ > if ((!isXineReady()) || (isQueueEmpty())) > return; > > if (m_logoFile != __null && m_trackURL == m_logoFile && isPlaying()) > return; > > > if ( dvbOSD ) { > dvbOSDHideTimer.stop(); > xine_osd_hide( dvbOSD, 0 ); > xine_osd_free( dvbOSD ); > dvbOSD = 0; > } > > m_lengthInfoTimer.stop(); > m_posTimer.stop(); > m_currentSpeed = Normal; > > setCursor(QCursor(Qt::WaitCursor)); > > m_trackURL = m_queue.first(); > m_queue.remove(m_queue.find(m_trackURL)); > > if (m_trackURL != m_logoFile) > signalXineStatus(i18n("Opening...")); > > > m_trackSubtitleURL = QString::null; > m_trackSaveURL = QString::null; > > QString ref; > > for (int i = 1; i <= m_trackURL.contains('#'); i++) { > ref = m_trackURL.section('#', i, i); > if (ref.section(':', 0, 0) == "subtitle") > m_trackSubtitleURL = ref.section(':', 1); > if (ref.section(':', 0, 0) == "save") > m_trackSaveURL = ref.section(':', 1); > } > > debugOut(QString("Playing: %1").arg(m_trackURL.local8Bit())); > > xine_set_param( m_xineStream, 17, 12000 ); > if (!xine_open(m_xineStream, QFile::encodeName(m_trackURL))) { > > sendXineError(); > setCursor(QCursor(Qt::ArrowCursor)); > > if ( xine_check_version(1,1,1) ) > xine_set_param( m_xineStream, 32, 0); > > return; > } > > > > unwireAudioFilters(); > wireAudioFilters(); ># 1936 "kxinewidget.cpp" > int savedPos = m_savedPos; > m_savedPos = 0; > if (!xine_play(m_xineStream, savedPos, 0)) > { > sendXineError(); > setCursor(QCursor(Qt::ArrowCursor)); > return; > } > > > m_trackHasChapters = (bool)xine_get_stream_info(m_xineStream, 17); > > > > m_trackTitle = QString::null; > > bool currentUtf8Locale; > QTextCodec* testUtf8Local = QTextCodec::codecForLocale(); > if (!strcmp(testUtf8Local->name(),"UTF-8")) > currentUtf8Locale = true; > else > currentUtf8Locale = false; > > QTextCodec *CodecUtf8; > CodecUtf8 = QTextCodec::codecForName("UTF-8"); > > QString infotag; > infotag = QString::fromLatin1(xine_get_meta_info(m_xineStream, 0)); > > if (currentUtf8Locale) > m_trackTitle = infotag; > else > m_trackTitle = QString::fromLocal8Bit(infotag.ascii()); > > if (CodecUtf8->heuristicContentMatch(infotag.ascii(), infotag.length()) >= 0) > m_trackTitle = QString::fromUtf8(infotag.ascii()); > > if ((!m_trackTitle.isNull()) && (!m_trackTitle.isEmpty())) > { > QString trackArtist=__null; > QString trackAlbum=__null; > QString trackComment=__null; > trackArtist = QString::fromLatin1(xine_get_meta_info(m_xineStream, 2)); > trackAlbum = QString::fromLatin1(xine_get_meta_info(m_xineStream, 4)); > trackComment = QString::fromLatin1(xine_get_meta_info(m_xineStream, 1)); > if (currentUtf8Locale) > { > m_trackArtist = trackArtist; > m_trackAlbum = trackAlbum; > m_trackComment = trackComment; > } > else > { > m_trackArtist = QString::fromLocal8Bit(trackArtist.ascii()); > m_trackAlbum = QString::fromLocal8Bit(trackAlbum.ascii()); > m_trackComment = QString::fromLocal8Bit(trackComment.ascii()); > } > if (CodecUtf8->heuristicContentMatch(trackArtist.ascii(), trackArtist.length()) >= 0) > m_trackArtist = QString::fromUtf8(trackArtist.ascii()); > if (CodecUtf8->heuristicContentMatch(trackAlbum.ascii(), trackAlbum.length()) >= 0) > m_trackAlbum = QString::fromUtf8(trackAlbum.ascii()); > if (CodecUtf8->heuristicContentMatch(trackComment.ascii(), trackComment.length()) >= 0) > m_trackComment = QString::fromUtf8(trackComment.ascii()); > > m_trackYear = xine_get_meta_info(m_xineStream, 5); > m_trackNumber = xine_get_meta_info(m_xineStream, 11); > } > else > { > m_trackArtist = QString::null; > m_trackAlbum = QString::null; > m_trackNumber = QString::null; > m_trackYear = QString::null; > m_trackComment = QString::null; > } > > m_trackHasVideo = (bool)xine_get_stream_info(m_xineStream, 18); > if (m_trackHasVideo) > { > m_trackVideoCodec = xine_get_meta_info(m_xineStream, 6); > m_videoFrameWidth = xine_get_stream_info(m_xineStream, 2); > m_videoFrameHeight = xine_get_stream_info(m_xineStream, 3); > m_trackVideoBitrate = xine_get_stream_info(m_xineStream, 7); > } > else > { > m_trackVideoCodec = QString::null; > m_videoFrameWidth = 0; > m_videoFrameHeight = 0; > m_trackVideoBitrate = 0; > } > > m_trackHasAudio = (bool)xine_get_stream_info(m_xineStream, 19); > if (m_trackHasAudio) > { > m_trackAudioCodec = xine_get_meta_info(m_xineStream, 7); > m_trackAudioBitrate = xine_get_stream_info(m_xineStream, 14); > } > else > { > m_trackAudioCodec = QString::null; > m_trackAudioBitrate = 0; > } > > > QTimer::singleShot(1000, this, "1""slotGetInfoDelayed()"); > > > m_trackLength = getLengthInfo(); > if ((m_trackLength.isNull()) && (m_trackURL != m_logoFile)) > { > debugOut("Wait for valid length information"); > m_lengthInfoTries = 0; > m_lengthInfoTimer.start(1000); > } > > if (m_trackTitle.isNull() || m_trackTitle.isEmpty()) > { > > m_trackTitle = m_trackURL; > } > > slotSetAudioChannel(0); > if (m_trackURL != m_logoFile) > m_posTimer.start(500); > setCursor(QCursor(Qt::ArrowCursor)); > > if (m_trackURL != m_logoFile) > { > signalXinePlaying(); > if (hasSaveURL()) > signalXineStatus(i18n("Recording")); > else > signalXineStatus(i18n("Playing")); > } >} > >int KXineWidget::getVideoWidth() >{ > return xine_get_stream_info(m_xineStream, 2); >} > >int KXineWidget::getVideoHeight() >{ > return xine_get_stream_info(m_xineStream, 3); >} > >void KXineWidget::slotGetInfoDelayed() >{ > if (!m_xineStream) > return; > > if (m_trackHasVideo) > m_trackVideoCodec = xine_get_meta_info(m_xineStream, 6); > if (m_trackHasAudio) > m_trackAudioCodec = xine_get_meta_info(m_xineStream, 7); >} > > > > >void KXineWidget::sendXineError() >{ > QString error; > int errCode = xine_get_error(m_xineStream); > > QString addInfo; > QString audioCodec = xine_get_meta_info(m_xineStream, 7); > QString videoCodec = xine_get_meta_info(m_xineStream, 6); > if ((!audioCodec.isEmpty()) || (!videoCodec.isEmpty())) > { > if (!audioCodec.isEmpty()) > addInfo.append(QString("(") + i18n("Audio Codec") + ": " + audioCodec + ")"); > if (!videoCodec.isEmpty()) > addInfo.append(QString("(") + i18n("Video Codec") + ": " + videoCodec + ")"); > } > else > addInfo.append(QString("(") + m_trackURL + ")"); > > switch (errCode) > { > case 1: > case 2: > { > error = i18n("No plugin found to handle this resource") + " " + addInfo; > break; > } > case 3: > { > error = i18n("Resource seems to be broken") + " (" + m_trackURL + ")"; > break; > } > case 4: > { > error = i18n("Requested resource does not exist") + " (" + m_trackURL + ")"; > break; > } > case 5: > { > error = i18n("Resource can not be opened") + " (" + m_trackURL + ")"; > break; > } > default: > { > error = i18n("Generic error") + " (" + m_trackURL + ")"; > break; > } > } > > if (isQueueEmpty()) > { > if (m_trackURL != m_logoFile) > { > signalXineStatus(i18n("Error")); > signalXineError(error); > } > else > errorOut("Can't find/play logo file!"); > } > else > { > errorOut(error); > errorOut(QString("Can't play: %1 - trying next").arg(m_trackURL)); > QTimer::singleShot(0, this, "1""slotPlay()"); > } >} > >bool KXineWidget::isPlaying() const >{ > if (isXineReady()) > return ((xine_get_status(m_xineStream) == 2) && (m_trackURL != m_logoFile)); > else > return false; >} > >QString KXineWidget::getXineLog() const >{ > QString logStr; > int i = 0; > QTextStream ts(&logStr, 0x0002); > > const char* const* log = xine_get_log(m_xineEngine, 0); > while(log[i]) > { > ts << QString::fromLocal8Bit(log[i]); > i++; > } > > return logStr; >} > >void KXineWidget::showOSDMessage(const QString& message, uint duration, int priority) >{ > if ((!m_osd) || (!m_osdShow) || (isHidden())) > return; > > static int prevOsdPriority = 0; > if (m_osdTimer.isActive() && prevOsdPriority > priority) > return; > prevOsdPriority = priority; > > > xine_osd_clear(m_osd); > xine_osd_draw_text(m_osd, 0, 0, message.local8Bit(), (0 * 11)); > > if (m_osdUnscaled) > xine_osd_show_unscaled(m_osd, 0); > else > xine_osd_show(m_osd, 0); > > m_osdTimer.start(duration); >} > >void KXineWidget::slotOSDHide() >{ > xine_osd_hide(m_osd, 0); > m_osdTimer.stop(); >} > > > > >QStringList KXineWidget::getVideoFilterNames() const >{ > QStringList filters; > const char* const* plugins = xine_list_post_plugins_typed(m_xineEngine, 0x010000); > > for (int i = 0; plugins[i]; i++) > { > filters << plugins[i]; > } > return filters; >} > >QStringList KXineWidget::getAudioFilterNames() const >{ > QStringList filters; > const char* const* plugins = xine_list_post_plugins_typed(m_xineEngine, 0x020000); > > for (int i = 0; plugins[i]; i++) > { > filters << plugins[i]; > } > return filters; >} > > >void KXineWidget::slotCreateVideoFilter(const QString& name, QWidget* parent) >{ > > unwireVideoFilters(); > > PostFilter* filter = new PostFilter(name, m_xineEngine, m_audioDriver, m_videoDriver, parent); > connect(filter, "2""signalDeleteMe(PostFilter*)", this, "1""slotDeleteVideoFilter(PostFilter*)"); > m_videoFilterList.append(filter); > > wireVideoFilters(); > > > > >} > >void KXineWidget::slotCreateAudioFilter(const QString& name, QWidget* parent) >{ > > unwireAudioFilters(); > > PostFilter* filter = new PostFilter(name, m_xineEngine, m_audioDriver, m_videoDriver, parent); > connect(filter, "2""signalDeleteMe(PostFilter*)", this, "1""slotDeleteAudioFilter(PostFilter*)"); > m_audioFilterList.append(filter); > > wireAudioFilters(); > > > > >} > > >void KXineWidget::slotRemoveAllVideoFilters() >{ > > unwireVideoFilters(); > while (m_videoFilterList.count()) > m_videoFilterList.removeLast(); > wireVideoFilters(); > > > >} > >void KXineWidget::slotRemoveAllAudioFilters() >{ > > unwireAudioFilters(); > while (m_audioFilterList.count()) > m_audioFilterList.removeLast(); > wireAudioFilters(); > > > >} > >void KXineWidget::slotDeleteVideoFilter(PostFilter* filter) >{ > > unwireVideoFilters(); > m_videoFilterList.remove(filter); > wireVideoFilters(); > > > > >} > >void KXineWidget::slotDeleteAudioFilter(PostFilter* filter) >{ > > unwireAudioFilters(); > m_audioFilterList.remove(filter); > wireAudioFilters(); > > > > >} > > >void KXineWidget::unwireVideoFilters() >{ > if (m_xineStream && m_videoDriver) > xine_post_wire_video_port(xine_get_video_source(m_xineStream), m_videoDriver); >} > >void KXineWidget::wireVideoFilters() >{ > if (!m_xineStream) > { > debugOut("wireVideoFilters() - xine stream not initialized, nothing happend."); > return; > } > > QPtrList<PostFilter> activeList; > > if (m_videoFilterList.count() && m_videoFiltersEnabled) > activeList = m_videoFilterList; > > if (m_deinterlaceFilter && m_deinterlaceEnabled ) > activeList.insert (0, m_deinterlaceFilter); > > if (activeList.count()) > { > xine_post_wire_video_port(activeList.at(activeList.count()-1)->getOutput(), m_videoDriver); > > for (uint i = activeList.count()-1; i >0; i--) > { > xine_post_wire(activeList.at( i-1 )->getOutput(), activeList.at(i)->getInput()); > } > > xine_post_wire( xine_get_video_source(m_xineStream), activeList.at(0)->getInput()); > } >} > >void KXineWidget::unwireAudioFilters() >{ > if (m_xineStream && m_audioDriver) > xine_post_wire_audio_port( xine_get_audio_source (m_xineStream), m_audioDriver); >} > >void KXineWidget::wireAudioFilters() >{ > if (!m_xineStream) > { > debugOut("wireAudioFilters() - xine stream not initialized, nothing happend."); > return; > } > > QPtrList<PostFilter> activeList; > > if (m_audioFilterList.count() && m_audioFiltersEnabled) > activeList = m_audioFilterList; > > if ((xine_get_stream_info (m_xineStream, 19)) && > (!xine_get_stream_info (m_xineStream, 18)) && > m_visualPluginName.ascii()) > { > if (!m_visualPlugin) > { > debugOut(QString("Init visual plugin: %1").arg(m_visualPluginName)); > m_visualPlugin = new PostFilter(m_visualPluginName, m_xineEngine, m_audioDriver, m_videoDriver, __null); > } > > activeList.insert (0, m_visualPlugin); > } > else > { > if (m_visualPlugin) > { > debugOut(QString("Dispose visual plugin: %1").arg(m_visualPluginName)); > delete m_visualPlugin; > m_visualPlugin = __null; > } > } > > if (activeList.count()) > { > xine_post_wire_audio_port(activeList.at(activeList.count()-1)->getOutput(), m_audioDriver); > > for (uint i = activeList.count()-1; i >0; i--) > { > xine_post_wire(activeList.at(i-1)->getOutput(), activeList.at(i)->getInput()); > } > > xine_post_wire( xine_get_audio_source(m_xineStream), activeList.at(0)->getInput()); > } >} > > >void KXineWidget::slotEnableVideoFilters(bool enable) >{ > > m_videoFiltersEnabled = enable; > > unwireVideoFilters(); > wireVideoFilters(); > > > > >} > >void KXineWidget::slotEnableAudioFilters(bool enable) >{ > > m_audioFiltersEnabled = enable; > > unwireAudioFilters(); > wireAudioFilters(); > > > > >} > > >QStringList KXineWidget::getAudioFilterConfig() >{ > QStringList configStrings; > for (uint i=0; i<m_audioFilterList.count(); i++) > configStrings << m_audioFilterList.at(i)->getConfig(); > return configStrings; >} > >QStringList KXineWidget::getVideoFilterConfig() >{ > QStringList configStrings; > for (uint i=0; i<m_videoFilterList.count(); i++) > configStrings << m_videoFilterList.at(i)->getConfig(); > return configStrings; >} > > > > >QStringList KXineWidget::getVisualPlugins() const >{ > QStringList visuals; > const char* const* plugins = xine_list_post_plugins_typed(m_xineEngine, 0x020001); > > for (int i = 0; plugins[i]; i++) > { > visuals << plugins[i]; > } > return visuals; >} > > > >void KXineWidget::slotSetVisualPlugin(const QString& visual) >{ > if (m_visualPluginName == visual) return; > debugOut(QString("New visualization plugin: %1").arg(visual)); > > > unwireAudioFilters(); > if(m_visualPlugin) > { > delete m_visualPlugin; > m_visualPlugin = __null; > } > > if (visual == "none") > m_visualPluginName = QString::null; > else > m_visualPluginName = visual; > > wireAudioFilters(); ># 2519 "kxinewidget.cpp" >} > > > >void KXineWidget::getAutoplayPlugins(QStringList& autoPlayList) const >{ > char** pluginIds = __null; > int i = 0; > > pluginIds = (char**)xine_get_autoplay_input_plugin_ids(m_xineEngine); > > while(pluginIds[i]) > { > autoPlayList << pluginIds[i]; > > autoPlayList << xine_get_input_plugin_description(m_xineEngine, pluginIds[i]); > i++; > } >} > >bool KXineWidget::getAutoplayPluginURLS(const QString& plugin, QStringList& list) >{ > char** urls = __null; > int num; > int i = 0; > > urls = xine_get_autoplay_mrls(m_xineEngine, plugin.ascii(), &num); > > if (urls) > { > while (urls[i]) > { > list << urls[i]; > i++; > } > return true; > } > else > { > return false; > } >} > >void KXineWidget::slotSetVolume(int vol) >{ > if (!isXineReady()) return; > if (m_softwareMixer) > { > > if (m_volumeGain) > xine_set_param(m_xineStream, 9, vol*2); > else > xine_set_param(m_xineStream, 9, vol); > } > else > { > > xine_set_param(m_xineStream, 6, vol); > } > signalXineStatus(i18n("Volume") + ": " + QString::number(vol) +"%"); >} > >uint KXineWidget::getVolume() const >{ > if (!isXineReady()) return 0; > uint vol; > if (m_softwareMixer) > { > vol = xine_get_param(m_xineStream, 9); > if (vol > 200) > { > > errorOut("Amp level returned weird results, set Amp to 100"); > vol = 100; > } > if (m_volumeGain) vol = vol/2; > } > else > { > vol = xine_get_param(m_xineStream, 6); > } > return vol; >} > >void KXineWidget::slotToggleMute() >{ > int muteParam; > if (m_softwareMixer) > muteParam = 29; > else > muteParam = 7; > > if (xine_get_param(m_xineStream, muteParam)) > { > xine_set_param(m_xineStream, muteParam, 0); > signalXineStatus(i18n("Mute Off")); > } > else > { > xine_set_param(m_xineStream, muteParam, 1); > signalXineStatus(i18n("Mute On")); > } >} > >bool KXineWidget::SoftwareMixing() const >{ > if (m_softwareMixer) > return true; > else > return false; >} > >void KXineWidget::mouseMoveEvent(QMouseEvent* mev) >{ > if (!m_xineReady) return; > > if (cursor().shape() == Qt::BlankCursor) > { > setCursor(QCursor(Qt::ArrowCursor)); > } > > x11_rectangle_t rect; > xine_event_t event; > xine_input_data_t input; > > rect.x = mev->x(); > rect.y = mev->y(); > rect.w = 0; > rect.h = 0; > > xine_port_send_gui_data (m_videoDriver, 4, (void*)&rect); > > event.type = 102; > event.data = &input; > event.data_length = sizeof(input); > input.button = 0; > input.x = rect.x; > input.y = rect.y; > xine_event_send(m_xineStream, &event); > mev->ignore(); >} > > >void KXineWidget::mousePressEvent(QMouseEvent* mev) >{ > if (!m_xineReady) return; > int cur = cursor().shape(); > > if (mev->button() == Qt::MidButton) > { > signalMiddleClick(); > mev->ignore(); > return; > } > > if (mev->button() == Qt::RightButton) > { > if ( (cur == Qt::ArrowCursor) || (cur == Qt::BlankCursor) ) > { > signalRightClick(mev->globalPos()); > mev->accept(); > return; > } > } > > if (mev->button() == Qt::LeftButton) > { > if ( (cur == Qt::ArrowCursor) || (cur == Qt::BlankCursor) ) > { > signalLeftClick(mev->globalPos()); > mev->ignore(); > return; > } > > x11_rectangle_t rect; > xine_event_t event; > xine_input_data_t input; > > rect.x = mev->x(); > rect.y = mev->y(); > rect.w = 0; > rect.h = 0; > > xine_port_send_gui_data(m_videoDriver, 4, (void*)&rect); > > event.type = 101; > event.data = &input; > event.data_length = sizeof(input); > input.button = 1; > input.x = rect.x; > input.y = rect.y; > xine_event_send (m_xineStream, &event); > mev->accept(); > } >} > >void KXineWidget::mouseDoubleClickEvent(QMouseEvent* mev) >{ > signalDoubleClick(); > mev->ignore(); >} > >void KXineWidget::wheelEvent(QWheelEvent* e) >{ > int oldVal = getPosition(); > if (oldVal == 0) > return; > > float offset = log10( ((e->delta()) >= 0 ? (e->delta()) : -(e->delta())) ) / 0.002; > int newVal = 0; > if (e->delta()>0) > newVal = oldVal - int(offset); > else > newVal = oldVal + int(offset); > if (newVal < 0) newVal = 0; > slotSeekToPosition(newVal); > e->accept(); >} > >void KXineWidget::playNextChapter() const >{ > xine_event_t xev; > > xev.type = 115; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::playPreviousChapter() const >{ > xine_event_t xev; > > xev.type = 116; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotStop() >{ > m_posTimer.stop(); > if ( m_lengthInfoTimer.isActive() ) m_lengthInfoTimer.stop(); > > > if ((m_logoFile.isNull()) && (isPlaying())) > xine_stop(m_xineStream); > else > { > appendToQueue(m_logoFile); > QTimer::singleShot(0, this, "1""slotPlay()"); > } > > signalXineStatus(i18n("Stop")); >} > >void KXineWidget::slotSetAudiocdDevice(const QString& device) >{ > debugOut(QString("Set AudioCD device to %1").arg(device)); > > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.cdda_device", &config); > if (m_cachedCDPath.isNull()) > m_cachedCDPath = config.str_value; > config.str_value = QFile::encodeName(device).data(); > xine_config_update_entry (m_xineEngine, &config); >} > >void KXineWidget::slotSetVcdDevice(const QString& device) >{ > debugOut(QString("Set VCD device to %1").arg(device)); > > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.vcd_device", &config); > if (m_cachedVCDPath.isNull()) > m_cachedVCDPath = config.str_value; > config.str_value = QFile::encodeName(device).data(); > xine_config_update_entry (m_xineEngine, &config); >} > >void KXineWidget::slotSetDvdDevice(const QString& device) >{ > debugOut(QString("Set DVD device to %1").arg(device)); > > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.dvd_device", &config); > if (m_cachedDVDPath.isNull()) > m_cachedDVDPath = config.str_value; > config.str_value = QFile::encodeName(device).data(); > xine_config_update_entry (m_xineEngine, &config); >} > >QString KXineWidget::audiocdDevice() const >{ > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.cdda_device", &config); > > return QFile::decodeName(config.str_value); >} > >QString KXineWidget::vcdDevice() const >{ > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.vcd_device", &config); > > return QFile::decodeName(config.str_value); >} > >QString KXineWidget::dvdDevice() const >{ > xine_cfg_entry_t config; > xine_config_lookup_entry(m_xineEngine, "input.dvd_device", &config); > > return QFile::decodeName(config.str_value); >} > >uint KXineWidget::currentDVDTitleNumber() const >{ > return xine_get_stream_info(m_xineStream, 30); >} > >uint KXineWidget::getDVDTitleCount() const >{ > return xine_get_stream_info(m_xineStream, 31); >} > >uint KXineWidget::currentDVDChapterNumber() const >{ > return xine_get_stream_info(m_xineStream, 32); >} > >uint KXineWidget::getDVDChapterCount() const >{ > return xine_get_stream_info(m_xineStream, 33); >} > >uint KXineWidget::currentDVDAngleNumber() const >{ > return xine_get_stream_info(m_xineStream, 34); >} > >uint KXineWidget::getDVDAngleCount() const >{ > return xine_get_stream_info(m_xineStream, 35); >} > >void KXineWidget::setStreamSaveDir(const QString& dir) >{ > xine_cfg_entry_t config; > > if (!xine_config_lookup_entry(m_xineEngine, "misc.save_dir", &config)) return; > > debugOut(QString("Set misc.save_dir to: %1").arg(dir)); > config.str_value = QFile::encodeName(dir).data(); > xine_config_update_entry (m_xineEngine, &config); >} > >const QString KXineWidget::getStreamSaveDir() >{ > xine_cfg_entry_t config; > > if (!xine_config_lookup_entry(m_xineEngine, "misc.save_dir", &config)) return QString::null; > > return QFile::decodeName(config.str_value); >} > >void KXineWidget::setBroadcasterPort(const uint port) >{ > debugOut(QString("Set broadcaster port to %1").arg(port)); > xine_set_param(m_xineStream, 16, port); >} > >void KXineWidget::slotSpeedPause() >{ > if (m_currentSpeed == Pause) > { > slotSpeedNormal(); > } > else if (m_trackURL != m_logoFile) > { > xine_set_param(m_xineStream, 1, 0); > m_posTimer.stop(); > if (m_currentSpeed != Undefined) > signalXineStatus(i18n("Pause")); > m_currentSpeed = Pause; > } >} > >void KXineWidget::slotSpeedNormal() >{ > xine_set_param(m_xineStream, 1, 4); > m_posTimer.start(500); > m_currentSpeed = Normal; > signalXineStatus(i18n("Playing") + " "); >} > >void KXineWidget::slotSpeedFaster() >{ > switch (m_currentSpeed) > { > case Fast1: > { > xine_set_param(m_xineStream, 1, 16); > m_currentSpeed = Fast2; > signalXineStatus(i18n("Fast Forward %1").arg("x2")); > break; > } > case Fast2: > { > slotSpeedNormal(); > break; > } > case Slow1: > { > slotSpeedNormal(); > break; > } > case Slow2: > { > xine_set_param(m_xineStream, 1, 2); > m_currentSpeed = Slow1; > signalXineStatus(i18n("Slow Motion %1").arg("x1")); > break; > } > default: > { > xine_set_param(m_xineStream, 1, 8); > m_currentSpeed = Fast1; > signalXineStatus(i18n("Fast Forward %1").arg("x1")); > break; > } > } >} > >void KXineWidget::slotSpeedSlower() >{ > switch (m_currentSpeed) > { > case Slow1: > { > xine_set_param(m_xineStream, 1, 1); > m_currentSpeed = Slow2; > signalXineStatus(i18n("Slow Motion %1").arg("x2")); > break; > } > case Slow2: > { > slotSpeedNormal(); > break; > } > case Fast1: > { > slotSpeedNormal(); > break; > } > case Fast2: > { > xine_set_param(m_xineStream, 1, 8); > m_currentSpeed = Fast1; > signalXineStatus(i18n("Fast Forward %1").arg("x1")); > break; > } > default: > { > xine_set_param(m_xineStream, 1, 2); > m_currentSpeed = Slow1; > signalXineStatus(i18n("Slow Motion %1").arg("x1")); > break; > } > } >} > >QString KXineWidget::getSupportedExtensions() const >{ > return xine_get_file_extensions(m_xineEngine); >} > >void KXineWidget::slotSetAudioChannel(int ch) >{ > debugOut(QString("Switch to audio channel %1").arg(ch-1)); > xine_set_param(m_xineStream, 3, ch-1); >} > > >void KXineWidget::slotSetSubtitleChannel(int ch) >{ > debugOut(QString("Switch to subtitle channel %1").arg(ch-1)); > xine_set_param(m_xineStream, 4, ch-1); >} > > >void KXineWidget::slotSetFileSubtitles(QString url) >{ > int pos; > int time; > int length; > > m_queue.prepend(url); > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret == 0 ) > { > debugOut("No valid stream position information"); > return; > } > > if (isPlaying()) > xine_stop(m_xineStream); > m_posTimer.stop(); > > slotPlay(); > slotSeekToPosition(pos); >} > >uint KXineWidget::getPosition() const >{ > if (!m_xineReady) return 0; > > int pos, time, length; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret == 0 ) > { > debugOut("No valid stream position information"); > return 0; > } > > return (uint)pos; >} > >QTime KXineWidget::getPlaytime() const >{ > if (!m_xineReady) return QTime(); > > int pos, time, length; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret == 0 ) > { > debugOut("No valid stream position information"); > return QTime(); > } > > return msToTime(time); >} > >void KXineWidget::slotSendPosition() >{ > if (!m_xineReady) return; > > int pos, time, length; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( ret == 0 ) > { > debugOut("No valid stream position information"); > return; > } > > signalNewPosition(pos, msToTime(time)); >} > >void KXineWidget::slotStartSeeking() >{ > debugOut("Seeking started"); > m_posTimer.stop(); >} > >void KXineWidget::slotSeekToPosition(int pos) >{ > if ((!isXineReady()) || (!isPlaying()) || (!isSeekable())) return; > > bool pause = false; > if (m_currentSpeed == Pause) > pause = true; > > xine_play(m_xineStream, pos, 0); > > double length = QTime().msecsTo(getLengthInfo()); > > length = (length * pos)/65535; > QTime time = QTime().addMSecs((int)length); > signalNewPosition(pos, time); > signalXineStatus(i18n("Position") + ": " + time.toString("h:mm:ss")); > > if (pause) > { > m_currentSpeed = Undefined; > slotSpeedPause(); > } >} > >void KXineWidget::slotSeekToTime(const QTime& postime) >{ > if ((!isXineReady()) || (!isPlaying()) || (!isSeekable())) return; > > bool pause = false; > > if (m_currentSpeed == Pause) > pause = true; > > xine_play(m_xineStream, 0, QTime().msecsTo(postime)); > > double length = QTime().msecsTo(getLengthInfo()); > double posfract = QTime().msecsTo(postime); > posfract = (posfract / length) * 65535; > signalNewPosition((int)posfract, postime); > signalXineStatus(i18n("Position") + ": " + postime.toString("h:mm:ss")); > > if (pause) > { > m_currentSpeed = Undefined; > slotSpeedPause(); > } >} > >void KXineWidget::slotStopSeeking() >{ > debugOut("Seeking stopped"); > m_posTimer.start(500, false); >} > >void KXineWidget::slotEject() >{ > xine_eject(m_xineStream); >} > >void KXineWidget::slotEnableAutoresize(bool enable) >{ > m_autoresizeEnabled = enable; > if (!m_autoresizeEnabled) > { > m_videoFrameHeight = 0; > m_videoFrameWidth = 0; > } >} > > > > > > >void KXineWidget::createDeinterlacePlugin(const QString& config, QWidget* parent) >{ > m_deinterlaceFilter = new PostFilter(config.section(':',0,0), m_xineEngine, m_audioDriver, m_videoDriver, parent); > if( !m_deinterlaceFilter->getInput() || !m_deinterlaceFilter->getOutput() ) > { > delete m_deinterlaceFilter; > m_deinterlaceFilter = __null; > } > > slotSetDeinterlaceConfig(config); >} > >const QString KXineWidget::getDeinterlaceConfig() const >{ > if (m_deinterlaceFilter) > return m_deinterlaceFilter->getConfig(); > > return "tvtime:method=LinearBlend,enabled=1,pulldown=none,framerate_mode=half_top,judder_correction=0,use_progressive_frame_flag=1,chroma_filter=0,cheap_mode=1"; >} > > >void KXineWidget::slotSetDeinterlaceConfig(const QString& config) >{ > > if (m_deinterlaceFilter) > m_deinterlaceFilter->setConfig(config); > > > >} > >void KXineWidget::slotToggleDeinterlace() >{ > > QString s; > > if (m_deinterlaceFilter) > { > m_deinterlaceEnabled = !m_deinterlaceEnabled; > debugOut(QString("Deinterlace enabled: %1").arg(m_deinterlaceEnabled)); > if ( m_deinterlaceEnabled ) s = i18n("Deinterlace: on"); > else s = i18n("Deinterlace: off"); > showOSDMessage( s, 2000 ); > unwireVideoFilters(); > wireVideoFilters(); > } > else > { > > if (xine_get_param(m_xineStream, 0x01000000)) > xine_set_param(m_xineStream, 0x01000000, false); > else > xine_set_param(m_xineStream, 0x01000000, true); > } > > > >} > > > >void KXineWidget::slotAspectRatioAuto() >{ > xine_set_param(m_xineStream, 0x01000001, 0); > signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("Auto")); >} > >void KXineWidget::slotAspectRatio4_3() >{ > xine_set_param(m_xineStream, 0x01000001, 2); > signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("4:3")); >} > >void KXineWidget::slotAspectRatioAnamorphic() >{ > xine_set_param(m_xineStream, 0x01000001, 3); > signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("16:9")); >} > >void KXineWidget::slotAspectRatioSquare() >{ > xine_set_param(m_xineStream, 0x01000001, 1); > signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("1:1")); >} > >void KXineWidget::slotAspectRatioDVB() >{ > xine_set_param(m_xineStream, 0x01000001, 4); > signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("2.11:1")); >} > >void KXineWidget::slotZoomOutX() >{ > if ((m_currentZoomX - 5) >= 100) > { > m_currentZoomX -= 5; > xine_set_param(m_xineStream, 0x01000008, m_currentZoomX); > signalXineStatus(i18n("Zoom X") + ": " + QString::number(m_currentZoomX) + "%"); > } >} > >void KXineWidget::slotZoomInX() >{ > if ((m_currentZoomX + 5) <= 400) > { > m_currentZoomX += 5; > xine_set_param(m_xineStream, 0x01000008, m_currentZoomX); > signalXineStatus(i18n("Zoom X") + ": " + QString::number(m_currentZoomX) + "%"); > } >} > >void KXineWidget::slotZoomOutY() >{ > if ((m_currentZoomY - 5) >= 100) > { > m_currentZoomY -= 5; > xine_set_param(m_xineStream, 0x0100000d, m_currentZoomY); > signalXineStatus(i18n("Zoom Y") + ": " + QString::number(m_currentZoomY) + "%"); > } >} > >void KXineWidget::slotZoomInY() >{ > if ((m_currentZoomY + 5) <= 400) > { > m_currentZoomY += 5; > xine_set_param(m_xineStream, 0x0100000d, m_currentZoomY); > signalXineStatus(i18n("Zoom Y") + ": " + QString::number(m_currentZoomY) + "%"); > } >} > >void KXineWidget::slotZoomOut() >{ > if ((m_currentZoom - 5) >= 100) > { > m_currentZoom -= 5; > m_currentZoomX = m_currentZoomY = m_currentZoom; > xine_set_param(m_xineStream, 0x01000008, m_currentZoom); > xine_set_param(m_xineStream, 0x0100000d, m_currentZoom); > signalXineStatus(i18n("Zoom") + ": " + QString::number(m_currentZoom) + "%"); > } >} > >void KXineWidget::slotZoomIn() >{ > if ((m_currentZoom + 5) <= 400) > { > m_currentZoom += 5; > m_currentZoomX = m_currentZoomY = m_currentZoom; > xine_set_param(m_xineStream, 0x01000008, m_currentZoom); > xine_set_param(m_xineStream, 0x0100000d, m_currentZoom); > signalXineStatus(i18n("Zoom") + ": " + QString::number(m_currentZoom) + "%"); > } >} > >void KXineWidget::slotZoomOff() >{ > xine_set_param(m_xineStream, 0x01000008, 100); > xine_set_param(m_xineStream, 0x0100000d, 100); > m_currentZoom = 100; > m_currentZoomX = m_currentZoomY = m_currentZoom; > signalXineStatus(i18n("Zoom") + ": " + QString::number(m_currentZoom) + "%"); >} > >QTime KXineWidget::getLengthInfo() >{ > int pos, time, length; > > int t = 0, ret = 0; > while(((ret = xine_get_pos_length(m_xineStream, &pos, &time, &length)) == 0) && (++t < 5)) > xine_usec_sleep(100000); > > if ( (ret != 0) && (length > 0) ) > { > return msToTime(length); > } > > return QTime(); >} > >void KXineWidget::slotEmitLengthInfo() >{ > QTime length = getLengthInfo(); > if (!(length.isNull())) > { > if ( m_trackURL!="DVB" ) m_lengthInfoTimer.stop(); > m_trackLength = length; > signalLengthChanged(); > } > else > { > if (m_lengthInfoTries > 10) > m_lengthInfoTimer.stop(); > else > { > debugOut("Wait for valid length information"); > m_lengthInfoTries ++; > } > } >} > >void KXineWidget::globalPosChanged() >{ > QPoint g = mapToGlobal(QPoint(0,0)); > m_globalX = g.x(); > m_globalY = g.y(); >} > >const xine_t* const KXineWidget::getXineEngine()const >{ > return m_xineEngine; >} > > > >void KXineWidget::getVideoSettings(int& hue, int& sat, int& contrast, int& bright, > int& avOffset, int& spuOffset) const >{ > hue = xine_get_param(m_xineStream, 0x01000002); > sat = xine_get_param(m_xineStream, 0x01000003); > contrast = xine_get_param(m_xineStream, 0x01000004); > bright = xine_get_param(m_xineStream, 0x01000005); > avOffset = xine_get_param(m_xineStream, 2); > spuOffset = xine_get_param(m_xineStream, 12); >} > >void KXineWidget::slotSetHue(int hue) >{ > xine_set_param(m_xineStream, 0x01000002, hue); > signalXineStatus(i18n("Hue") + ": " + QString::number((hue*100)/65535) + "%"); >} > >void KXineWidget::slotSetSaturation(int sat) >{ > xine_set_param(m_xineStream, 0x01000003, sat); > signalXineStatus(i18n("Saturation") + ": " + QString::number((sat*100)/65535) + "%"); >} > >void KXineWidget::slotSetContrast(int contrast) >{ > xine_set_param(m_xineStream, 0x01000004, contrast); > signalXineStatus(i18n("Contrast") + ": " + QString::number((contrast*100)/65535) + "%"); >} > >void KXineWidget::slotSetBrightness(int bright) >{ > xine_set_param(m_xineStream, 0x01000005, bright); > signalXineStatus(i18n("Brightness") + ": " + QString::number((bright*100)/65535) + "%"); >} > >void KXineWidget::slotSetAVOffset(int av) >{ > xine_set_param(m_xineStream, 2, av); > signalXineStatus(i18n("Audio/Video Offset") + ": " + QString::number(av/90) + i18n("msec")); >} > >void KXineWidget::slotSetSpuOffset(int spu) >{ > xine_set_param(m_xineStream, 12, spu); > signalXineStatus(i18n("Subtitle Offset") + ": " + QString::number(spu/90) + i18n("msec")); >} > > > > >void KXineWidget::slotSetEq30(int val) >{ > xine_set_param(m_xineStream, 18, -val); >} > >void KXineWidget::slotSetEq60(int val) >{ > xine_set_param(m_xineStream, 19, -val); >} > >void KXineWidget::slotSetEq125(int val) >{ > xine_set_param(m_xineStream, 20, -val); >} > >void KXineWidget::slotSetEq250(int val) >{ > xine_set_param(m_xineStream, 21, -val); >} > >void KXineWidget::slotSetEq500(int val) >{ > xine_set_param(m_xineStream, 22, -val); >} > >void KXineWidget::slotSetEq1k(int val) >{ > xine_set_param(m_xineStream, 23, -val); >} > >void KXineWidget::slotSetEq2k(int val) >{ > xine_set_param(m_xineStream, 24, -val); >} > >void KXineWidget::slotSetEq4k(int val) >{ > xine_set_param(m_xineStream, 25, -val); >} > >void KXineWidget::slotSetEq8k(int val) >{ > xine_set_param(m_xineStream, 26, -val); >} > >void KXineWidget::slotSetEq16k(int val) >{ > xine_set_param(m_xineStream, 27, -val); >} > >void KXineWidget::slotSetVolumeGain(bool gain) >{ > int amp = 0; > > if (gain) > { > if (m_softwareMixer) > amp = getVolume()*2; > else > amp = 200; > } > else > { > if (m_softwareMixer) > amp = getVolume(); > else > amp = 100; > } > xine_set_param(m_xineStream, 9, amp); > > m_volumeGain = gain; >} > > > >void KXineWidget::slotMenuToggle() >{ > xine_event_t xev; > xev.type = 103; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuTitle() >{ > xine_event_t xev; > xev.type = 104; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuRoot() >{ > xine_event_t xev; > xev.type = 105; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuSubpicture() >{ > xine_event_t xev; > xev.type = 106; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuAudio() >{ > xine_event_t xev; > xev.type = 107; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuAngle() >{ > xine_event_t xev; > xev.type = 108; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotMenuPart() >{ > xine_event_t xev; > xev.type = 109; > xev.data = __null; > xev.data_length = 0; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotDVDMenuLeft() >{ > xine_event_t xev; > xev.data = __null; > xev.data_length = 0; > xev.type = 112; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotDVDMenuRight() >{ > xine_event_t xev; > xev.data = __null; > xev.data_length = 0; > xev.type = 113; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotDVDMenuUp() >{ > xine_event_t xev; > xev.data = __null; > xev.data_length = 0; > xev.type = 110; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotDVDMenuDown() >{ > xine_event_t xev; > xev.data = __null; > xev.data_length = 0; > xev.type = 111; > > xine_event_send(m_xineStream, &xev); >} > >void KXineWidget::slotDVDMenuSelect() >{ > xine_event_t xev; > xev.data = __null; > xev.data_length = 0; > xev.type = 114; > > xine_event_send(m_xineStream, &xev); >} > > > > >void KXineWidget::startMouseHideTimer() >{ > m_mouseHideTimer.start(5000); >} > >void KXineWidget::stopMouseHideTimer() >{ > m_mouseHideTimer.stop(); >} > >void KXineWidget::slotHideMouse() >{ > if (cursor().shape() == Qt::ArrowCursor) > { > setCursor(QCursor(Qt::BlankCursor)); > } >} > > > > > > >QImage KXineWidget::getScreenshot() const >{ > uchar *rgbPile = __null; > int width, height; > double scaleFactor; > > getScreenshot(rgbPile, width, height, scaleFactor); > > if (!rgbPile) return QImage(); > > QImage screenShot(rgbPile, width, height, 32, 0, 0, QImage::IgnoreEndian); > if (scaleFactor >= 1.0) > width = (int)((double) width * scaleFactor + 0.5); > else > height = (int)((double) height / scaleFactor + 0.5); > > debugOut(QString("Screenshot: scale picture from %1x%2 to %3x%4").arg(screenShot.width()).arg(screenShot.height()).arg(width).arg(height)); > screenShot = screenShot.smoothScale(width, height); > > delete []rgbPile; > return screenShot; >} > >void KXineWidget::getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& videoHeight, double& scaleFactor) const >{ > > uint8_t *yuv = __null, *y = __null, *u = __null, *v =__null; > > int width, height, ratio, format; > > > if (!xine_get_current_frame(m_xineStream, &width, &height, &ratio, &format, __null)) > return; > > yuv = new uint8_t[((width+8) * (height+1) * 2)]; > if (yuv == __null) > { > errorOut("Not enough memory to make screenshot!"); > return; > } > > xine_get_current_frame(m_xineStream, &width, &height, &ratio, &format, yuv); > > videoWidth = width; > videoHeight = height; > > > > > > switch (format) > { > case (('2'<<24)|('Y'<<16)|('U'<<8)|'Y'): > { > uint8_t *yuy2 = yuv; > > yuv = new uint8_t[(width * height * 2)]; > if (yuv == __null) > { > errorOut("Not enough memory to make screenshot!"); > return; > } > y = yuv; > u = yuv + width * height; > v = yuv + width * height * 5 / 4; > > yuy2Toyv12 (y, u, v, yuy2, width, height); > > delete [] yuy2; > } > break; > case (('2'<<24)|('1'<<16)|('V'<<8)|'Y'): > y = yuv; > u = yuv + width * height; > v = yuv + width * height * 5 / 4; > > break; > default: > { > warningOut(QString("Screenshot: Format %1 not supportet!").arg((char*)&format)); > delete [] yuv; > return; > } > } > > > > > > rgb32BitData = yv12ToRgb (y, u, v, width, height); ># 3779 "kxinewidget.cpp" > debugOut(QString("Screenshot: using scale factor: %1").arg(m_videoAspect)); > scaleFactor = m_videoAspect; > > delete [] yuv; >} > > > > > > >QTime KXineWidget::msToTime(int msec) >{ > QTime t; > t = t.addMSecs(msec); > return t; >} ># 3804 "kxinewidget.cpp" >void KXineWidget::debugOut (QString qsDebug) >{ > > > > > kndDebug() << "KXineWidget: " << (const char *)qsDebug.ascii() << "\n"; > >} >void KXineWidget::errorOut (QString qsError) >{ > > > > > kdError() << "KXineWidget: " << (const char *)qsError.ascii() << "\n"; > >} >void KXineWidget::warningOut (QString qsWarning) >{ > > > > > kdWarning() << "KXineWidget: " << (const char *)qsWarning.ascii() << "\n"; > >} ># 3839 "kxinewidget.cpp" >void KXineWidget::yuy2Toyv12 (uint8_t *y, uint8_t *u, uint8_t *v, uint8_t *input, int width, int height) >{ > > int i, j, w2; > > w2 = width / 2; > > for (i = 0; i < height; i += 2) > { > for (j = 0; j < w2; j++) > { > > > > *(y++) = *(input++); > *(u++) = *(input++); > *(y++) = *(input++); > *(v++) = *(input++); > } > > > > > > for (j = 0; j < w2; j++) > { > > > > *(y++) = *(input++); > input++; > *(y++) = *(input++); > input++; > } > } >} > > >uchar* KXineWidget::yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, int width, int height) >{ ># 3891 "kxinewidget.cpp" > int i, j; > > int y, u, v; > int r, g, b; > > int sub_i_uv; > int sub_j_uv; > > int uv_width, uv_height; > > uchar *rgb; > > uv_width = width / 2; > uv_height = height / 2; > > rgb = new uchar[(width * height * 4)]; > if (!rgb) > { > > return __null; > } > > for (i = 0; i < height; ++i) > { > > > > sub_i_uv = ((i * uv_height) / height); > > for (j = 0; j < width; ++j) > { > > > > sub_j_uv = ((j * uv_width) / width); ># 3947 "kxinewidget.cpp" > y = src_y[(i * width) + j] - 16; > u = src_u[(sub_i_uv * uv_width) + sub_j_uv] - 128; > v = src_v[(sub_i_uv * uv_width) + sub_j_uv] - 128; > > r = (int)((1.1644 * (double)y) + (1.5960 * (double)v)); > g = (int)((1.1644 * (double)y) - (0.3918 * (double)u) - (0.8130 * (double)v)); > b = (int)((1.1644 * (double)y) + (2.0172 * (double)u)); > > { if (r < 0) r = 0; else if (r > 255) r = 255; }; > { if (g < 0) g = 0; else if (g > 255) g = 255; }; > { if (b < 0) b = 0; else if (b > 255) b = 255; }; > > rgb[(i * width + j) * 4 + 0] = b; > rgb[(i * width + j) * 4 + 1] = g; > rgb[(i * width + j) * 4 + 2] = r; > rgb[(i * width + j) * 4 + 3] = 0; > > } > } > > return rgb; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 150242
: 98912 |
99048