Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112648 Details for
Bug 170025
[4.1/ICE] kde-base/kdelibs-3.5.6-r3 fails to compile when using qt-3.3.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
preprocessed source
ccJvUD0B.out (text/plain), 760.76 KB, created by
Federico Cerisola
on 2007-03-08 23:32:24 UTC
(
hide
)
Description:
preprocessed source
Filename:
MIME Type:
Creator:
Federico Cerisola
Created:
2007-03-08 23:32:24 UTC
Size:
760.76 KB
patch
obsolete
>// /usr/libexec/gcc/x86_64-pc-linux-gnu/4.1.1/cc1plus -fpreprocessed /var/tmp/ccache/kdewidgets.tmp.amd64.22498.ii -quiet -dumpbase kdewidgets.tmp.amd64.22498.ii -march=athlon64 -ansi -auxbase-strip /var/tmp/ccache/tmp.hash.amd64.22498.o -O2 -O2 -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -ansi -fno-exceptions -fno-check-new -fno-common -fPIC -o - -frandom-seed=0 ># 1 "kdewidgets_la.all_cpp.cpp" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "kdewidgets_la.all_cpp.cpp" > > ># 1 "classpreviews.cpp" 1 ># 20 "classpreviews.cpp" > ># 1 "classpreviews.h" 1 ># 33 "classpreviews.h" > ># 1 "../kdeui/kdialog.h" 1 ># 24 "../kdeui/kdialog.h" >class QLayoutItem; > > ># 1 "/usr/qt/3/include/qdialog.h" 1 ># 42 "/usr/qt/3/include/qdialog.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 ># 9 "/usr/include/string.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/string.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 9 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/features.h" 1 3 4 ># 323 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 > ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 9 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 1 3 4 ># 313 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 314 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 2 3 4 ># 9 "/usr/include/sys/cdefs.h" 2 3 4 ># 324 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 346 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 > ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 9 "/usr/include/gnu/stubs.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 1 3 4 > > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 5 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 2 3 4 > > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 > > > > ># 1 "/usr/include/gentoo-multilib/amd64/gnu/stubs-64.h" 1 3 4 ># 5 "/usr/include/gnu/stubs-64.h" 2 3 4 ># 10 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 2 3 4 ># 9 "/usr/include/gnu/stubs.h" 2 3 4 ># 347 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 9 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > >extern "C" { > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 34 "/usr/include/gentoo-multilib/amd64/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 ># 9 "/usr/include/xlocale.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/xlocale.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/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; ># 9 "/usr/include/xlocale.h" 2 3 4 ># 119 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/string.h" 3 4 >} ># 9 "/usr/include/string.h" 2 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/x86_64-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/limits.h" 3 4 > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/syslimits.h" 1 3 4 > > > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/limits.h" 3 4 > ># 1 "/usr/include/limits.h" 1 3 4 ># 9 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/limits.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/limits.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/limits.h" 2 3 4 ># 145 "/usr/include/gentoo-multilib/amd64/limits.h" 3 4 > ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 9 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/gentoo-multilib/amd64/bits/posix1_lim.h" 3 4 > ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 9 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/gentoo-multilib/amd64/bits/local_lim.h" 3 4 > ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/bits/local_lim.h" 2 3 4 ># 9 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/gentoo-multilib/amd64/bits/posix1_lim.h" 2 3 4 ># 9 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/gentoo-multilib/amd64/limits.h" 2 3 4 > > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 9 "/usr/include/bits/posix2_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/posix2_lim.h" 1 3 4 ># 9 "/usr/include/bits/posix2_lim.h" 2 3 4 ># 150 "/usr/include/gentoo-multilib/amd64/limits.h" 2 3 4 > > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 9 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/gentoo-multilib/amd64/bits/xopen_lim.h" 3 4 > ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 9 "/usr/include/bits/stdio_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/stdio_lim.h" 1 3 4 ># 9 "/usr/include/bits/stdio_lim.h" 2 3 4 ># 35 "/usr/include/gentoo-multilib/amd64/bits/xopen_lim.h" 2 3 4 ># 9 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 154 "/usr/include/gentoo-multilib/amd64/limits.h" 2 3 4 ># 9 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-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 ># 9 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/stdio.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > >extern "C" { > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 35 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 9 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/types.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/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; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 134 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 > ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 9 "/usr/include/bits/typesizes.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/typesizes.h" 1 3 4 ># 9 "/usr/include/bits/typesizes.h" 2 3 4 ># 135 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 9 "/usr/include/bits/types.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 ># 46 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >typedef struct _IO_FILE FILE; ># 62 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 1 "/usr/include/libio.h" 1 3 4 ># 9 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/libio.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 > ># 1 "/usr/include/_G_config.h" 1 3 4 ># 9 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/_G_config.h" 1 3 4 ># 9 "/usr/include/gentoo-multilib/amd64/_G_config.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 10 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 355 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/gentoo-multilib/amd64/_G_config.h" 2 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/_G_config.h" 3 4 > ># 1 "/usr/include/wchar.h" 1 3 4 ># 9 "/usr/include/wchar.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/wchar.h" 1 3 4 ># 48 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 49 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 > > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 9 "/usr/include/bits/wchar.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wchar.h" 1 3 4 ># 9 "/usr/include/bits/wchar.h" 2 3 4 ># 51 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 ># 76 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 9 "/usr/include/wchar.h" 2 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/_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/gentoo-multilib/amd64/_G_config.h" 3 4 > ># 1 "/usr/include/gconv.h" 1 3 4 ># 9 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/gconv.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/gconv.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/gconv.h" 2 3 4 > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 9 "/usr/include/wchar.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/wchar.h" 1 3 4 ># 48 "/usr/include/gentoo-multilib/amd64/wchar.h" 3 4 > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 49 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 > > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/gentoo-multilib/amd64/wchar.h" 2 3 4 ># 9 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/gconv.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/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; ># 9 "/usr/include/gconv.h" 2 3 4 ># 45 "/usr/include/gentoo-multilib/amd64/_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__))); ># 9 "/usr/include/_G_config.h" 2 3 4 ># 33 "/usr/include/gentoo-multilib/amd64/libio.h" 2 3 4 ># 53 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/gentoo-multilib/amd64/libio.h" 2 3 4 ># 166 "/usr/include/gentoo-multilib/amd64/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/libio.h" 3 4 > __off64_t _offset; ># 324 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/libio.h" 3 4 >} ># 9 "/usr/include/libio.h" 2 3 4 ># 73 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 9 "/usr/include/bits/stdio_lim.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/stdio_lim.h" 1 3 4 ># 9 "/usr/include/bits/stdio_lim.h" 2 3 4 ># 139 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/stdio.h" 3 4 >extern FILE *tmpfile (void); ># 179 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 201 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); ># 211 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); ># 226 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 236 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fcloseall (void); ># 246 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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 **__bufloc, size_t *__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 (); ># 325 "/usr/include/gentoo-multilib/amd64/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))); ># 397 "/usr/include/gentoo-multilib/amd64/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 (); ># 415 "/usr/include/gentoo-multilib/amd64/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))); ># 439 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); ># 458 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 469 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); ># 481 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); ># 502 "/usr/include/gentoo-multilib/amd64/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); ># 530 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; > > > > > > >extern char *gets (char *__s) ; ># 548 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) ; ># 564 "/usr/include/gentoo-multilib/amd64/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) ; ># 588 "/usr/include/gentoo-multilib/amd64/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) ; ># 625 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 636 "/usr/include/gentoo-multilib/amd64/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) ; ># 648 "/usr/include/gentoo-multilib/amd64/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); ># 672 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 691 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 714 "/usr/include/gentoo-multilib/amd64/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 () ; ># 745 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >extern void perror (__const char *__s); > > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 9 "/usr/include/bits/sys_errlist.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/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[]; ># 9 "/usr/include/bits/sys_errlist.h" 2 3 4 ># 753 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw () ; > > > > >extern int fileno_unlocked (FILE *__stream) throw () ; ># 772 "/usr/include/gentoo-multilib/amd64/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 (); ># 833 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 > ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 9 "/usr/include/bits/stdio.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/stdio.h" 1 3 4 ># 33 "/usr/include/gentoo-multilib/amd64/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); >} ># 9 "/usr/include/bits/stdio.h" 2 3 4 ># 834 "/usr/include/gentoo-multilib/amd64/stdio.h" 2 3 4 ># 842 "/usr/include/gentoo-multilib/amd64/stdio.h" 3 4 >} ># 9 "/usr/include/stdio.h" 2 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; ># 1003 "/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 ># 1022 "/usr/qt/3/include/qwidget.h" 2 ># 43 "/usr/qt/3/include/qdialog.h" 2 > > > > > > >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 "../kdeui/kdialog.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 24 "../kdecore/kdelibs_export.h" > ># 1 "../kdecore/kdemacros.h" 1 ># 25 "../kdecore/kdelibs_export.h" 2 > > > ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 28 "../kdecore/kdelibs_export.h" 2 ># 29 "../kdeui/kdialog.h" 2 ># 52 "../kdeui/kdialog.h" >class 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 "../kdeui/kdialog.h" > static void resizeLayout( QWidget *widget, int margin, int spacing ); ># 94 "../kdeui/kdialog.h" > static void resizeLayout( QLayoutItem *lay, int margin, int spacing ); ># 106 "../kdeui/kdialog.h" > static void centerOnScreen( QWidget *widget, int screen = -1 ); ># 117 "../kdeui/kdialog.h" > static bool avoidArea( QWidget *widget, const QRect& area, int screen = -1 ); > > public : > > > > > virtual void polish(); ># 133 "../kdeui/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 "../kdeui/kdialog.h" >class KDialogQueuePrivate; >class 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; >}; ># 34 "classpreviews.h" 2 > >class KDialogPreview : public KDialog >{ >public: > KDialogPreview(QWidget * parent = 0 , const char * name = 0 ); >}; ># 21 "classpreviews.cpp" 2 > >KDialogPreview::KDialogPreview(QWidget * parent , const char * ) >{ > if (parent) > reparent(parent, QPoint(0,0), true); > else > qDebug("Error while reparenting!"); >} ># 3 "kdewidgets_la.all_cpp.cpp" 2 > ># 1 "kdewidgets.cpp" 1 > > > > > > ># 1 "/usr/qt/3/include/qwidgetplugin.h" 1 ># 42 "/usr/qt/3/include/qwidgetplugin.h" > ># 1 "/usr/qt/3/include/qgplugin.h" 1 ># 108 "/usr/qt/3/include/qgplugin.h" >struct QUnknownInterface; > >class __attribute__((visibility("default"))) QGPlugin : 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: > QGPlugin( QUnknownInterface *i ); > ~QGPlugin(); > > QUnknownInterface* iface(); > void setIface( QUnknownInterface *iface ); > >private: > QGPlugin(); > QUnknownInterface* _iface; >}; ># 43 "/usr/qt/3/include/qwidgetplugin.h" 2 > > ># 1 "/usr/qt/3/include/qiconset.h" 1 ># 43 "/usr/qt/3/include/qiconset.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 ); ># 44 "/usr/qt/3/include/qiconset.h" 2 > > > > >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; >}; ># 45 "/usr/qt/3/include/qwidgetplugin.h" 2 ># 58 "/usr/qt/3/include/qwidgetplugin.h" >class QWidgetPluginPrivate; >class QWidget; > >class __attribute__((visibility("default"))) QWidgetPlugin : public QGPlugin >{ > 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: > QWidgetPlugin(); > ~QWidgetPlugin(); > > virtual QStringList keys() const = 0; > virtual QWidget *create( const QString &key, QWidget *parent = 0, const char *name = 0 ) = 0; > > virtual QString group( const QString &key ) const; > virtual QIconSet iconSet( const QString &key ) const; > virtual QString includeFile( const QString &key ) const; > virtual QString toolTip( const QString &key ) const; > virtual QString whatsThis( const QString &key ) const; > virtual bool isContainer( const QString &key ) const; > >private: > QWidgetPluginPrivate *d; >}; ># 7 "kdewidgets.cpp" 2 > > ># 1 "../kdecore/kinstance.h" 1 ># 21 "../kdecore/kinstance.h" >class KStandardDirs; >class KAboutData; >class KConfig; >class KIconLoader; >class KCharsets; >class QFont; >class KInstancePrivate; >class KMimeSourceFactory; >class KSharedConfig; > > ># 1 "/usr/qt/3/include/qstring.h" 1 ># 32 "../kdecore/kinstance.h" 2 > ># 1 "../kdecore/kdelibs_export.h" 1 ># 33 "../kdecore/kinstance.h" 2 ># 43 "../kdecore/kinstance.h" >class KInstance >{ > friend class KStandardDirs; > > public: > > > > > KInstance( const QCString& instanceName) ; ># 64 "../kdecore/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; >}; ># 9 "kdewidgets.cpp" 2 > ># 1 "./classpreviews.h" 1 ># 10 "kdewidgets.cpp" 2 > ># 1 "../kabc/ldapconfigwidget.h" 1 ># 24 "../kabc/ldapconfigwidget.h" > ># 1 "/usr/qt/3/include/qwidget.h" 1 ># 25 "../kabc/ldapconfigwidget.h" 2 > ># 1 "/usr/qt/3/include/qmap.h" 1 ># 26 "../kabc/ldapconfigwidget.h" 2 > > > ># 1 "../kabc/ldapurl.h" 1 ># 25 "../kabc/ldapurl.h" > ># 1 "/usr/qt/3/include/qstringlist.h" 1 ># 26 "../kabc/ldapurl.h" 2 > > > ># 1 "../kdecore/kurl.h" 1 ># 24 "../kdecore/kurl.h" > ># 1 "/usr/qt/3/include/qvaluelist.h" 1 ># 25 "../kdecore/kurl.h" 2 > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdecore/kurl.h" 2 > >class QUrl; >class QStringList; >template <typename K, typename V> class QMap; > >class KURLPrivate; ># 127 "../kdecore/kurl.h" >class KURL >{ >public: > > > > > > > enum AdjustementFlags > { > > > > NoAdjustements = 0, > > > > > StripFileProtocol = 1 > }; > > > > > enum URIMode > { > > > > > Auto, > > > > > Invalid, > > > > > RawURI, > > > > URL, > > > > > > Mailto > }; > > > > > > > > class List : public QValueList<KURL> > { > public: > > > > List() { } > > > > > > List(const KURL &url); ># 212 "../kdecore/kurl.h" > List(const QStringList &list); ># 226 "../kdecore/kurl.h" > QStringList toStringList() const; > }; > > > > > > KURL(); > > > > > ~KURL(); ># 260 "../kdecore/kurl.h" > KURL( const QString& url, int encoding_hint = 0 ); ># 286 "../kdecore/kurl.h" > KURL( const char * url, int encoding_hint = 0 ); ># 312 "../kdecore/kurl.h" > KURL( const QCString& url, int encoding_hint = 0 ); > > > > > > > KURL( const KURL& u ); > > > > > > > > KURL( const QUrl &u ); ># 353 "../kdecore/kurl.h" > KURL( const KURL& _baseurl, const QString& _rel_url, int encoding_hint=0 ); ># 367 "../kdecore/kurl.h" > QString protocol() const { return m_bIsMalformed ? QString::null : m_strProtocol; } ># 378 "../kdecore/kurl.h" > void setProtocol( const QString& _txt ); ># 390 "../kdecore/kurl.h" > int uriMode() const; ># 401 "../kdecore/kurl.h" > QString user() const { return m_strUser; } ># 415 "../kdecore/kurl.h" > void setUser( const QString& _txt ); ># 425 "../kdecore/kurl.h" > bool hasUser() const { return !m_strUser.isEmpty(); } ># 440 "../kdecore/kurl.h" > QString pass() const { return m_strPass; } ># 454 "../kdecore/kurl.h" > void setPass( const QString& _txt ); ># 467 "../kdecore/kurl.h" > bool hasPass() const { return !m_strPass.isEmpty(); } ># 477 "../kdecore/kurl.h" > QString host() const { return m_strHost; } ># 489 "../kdecore/kurl.h" > void setHost( const QString& _txt ); ># 498 "../kdecore/kurl.h" > bool hasHost() const { return !m_strHost.isEmpty(); } ># 509 "../kdecore/kurl.h" > unsigned short int port() const { return m_iPort; } ># 518 "../kdecore/kurl.h" > void setPort( unsigned short int _p ); ># 532 "../kdecore/kurl.h" > QString path() const { return m_strPath; } ># 563 "../kdecore/kurl.h" > QString path( int _trailing ) const; ># 581 "../kdecore/kurl.h" > void setPath( const QString& path ); ># 591 "../kdecore/kurl.h" > bool hasPath() const { return !m_strPath.isEmpty(); } ># 606 "../kdecore/kurl.h" > void cleanPath(bool cleanDirSeparator = true); ># 630 "../kdecore/kurl.h" > void adjustPath(int _trailing); ># 647 "../kdecore/kurl.h" > void setEncodedPathAndQuery( const QString& _txt, int encoding_hint = 0 ); ># 659 "../kdecore/kurl.h" > void setEncodedPath(const QString& _txt, int encoding_hint = 0 ); ># 691 "../kdecore/kurl.h" > QString encodedPathAndQuery( int _trailing = 0, bool _no_empty_path = false, int encoding_hint = 0) const; ># 706 "../kdecore/kurl.h" > void setQuery( const QString& _txt, int encoding_hint = 0); ># 720 "../kdecore/kurl.h" > QString query() const; ># 733 "../kdecore/kurl.h" > QString ref() const { return m_strRef_encoded; } ># 746 "../kdecore/kurl.h" > void setRef( const QString& _txt ) { m_strRef_encoded = _txt; } ># 758 "../kdecore/kurl.h" > bool hasRef() const { return !m_strRef_encoded.isNull(); } ># 773 "../kdecore/kurl.h" > QString htmlRef() const; ># 785 "../kdecore/kurl.h" > QString encodedHtmlRef() const; ># 796 "../kdecore/kurl.h" > void setHTMLRef( const QString& _ref ); ># 808 "../kdecore/kurl.h" > bool hasHTMLRef() const; > > > > > > > > bool isValid() const { return !m_bIsMalformed; } ># 827 "../kdecore/kurl.h" > __attribute__ ((deprecated)) bool isMalformed() const { return !isValid(); } > > > > > > > > bool isLocalFile() const; ># 849 "../kdecore/kurl.h" > void setFileEncoding(const QString &encoding); ># 859 "../kdecore/kurl.h" > QString fileEncoding() const; ># 870 "../kdecore/kurl.h" > bool hasSubURL() const; ># 886 "../kdecore/kurl.h" > void addPath( const QString& txt ); ># 901 "../kdecore/kurl.h" > QString queryItem( const QString& item ) const; ># 918 "../kdecore/kurl.h" > QString queryItem( const QString& item, int encoding_hint ) const; > > > > > > > enum QueryItemsOptions > { > > > > CaseInsensitiveKeys = 1 > }; > > > > > QMap< QString, QString > queryItems( int options=0 ) const; ># 955 "../kdecore/kurl.h" > QMap< QString, QString > queryItems( int options, int encoding_hint ) const; ># 972 "../kdecore/kurl.h" > void addQueryItem( const QString& _item, const QString& _value, int encoding_hint = 0 ); ># 984 "../kdecore/kurl.h" > void removeQueryItem( const QString& _item ); ># 1006 "../kdecore/kurl.h" > void setFileName( const QString&_txt ); ># 1025 "../kdecore/kurl.h" > QString fileName( bool _ignore_trailing_slash_in_path = true ) const; ># 1053 "../kdecore/kurl.h" > QString directory( bool _strip_trailing_slash_from_result = true, > bool _ignore_trailing_slash_in_path = true ) const; ># 1065 "../kdecore/kurl.h" > void setDirectory(const QString &dir); ># 1085 "../kdecore/kurl.h" > bool cd( const QString& _dir ); ># 1122 "../kdecore/kurl.h" > QString url( int _trailing = 0, int encoding_hint = 0) const; ># 1156 "../kdecore/kurl.h" > QString prettyURL( int _trailing = 0) const; ># 1193 "../kdecore/kurl.h" > QString prettyURL( int _trailing, AdjustementFlags _flags) const; ># 1215 "../kdecore/kurl.h" > QString pathOrURL() const; ># 1228 "../kdecore/kurl.h" > QString htmlURL() const; ># 1242 "../kdecore/kurl.h" > bool isEmpty() const; ># 1263 "../kdecore/kurl.h" > KURL upURL( ) const; ># 1316 "../kdecore/kurl.h" > bool operator<(const KURL& _u) const; ># 1329 "../kdecore/kurl.h" > KURL& operator=( const KURL& _u ); ># 1344 "../kdecore/kurl.h" > KURL& operator=( const QString& _url ); ># 1359 "../kdecore/kurl.h" > KURL& operator=( const char * _url ); ># 1373 "../kdecore/kurl.h" > KURL& operator=( const QUrl & u ); ># 1394 "../kdecore/kurl.h" > bool operator==( const KURL& _u ) const; ># 1416 "../kdecore/kurl.h" > bool operator==( const QString& _u ) const; ># 1430 "../kdecore/kurl.h" > bool operator!=( const KURL& _u ) const { return !( *this == _u ); } ># 1444 "../kdecore/kurl.h" > bool operator!=( const QString& _u ) const { return !( *this == _u ); } ># 1461 "../kdecore/kurl.h" > bool cmp( const KURL &u, bool ignore_trailing = false ) const __attribute__ ((deprecated)); ># 1476 "../kdecore/kurl.h" > bool equals( const KURL &u, bool ignore_trailing = false ) const; ># 1489 "../kdecore/kurl.h" > bool isParentOf( const KURL& u ) const; ># 1517 "../kdecore/kurl.h" > static List split( const QString& _url ); ># 1544 "../kdecore/kurl.h" > static List split( const KURL& _url ); ># 1559 "../kdecore/kurl.h" > static KURL join( const List& _list ); ># 1582 "../kdecore/kurl.h" > static KURL fromPathOrURL( const QString& text ); ># 1601 "../kdecore/kurl.h" > static QString encode_string(const QString &str, int encoding_hint = 0); ># 1619 "../kdecore/kurl.h" > static QString encode_string_no_slash(const QString &str, int encoding_hint = 0); ># 1639 "../kdecore/kurl.h" > static QString decode_string(const QString &str, int encoding_hint = 0); ># 1655 "../kdecore/kurl.h" > static bool isRelativeURL(const QString &_url); ># 1680 "../kdecore/kurl.h" > static QString relativeURL(const KURL &base_url, const KURL &url, int encoding_hint = 0); ># 1696 "../kdecore/kurl.h" > static QString relativePath(const QString &base_dir, const QString &path, bool *isParent=0); ># 1710 "../kdecore/kurl.h" > static URIMode uriModeForProtocol(const QString& protocol); > > > > > > > > QString filename( bool _ignore_trailing_slash_in_path = true ) const > { > return fileName(_ignore_trailing_slash_in_path); > } > >protected: ># 1739 "../kdecore/kurl.h" > void reset(); ># 1750 "../kdecore/kurl.h" > void parseURL( const QString& _url, int encoding_hint = 0 ); ># 1760 "../kdecore/kurl.h" > void parseRawURI( const QString& _url, int encoding_hint = 0 ); ># 1770 "../kdecore/kurl.h" > void parseMailto( const QString& _url, int encoding_hint = 0 ); > > > > > > > > void parse( const QString& _url, int encoding_hint = 0 ); > >private: > void _setQuery( const QString& _txt, int encoding_hint = 0); > > QString m_strProtocol; > QString m_strUser; > QString m_strPass; > QString m_strHost; > QString m_strPath; > QString m_strRef_encoded; > QString m_strQuery_encoded; > bool m_bIsMalformed : 1; > enum URIMode m_iUriMode : 3; > uint freeForUse : 4; > unsigned short int m_iPort; > QString m_strPath_encoded; > > friend QDataStream & operator<< (QDataStream & s, const KURL & a); > friend QDataStream & operator>> (QDataStream & s, KURL & a); >private: > KURLPrivate* d; >}; ># 1809 "../kdecore/kurl.h" > bool urlcmp( const QString& _url1, const QString& _url2 ); ># 1823 "../kdecore/kurl.h" > bool urlcmp( const QString& _url1, const QString& _url2, bool _ignore_trailing, bool _ignore_ref ); > > QDataStream & operator<< (QDataStream & s, const KURL & a); > QDataStream & operator>> (QDataStream & s, KURL & a); ># 29 "../kabc/ldapurl.h" 2 > >namespace KABC { ># 42 "../kabc/ldapurl.h" > class LDAPUrl : public KURL > { > public: > > struct Extension { > QString value; > bool critical; > }; > > typedef enum Scope { Base, One, Sub }; > > > LDAPUrl(); > > LDAPUrl( const KURL &url ); > > > > > > const QString& dn() const { return m_dn; }; > > void setDn( const QString &dn ); > > > const QStringList &attributes() { return m_attributes; } > > void setAttributes( const QStringList &attributes ) > { m_attributes=attributes; updateQuery(); } > > > Scope scope() const { return m_scope; }; > > void setScope(Scope scope) { m_scope = scope; updateQuery(); } > > > const QString &filter() const { return m_filter; } > > void setFilter( QString filter ) { m_filter = filter; updateQuery(); } > > > bool hasExtension( const QString &key ) const; > > Extension extension( const QString &key ) const; > > QString extension( const QString &key, bool &critical ) const; > > void setExtension( const QString &key, const Extension &ext ); > > void setExtension( const QString &key, const QString &value, bool critical = false ); > > void removeExtension( const QString &key ); > > void updateQuery(); > > protected: > void parseQuery(); > > private: > > QMap<QString, Extension> m_extensions; > QString m_dn; > QStringList m_attributes; > Scope m_scope; > QString m_filter; > }; >} ># 29 "../kabc/ldapconfigwidget.h" 2 > ># 1 "../kabc/ldif.h" 1 ># 25 "../kabc/ldif.h" > ># 1 "/usr/qt/3/include/qcstring.h" 1 ># 26 "../kabc/ldif.h" 2 > ># 1 "/usr/qt/3/include/qmemarray.h" 1 ># 27 "../kabc/ldif.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 29 "../kabc/ldif.h" 2 > >namespace KABC { ># 40 "../kabc/ldif.h" > class LDIF > { > public: > > typedef enum ParseVal{ None, NewEntry, EndEntry, Item, Control, Err, MoreData }; > typedef enum EntryType{ Entry_None, Entry_Add, Entry_Del, Entry_Mod, Entry_Modrdn }; > typedef enum ModType{ Mod_None, Mod_Add, Mod_Replace, Mod_Del }; > LDIF(); > virtual ~LDIF(); ># 58 "../kabc/ldif.h" > static QCString assembleLine( const QString &fieldname, > const QByteArray &value, uint linelen=0, bool url=false ); > > > > > static QCString assembleLine( const QString &fieldname, > const QCString &value, uint linelen=0, bool url=false ); > > > > > static QCString assembleLine( const QString &fieldname, > const QString &value, uint linelen=0, bool url=false ); > > > > > > static bool splitLine( const QCString &line, QString &fieldname, QByteArray &value ); > > > > > > > > static bool splitControl( const QCString &line, QString &oid, bool &critical, > QByteArray &value ); > > > > void startParsing(); > > > > ParseVal processLine(); ># 106 "../kabc/ldif.h" > ParseVal nextItem(); > > > > > void setLDIF( const QByteArray &ldif ) { mLdif = ldif; mPos = 0; }; > > > > > void endLDIF(); > > > > EntryType entryType() const { return mEntryType; } > > > > int modType() const { return mModType; } > > > > const QString& dn() const { return mDn; } > > > > const QString& newRdn() const { return mNewRdn; } > > > > const QString& newSuperior() const { return mNewSuperior; } > > > > bool delOldRdn() const { return mDelOldRdn; } > > > > const QString& attr() const { return mAttr; } > > > > const QByteArray& val() const { return mVal; } > > > > bool isUrl() const { return mUrl; } > > > > bool critical() const { return mCritical; } > > > > const QString& oid() const { return mOid; } > > > > uint lineNo() const { return mLineNo; } > private: > int mModType; > bool mDelOldRdn, mUrl; > QString mDn,mAttr,mNewRdn,mNewSuperior, mOid; > QByteArray mLdif, mVal; > EntryType mEntryType; > > bool mIsNewLine, mIsComment,mCritical; > ParseVal mLastParseVal; > uint mPos,mLineNo; > QCString line; > > class LDIFPrivate; > LDIFPrivate *d; > }; >} ># 30 "../kabc/ldapconfigwidget.h" 2 > ># 1 "../kio/kio/job.h" 1 ># 25 "../kio/kio/job.h" > ># 1 "../kio/kio/jobclasses.h" 1 ># 25 "../kio/kio/jobclasses.h" > ># 1 "/usr/qt/3/include/qobject.h" 1 ># 26 "../kio/kio/jobclasses.h" 2 > ># 1 "/usr/qt/3/include/qptrlist.h" 1 ># 27 "../kio/kio/jobclasses.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 ># 30 "../kio/kio/jobclasses.h" 2 > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 9 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/types.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > >extern "C" { > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > >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/gentoo-multilib/amd64/sys/types.h" 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 9 "/usr/include/time.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/time.h" 1 3 4 ># 57 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 58 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > > >typedef __clock_t clock_t; ># 73 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 74 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > > >typedef __time_t time_t; ># 90 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 91 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > >typedef __clockid_t clockid_t; ># 102 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 103 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > >typedef __timer_t timer_t; ># 9 "/usr/include/time.h" 2 3 4 ># 134 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4 ># 148 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/gentoo-multilib/amd64/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__))); ># 217 "/usr/include/gentoo-multilib/amd64/sys/types.h" 3 4 > ># 1 "/usr/include/endian.h" 1 3 4 ># 9 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/endian.h" 1 3 4 ># 22 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 > ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 9 "/usr/include/bits/endian.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/endian.h" 1 3 4 ># 9 "/usr/include/bits/endian.h" 2 3 4 ># 38 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 ># 9 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 9 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/select.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/sys/select.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > > ># 1 "/usr/include/bits/select.h" 1 3 4 ># 9 "/usr/include/bits/select.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/select.h" 1 3 4 ># 9 "/usr/include/bits/select.h" 2 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 9 "/usr/include/bits/sigset.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/sigset.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 9 "/usr/include/bits/sigset.h" 2 3 4 ># 35 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 9 "/usr/include/time.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/time.h" 1 3 4 ># 117 "/usr/include/gentoo-multilib/amd64/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 118 "/usr/include/gentoo-multilib/amd64/time.h" 2 3 4 > > > >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 9 "/usr/include/time.h" 2 3 4 ># 45 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 9 "/usr/include/bits/time.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/time.h" 1 3 4 ># 65 "/usr/include/gentoo-multilib/amd64/bits/time.h" 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 66 "/usr/include/gentoo-multilib/amd64/bits/time.h" 2 3 4 > > > >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 9 "/usr/include/bits/time.h" 2 3 4 ># 47 "/usr/include/gentoo-multilib/amd64/sys/select.h" 2 3 4 ># 55 "/usr/include/gentoo-multilib/amd64/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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); > > >} ># 9 "/usr/include/sys/select.h" 2 3 4 ># 221 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 9 "/usr/include/sys/sysmacros.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/sys/sysmacros.h" 2 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)); >} ># 9 "/usr/include/sys/sysmacros.h" 2 3 4 ># 224 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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 ># 9 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 24 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 2 3 4 ># 50 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 76 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; ># 101 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > 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]; > 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; > int __writer; > int __pad1; > unsigned long int __pad2; > unsigned long int __pad3; > > > unsigned int __flags; > } __data; ># 184 "/usr/include/gentoo-multilib/amd64/bits/pthreadtypes.h" 3 4 > char __size[56]; > 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[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 9 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 271 "/usr/include/gentoo-multilib/amd64/sys/types.h" 2 3 4 > > >} ># 9 "/usr/include/sys/types.h" 2 3 4 ># 32 "../kio/kio/jobclasses.h" 2 > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 9 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 2 3 4 > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 9 "/usr/include/time.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/time.h" 1 3 4 ># 9 "/usr/include/time.h" 2 3 4 ># 38 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 2 3 4 ># 103 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern "C" { > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 9 "/usr/include/bits/stat.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 1 3 4 ># 43 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > > > > > __ino_t st_ino; > > > > > > > > __nlink_t st_nlink; > __mode_t st_mode; > > __uid_t st_uid; > __gid_t st_gid; > > int pad0; > > __dev_t st_rdev; > > > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; ># 88 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 103 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 3 4 > long int __unused[3]; ># 112 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 3 4 > }; > > > >struct stat64 > { > __dev_t st_dev; > > __ino64_t st_ino; > __nlink_t st_nlink; > __mode_t st_mode; > > > > > > > __uid_t st_uid; > __gid_t st_gid; > > int pad0; > __dev_t st_rdev; > __off_t st_size; > > > > > > __blksize_t st_blksize; > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 164 "/usr/include/gentoo-multilib/amd64/bits/stat.h" 3 4 > long int __unused[3]; > > > > }; ># 9 "/usr/include/bits/stat.h" 2 3 4 ># 106 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 2 3 4 ># 207 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) throw () __attribute__ ((__nonnull__ (2))); ># 226 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) throw () __attribute__ ((__nonnull__ (2))); > > > > > > > >extern int fstatat (int __fd, __const char *__restrict __file, > struct stat *__restrict __buf, int __flag) > throw () __attribute__ ((__nonnull__ (2, 3))); ># 250 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int fstatat64 (int __fd, __const char *__restrict __file, > struct stat64 *__restrict __buf, int __flag) > throw () __attribute__ ((__nonnull__ (2, 3))); > > > > > > >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); ># 272 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int chmod (__const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) throw (); > > > > > >extern int fchmodat (int __fd, __const char *__file, __mode_t mode, int __flag) > throw () __attribute__ ((__nonnull__ (2))) ; > > > > > > >extern __mode_t umask (__mode_t __mask) throw (); > > > > >extern __mode_t getumask (void) throw (); > > > >extern int mkdir (__const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (2))); > > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int mknodat (int __fd, __const char *__path, __mode_t __mode, > __dev_t __dev) throw () __attribute__ ((__nonnull__ (2))); > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (2))); ># 380 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > throw () __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, __const char *__filename, > struct stat *__stat_buf, int __flag) > throw () __attribute__ ((__nonnull__ (3, 4))); ># 413 "/usr/include/gentoo-multilib/amd64/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > throw () __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename, > struct stat64 *__stat_buf, int __flag) > throw () __attribute__ ((__nonnull__ (3, 4))); > >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, __const char *__path, > __mode_t __mode, __dev_t *__dev) > throw () __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline__ int >stat (__const char *__path, struct stat *__statbuf) throw () >{ > return __xstat (1, __path, __statbuf); >} > > >extern __inline__ int >lstat (__const char *__path, struct stat *__statbuf) throw () >{ > return __lxstat (1, __path, __statbuf); >} > > >extern __inline__ int >fstat (int __fd, struct stat *__statbuf) throw () >{ > return __fxstat (1, __fd, __statbuf); >} > > >extern __inline__ int >fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag) throw () > >{ > return __fxstatat (1, __fd, __filename, __statbuf, __flag); >} > > > >extern __inline__ int >mknod (__const char *__path, __mode_t __mode, __dev_t __dev) throw () >{ > return __xmknod (0, __path, __mode, &__dev); >} > > > >extern __inline__ int >mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) throw () > >{ > return __xmknodat (0, __fd, __path, __mode, &__dev); >} > > > > > >extern __inline__ int >stat64 (__const char *__path, struct stat64 *__statbuf) throw () >{ > return __xstat64 (1, __path, __statbuf); >} > > >extern __inline__ int >lstat64 (__const char *__path, struct stat64 *__statbuf) throw () >{ > return __lxstat64 (1, __path, __statbuf); >} > > >extern __inline__ int >fstat64 (int __fd, struct stat64 *__statbuf) throw () >{ > return __fxstat64 (1, __fd, __statbuf); >} > > >extern __inline__ int >fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag) throw () > >{ > return __fxstatat64 (1, __fd, __filename, __statbuf, __flag); >} > > > > > > >} ># 9 "/usr/include/sys/stat.h" 2 3 4 ># 33 "../kio/kio/jobclasses.h" 2 > > > ># 1 "../kio/kio/global.h" 1 ># 24 "../kio/kio/global.h" > ># 1 "/usr/qt/3/include/qdatastream.h" 1 ># 25 "../kio/kio/global.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 & ); ># 26 "../kio/kio/global.h" 2 ># 34 "../kio/kio/global.h" >namespace KIO >{ > > typedef Q_LLONG fileoffset_t; > > typedef Q_ULLONG filesize_t; > > > > > > > > QString convertSize( KIO::filesize_t size ); ># 56 "../kio/kio/global.h" > QString convertSizeWithBytes( KIO::filesize_t size ); > > > > > > > > QString number( KIO::filesize_t size ); > > > > > > > > QString convertSizeFromKB( KIO::filesize_t kbSize ); ># 84 "../kio/kio/global.h" > unsigned int calculateRemainingSeconds( KIO::filesize_t totalSize, > KIO::filesize_t processedSize, KIO::filesize_t speed ); ># 95 "../kio/kio/global.h" > QString convertSeconds( unsigned int seconds ); ># 106 "../kio/kio/global.h" > QTime calculateRemaining( KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed ) __attribute__ ((deprecated)); ># 117 "../kio/kio/global.h" > QString itemsSummaryString(uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize); ># 126 "../kio/kio/global.h" > QString encodeFileName( const QString & str ); > > > > > > > QString decodeFileName( const QString & str ); > > > > > enum Command { > CMD_HOST = '0', > CMD_CONNECT = '1', > CMD_DISCONNECT = '2', > CMD_SLAVE_STATUS = '3', > CMD_SLAVE_CONNECT = '4', > CMD_SLAVE_HOLD = '5', > CMD_NONE = 'A', > CMD_TESTDIR = 'B', > CMD_GET = 'C', > CMD_PUT = 'D', > CMD_STAT = 'E', > CMD_MIMETYPE = 'F', > CMD_LISTDIR = 'G', > CMD_MKDIR = 'H', > CMD_RENAME = 'I', > CMD_COPY = 'J', > CMD_DEL = 'K', > CMD_CHMOD = 'L', > CMD_SPECIAL = 'M', > CMD_USERPASS = 'N', > CMD_REPARSECONFIGURATION = 'O', > CMD_META_DATA = 'P', > CMD_SYMLINK = 'Q', > CMD_SUBURL = 'R', > CMD_MESSAGEBOXANSWER = 'S', > CMD_RESUMEANSWER = 'T', > CMD_CONFIG = 'U', > CMD_MULTI_GET = 'V' > > > }; > > > > > enum Error { > ERR_CANNOT_OPEN_FOR_READING = 1, > ERR_CANNOT_OPEN_FOR_WRITING = 2, > ERR_CANNOT_LAUNCH_PROCESS = 3, > ERR_INTERNAL = 4, > ERR_MALFORMED_URL = 5, > ERR_UNSUPPORTED_PROTOCOL = 6, > ERR_NO_SOURCE_PROTOCOL = 7, > ERR_UNSUPPORTED_ACTION = 8, > ERR_IS_DIRECTORY = 9, > ERR_IS_FILE = 10, > ERR_DOES_NOT_EXIST = 11, > ERR_FILE_ALREADY_EXIST = 12, > ERR_DIR_ALREADY_EXIST = 13, > ERR_UNKNOWN_HOST = 14, > ERR_ACCESS_DENIED = 15, > ERR_WRITE_ACCESS_DENIED = 16, > ERR_CANNOT_ENTER_DIRECTORY = 17, > ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 18, > ERR_CYCLIC_LINK = 19, > ERR_USER_CANCELED = 20, > ERR_CYCLIC_COPY = 21, > ERR_COULD_NOT_CREATE_SOCKET = 22, > ERR_COULD_NOT_CONNECT = 23, > ERR_CONNECTION_BROKEN = 24, > ERR_NOT_FILTER_PROTOCOL = 25, > ERR_COULD_NOT_MOUNT = 26, > ERR_COULD_NOT_UNMOUNT = 27, > ERR_COULD_NOT_READ = 28, > ERR_COULD_NOT_WRITE = 29, > ERR_COULD_NOT_BIND = 30, > ERR_COULD_NOT_LISTEN = 31, > ERR_COULD_NOT_ACCEPT = 32, > ERR_COULD_NOT_LOGIN = 33, > ERR_COULD_NOT_STAT = 34, > ERR_COULD_NOT_CLOSEDIR = 35, > ERR_COULD_NOT_MKDIR = 37, > ERR_COULD_NOT_RMDIR = 38, > ERR_CANNOT_RESUME = 39, > ERR_CANNOT_RENAME = 40, > ERR_CANNOT_CHMOD = 41, > ERR_CANNOT_DELETE = 42, > > > ERR_SLAVE_DIED = 43, > ERR_OUT_OF_MEMORY = 44, > ERR_UNKNOWN_PROXY_HOST = 45, > ERR_COULD_NOT_AUTHENTICATE = 46, > ERR_ABORTED = 47, > ERR_INTERNAL_SERVER = 48, > ERR_SERVER_TIMEOUT = 49, > ERR_SERVICE_NOT_AVAILABLE = 50, > ERR_UNKNOWN = 51, > > ERR_UNKNOWN_INTERRUPT = 53, > ERR_CANNOT_DELETE_ORIGINAL = 54, > ERR_CANNOT_DELETE_PARTIAL = 55, > ERR_CANNOT_RENAME_ORIGINAL = 56, > ERR_CANNOT_RENAME_PARTIAL = 57, > ERR_NEED_PASSWD = 58, > ERR_CANNOT_SYMLINK = 59, > ERR_NO_CONTENT = 60, > ERR_DISK_FULL = 61, > ERR_IDENTICAL_FILES = 62, > ERR_SLAVE_DEFINED = 63, > > > > > > ERR_UPGRADE_REQUIRED = 64, > > > ERR_POST_DENIED = 65 > > }; ># 258 "../kio/kio/global.h" > QString buildErrorString(int errorCode, const QString &errorText); ># 270 "../kio/kio/global.h" > QString buildHTMLErrorString(int errorCode, const QString &errorText, > const KURL *reqUrl = 0L, int method = -1 ); ># 289 "../kio/kio/global.h" > QByteArray rawErrorDetail(int errorCode, const QString &errorText, > const KURL *reqUrl = 0L, int method = -1 ); ># 300 "../kio/kio/global.h" > QString unsupportedActionErrorString(const QString &protocol, int cmd); > > > > > enum UDSAtomTypes { > > UDS_STRING = 1, > UDS_LONG = 2, > UDS_TIME = 4 | UDS_LONG, > > > > > > > UDS_SIZE = 8 | UDS_LONG, > UDS_SIZE_LARGE = 32768 | UDS_LONG, > > UDS_USER = 16 | UDS_STRING, > > > > UDS_ICON_NAME = 24 | UDS_STRING, > > UDS_GROUP = 32 | UDS_STRING, > > > > UDS_EXTRA = 48 | UDS_STRING, > > > UDS_NAME = 64 | UDS_STRING, > > > UDS_LOCAL_PATH = 72 | UDS_STRING, > > > UDS_HIDDEN = 80 | UDS_LONG, > > > UDS_EXTENDED_ACL = 88 | UDS_LONG, > > > UDS_ACL_STRING = 96 | UDS_STRING, > > > > UDS_DEFAULT_ACL_STRING = 104 | UDS_STRING, > > > > > UDS_ACCESS = 128 | UDS_LONG, > > UDS_MODIFICATION_TIME = 256 | UDS_TIME, > > UDS_ACCESS_TIME = 512 | UDS_TIME, > > UDS_CREATION_TIME = 1024 | UDS_TIME, > > > > UDS_FILE_TYPE = 2048 | UDS_LONG, > > > UDS_LINK_DEST = 4096 | UDS_STRING, > > UDS_URL = 8192 | UDS_STRING, > > UDS_MIME_TYPE = 16384 | UDS_STRING, > > > UDS_GUESSED_MIME_TYPE = 16392 | UDS_STRING, > > > UDS_XML_PROPERTIES = 0x8000 | UDS_STRING > }; > > > > > > > enum CacheControl > { > CC_CacheOnly, > CC_Cache, > CC_Verify, > CC_Refresh, > > CC_Reload > }; ># 401 "../kio/kio/global.h" > KIO::CacheControl parseCacheControl(const QString &cacheControl); ># 410 "../kio/kio/global.h" > QString getCacheControlString(KIO::CacheControl cacheControl); > > > > > > > QString findDeviceMountPoint( const QString& device ); ># 426 "../kio/kio/global.h" > QString findPathMountPoint( const QString & filename ); ># 435 "../kio/kio/global.h" > bool probably_slow_mounted(const QString& filename); > > > > > > > > bool manually_mounted(const QString& filename); > > enum FileSystemFlag { SupportsChmod, SupportsChown, SupportsUTime, > SupportsSymlinks, CaseInsensitive }; ># 467 "../kio/kio/global.h" > bool testFileSystemFlag(const QString& filename, FileSystemFlag flag); ># 483 "../kio/kio/global.h" >class UDSAtom >{ >public: > > > > QString m_str; > > > > long long m_long; > > > > > unsigned int m_uds; >}; > > > > >typedef QValueList<UDSAtom> UDSEntry; >typedef QValueList<UDSEntry> UDSEntryList; >typedef QValueListIterator<UDSEntry> UDSEntryListIterator; >typedef QValueListConstIterator<UDSEntry> UDSEntryListConstIterator; > > > > >class MetaData : public QMap<QString, QString> >{ >public: > > > > MetaData() : QMap<QString, QString>() { }; > > > > MetaData(const QMap<QString, QString>&metaData) : > QMap<QString, QString>(metaData) { }; > > > > > > > MetaData & operator+= ( const QMap<QString,QString> &metaData ) > { > QMap<QString,QString>::ConstIterator it; > for( it = metaData.begin(); > it != metaData.end(); > ++it) > { > replace(it.key(), it.data()); > } > return *this; > } >}; > >} ># 36 "../kio/kio/jobclasses.h" 2 > >class Observer; >class QTimer; > > > >namespace KIO { > > class Slave; > class SlaveInterface; ># 68 "../kio/kio/jobclasses.h" > class Job : 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; > > protected: > Job( bool showProgressInfo ); > > public: > virtual ~Job(); ># 87 "../kio/kio/jobclasses.h" > virtual void kill( bool quietly = true ); > > > > > > > > int error() const { return m_error; } > > > > > > int progressId() const { return m_progressId; } ># 111 "../kio/kio/jobclasses.h" > const QString & errorText() const { return m_errorText; } ># 130 "../kio/kio/jobclasses.h" > QString errorString() const; ># 142 "../kio/kio/jobclasses.h" > QStringList detailedErrorStrings(const KURL *reqUrl = 0L, > int method = -1) const; ># 153 "../kio/kio/jobclasses.h" > void showErrorDialog( QWidget * parent = 0L ); ># 168 "../kio/kio/jobclasses.h" > void setAutoErrorHandlingEnabled( bool enable, QWidget *parentWidget = 0 ); > > > > > > > bool isAutoErrorHandlingEnabled() const; ># 190 "../kio/kio/jobclasses.h" > void setAutoWarningHandlingEnabled( bool enable ); ># 199 "../kio/kio/jobclasses.h" > bool isAutoWarningHandlingEnabled() const; ># 208 "../kio/kio/jobclasses.h" > void setInteractive(bool enable); > > > > > > > > bool isInteractive() const; > > > > > > void setWindow(QWidget *window); > > > > > > > QWidget *window() const; > > > > > > > void updateUserTimestamp( unsigned long time ); ># 248 "../kio/kio/jobclasses.h" > void setParentJob( Job* parentJob ); > > > > > > > > Job* parentJob() const; ># 265 "../kio/kio/jobclasses.h" > void setMetaData( const KIO::MetaData &metaData); ># 274 "../kio/kio/jobclasses.h" > void addMetaData(const QString &key, const QString &value); ># 283 "../kio/kio/jobclasses.h" > void addMetaData(const QMap<QString,QString> &values); ># 292 "../kio/kio/jobclasses.h" > void mergeMetaData(const QMap<QString,QString> &values); > > > > > MetaData outgoingMetaData() const; > > > > > > > MetaData metaData() const; ># 313 "../kio/kio/jobclasses.h" > QString queryMetaData(const QString &key); > > > > > > > KIO::filesize_t getProcessedSize(); > > protected: > > > > > > void result( KIO::Job *job ); ># 337 "../kio/kio/jobclasses.h" > void canceled( KIO::Job *job ); > > > > > > > > void infoMessage( KIO::Job *job, const QString & msg ); ># 354 "../kio/kio/jobclasses.h" > void warning( KIO::Job *job, const QString & msg ); ># 363 "../kio/kio/jobclasses.h" > void connected( KIO::Job *job ); ># 373 "../kio/kio/jobclasses.h" > void percent( KIO::Job *job, unsigned long percent ); > > > > > > > > void totalSize( KIO::Job *job, KIO::filesize_t size ); > > > > > > > > void processedSize( KIO::Job *job, KIO::filesize_t size ); > > > > > > > void speed( KIO::Job *job, unsigned long speed ); > > protected : ># 407 "../kio/kio/jobclasses.h" > virtual void slotResult( KIO::Job *job ); > > > > > > > > void slotSpeed( KIO::Job *job, unsigned long speed ); > > > > > > > void slotInfoMessage( KIO::Job *job, const QString &msg ); > > > > > void slotSpeedTimeout(); > > protected: ># 439 "../kio/kio/jobclasses.h" > virtual void addSubjob( Job *job, bool inheritMetaData=true ); ># 449 "../kio/kio/jobclasses.h" > virtual void removeSubjob( Job *job ); ># 458 "../kio/kio/jobclasses.h" > void removeSubjob( Job *job, bool mergeMetaData, bool emitResultIfLast ); ># 468 "../kio/kio/jobclasses.h" > void emitPercent( KIO::filesize_t processedSize, KIO::filesize_t totalSize ); > > > > > > > > void emitSpeed( unsigned long speed ); > > > > > > void emitResult(); > > > > > > void setProcessedSize(KIO::filesize_t size); > > > > > unsigned long userTimestamp() const; > > > > > > > enum { EF_TransferJobAsync = (1 << 0), > EF_TransferJobNeedData = (1 << 1), > EF_TransferJobDataSent = (1 << 2), > EF_ListJobUnrestricted = (1 << 3) }; > int &extraFlags(); > > QPtrList<Job> subjobs; > int m_error; > QString m_errorText; > unsigned long m_percent; > int m_progressId; > QTimer *m_speedTimer; > QGuardedPtr<QWidget> m_window; > MetaData m_outgoingMetaData; > MetaData m_incomingMetaData; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class JobPrivate; > JobPrivate *d; > }; > > > > > > > > class SimpleJob : public KIO::Job { > 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: ># 540 "../kio/kio/jobclasses.h" > SimpleJob(const KURL& url, int command, const QByteArray &packedArgs, > bool showProgressInfo); > > ~SimpleJob(); > > > > > > const KURL& url() const { return m_url; } ># 558 "../kio/kio/jobclasses.h" > virtual void kill( bool quietly = true ); > > > > > > virtual void putOnHold(); > > > > > static void removeOnHold(); > > > > > > > virtual void start( Slave *slave ); > > > > > > void slaveDone(); > > > > > > Slave *slave() const { return m_slave; } > > > > > int command() const { return m_command; } > > public : > > > > > > void slotTotalSize( KIO::filesize_t data_size ); > > protected : > > > > > virtual void slotFinished( ); > > > > > > void slotWarning( const QString & ); > > > > > > > void slotInfoMessage( const QString &s ); > > > > > > void slotConnected(); > > > > > > > void slotProcessedSize( KIO::filesize_t data_size ); > > > > > > void slotSpeed( unsigned long speed ); > > > > > > > virtual void slotMetaData( const KIO::MetaData &_metaData); > > public : > > > > > > virtual void slotError( int , const QString & ); > > protected : > > > > void slotNeedProgressId(); > > protected: > Slave * m_slave; > QByteArray m_packedArgs; > KURL m_url; > KURL m_subUrl; > int m_command; > KIO::filesize_t m_totalSize; > protected: > virtual void virtual_hook( int id, void* data ); > > > > > > > > void storeSSLSessionFromJob(const KURL &m_redirectionURL); > private: > class SimpleJobPrivate* d; > }; > > > > > > class StatJob : public SimpleJob { > > 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: > > > > > > > > StatJob(const KURL& url, int command, const QByteArray &packedArgs, bool showProgressInfo); ># 709 "../kio/kio/jobclasses.h" > void setSide( bool source ) { m_bSource = source; } ># 720 "../kio/kio/jobclasses.h" > void setDetails( short int details ) { m_details = details; } > > > > > > > const UDSEntry & statResult() const { return m_statResult; } > > > > > > > > virtual void start( Slave *slave ); > > protected: > > > > > > > > void redirection( KIO::Job *job, const KURL &url ); ># 755 "../kio/kio/jobclasses.h" > void permanentRedirection( KIO::Job *job, const KURL &fromUrl, const KURL &toUrl ); > > protected : > void slotStatEntry( const KIO::UDSEntry & entry ); > void slotRedirection( const KURL &url); > virtual void slotFinished(); > virtual void slotMetaData( const KIO::MetaData &_metaData); > > protected: > UDSEntry m_statResult; > KURL m_redirectionURL; > bool m_bSource; > short int m_details; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class StatJobPrivate; > StatJobPrivate *d; > }; > > > > > > > class MkdirJob : public SimpleJob { > > 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: > > > > > > > > MkdirJob(const KURL& url, int command, const QByteArray &packedArgs, bool showProgressInfo); > > > > > > > > virtual void start( Slave *slave ); > > protected: > > > > > > > > void redirection( KIO::Job *job, const KURL &url ); ># 819 "../kio/kio/jobclasses.h" > void permanentRedirection( KIO::Job *job, const KURL &fromUrl, const KURL &toUrl ); > > protected : > void slotRedirection( const KURL &url); > virtual void slotFinished(); > > protected: > KURL m_redirectionURL; > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class MkdirJobPrivate; > MkdirJobPrivate *d; > }; > > > > > > class DirectCopyJob : public SimpleJob { > 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: > > > > DirectCopyJob(const KURL& url, int command, const QByteArray &packedArgs, > bool showProgressInfo); > > > > > > > virtual void start(Slave *slave); > > protected: > > > > > > void canResume( KIO::Job *job, KIO::filesize_t offset ); > > private : > void slotCanResume( KIO::filesize_t offset ); > }; ># 875 "../kio/kio/jobclasses.h" > class TransferJob : public SimpleJob { > 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: ># 888 "../kio/kio/jobclasses.h" > TransferJob(const KURL& url, int command, > const QByteArray &packedArgs, > const QByteArray &_staticData, > bool showProgressInfo); > > > > > > > > virtual void start(Slave *slave); > > > > > > virtual void slotResult( KIO::Job *job ); > > > > > void suspend(); > > > > > void resume(); > > > > > > bool isSuspended() const { return m_suspended; } ># 931 "../kio/kio/jobclasses.h" > bool isErrorPage() const { return m_errorPage; } ># 940 "../kio/kio/jobclasses.h" > void setAsyncDataEnabled(bool enabled); > > > > > > > > void sendAsyncData(const QByteArray &data); ># 957 "../kio/kio/jobclasses.h" > void setReportDataSent(bool enabled); > > > > > > > > bool reportDataSent(); > > protected: ># 977 "../kio/kio/jobclasses.h" > void data( KIO::Job *job, const QByteArray &data ); ># 990 "../kio/kio/jobclasses.h" > void dataReq( KIO::Job *job, QByteArray &data ); ># 999 "../kio/kio/jobclasses.h" > void redirection( KIO::Job *job, const KURL &url ); ># 1009 "../kio/kio/jobclasses.h" > void permanentRedirection( KIO::Job *job, const KURL &fromUrl, const KURL &toUrl ); > > > > > > > void mimetype( KIO::Job *job, const QString &type ); ># 1025 "../kio/kio/jobclasses.h" > void canResume( KIO::Job *job, KIO::filesize_t offset ); > > > protected : > virtual void slotRedirection( const KURL &url); > virtual void slotFinished(); > virtual void slotData( const QByteArray &data); > virtual void slotDataReq(); > virtual void slotMimetype( const QString &mimetype ); > virtual void slotNeedSubURLData(); > virtual void slotSubURLData(KIO::Job*, const QByteArray &); > virtual void slotMetaData( const KIO::MetaData &_metaData); > void slotErrorPage(); > void slotCanResume( KIO::filesize_t offset ); > void slotPostRedirection(); > > protected: > bool m_suspended; > bool m_errorPage; > QByteArray staticData; > KURL m_redirectionURL; > KURL::List m_redirectionList; > QString m_mimetype; > TransferJob *m_subJob; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class TransferJobPrivate *d; > }; ># 1075 "../kio/kio/jobclasses.h" > class StoredTransferJob : public KIO::TransferJob { > 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: ># 1088 "../kio/kio/jobclasses.h" > StoredTransferJob(const KURL& url, int command, > const QByteArray &packedArgs, > const QByteArray &_staticData, > bool showProgressInfo); > > > > > > > void setData( const QByteArray& arr ); > > > > > > QByteArray data() const { return m_data; } > > private : > void slotStoredData( KIO::Job *job, const QByteArray &data ); > void slotStoredDataReq( KIO::Job *job, QByteArray &data ); > private: > QByteArray m_data; > int m_uploadOffset; > }; > > > > > > > > class MultiGetJob : public TransferJob { > 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: > > > > > > > > MultiGetJob(const KURL& url, bool showProgressInfo); > > > > > > > > virtual void start(Slave *slave); ># 1148 "../kio/kio/jobclasses.h" > void get(long id, const KURL &url, const MetaData &metaData); > > protected: > > > > > > > void data( long id, const QByteArray &data); > > > > > > > void mimetype( long id, const QString &type ); ># 1173 "../kio/kio/jobclasses.h" > void result( long id); > > protected : > virtual void slotRedirection( const KURL &url); > virtual void slotFinished(); > virtual void slotData( const QByteArray &data); > virtual void slotMimetype( const QString &mimetype ); > private: > struct GetRequest { > public: > GetRequest(long _id, const KURL &_url, const MetaData &_metaData) > : id(_id), url(_url), metaData(_metaData) { } > long id; > KURL url; > MetaData metaData; > }; > bool findCurrentEntry(); > void flushQueue(QPtrList<GetRequest> &queue); > > QPtrList<GetRequest> m_waitQueue; > QPtrList<GetRequest> m_activeQueue; > bool b_multiGetActive; > GetRequest *m_currentEntry; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class MultiGetJobPrivate* d; > }; > > > > > > > > class MimetypeJob : public TransferJob { > 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: ># 1220 "../kio/kio/jobclasses.h" > MimetypeJob(const KURL& url, int command, const QByteArray &packedArgs, bool showProgressInfo); > > > > > > > QString mimetype() const { return m_mimetype; } > > > > > > > > virtual void start( Slave *slave ); > > protected : > virtual void slotFinished( ); > protected: > virtual void virtual_hook( int id, void* data ); > private: > class MimetypeJobPrivate* d; > }; > > > > > > > class FileCopyJob : public Job { > 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: ># 1265 "../kio/kio/jobclasses.h" > FileCopyJob( const KURL& src, const KURL& dest, int permissions, > bool move, bool overwrite, bool resume, bool showProgressInfo); > > ~FileCopyJob(); > > > > > > > void setSourceSize64(KIO::filesize_t size); ># 1284 "../kio/kio/jobclasses.h" > void setModificationTime( time_t mtime ); > > > > > void setSourceSize( off_t size ) __attribute__ ((deprecated)); > > > > > > KURL srcURL() const { return m_src; } > > > > > > KURL destURL() const { return m_dest; } > > public : > void slotStart(); > void slotData( KIO::Job *, const QByteArray &data); > void slotDataReq( KIO::Job *, QByteArray &data); > > protected : > > > > > virtual void slotResult( KIO::Job *job ); > > > > > > > void slotProcessedSize( KIO::Job *job, KIO::filesize_t size ); > > > > > > void slotTotalSize( KIO::Job *job, KIO::filesize_t size ); > > > > > > void slotPercent( KIO::Job *job, unsigned long pct ); > > > > > > void slotCanResume( KIO::Job *job, KIO::filesize_t offset ); > > protected: > void startCopyJob(); > void startCopyJob(const KURL &slave_url); > void startRenameJob(const KURL &slave_url); > void startDataPump(); > void connectSubjob( SimpleJob * job ); > > private: > void startBestCopyMethod(); > > protected: > KURL m_src; > KURL m_dest; > int m_permissions; > bool m_move:1; > bool m_overwrite:1; > bool m_resume:1; > bool m_canResume:1; > bool m_resumeAnswerSent:1; > QByteArray m_buffer; > SimpleJob *m_moveJob; > SimpleJob *m_copyJob; > TransferJob *m_getJob; > TransferJob *m_putJob; > KIO::filesize_t m_totalSize; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class FileCopyJobPrivate; > FileCopyJobPrivate* d; > }; ># 1379 "../kio/kio/jobclasses.h" > class ListJob : public SimpleJob { > 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: ># 1393 "../kio/kio/jobclasses.h" > ListJob(const KURL& url, bool showProgressInfo, > bool recursive = false, QString prefix = QString::null, > bool includeHidden = true); > > > > > > > > virtual void start( Slave *slave ); > > > > > > > > const KURL& redirectionURL() const { return m_redirectionURL; } > > > > > > void setUnrestricted(bool unrestricted); > > protected: ># 1429 "../kio/kio/jobclasses.h" > void entries( KIO::Job *job, const KIO::UDSEntryList& list); ># 1438 "../kio/kio/jobclasses.h" > void redirection( KIO::Job *job, const KURL &url ); ># 1448 "../kio/kio/jobclasses.h" > void permanentRedirection( KIO::Job *job, const KURL &fromUrl, const KURL &toUrl ); > > protected : > virtual void slotFinished( ); > virtual void slotMetaData( const KIO::MetaData &_metaData); > virtual void slotResult( KIO::Job *job ); > void slotListEntries( const KIO::UDSEntryList& list ); > void slotRedirection( const KURL &url ); > void gotEntries( KIO::Job * subjob, const KIO::UDSEntryList& list ); > > private: > bool recursive; > bool includeHidden; > QString prefix; > unsigned long m_processedEntries; > KURL m_redirectionURL; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class ListJobPrivate* d; > }; > > > struct CopyInfo > { > KURL uSource; > KURL uDest; > QString linkDest; > int permissions; > > time_t ctime; > time_t mtime; > KIO::filesize_t size; > }; ># 1495 "../kio/kio/jobclasses.h" > class CopyJob : public Job { > 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 CopyMode{ Copy, Move, Link }; ># 1521 "../kio/kio/jobclasses.h" > CopyJob( const KURL::List& src, const KURL& dest, CopyMode mode, bool asMethod, bool showProgressInfo ); > > virtual ~CopyJob(); > > > > > > KURL::List srcURLs() const { return m_srcList; } > > > > > > KURL destURL() const { return m_dest; } ># 1547 "../kio/kio/jobclasses.h" > void setDefaultPermissions( bool b ); ># 1560 "../kio/kio/jobclasses.h" > void setInteractive( bool b ); > > protected: > > > > > > > void totalFiles( KIO::Job *job, unsigned long files ); > > > > > > void totalDirs( KIO::Job *job, unsigned long dirs ); ># 1584 "../kio/kio/jobclasses.h" > void aboutToCreate( KIO::Job *job, const QValueList<KIO::CopyInfo> &files); > > > > > > > void processedFiles( KIO::Job *job, unsigned long files ); > > > > > > void processedDirs( KIO::Job *job, unsigned long dirs ); ># 1606 "../kio/kio/jobclasses.h" > void copying( KIO::Job *job, const KURL& from, const KURL& to ); > > > > > > > > void linking( KIO::Job *job, const QString& target, const KURL& to ); > > > > > > > > void moving( KIO::Job *job, const KURL& from, const KURL& to ); > > > > > > void creatingDir( KIO::Job *job, const KURL& dir ); > > > > > > > void renamed( KIO::Job *job, const KURL& from, const KURL& to ); ># 1649 "../kio/kio/jobclasses.h" > void copyingDone( KIO::Job *job, const KURL &from, const KURL &to, bool directory, bool renamed ); ># 1659 "../kio/kio/jobclasses.h" > void copyingLinkDone( KIO::Job *job, const KURL &from, const QString& target, const KURL& to ); > > protected: > void statCurrentSrc(); > void statNextSrc(); > > > void slotResultStating( KIO::Job * job ); > void startListing( const KURL & src ); > void slotResultCreatingDirs( KIO::Job * job ); > void slotResultConflictCreatingDirs( KIO::Job * job ); > void createNextDir(); > void slotResultCopyingFiles( KIO::Job * job ); > void slotResultConflictCopyingFiles( KIO::Job * job ); > void copyNextFile(); > void slotResultDeletingDirs( KIO::Job * job ); > void deleteNextDir(); > void skip( const KURL & sourceURL ); > void slotResultRenaming( KIO::Job * job ); > > void setNextDirAttribute(); > private: > void startRenameJob(const KURL &slave_url); > bool shouldOverwrite( const QString& path ) const; > bool shouldSkip( const QString& path ) const; > void skipSrc(); > > protected : > void slotStart(); > void slotEntries( KIO::Job*, const KIO::UDSEntryList& list ); > virtual void slotResult( KIO::Job *job ); > > > > void slotProcessedSize( KIO::Job*, KIO::filesize_t data_size ); > > > > > void slotTotalSize( KIO::Job*, KIO::filesize_t size ); > > void slotReport(); > private: > CopyMode m_mode; > bool m_asMethod; > enum DestinationState { DEST_NOT_STATED, DEST_IS_DIR, DEST_IS_FILE, DEST_DOESNT_EXIST }; > DestinationState destinationState; > enum { STATE_STATING, STATE_RENAMING, STATE_LISTING, STATE_CREATING_DIRS, > STATE_CONFLICT_CREATING_DIRS, STATE_COPYING_FILES, STATE_CONFLICT_COPYING_FILES, > STATE_DELETING_DIRS, STATE_SETTING_DIR_ATTRIBUTES } state; > KIO::filesize_t m_totalSize; > KIO::filesize_t m_processedSize; > KIO::filesize_t m_fileProcessedSize; > int m_processedFiles; > int m_processedDirs; > QValueList<CopyInfo> files; > QValueList<CopyInfo> dirs; > KURL::List dirsToRemove; > KURL::List m_srcList; > KURL::List::Iterator m_currentStatSrc; > bool m_bCurrentSrcIsDir; > bool m_bCurrentOperationIsLink; > bool m_bSingleFileCopy; > bool m_bOnlyRenames; > KURL m_dest; > KURL m_currentDest; > > QStringList m_skipList; > QStringList m_overwriteList; > bool m_bAutoSkip; > bool m_bOverwriteAll; > int m_conflictError; > > QTimer *m_reportTimer; > > KURL m_currentSrcURL; > KURL m_currentDestURL; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class CopyJobPrivate; > CopyJobPrivate* d; > friend class CopyJobPrivate; > }; > > > > > > > > class DeleteJob : public Job { > 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: ># 1763 "../kio/kio/jobclasses.h" > DeleteJob( const KURL::List& src, bool shred, bool showProgressInfo ); > > > > > > KURL::List urls() const { return m_srcList; } > > protected: > > > > > > > void totalFiles( KIO::Job *job, unsigned long files ); > > > > > > void totalDirs( KIO::Job *job, unsigned long dirs ); > > > > > > > void processedFiles( KIO::Job *job, unsigned long files ); > > > > > > void processedDirs( KIO::Job *job, unsigned long dirs ); > > > > > > > > void deleting( KIO::Job *job, const KURL& file ); > > protected : > void slotStart(); > void slotEntries( KIO::Job*, const KIO::UDSEntryList& list ); > virtual void slotResult( KIO::Job *job ); > > > > > void slotProcessedSize( KIO::Job*, KIO::filesize_t data_size ); > void slotReport(); > > private: > void statNextSrc(); > void deleteNextFile(); > void deleteNextDir(); > > private: > enum { STATE_STATING, STATE_LISTING, > STATE_DELETING_FILES, STATE_DELETING_DIRS } state; > KIO::filesize_t m_totalSize; > KIO::filesize_t m_processedSize; > KIO::filesize_t m_fileProcessedSize; > int m_processedFiles; > int m_processedDirs; > int m_totalFilesDirs; > KURL m_currentURL; > KURL::List files; > KURL::List symlinks; > KURL::List dirs; > KURL::List m_srcList; > KURL::List::Iterator m_currentStat; > QStringList m_parentDirs; > bool m_shred; > QTimer *m_reportTimer; > protected: > > virtual void virtual_hook( int id, void* data ); > private: > class DeleteJobPrivate* d; > }; > >} ># 26 "../kio/kio/job.h" 2 > >namespace KIO { ># 41 "../kio/kio/job.h" > SimpleJob * mkdir( const KURL& url, int permissions = -1 ); ># 53 "../kio/kio/job.h" > SimpleJob * rmdir( const KURL& url ); ># 64 "../kio/kio/job.h" > SimpleJob * chmod( const KURL& url, int permissions ); ># 77 "../kio/kio/job.h" > SimpleJob * rename( const KURL& src, const KURL & dest, bool overwrite ); ># 90 "../kio/kio/job.h" > SimpleJob * symlink( const QString & target, const KURL& dest, bool overwrite, bool showProgressInfo = true ); ># 104 "../kio/kio/job.h" > SimpleJob * special( const KURL& url, const QByteArray & data, bool showProgressInfo = true ); ># 118 "../kio/kio/job.h" > SimpleJob *mount( bool ro, const char *fstype, const QString& dev, const QString& point, bool showProgressInfo = true ); ># 129 "../kio/kio/job.h" > SimpleJob *unmount( const QString & point, bool showProgressInfo = true ); ># 140 "../kio/kio/job.h" > SimpleJob *http_update_cache( const KURL& url, bool no_cache, time_t expireDate); ># 149 "../kio/kio/job.h" > StatJob * stat( const KURL& url, bool showProgressInfo = true ); ># 177 "../kio/kio/job.h" > StatJob * stat( const KURL& url, bool sideIsSource, short int details, bool showProgressInfo = true ); ># 188 "../kio/kio/job.h" > TransferJob *get( const KURL& url, bool reload=false, bool showProgressInfo = true ); ># 202 "../kio/kio/job.h" > TransferJob *put( const KURL& url, int permissions, > bool overwrite, bool resume, bool showProgressInfo = true ); ># 233 "../kio/kio/job.h" > TransferJob *http_post( const KURL& url, const QByteArray &postData, > bool showProgressInfo = true ); ># 246 "../kio/kio/job.h" > StoredTransferJob *storedGet( const KURL& url, bool reload=false, bool showProgressInfo = true ); ># 262 "../kio/kio/job.h" > StoredTransferJob *storedPut( const QByteArray& arr, const KURL& url, int permissions, > bool overwrite, bool resume, bool showProgressInfo = true ); ># 275 "../kio/kio/job.h" > MultiGetJob *multi_get( long id, const KURL &url, const MetaData &metaData); ># 284 "../kio/kio/job.h" > MimetypeJob * mimetype( const KURL& url, > bool showProgressInfo = true ); ># 303 "../kio/kio/job.h" > FileCopyJob *file_copy( const KURL& src, const KURL& dest, int permissions=-1, > bool overwrite=false, bool resume=false, > bool showProgressInfo = true); ># 322 "../kio/kio/job.h" > FileCopyJob *file_move( const KURL& src, const KURL& dest, int permissions=-1, > bool overwrite=false, bool resume=false, > bool showProgressInfo = true); ># 333 "../kio/kio/job.h" > SimpleJob *file_delete( const KURL& src, bool showProgressInfo = true); ># 347 "../kio/kio/job.h" > ListJob *listDir( const KURL& url, bool showProgressInfo = true, > bool includeHidden = true ); ># 363 "../kio/kio/job.h" > ListJob *listRecursive( const KURL& url, bool showProgressInfo = true, > bool includeHidden = true ); ># 379 "../kio/kio/job.h" > CopyJob *copy( const KURL& src, const KURL& dest, bool showProgressInfo = true ); ># 394 "../kio/kio/job.h" > CopyJob *copyAs( const KURL& src, const KURL& dest, bool showProgressInfo = true ); ># 404 "../kio/kio/job.h" > CopyJob *copy( const KURL::List& src, const KURL& dest, bool showProgressInfo = true ); ># 416 "../kio/kio/job.h" > CopyJob *move( const KURL& src, const KURL& dest, bool showProgressInfo = true ); ># 427 "../kio/kio/job.h" > CopyJob *moveAs( const KURL& src, const KURL& dest, bool showProgressInfo = true ); ># 437 "../kio/kio/job.h" > CopyJob *move( const KURL::List& src, const KURL& dest, bool showProgressInfo = true ); ># 449 "../kio/kio/job.h" > CopyJob *link( const KURL& src, const KURL& destDir, bool showProgressInfo = true ); ># 462 "../kio/kio/job.h" > CopyJob *link( const KURL::List& src, const KURL& destDir, bool showProgressInfo = true ); ># 477 "../kio/kio/job.h" > CopyJob *linkAs( const KURL& src, const KURL& dest, bool showProgressInfo = true ); ># 489 "../kio/kio/job.h" > CopyJob *trash( const KURL& src, bool showProgressInfo = true ); ># 500 "../kio/kio/job.h" > CopyJob *trash( const KURL::List& src, bool showProgressInfo = true ); ># 510 "../kio/kio/job.h" > DeleteJob *del( const KURL& src, bool shred = false, bool showProgressInfo = true ); ># 520 "../kio/kio/job.h" > DeleteJob *del( const KURL::List& src, bool shred = false, bool showProgressInfo = true ); >} ># 31 "../kabc/ldapconfigwidget.h" 2 > >class QGridLayout; >class QSpinBox; >class QPushButton; >class QCheckBox; >class QRadioButton; >class KComboBox; >class KLineEdit; >class KProgressDialog; > >namespace KABC { ># 50 "../kabc/ldapconfigwidget.h" > class LdapConfigWidget : 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; ># 74 "../kabc/ldapconfigwidget.h" > public: > > enum LCW_Flags { > W_USER = 0x1, > W_PASS = 0x2, > W_BINDDN = 0x4, > W_REALM = 0x8, > W_HOST = 0x10, > W_PORT = 0x20, > W_VER = 0x40, > W_DN = 0x80, > W_FILTER = 0x100, > W_SECBOX = 0x400, > W_AUTHBOX = 0x800, > W_TIMELIMIT = 0x1000, > W_SIZELIMIT = 0x2000, > W_ALL = 0xFFFFFFF > }; > > > > > LdapConfigWidget( QWidget* parent = 0, > const char* name = 0, WFlags fl = 0 ); > > LdapConfigWidget( int flags, QWidget* parent = 0, > const char* name = 0, WFlags fl = 0 ); > > virtual ~LdapConfigWidget(); > > > void setUser( const QString &user ); > > QString user() const; > > > void setPassword( const QString &password ); > > QString password() const; > > > > > > void setBindDN( const QString &binddn ); > > QString bindDN() const; > > > void setRealm( const QString &realm ); > > QString realm() const; > > > void setHost( const QString &host ); > > QString host() const; > > > void setPort( int port ); > > int port() const; > > > void setVer( int ver ); > > int ver() const; > > > void setDn( const QString &dn ); > > QString dn() const; > > > void setFilter( const QString &filter ); > > QString filter() const; > > > void setMech( const QString &mech ); > > QString mech() const; > > > > > > void setSecNO( bool b = true ); > > > > > bool isSecNO() const; > > > > > > void setSecTLS( bool b = true ); > > > > > bool isSecTLS() const; > > > > > > void setSecSSL( bool b = true ); > > > > > bool isSecSSL() const; > > > > > > void setAuthAnon( bool b = true ); > > > > > bool isAuthAnon() const; > > > > > > void setAuthSimple( bool b = true ); > > > > > bool isAuthSimple() const; > > > > > > void setAuthSASL( bool b = true ); > > > > > bool isAuthSASL() const; > > > > > > void setSizeLimit( int sizelimit ); > > > > > int sizeLimit() const; > > > > > > void setTimeLimit( int timelimit ); > > > > > int timeLimit() const; > > int flags() const; > void setFlags( int flags ); > > > > > > KABC::LDAPUrl url() const; > > private : > void setLDAPPort(); > void setLDAPSPort(); > void setAnonymous( int state ); > void setSimple( int state ); > void setSASL( int state ); > void mQueryDNClicked(); > void mQueryMechClicked(); > void loadData( KIO::Job*, const QByteArray& ); > void loadResult( KIO::Job* ); > private: > > int mFlags; > LDIF mLdif; > QStringList mQResult; > QString mAttr; > > KLineEdit *mUser; > KLineEdit *mPassword; > KLineEdit *mHost; > QSpinBox *mPort, *mVer, *mSizeLimit, *mTimeLimit; > KLineEdit *mDn, *mBindDN, *mRealm; > KLineEdit *mFilter; > QRadioButton *mAnonymous,*mSimple,*mSASL; > QCheckBox *mSubTree; > QPushButton *mEditButton; > QPushButton *mQueryMech; > QRadioButton *mSecNO,*mSecTLS,*mSecSSL; > KComboBox *mMech; > > QString mErrorMsg; > bool mCancelled; > KProgressDialog *mProg; > > QGridLayout *mainLayout; > class LDAPConfigWidgetPrivate; > LDAPConfigWidgetPrivate *d; > > void sendQuery(); > void initWidget(); > }; >} ># 11 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kactionselector.h" 1 ># 24 "../kdeui/kactionselector.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/kactionselector.h" 2 > >class QListBox; >class QListBoxItem; >class QKeyEvent; >class QEvent; >class QIconSet; > >class KActionSelectorPrivate; ># 79 "../kdeui/kactionselector.h" >class KActionSelector : 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; ># 91 "../kdeui/kactionselector.h" >public: > KActionSelector( QWidget *parent=0, const char *name=0 ); > ~KActionSelector(); > > > > > QListBox *availableListBox() const; > > > > > QListBox *selectedListBox() const; > > > > > enum MoveButton { > ButtonAdd, > ButtonRemove, > ButtonUp, > ButtonDown > }; ># 125 "../kdeui/kactionselector.h" > enum ButtonIconSize { > SmallIcon, > Small, > Medium, > Large, > XLarge > }; ># 145 "../kdeui/kactionselector.h" > enum InsertionPolicy { > BelowCurrent, > Sorted, > AtTop, > AtBottom > }; ># 159 "../kdeui/kactionselector.h" > bool moveOnDoubleClick() const; > > > > > > void setMoveOnDoubleClick( bool enable ); ># 185 "../kdeui/kactionselector.h" > bool keyboardEnabled() const; > > > > > > void setKeyboardEnabled( bool enable ); > > > > > QString availableLabel() const; > > > > > > > > void setAvailableLabel( const QString & text ); > > > > > QString selectedLabel() const; > > > > > > > > void setSelectedLabel( const QString & text ); > > > > > ButtonIconSize buttonIconSize() const; > > > > > > void setButtonIconSize( ButtonIconSize size ); > > > > > > > InsertionPolicy availableInsertionPolicy() const; > > > > > > void setAvailableInsertionPolicy( InsertionPolicy policy ); > > > > > > > InsertionPolicy selectedInsertionPolicy() const; > > > > > > void setSelectedInsertionPolicy( InsertionPolicy policy ); > > > > > bool showUpDownButtons() const; > > > > > > void setShowUpDownButtons( bool show ); > > > > > > void setButtonIcon( const QString &icon, MoveButton button ); > > > > > > > > void setButtonIconSet( const QIconSet &iconset, MoveButton button ); > > > > > void setButtonTooltip( const QString &tip, MoveButton button ); > > > > > void setButtonWhatsThis( const QString &text, MoveButton button ); ># 298 "../kdeui/kactionselector.h" > void setButtonsEnabled(); > >protected: > > > > void added( QListBoxItem *item ); > > > > > void removed( QListBoxItem *item ); > > > > > void movedUp( QListBoxItem *item ); > > > > > void movedDown( QListBoxItem *item ); > > > > > > >public : > > > > > void polish(); > >protected: > > > > void keyPressEvent( QKeyEvent * ); > > > > > bool eventFilter( QObject *, QEvent * ); > >private : > > > > void buttonAddClicked(); > > > > > void buttonRemoveClicked(); > > > > > void buttonUpClicked(); > > > > > void buttonDownClicked(); > > > > > void itemDoubleClicked( QListBoxItem *item ); > > > > > void slotCurrentChanged( QListBoxItem * ) { setButtonsEnabled(); }; > >private: > > > > > void moveItem( QListBoxItem *item ); > > > > > void loadIcons(); ># 394 "../kdeui/kactionselector.h" > int insertionIndex( QListBox *lb, InsertionPolicy policy ); > > > > > KActionSelectorPrivate *d; >}; ># 12 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kactivelabel.h" 1 ># 22 "../kdeui/kactivelabel.h" > ># 1 "/usr/qt/3/include/qtextbrowser.h" 1 ># 45 "/usr/qt/3/include/qtextbrowser.h" > ># 1 "/usr/qt/3/include/qtextedit.h" 1 ># 42 "/usr/qt/3/include/qtextedit.h" > ># 1 "/usr/qt/3/include/qscrollview.h" 1 ># 41 "/usr/qt/3/include/qscrollview.h" > ># 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; } ># 42 "/usr/qt/3/include/qscrollview.h" 2 > ># 1 "/usr/qt/3/include/qscrollbar.h" 1 ># 41 "/usr/qt/3/include/qscrollbar.h" >class QTimer; > > > > ># 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& ); > >}; ># 46 "/usr/qt/3/include/qscrollbar.h" 2 > > > > >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/qtextedit.h" 2 > ># 1 "/usr/qt/3/include/qstylesheet.h" 1 ># 44 "/usr/qt/3/include/qstylesheet.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/qstylesheet.h" 2 > ># 1 "/usr/qt/3/include/qdict.h" 1 ># 42 "/usr/qt/3/include/qdict.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/qdict.h" 2 > > >template<class type> >class QDict > > > > : public QGDict > >{ >public: > QDict( int size = 17, bool caseSensitive = TRUE ) > : QGDict( size, StringKey, caseSensitive, FALSE ) { } > QDict( const QDict<type> &d ) : QGDict( d ) { } > ~QDict() { clear(); } > QDict<type> &operator=(const QDict<type> &d) > { return (QDict<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 QString &k, const type *d ) > { QGDict::look_string(k,(Item)d,1); } > void replace( const QString &k, const type *d ) > { QGDict::look_string(k,(Item)d,2); } > bool remove( const QString &k ) { return QGDict::remove_string(k); } > type *take( const QString &k ) { return (type *)QGDict::take_string(k); } > type *find( const QString &k ) const > { return (type *)((QGDict*)this)->QGDict::look_string(k,0,0); } > type *operator[]( const QString &k ) const > { return (type *)((QGDict*)this)->QGDict::look_string(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 QDict<void>::deleteItem( Item ) >{ >} > > >template<class type> inline void QDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QDictIterator : public QGDictIterator >{ >public: > QDictIterator(const QDict<type> &d) : QGDictIterator((QGDict &)d) { } > ~QDictIterator() {} > 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 *operator*() { return (type *)QGDictIterator::get(); } > type *current() const { return (type *)QGDictIterator::get(); } > QString currentKey() const{ return QGDictIterator::getKeyString(); } > 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/qdict.h" 2 ># 46 "/usr/qt/3/include/qstylesheet.h" 2 > > > > > >class QStyleSheet; >class QTextDocument; >template<class Key, class T> class QMap; >class QStyleSheetItemData; > >class __attribute__((visibility("default"))) QStyleSheetItem : public Qt >{ >public: > QStyleSheetItem( QStyleSheet* parent, const QString& name ); > QStyleSheetItem( const QStyleSheetItem & ); > ~QStyleSheetItem(); > > QStyleSheetItem& operator=( const QStyleSheetItem& other ); > > QString name() const; > > QStyleSheet* styleSheet(); > const QStyleSheet* styleSheet() const; > > enum AdditionalStyleValues { Undefined = - 1}; > > enum DisplayMode { > DisplayBlock, > DisplayInline, > DisplayListItem, > DisplayNone > > , DisplayModeUndefined = -1 > > }; > > DisplayMode displayMode() const; > void setDisplayMode(DisplayMode m); > > int alignment() const; > void setAlignment( int f); > > enum VerticalAlignment { > VAlignBaseline, > VAlignSub, > VAlignSuper > }; > > VerticalAlignment verticalAlignment() const; > void setVerticalAlignment( VerticalAlignment valign ); > > int fontWeight() const; > void setFontWeight(int w); > > int logicalFontSize() const; > void setLogicalFontSize(int s); > > int logicalFontSizeStep() const; > void setLogicalFontSizeStep( int s ); > > int fontSize() const; > void setFontSize(int s); > > QString fontFamily() const; > void setFontFamily( const QString& ); > > int numberOfColumns() const; > void setNumberOfColumns(int ncols); > > QColor color() const; > void setColor( const QColor &); > > bool fontItalic() const; > void setFontItalic( bool ); > bool definesFontItalic() const; > > bool fontUnderline() const; > void setFontUnderline( bool ); > bool definesFontUnderline() const; > > bool fontStrikeOut() const; > void setFontStrikeOut( bool ); > bool definesFontStrikeOut() const; > > bool isAnchor() const; > void setAnchor(bool anc); > > enum WhiteSpaceMode { > WhiteSpaceNormal, > WhiteSpacePre, > WhiteSpaceNoWrap > > , WhiteSpaceModeUndefined = -1 > > }; > WhiteSpaceMode whiteSpaceMode() const; > void setWhiteSpaceMode(WhiteSpaceMode m); > > enum Margin { > MarginLeft, > MarginRight, > MarginTop, > MarginBottom, > MarginFirstLine, > MarginAll, > MarginVertical, > MarginHorizontal > > , MarginUndefined = -1 > > }; > > int margin( Margin m) const; > void setMargin( Margin, int); > > enum ListStyle { > ListDisc, > ListCircle, > ListSquare, > ListDecimal, > ListLowerAlpha, > ListUpperAlpha > > , ListStyleUndefined = -1 > > }; > > ListStyle listStyle() const; > void setListStyle( ListStyle ); > > QString contexts() const; > void setContexts( const QString& ); > bool allowedInContext( const QStyleSheetItem* ) const; > > bool selfNesting() const; > void setSelfNesting( bool ); > > void setLineSpacing( int ls ); > int lineSpacing() const; > >private: > void init(); > QStyleSheetItemData* d; >}; ># 202 "/usr/qt/3/include/qstylesheet.h" >class QTextCustomItem; > > >class __attribute__((visibility("default"))) QStyleSheet : 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: > QStyleSheet( QObject *parent=0, const char *name=0 ); > virtual ~QStyleSheet(); > > static QStyleSheet* defaultSheet(); > static void setDefaultSheet( QStyleSheet* ); > > > QStyleSheetItem* item( const QString& name); > const QStyleSheetItem* item( const QString& name) const; > > void insert( QStyleSheetItem* item); > > > virtual QTextCustomItem* tag( const QString& name, > const QMap<QString, QString> &attr, > const QString& context, > const QMimeSourceFactory& factory, > bool emptyTag, QTextDocument *doc ) const; > > static QString escape( const QString& ); > static QString convertFromPlainText( const QString&, > QStyleSheetItem::WhiteSpaceMode mode = QStyleSheetItem::WhiteSpacePre ); > static bool mightBeRichText( const QString& ); > > virtual void scaleFont( QFont& font, int logicalSize ) const; > > virtual void error( const QString& ) const; > >private: > void init(); > QDict<QStyleSheetItem> styles; > QStyleSheetItem* nullstyle; >private: > > QStyleSheet( const QStyleSheet & ); > QStyleSheet &operator=( const QStyleSheet & ); > >}; ># 44 "/usr/qt/3/include/qtextedit.h" 2 ># 54 "/usr/qt/3/include/qtextedit.h" >class QPainter; >class QTextDocument; >class QTextCursor; >class QKeyEvent; >class QResizeEvent; >class QMouseEvent; >class QTimer; >class QTextString; >class QTextCommand; >class QTextParagraph; >class QTextFormat; >class QFont; >class QColor; >class QTextEdit; >class QTextBrowser; >class QTextString; >struct QUndoRedoInfoPrivate; >class QPopupMenu; >class QTextEditPrivate; >class QSyntaxHighlighter; > > >class QTextEditOptimPrivate >{ >public: > > > enum TagType { Color = 0, Format = 1 }; > struct Tag { > TagType type:2; > bool bold:1; > bool italic:1; > bool underline:1; > int line; > int index; > Tag * leftTag; > Tag * parent; > Tag * prev; > Tag * next; > QString tag; > }; > QTextEditOptimPrivate() > { > len = numLines = maxLineWidth = 0; > selStart.line = selStart.index = -1; > selEnd.line = selEnd.index = -1; > search.line = search.index = 0; > tags = lastTag = 0; > } > void clearTags() > { > Tag * itr = tags; > while ( tags ) { > itr = tags; > tags = tags->next; > delete itr; > } > tags = lastTag = 0; > tagIndex.clear(); > } > ~QTextEditOptimPrivate() > { > clearTags(); > } > int len; > int numLines; > int maxLineWidth; > struct Selection { > int line; > int index; > }; > Selection selStart, selEnd, search; > Tag * tags, * lastTag; > QMap<int, QString> lines; > QMap<int, Tag *> tagIndex; >}; > > >class __attribute__((visibility("default"))) QTextEdit : public QScrollView >{ > friend class QTextBrowser; > friend class QSyntaxHighlighter; > > 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; ># 160 "/usr/qt/3/include/qtextedit.h" >public: > enum WordWrap { > NoWrap, > WidgetWidth, > FixedPixelWidth, > FixedColumnWidth > }; > > enum WrapPolicy { > AtWordBoundary, > AtWhiteSpace = AtWordBoundary, > Anywhere, > AtWordOrDocumentBoundary > }; > > enum AutoFormatting { > AutoNone = 0, > AutoBulletList = 0x00000001, > AutoAll = 0xffffffff > }; > > enum KeyboardAction { > ActionBackspace, > ActionDelete, > ActionReturn, > ActionKill, > ActionWordBackspace, > ActionWordDelete > }; > > enum CursorAction { > MoveBackward, > MoveForward, > MoveWordBackward, > MoveWordForward, > MoveUp, > MoveDown, > MoveLineStart, > MoveLineEnd, > MoveHome, > MoveEnd, > MovePgUp, > MovePgDown > }; > > enum VerticalAlignment { > AlignNormal, > AlignSuperScript, > AlignSubScript > }; > > enum TextInsertionFlags { > RedoIndentation = 0x0001, > CheckNewLines = 0x0002, > RemoveSelected = 0x0004 > }; > > QTextEdit( const QString& text, const QString& context = QString::null, > QWidget* parent=0, const char* name=0); > QTextEdit( QWidget* parent=0, const char* name=0 ); > virtual ~QTextEdit(); > void setPalette( const QPalette & ); > > QString text() const; > QString text( int para ) const; > TextFormat textFormat() const; > QString context() const; > QString documentTitle() const; > > void getSelection( int *paraFrom, int *indexFrom, > int *paraTo, int *indexTo, int selNum = 0 ) const; > virtual bool find( const QString &expr, bool cs, bool wo, bool forward = TRUE, > int *para = 0, int *index = 0 ); > > int paragraphs() const; > int lines() const; > int linesOfParagraph( int para ) const; > int lineOfChar( int para, int chr ); > int length() const; > QRect paragraphRect( int para ) const; > int paragraphAt( const QPoint &pos ) const; > int charAt( const QPoint &pos, int *para ) const; > int paragraphLength( int para ) const; > > QStyleSheet* styleSheet() const; > > QMimeSourceFactory* mimeSourceFactory() const; > > QBrush paper() const; > bool linkUnderline() const; > > int heightForWidth( int w ) const; > > bool hasSelectedText() const; > QString selectedText() const; > bool isUndoAvailable() const; > bool isRedoAvailable() const; > > WordWrap wordWrap() const; > int wrapColumnOrWidth() const; > WrapPolicy wrapPolicy() const; > > int tabStopWidth() const; > > QString anchorAt( const QPoint& pos ); > QString anchorAt( const QPoint& pos, AnchorAttribute a ); > > QSize sizeHint() const; > > bool isReadOnly() const { return readonly; } > > void getCursorPosition( int *parag, int *index ) const; > > bool isModified() const; > bool italic() const; > bool bold() const; > bool underline() const; > QString family() const; > int pointSize() const; > QColor color() const; > QFont font() const; > QFont currentFont() const; > int alignment() const; > int undoDepth() const; > > > virtual bool getFormat( int para, int index, QFont *font, QColor *color, VerticalAlignment *verticalAlignment ); > > virtual bool getParagraphFormat( int para, QFont *font, QColor *color, > VerticalAlignment *verticalAlignment, int *alignment, > QStyleSheetItem::DisplayMode *displayMode, > QStyleSheetItem::ListStyle *listStyle, > int *listDepth ); > > > bool isOverwriteMode() const { return overWrite; } > QColor paragraphBackgroundColor( int para ) const; > > bool isUndoRedoEnabled() const; > bool eventFilter( QObject *o, QEvent *e ); > bool tabChangesFocus() const; > > void setAutoFormatting( uint features ); > uint autoFormatting() const; > QSyntaxHighlighter *syntaxHighlighter() const; > >public : > void setEnabled( bool ); > > virtual void setMimeSourceFactory( QMimeSourceFactory* factory ); > > virtual void setStyleSheet( QStyleSheet* styleSheet ); > virtual void scrollToAnchor( const QString& name ); > virtual void setPaper( const QBrush& pap ); > virtual void setLinkUnderline( bool ); > > virtual void setWordWrap( WordWrap mode ); > virtual void setWrapColumnOrWidth( int ); > virtual void setWrapPolicy( WrapPolicy policy ); > > virtual void copy(); > virtual void append( const QString& text ); > > void setText( const QString &txt ) { setText( txt, QString::null ); } > virtual void setText( const QString &txt, const QString &context ); > virtual void setTextFormat( TextFormat f ); > > virtual void selectAll( bool select = TRUE ); > virtual void setTabStopWidth( int ts ); > virtual void zoomIn( int range ); > virtual void zoomIn() { zoomIn( 1 ); } > virtual void zoomOut( int range ); > virtual void zoomOut() { zoomOut( 1 ); } > virtual void zoomTo( int size ); > > virtual void sync(); > virtual void setReadOnly( bool b ); > > virtual void undo(); > virtual void redo(); > virtual void cut(); > virtual void paste(); > > virtual void pasteSubType( const QCString &subtype ); > > virtual void clear(); > virtual void del(); > virtual void indent(); > virtual void setItalic( bool b ); > virtual void setBold( bool b ); > virtual void setUnderline( bool b ); > virtual void setFamily( const QString &f ); > virtual void setPointSize( int s ); > virtual void setColor( const QColor &c ); > virtual void setFont( const QFont &f ); > virtual void setVerticalAlignment( VerticalAlignment a ); > virtual void setAlignment( int a ); > > > virtual void setParagType( QStyleSheetItem::DisplayMode dm, QStyleSheetItem::ListStyle listStyle ); > > virtual void setCursorPosition( int parag, int index ); > virtual void setSelection( int parag_from, int index_from, int parag_to, int index_to, int selNum = 0 ); > virtual void setSelectionAttributes( int selNum, const QColor &back, bool invertText ); > virtual void setModified( bool m ); > virtual void resetFormat(); > virtual void setUndoDepth( int d ); > virtual void setFormat( QTextFormat *f, int flags ); > virtual void ensureCursorVisible(); > virtual void placeCursor( const QPoint &pos, QTextCursor *c = 0 ); > virtual void moveCursor( CursorAction action, bool select ); > virtual void doKeyboardAction( KeyboardAction action ); > virtual void removeSelectedText( int selNum = 0 ); > virtual void removeSelection( int selNum = 0 ); > virtual void setCurrentFont( const QFont &f ); > virtual void setOverwriteMode( bool b ) { overWrite = b; } > > virtual void scrollToBottom(); > > void insert( const QString &text, uint insertionFlags = CheckNewLines | RemoveSelected ); > > > virtual void insert( const QString &text, bool, bool = TRUE, bool = TRUE ); > > virtual void insertAt( const QString &text, int para, int index ); > virtual void removeParagraph( int para ); > virtual void insertParagraph( const QString &text, int para ); > > virtual void setParagraphBackgroundColor( int para, const QColor &bg ); > virtual void clearParagraphBackground( int para ); > > virtual void setUndoRedoEnabled( bool b ); > void setTabChangesFocus( bool b ); > > > void polish(); > void setMaxLogLines( int numLines ); > int maxLogLines(); > > >protected: > void textChanged(); > void selectionChanged(); > void copyAvailable( bool ); > void undoAvailable( bool yes ); > void redoAvailable( bool yes ); > void currentFontChanged( const QFont &f ); > void currentColorChanged( const QColor &c ); > void currentAlignmentChanged( int a ); > void currentVerticalAlignmentChanged( VerticalAlignment a ); > void cursorPositionChanged( QTextCursor *c ); > void cursorPositionChanged( int para, int pos ); > void returnPressed(); > void modificationChanged( bool m ); > void clicked( int parag, int index ); > void doubleClicked( int parag, int index ); > >protected: > void repaintChanged(); > void updateStyles(); > void drawContents( QPainter *p, int cx, int cy, int cw, int ch ); > bool event( QEvent *e ); > void keyPressEvent( QKeyEvent *e ); > void resizeEvent( QResizeEvent *e ); > void viewportResizeEvent( QResizeEvent* ); > void contentsMousePressEvent( QMouseEvent *e ); > void contentsMouseMoveEvent( QMouseEvent *e ); > void contentsMouseReleaseEvent( QMouseEvent *e ); > void contentsMouseDoubleClickEvent( QMouseEvent *e ); > > void contentsWheelEvent( QWheelEvent *e ); > > void imStartEvent( QIMEvent * ); > void imComposeEvent( QIMEvent * ); > void imEndEvent( QIMEvent * ); > > void contentsDragEnterEvent( QDragEnterEvent *e ); > void contentsDragMoveEvent( QDragMoveEvent *e ); > void contentsDragLeaveEvent( QDragLeaveEvent *e ); > void contentsDropEvent( QDropEvent *e ); > > void contentsContextMenuEvent( QContextMenuEvent *e ); > bool focusNextPrevChild( bool next ); > QTextDocument *document() const; > QTextCursor *textCursor() const; > void setDocument( QTextDocument *doc ); > virtual QPopupMenu *createPopupMenu( const QPoint& pos ); > virtual QPopupMenu *createPopupMenu(); > void drawCursor( bool visible ); > > void windowActivationChange( bool ); > >protected : > virtual void doChangeInterval(); > void sliderReleased(); > > > > >private : > void formatMore(); > void doResize(); > void autoScrollTimerDone(); > void blinkCursor(); > void setModified(); > void startDrag(); > void documentWidthChanged( int w ); > void clipboardChanged(); > >private: > struct __attribute__((visibility("default"))) UndoRedoInfo { > enum Type { Invalid, Insert, Delete, Backspace, Return, RemoveSelected, Format, Style, IME }; > > UndoRedoInfo( QTextDocument *dc ); > ~UndoRedoInfo(); > void clear(); > bool valid() const; > > QUndoRedoInfoPrivate *d; > int id; > int index; > int eid; > int eindex; > QTextFormat *format; > int flags; > Type type; > QTextDocument *doc; > QByteArray styleInformation; > }; > >private: > void updateCursor( const QPoint & pos ); > void handleMouseMove( const QPoint& pos ); > void drawContents( QPainter * ); > virtual bool linksEnabled() const { return FALSE; } > void init(); > void checkUndoRedoInfo( UndoRedoInfo::Type t ); > void updateCurrentFormat(); > bool handleReadOnlyKeyEvent( QKeyEvent *e ); > void makeParagVisible( QTextParagraph *p ); > void normalCopy(); > void copyToClipboard(); > > QCString pickSpecial(QMimeSource* ms, bool always_ask, const QPoint&); > QTextDrag *dragObject( QWidget *parent = 0 ) const; > > > void pasteSpecial(const QPoint&); > > void setFontInternal( const QFont &f ); > > virtual void emitHighlighted( const QString & ) {} > virtual void emitLinkClicked( const QString & ) {} > > void readFormats( QTextCursor &c1, QTextCursor &c2, QTextString &text, bool fillStyles = FALSE ); > void clearUndoRedo(); > void paintDocument( bool drawAll, QPainter *p, int cx = -1, int cy = -1, int cw = -1, int ch = -1 ); > void moveCursor( CursorAction action ); > void ensureFormatted( QTextParagraph *p ); > void placeCursor( const QPoint &pos, QTextCursor *c, bool link ); > void updateMicroFocusHint(); > > > bool checkOptimMode(); > QString optimText() const; > void optimSetText( const QString &str ); > void optimAppend( const QString &str ); > void optimInsert( const QString &str, int line, int index ); > void optimDrawContents( QPainter * p, int cx, int cy, int cw, int ch ); > void optimMousePressEvent( QMouseEvent * e ); > void optimMouseReleaseEvent( QMouseEvent * e ); > void optimMouseMoveEvent( QMouseEvent * e ); > int optimCharIndex( const QString &str, int mx ) const; > void optimSelectAll(); > void optimRemoveSelection(); > void optimSetSelection( int startLine, int startIdx, int endLine, > int endIdx ); > bool optimHasSelection() const; > QString optimSelectedText() const; > bool optimFind( const QString & str, bool, bool, bool, int *, int * ); > void optimParseTags( QString * str, int lineNo = -1, int indexOffset = 0 ); > QTextEditOptimPrivate::Tag * optimPreviousLeftTag( int line ); > void optimSetTextFormat( QTextDocument *, QTextCursor *, QTextFormat * f, > int, int, QTextEditOptimPrivate::Tag * t ); > QTextEditOptimPrivate::Tag * optimAppendTag( int index, const QString & tag ); > QTextEditOptimPrivate::Tag * optimInsertTag( int line, int index, const QString & tag ); > void optimCheckLimit( const QString& str ); > bool optimHasBoldMetrics( int line ); > >private : > void optimDoAutoScroll(); > > >private: > > void pasteSubType( const QCString &subtype, QMimeSource *m ); > > >private: > QTextDocument *doc; > QTextCursor *cursor; > QTimer *formatTimer, *scrollTimer, *changeIntervalTimer, *blinkTimer, *dragStartTimer; > QTextParagraph *lastFormatted; > int interval; > UndoRedoInfo undoRedoInfo; > QTextFormat *currentFormat; > int currentAlignment; > QPoint oldMousePos, mousePos; > QPoint dragStartPos; > QString onLink; > WordWrap wrapMode; > WrapPolicy wPolicy; > int wrapWidth; > QString pressedLink; > QTextEditPrivate *d; > bool inDoubleClick : 1; > bool mousePressed : 1; > bool cursorVisible : 1; > bool blinkCursorVisible : 1; > bool readOnly : 1; > bool modified : 1; > bool mightStartDrag : 1; > bool inDnD : 1; > bool readonly : 1; > bool undoEnabled : 1; > bool overWrite : 1; > >private: > > QTextEdit( const QTextEdit & ); > QTextEdit &operator=( const QTextEdit & ); > >}; > >inline QTextDocument *QTextEdit::document() const >{ > return doc; >} > >inline QTextCursor *QTextEdit::textCursor() const >{ > return cursor; >} > >inline void QTextEdit::setCurrentFont( const QFont &f ) >{ > QTextEdit::setFontInternal( f ); >} ># 46 "/usr/qt/3/include/qtextbrowser.h" 2 > > > > >class QTextBrowserData; > >class __attribute__((visibility("default"))) QTextBrowser : public QTextEdit >{ > 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: > QTextBrowser( QWidget* parent=0, const char* name=0 ); > ~QTextBrowser(); > > QString source() const; > >public : > virtual void setSource(const QString& name); > virtual void backward(); > virtual void forward(); > virtual void home(); > virtual void reload(); > void setText( const QString &txt ) { setText( txt, QString::null ); } > virtual void setText( const QString &txt, const QString &context ); > >protected: > void backwardAvailable( bool ); > void forwardAvailable( bool ); > void sourceChanged( const QString& ); > void highlighted( const QString& ); > void linkClicked( const QString& ); > void anchorClicked( const QString&, const QString& ); > >protected: > void keyPressEvent( QKeyEvent * e); > >private: > void popupDetail( const QString& contents, const QPoint& pos ); > bool linksEnabled() const { return TRUE; } > void emitHighlighted( const QString &s ); > void emitLinkClicked( const QString &s ); > QTextBrowserData *d; > >private: > > QTextBrowser( const QTextBrowser & ); > QTextBrowser& operator=( const QTextBrowser & ); > >}; ># 23 "../kdeui/kactivelabel.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/kactivelabel.h" 2 > > > >class KActiveLabelPrivate; ># 37 "../kdeui/kactivelabel.h" >class KActiveLabel : public QTextBrowser >{ > 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: > > > > > > > > KActiveLabel(QWidget * parent, const char * name = 0); ># 57 "../kdeui/kactivelabel.h" > KActiveLabel(const QString & text, QWidget * parent, const char * name = 0); > > QSize minimumSizeHint() const; > QSize sizeHint() const; > >public : > > > > > > > > virtual void openLink(const QString & link); > >private : > void paletteChanged(); > void setSource( const QString &) { } > >private: > void init(); >protected: > virtual void virtual_hook( int id, void* data ); > virtual void focusInEvent( QFocusEvent* fe ); > virtual void focusOutEvent( QFocusEvent* fe ); > virtual void keyPressEvent ( QKeyEvent * e ); >private: > KActiveLabelPrivate *d; >}; ># 13 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kanimwidget.h" 1 ># 21 "../kdeui/kanimwidget.h" > ># 1 "/usr/qt/3/include/qframe.h" 1 ># 22 "../kdeui/kanimwidget.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 24 "../kdeui/kanimwidget.h" 2 > >class QStringList; >class QPainter; >class QMouseEvent; > >class KAnimWidgetPrivate; ># 55 "../kdeui/kanimwidget.h" >class KAnimWidget : 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: ># 76 "../kdeui/kanimwidget.h" > KAnimWidget( const QString& icons, int size = 0, > QWidget *parent = 0L, const char *name = 0L ); > > > > > virtual ~KAnimWidget(); > > > > > > > void setSize( int size ); > > > > > > int size() const; > > > > > > QString icons() const; > > > > > > > > void setIcons( const QString& icons ); > >public : > > > > void start(); > > > > > void stop(); > >protected: > void clicked(); > >protected: > virtual void drawContents( QPainter *p ); > virtual void leaveEvent( QEvent *e ); > virtual void enterEvent( QEvent *e ); > virtual void hideEvent( QHideEvent *e); > virtual void showEvent( QShowEvent *e); > virtual void mousePressEvent( QMouseEvent *e ); > virtual void mouseReleaseEvent( QMouseEvent *e ); > >protected : > void slotTimerUpdate(); > void updateIcons(); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KAnimWidgetPrivate *d; >}; ># 14 "kdewidgets.cpp" 2 > ># 1 "../kdeui/karrowbutton.h" 1 ># 22 "../kdeui/karrowbutton.h" > ># 1 "/usr/qt/3/include/qpushbutton.h" 1 ># 42 "/usr/qt/3/include/qpushbutton.h" > ># 1 "/usr/qt/3/include/qbutton.h" 1 ># 43 "/usr/qt/3/include/qbutton.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; >}; ># 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/qpushbutton.h" 2 > > > > >class QPushButtonPrivate; >class QPopupMenu; > >class __attribute__((visibility("default"))) QPushButton : 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; ># 63 "/usr/qt/3/include/qpushbutton.h" >public: > QPushButton( QWidget *parent, const char* name=0 ); > QPushButton( const QString &text, QWidget *parent, const char* name=0 ); > > QPushButton( const QIconSet& icon, const QString &text, QWidget *parent, const char* name=0 ); > > ~QPushButton(); > > QSize sizeHint() const; > > 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 setToggleButton( bool ); > > bool autoDefault() const { return autoDefButton; } > virtual void setAutoDefault( bool autoDef ); > bool isDefault() const { return defButton; } > virtual void setDefault( bool def ); > > virtual void setIsMenuButton( bool enable ) { > if ( (bool)hasMenuArrow == enable ) > return; > hasMenuArrow = enable ? 1 : 0; > update(); > updateGeometry(); > } > bool isMenuButton() const { return hasMenuArrow; } > > > void setPopup( QPopupMenu* popup ); > QPopupMenu* popup() const; > > > void setIconSet( const QIconSet& ); > QIconSet* iconSet() const; > > void setFlat( bool ); > bool isFlat() const; > >public : > virtual void setOn( bool ); > >protected: > void drawButton( QPainter * ); > void drawButtonLabel( QPainter * ); > void focusInEvent( QFocusEvent * ); > void focusOutEvent( QFocusEvent * ); > void resizeEvent( QResizeEvent * ); > void updateMask(); >private : > > void popupPressed(); > >private: > void init(); > > uint autoDefButton : 1; > uint defButton : 1; > uint flt : 1; > uint reserved : 1; > uint lastEnabled : 1; > uint hasMenuArrow : 1; > > QPushButtonPrivate* d; > > friend class QDialog; > >private: > > QPushButton( const QPushButton & ); > QPushButton &operator=( const QPushButton & ); > >}; ># 23 "../kdeui/karrowbutton.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/karrowbutton.h" 2 > >class KArrowButtonPrivate; ># 38 "../kdeui/karrowbutton.h" >class KArrowButton : public 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: > > > > > > > > KArrowButton(QWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, > const char *name = 0); > > > > > virtual ~KArrowButton(); > > > > > virtual QSize sizeHint() const; > > > > > > Qt::ArrowType arrowType() const; > > > int arrowTp() const { return (int) arrowType(); } > void setArrowTp( int tp ) { setArrowType( (Qt::ArrowType) tp ); } > public : > > > > > > > void setArrowType(Qt::ArrowType a); > > protected: > > > > virtual void drawButton(QPainter *); > > protected: > virtual void virtual_hook( int id, void* data ); > private: > KArrowButtonPrivate *d; >}; ># 15 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kcmodule.h" 1 ># 28 "../kdeui/kcmodule.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 29 "../kdeui/kcmodule.h" 2 > >class QStringList; > >class KAboutData; >class KConfigDialogManager; >class KConfigSkeleton; >class KCModulePrivate; >class KInstance; ># 69 "../kdeui/kcmodule.h" >class KCModule : 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: > > > > > > > > enum Button {Help=1, Default=2, Apply=16, > Reset=4, > Cancel=8, > Ok=32, > SysDefault=64 }; > > > > > > > KCModule(QWidget *parent=0, const char *name=0, const QStringList &args=QStringList() ); > > KCModule(KInstance *instance, QWidget *parent=0, const QStringList &args=QStringList() ); > > > > > ~KCModule(); ># 120 "../kdeui/kcmodule.h" > virtual void load(); ># 143 "../kdeui/kcmodule.h" > virtual void save(); ># 156 "../kdeui/kcmodule.h" > virtual void defaults(); ># 166 "../kdeui/kcmodule.h" > virtual void sysdefaults() { defaults(); }; ># 178 "../kdeui/kcmodule.h" > virtual QString quickHelp() const; ># 187 "../kdeui/kcmodule.h" > virtual const KAboutData *aboutData() const; > > > > > > void setAboutData( KAboutData* about ); ># 203 "../kdeui/kcmodule.h" > int buttons() const { return _btn; }; ># 217 "../kdeui/kcmodule.h" > QString rootOnlyMsg() const; ># 229 "../kdeui/kcmodule.h" > bool useRootOnlyMsg() const; > > KInstance *instance() const; > > > > > > const QPtrList<KConfigDialogManager>& configs() const; > >protected: ># 250 "../kdeui/kcmodule.h" > KConfigDialogManager* addConfig( KConfigSkeleton *config, QWidget* widget ); > > > > > > > void setQuickHelp( const QString& help ); > >protected: ># 268 "../kdeui/kcmodule.h" > void changed(bool state); ># 278 "../kdeui/kcmodule.h" > void quickHelpChanged(); > >protected : > > > > > > void changed(); > > > > > > > void widgetChanged(); > >protected: ># 309 "../kdeui/kcmodule.h" > void setButtons(int btn) { _btn = btn; }; ># 320 "../kdeui/kcmodule.h" > void setRootOnlyMsg(const QString& msg); ># 330 "../kdeui/kcmodule.h" > void setUseRootOnlyMsg(bool on); > > > > > > bool managedWidgetChangeState() const; > > > > > > > void unmanagedWidgetChangeState(bool); > >private: > > int _btn; >protected: > virtual void virtual_hook( int id, void* data ); >private: > KCModulePrivate *d; > > > > > void init(); > >}; ># 16 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kcharselect.h" 1 ># 24 "../kdeui/kcharselect.h" > ># 1 "/usr/qt/3/include/qgridview.h" 1 ># 47 "/usr/qt/3/include/qgridview.h" >class QGridViewPrivate; > >class __attribute__((visibility("default"))) QGridView : public QScrollView >{ > 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: > > QGridView( QWidget *parent=0, const char *name=0, WFlags f=0 ); > ~QGridView(); > > int numRows() const; > virtual void setNumRows( int ); > int numCols() const; > virtual void setNumCols( int ); > > int cellWidth() const; > virtual void setCellWidth( int ); > int cellHeight() const; > virtual void setCellHeight( int ); > > QRect cellRect() const; > QRect cellGeometry( int row, int column ); > QSize gridSize() const; > > int rowAt( int y ) const; > int columnAt( int x ) const; > > void repaintCell( int row, int column, bool erase=TRUE ); > void updateCell( int row, int column ); > void ensureCellVisible( int row, int column ); > >protected: > virtual void paintCell( QPainter *, int row, int col ) = 0; > virtual void paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch ); > > void drawContents( QPainter *p, int cx, int cy, int cw, int ch ); > > virtual void dimensionChange( int, int ); > >private: > void drawContents( QPainter* ); > void updateGrid(); > > int nrows; > int ncols; > int cellw; > int cellh; > QGridViewPrivate* d; > >private: > > QGridView( const QGridView & ); > QGridView &operator=( const QGridView & ); > >}; > >inline int QGridView::cellWidth() const >{ return cellw; } > >inline int QGridView::cellHeight() const >{ return cellh; } > >inline int QGridView::rowAt( int y ) const >{ return y / cellh; } > >inline int QGridView::columnAt( int x ) const >{ return x / cellw; } > >inline int QGridView::numRows() const >{ return nrows; } > >inline int QGridView::numCols() const >{return ncols; } > >inline QRect QGridView::cellRect() const >{ return QRect( 0, 0, cellw, cellh ); } > >inline QSize QGridView::gridSize() const >{ return QSize( ncols * cellw, nrows * cellh ); } ># 25 "../kdeui/kcharselect.h" 2 > ># 1 "/usr/qt/3/include/qvbox.h" 1 ># 42 "/usr/qt/3/include/qvbox.h" > ># 1 "/usr/qt/3/include/qhbox.h" 1 ># 46 "/usr/qt/3/include/qhbox.h" >class QBoxLayout; > >class __attribute__((visibility("default"))) QHBox : 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: > QHBox( QWidget* parent=0, const char* name=0, WFlags f=0 ); > > void setSpacing( int ); > bool setStretchFactor( QWidget*, int stretch ); > QSize sizeHint() const; > >protected: > QHBox( bool horizontal, QWidget* parent, const char* name, WFlags f = 0 ); > void frameChanged(); > >private: > QBoxLayout *lay; > > > QHBox( const QHBox & ); > QHBox &operator=( const QHBox & ); > >}; ># 43 "/usr/qt/3/include/qvbox.h" 2 > > > > >class __attribute__((visibility("default"))) QVBox : public QHBox >{ > 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: > QVBox( QWidget* parent=0, const char* name=0, WFlags f=0 ); > >private: > > QVBox( const QVBox & ); > QVBox& operator=( const QVBox & ); > >}; ># 26 "../kdeui/kcharselect.h" 2 > ># 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 "../kdeui/kcharselect.h" 2 > ># 1 "/usr/qt/3/include/qspinbox.h" 1 ># 48 "/usr/qt/3/include/qspinbox.h" >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& ); > > >}; ># 28 "../kdeui/kcharselect.h" 2 > > ># 1 "/usr/qt/3/include/qpoint.h" 1 ># 30 "../kdeui/kcharselect.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 33 "../kdeui/kcharselect.h" 2 > >class QFont; >class QFontDatabase; >class QMouseEvent; >class QSpinBox; >class KCharSelectTablePrivate; >class KCharSelectPrivate; ># 51 "../kdeui/kcharselect.h" >class KCharSelectTable : public QGridView >{ > 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: > KCharSelectTable( QWidget *parent, const char *name, const QString &_font, > const QChar &_chr, int _tableNum ); > > virtual QSize sizeHint() const; > virtual void resizeEvent( QResizeEvent * ); > > virtual void setFont( const QString &_font ); > virtual void setChar( const QChar &_chr ); > virtual void setTableNum( int _tableNum ); > > virtual QChar chr() { return vChr; } > >protected: > virtual void paintCell( class QPainter *p, int row, int col ); > > virtual void mousePressEvent( QMouseEvent *e ) { mouseMoveEvent( e ); } > virtual void mouseDoubleClickEvent ( QMouseEvent *e ){ mouseMoveEvent( e ); doubleClicked();} > virtual void mouseReleaseEvent( QMouseEvent *e ) { mouseMoveEvent( e ); activated( chr() ); activated(); } > virtual void mouseMoveEvent( QMouseEvent *e ); > > virtual void keyPressEvent( QKeyEvent *e ); > > void gotoLeft(); > void gotoRight(); > void gotoUp(); > void gotoDown(); > > QString vFont; > QChar vChr; > int vTableNum; > QPoint vPos; > QChar focusItem; > QPoint focusPos; > int temp; > >protected: > void highlighted( const QChar &c ); > void highlighted(); > void activated( const QChar &c ); > void activated(); > void focusItemChanged(); > void focusItemChanged( const QChar &c ); > void tableUp(); > void tableDown(); > void doubleClicked(); > >private: > virtual void setFont(const QFont &f) { QGridView::setFont(f); } > void setToolTips(); >protected: > virtual void virtual_hook( int id, void* data ); >private: > KCharSelectTablePrivate* const d; >}; ># 140 "../kdeui/kcharselect.h" >class KCharSelect : public QVBox >{ > 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: > > > > > > KCharSelect( QWidget *parent, const char *name, > const QString &font = QString::null, const QChar &chr = ' ', int tableNum = 0 ); > ~KCharSelect(); > > > > virtual QSize sizeHint() const; > > > > > virtual void setFont( const QString &font ); > > > > > virtual void setChar( const QChar &chr ); > > > > > virtual void setTableNum( int tableNum ); > > > > > virtual QChar chr() const { return charTable->chr(); } > > > > > virtual QString font() const { return fontCombo->currentText(); } > > > > > virtual int tableNum() const { return tableSpinBox->value(); } > > > > > > > virtual void enableFontCombo( bool e ) { fontCombo->setEnabled( e ); } > > > > > > > > virtual void enableTableSpinBox( bool e ) { tableSpinBox->setEnabled( e ); } > > > > > > > > virtual bool isFontComboEnabled() const { return fontCombo->isEnabled(); } > > > > > > > > virtual bool isTableSpinBoxEnabled() const { return tableSpinBox->isEnabled(); } > >protected: > virtual void fillFontCombo(); > static void cleanupFontDatabase(); > > QComboBox *fontCombo; > QSpinBox *tableSpinBox; > KCharSelectTable *charTable; > QStringList fontList; > static QFontDatabase * fontDataBase; > >protected : > void fontSelected( const QString &_font ); > void tableChanged( int _value ); > void charHighlighted( const QChar &c ) { highlighted( c ); } > void charHighlighted() { highlighted(); } > void charActivated( const QChar &c ) { activated( c ); } > void charActivated() { activated(); } > void charFocusItemChanged() { focusItemChanged(); } > void charFocusItemChanged( const QChar &c ) { focusItemChanged( c ); } > void charTableUp() { if ( tableNum() < 255 ) setTableNum( tableNum() + 1 ); } > void charTableDown() { if ( tableNum() > 0 ) setTableNum( tableNum() - 1 ); } > void slotDoubleClicked() { doubleClicked(); } > void slotUnicodeEntered(); > void slotUpdateUnicode( const QChar &c ); >protected: > void highlighted( const QChar &c ); > void highlighted(); > void activated( const QChar &c ); > void activated(); > void fontChanged( const QString &_font ); > void focusItemChanged(); > void focusItemChanged( const QChar &c ); > void doubleClicked(); > >private: > virtual void setFont(const QFont &f) { QVBox::setFont(f); } >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KCharSelectPrivate; > KCharSelectPrivate* const d; >}; ># 17 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kcolorbutton.h" 1 ># 25 "../kdeui/kcolorbutton.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/kcolorbutton.h" 2 > >class KColorButtonPrivate; ># 37 "../kdeui/kcolorbutton.h" >class KColorButton : public 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: > > > > KColorButton( QWidget *parent, const char *name = 0L ); > > > > > KColorButton( const QColor &c, QWidget *parent, const char *name = 0L ); > > KColorButton( const QColor &c, const QColor &defaultColor, QWidget *parent, > const char *name=0L ); > > virtual ~KColorButton(); > > > > > QColor color() const > { return col; } > > > > > void setColor( const QColor &c ); > > > > > > > QColor defaultColor() const; > > > > > > void setDefaultColor( const QColor &c ); > > QSize sizeHint() const; > >protected: > > > > > void changed( const QColor &newColor ); > >protected : > void chooseColor(); > >protected: > virtual void drawButtonLabel( QPainter *p ); > virtual void dragEnterEvent( QDragEnterEvent *); > virtual void dropEvent( QDropEvent *); > virtual void mousePressEvent( QMouseEvent *e ); > virtual void mouseMoveEvent( QMouseEvent *e); > virtual void keyPressEvent( QKeyEvent *e ); >private: > QColor col; > QPoint mPos; > bool dragFlag; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KColorButtonPrivate; > KColorButtonPrivate *d; >}; ># 18 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kcolorcombo.h" 1 ># 30 "../kdeui/kcolorcombo.h" > ># 1 "../kdeui/kcolordialog.h" 1 ># 33 "../kdeui/kcolordialog.h" > ># 1 "../kdeui/kdialogbase.h" 1 ># 27 "../kdeui/kdialogbase.h" > ># 1 "../kdeui/kjanuswidget.h" 1 ># 24 "../kdeui/kjanuswidget.h" > ># 1 "/usr/qt/3/include/qpixmap.h" 1 ># 25 "../kdeui/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 "../kdeui/kjanuswidget.h" 2 > > ># 1 "../kdeui/klistbox.h" 1 ># 21 "../kdeui/klistbox.h" > ># 1 "/usr/qt/3/include/qlistbox.h" 1 ># 49 "/usr/qt/3/include/qlistbox.h" >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 "../kdeui/klistbox.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 24 "../kdeui/klistbox.h" 2 ># 40 "../kdeui/klistbox.h" >class 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 "../kdeui/klistbox.h" > void executed( QListBoxItem *item ); ># 72 "../kdeui/klistbox.h" > void executed( QListBoxItem *item, const QPoint &pos ); ># 88 "../kdeui/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 "../kdeui/kjanuswidget.h" 2 > > > >class KListView; > >class QGrid; >class QHBox; >class QLabel; >class QTabWidget; >class QVBox; >class QWidgetStack; >class KSeparator; >class QListViewItem; >class KGuiItem; ># 67 "../kdeui/kjanuswidget.h" >class 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 "../kdeui/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 "../kdeui/kjanuswidget.h" > virtual QFrame *addPage(const QString &item,const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 235 "../kdeui/kjanuswidget.h" > virtual QFrame *addPage(const QStringList &items, const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 257 "../kdeui/kjanuswidget.h" > virtual QVBox *addVBoxPage( const QString &item, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 273 "../kdeui/kjanuswidget.h" > virtual QVBox *addVBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 297 "../kdeui/kjanuswidget.h" > virtual QHBox *addHBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 313 "../kdeui/kjanuswidget.h" > virtual QHBox *addHBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 340 "../kdeui/kjanuswidget.h" > virtual QGrid *addGridPage( int n, Orientation dir, > const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 357 "../kdeui/kjanuswidget.h" > virtual QGrid *addGridPage( int n, Orientation dir, > const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 371 "../kdeui/kjanuswidget.h" > void removePage( QWidget *page ); ># 390 "../kdeui/kjanuswidget.h" > virtual int pageIndex( QWidget *widget ) const; ># 401 "../kdeui/kjanuswidget.h" > virtual bool setSwallowedWidget( QWidget *widget ); ># 413 "../kdeui/kjanuswidget.h" > virtual void setTreeListAutoResize( bool state ); ># 427 "../kdeui/kjanuswidget.h" > virtual void setShowIconsInTreeList(bool state); ># 437 "../kdeui/kjanuswidget.h" > virtual void setRootIsDecorated( bool state ); ># 452 "../kdeui/kjanuswidget.h" > void unfoldTreeList( bool persist = false ); ># 462 "../kdeui/kjanuswidget.h" > void addWidgetBelowList( QWidget * widget ); ># 474 "../kdeui/kjanuswidget.h" > void addButtonBelowList( const QString & text, QObject * recv, > const char * slot ); ># 488 "../kdeui/kjanuswidget.h" > void addButtonBelowList( const KGuiItem & guiitem, QObject * > recv, const char * slot ); ># 503 "../kdeui/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 "../kdeui/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 "../kdeui/kdialogbase.h" 2 > ># 1 "../kdeui/kguiitem.h" 1 ># 26 "../kdeui/kguiitem.h" > ># 1 "/usr/qt/3/include/qiconset.h" 1 ># 27 "../kdeui/kguiitem.h" 2 > > > ># 1 "../kdecore/kicontheme.h" 1 ># 19 "../kdecore/kicontheme.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 20 "../kdecore/kicontheme.h" 2 > >class KConfig; >class KIconThemeDir; > >class KIconThemePrivate; > >class KIconPrivate; ># 35 "../kdecore/kicontheme.h" >class KIcon >{ >public: > KIcon() { size = 0; } > > > > > bool isValid() const { return size != 0; } > > > > > enum Context { > Any, > Action, > Application, > Device, > FileSystem, > MimeType, > Animation, > Category, > Emblem, > Emote, > International, > Place, > StatusIcon > }; > > > > > 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 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; ># 322 "../kdecore/kicontheme.h" > KIcon iconPath(const QString& name, int size, KIcon::MatchType match) const; > > > > > > bool hasContext( KIcon::Context context ) 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 "../kdeui/kguiitem.h" 2 > ># 1 "../kdecore/kglobal.h" 1 ># 21 "../kdecore/kglobal.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 22 "../kdecore/kglobal.h" 2 > > >class KCharsets; >class KConfig; >class KSharedConfig; >class KIconLoader; >class KLocale; >class KStandardDirs; >class KStaticDeleterBase; >class KStaticDeleterList; >class KStringDict; >class QString; ># 44 "../kdecore/kglobal.h" >class KGlobal >{ >public: > > > > > > > > static KInstance *instance(); > > > > > > static KStandardDirs *dirs(); > > > > > > static KConfig *config(); > > > > > > static KSharedConfig *sharedConfig(); > > > > > > static KIconLoader *iconLoader(); > > > > > > static KLocale *locale(); > > > > > > static KCharsets *charsets(); ># 109 "../kdecore/kglobal.h" > static const QString &staticQString(const char *str); ># 128 "../kdecore/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 "../kdecore/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 kasciistricmp( const char *str1, const char *str2 ); ># 31 "../kdeui/kguiitem.h" 2 > > > > > > > >class 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 "../kdeui/kdialogbase.h" 2 > ># 1 "../kdeui/kstdguiitem.h" 1 ># 26 "../kdeui/kstdguiitem.h" > ># 1 "/usr/qt/3/include/qpair.h" 1 ># 27 "../kdeui/kstdguiitem.h" 2 ># 37 "../kdeui/kstdguiitem.h" >class 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 "../kdeui/kstdguiitem.h" > static KGuiItem back( BidiMode useBidi = IgnoreRTL ); ># 130 "../kdeui/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 "../kdeui/kdialogbase.h" 2 > > >class QPushButton; >class KSeparator; >class KURLLabel; >class QBoxLayout; >class QPixmap; >class KGuiItem; > > > > >class KDialogBaseButton; > > > > > >class KDialogBaseTile; ># 191 "../kdeui/kdialogbase.h" >class 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 "../kdeui/kdialogbase.h" > enum DialogType > { > TreeList = KJanusWidget::TreeList, > Tabbed = KJanusWidget::Tabbed, > Plain = KJanusWidget::Plain, > Swallow = KJanusWidget::Swallow, > IconList = KJanusWidget::IconList > }; > > public: ># 270 "../kdeui/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 "../kdeui/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 "../kdeui/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 "../kdeui/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 "../kdeui/kdialogbase.h" > void setButtonBoxOrientation( int orientation ); ># 418 "../kdeui/kdialogbase.h" > void setEscapeButton( ButtonCode id ); ># 428 "../kdeui/kdialogbase.h" > virtual void adjustSize(); > virtual QSize sizeHint() const; > virtual QSize minimumSizeHint() const; ># 442 "../kdeui/kdialogbase.h" > QFrame *plainPage(); ># 471 "../kdeui/kdialogbase.h" > QFrame *addPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 486 "../kdeui/kdialogbase.h" > QFrame *addPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 514 "../kdeui/kdialogbase.h" > QVBox *addVBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 529 "../kdeui/kdialogbase.h" > QVBox *addVBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 551 "../kdeui/kdialogbase.h" > QHBox *addHBoxPage( const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 566 "../kdeui/kdialogbase.h" > QHBox *addHBoxPage( const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 590 "../kdeui/kdialogbase.h" > QGrid *addGridPage( int n, Orientation dir, > const QString &itemName, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 607 "../kdeui/kdialogbase.h" > QGrid *addGridPage( int n, Orientation dir, > const QStringList &items, > const QString &header=QString::null, > const QPixmap &pixmap=QPixmap() ); ># 619 "../kdeui/kdialogbase.h" > void setFolderIcon(const QStringList &path,const QPixmap &pixmap); ># 634 "../kdeui/kdialogbase.h" > QFrame *makeMainWidget(); ># 649 "../kdeui/kdialogbase.h" > QVBox *makeVBoxMainWidget(); ># 664 "../kdeui/kdialogbase.h" > QHBox *makeHBoxMainWidget(); ># 683 "../kdeui/kdialogbase.h" > QGrid *makeGridMainWidget( int n, Orientation dir ); > > > > > > > void enableButtonSeparator( bool state ); ># 702 "../kdeui/kdialogbase.h" > void showButton( ButtonCode id, bool state ); ># 712 "../kdeui/kdialogbase.h" > void showButtonOK( bool state ); ># 722 "../kdeui/kdialogbase.h" > void showButtonApply( bool state ); > > > > > > > > void showButtonCancel( bool state ); ># 742 "../kdeui/kdialogbase.h" > bool showPage( int index ); ># 752 "../kdeui/kdialogbase.h" > int activePageIndex() const; ># 771 "../kdeui/kdialogbase.h" > int pageIndex( QWidget *widget ) const; ># 786 "../kdeui/kdialogbase.h" > void setMainWidget( QWidget *widget ); > > > > > > > QWidget *mainWidget(); ># 802 "../kdeui/kdialogbase.h" > void disableResize(); ># 815 "../kdeui/kdialogbase.h" > void setInitialSize( const QSize &s, bool noResize=false ); ># 827 "../kdeui/kdialogbase.h" > void incInitialSize( const QSize &s, bool noResize=false ); ># 836 "../kdeui/kdialogbase.h" > QSize configDialogSize( const QString& groupName ) const; ># 847 "../kdeui/kdialogbase.h" > QSize configDialogSize( KConfig& config, const QString& groupName ) const; ># 858 "../kdeui/kdialogbase.h" > void saveDialogSize( const QString& groupName, bool global=false ); ># 870 "../kdeui/kdialogbase.h" > void saveDialogSize( KConfig& config, const QString& groupName, > bool global=false ) const; ># 882 "../kdeui/kdialogbase.h" > void setButtonOK( const KGuiItem &item = KStdGuiItem::ok() ); ># 899 "../kdeui/kdialogbase.h" > void setButtonOKText( const QString &text=QString::null, > const QString &tooltip=QString::null, > const QString &quickhelp=QString::null ) __attribute__ ((deprecated)); ># 912 "../kdeui/kdialogbase.h" > void setButtonApply( const KGuiItem &item = KStdGuiItem::apply() ); ># 929 "../kdeui/kdialogbase.h" > void setButtonApplyText( const QString &text=QString::null, > const QString &tooltip=QString::null, > const QString &quickhelp=QString::null ) __attribute__ ((deprecated)); ># 942 "../kdeui/kdialogbase.h" > void setButtonCancel( const KGuiItem &item = KStdGuiItem::cancel() ); ># 957 "../kdeui/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 "../kdeui/kdialogbase.h" > void setButtonGuiItem( ButtonCode id, const KGuiItem &item ); ># 1008 "../kdeui/kdialogbase.h" > void setTreeListAutoResize( bool state ); ># 1022 "../kdeui/kdialogbase.h" > void setShowIconsInTreeList(bool state); ># 1032 "../kdeui/kdialogbase.h" > void setRootIsDecorated( bool state ); ># 1047 "../kdeui/kdialogbase.h" > void unfoldTreeList( bool persist = false ); ># 1057 "../kdeui/kdialogbase.h" > void addWidgetBelowList( QWidget * widget ); ># 1069 "../kdeui/kdialogbase.h" > void addButtonBelowList( const QString & text, QObject * recv, const char * slot ); ># 1082 "../kdeui/kdialogbase.h" > void addButtonBelowList( const KGuiItem & guiitem, QObject * recv, const char * slot ); ># 1096 "../kdeui/kdialogbase.h" > void setIconListAllVisible( bool state ); > > > > > > > static bool haveBackgroundTile(); > > > > > > > > static const QPixmap *backgroundTile(); > > > > > static const QPixmap *getBackgroundTile() __attribute__ ((deprecated)); ># 1125 "../kdeui/kdialogbase.h" > static void setBackgroundTile( const QPixmap *pix ); > > > > > > > void showTile( bool state ); ># 1145 "../kdeui/kdialogbase.h" > void getBorderWidths( int& ulx, int& uly, int& lrx, int& lry ) const __attribute__ ((deprecated)); ># 1158 "../kdeui/kdialogbase.h" > QRect getContentsRect() const __attribute__ ((deprecated)); ># 1177 "../kdeui/kdialogbase.h" > QSize calculateSize( int w, int h ) const; ># 1187 "../kdeui/kdialogbase.h" > QString helpLinkText() const; ># 1202 "../kdeui/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 "../kdeui/kdialogbase.h" > void delayedDestruct(); ># 1260 "../kdeui/kdialogbase.h" > void setHelpLinkText( const QString &text ); ># 1274 "../kdeui/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 "../kdeui/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 "../kdeui/kdialogbase.h" > void hidden(); ># 1419 "../kdeui/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 "../kdeui/kdialogbase.h" > void slotDelayedDestruct(); > > private: > > > > void setupLayout(); > > > > > > > void makeRelay(); ># 1575 "../kdeui/kdialogbase.h" > void makeButtonBox( int mask, ButtonCode defaultButton, > const KGuiItem &user1 = KGuiItem(), > const KGuiItem &user2 = KGuiItem(), > const KGuiItem &user3 = KGuiItem() ); ># 1587 "../kdeui/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; >}; ># 34 "../kdeui/kcolordialog.h" 2 > > > > > ># 1 "../kdeui/kselect.h" 1 ># 27 "../kdeui/kselect.h" > ># 1 "/usr/qt/3/include/qrangecontrol.h" 1 ># 28 "../kdeui/kselect.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 31 "../kdeui/kselect.h" 2 ># 43 "../kdeui/kselect.h" >class KXYSelector : 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: > > > > > KXYSelector( QWidget *parent=0, const char *name=0 ); > > > > ~KXYSelector(); > > > > > > > > void setValues( int xPos, int yPos ); > > > > > > void setXValue( int xPos ); > > > > > > void setYValue( int yPos ); > > > > > void setRange( int minX, int minY, int maxX, int maxY ); > > > > > int xValue() const { return xPos; } > > > > int yValue() const { return yPos; } > > > > > QRect contentsRect() const; > >protected: > > > > > void valueChanged( int x, int y ); > >protected: > > > > > > > virtual void drawContents( QPainter * ); > > > > > virtual void drawCursor( QPainter *p, int xp, int yp ); > > virtual void paintEvent( QPaintEvent *e ); > virtual void mousePressEvent( QMouseEvent *e ); > virtual void mouseMoveEvent( QMouseEvent *e ); > virtual void wheelEvent( QWheelEvent * ); > > > > > void valuesFromPosition( int x, int y, int& xVal, int& yVal ) const; > >private: > void setPosition( int xp, int yp ); > int px; > int py; > int xPos; > int yPos; > int minX; > int maxX; > int minY; > int maxY; > QPixmap store; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KXYSelectorPrivate; > KXYSelectorPrivate *d; >}; ># 159 "../kdeui/kselect.h" >class KSelector : 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; > > > >public: > > > > > KSelector( QWidget *parent=0, const char *name=0 ); > > > > > KSelector( Orientation o, QWidget *parent = 0L, const char *name = 0L ); > > > > ~KSelector(); > > > > > Orientation orientation() const > { return _orientation; } > > > > > QRect contentsRect() const; > > > > > > void setIndent( bool i ) > { _indent = i; } > > > > bool indent() const > { return _indent; } > > > > > void setValue(int value) > { QRangeControl::setValue(value); } > > > > > int value() const > { return QRangeControl::value(); } > > > > > void setMinValue(int value) > { QRangeControl::setMinValue(value); } > > > > > int minValue() const > { return QRangeControl::minValue(); } > > > > > void setMaxValue(int value) > { QRangeControl::setMaxValue(value); } > > > > > int maxValue() const > { return QRangeControl::maxValue(); } > >protected: > > > > > void valueChanged( int value ); > >protected: > > > > > > > virtual void drawContents( QPainter * ); > > > > > > > > virtual void drawArrow( QPainter *painter, bool show, const QPoint &pos ); > > virtual void valueChange(); > virtual void paintEvent( QPaintEvent * ); > virtual void mousePressEvent( QMouseEvent *e ); > virtual void mouseMoveEvent( QMouseEvent *e ); > virtual void wheelEvent( QWheelEvent * ); > >private: > QPoint calcArrowPos( int val ); > void moveArrow( const QPoint &pos ); > > Orientation _orientation; > bool _indent; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KSelectorPrivate; > KSelectorPrivate *d; >}; ># 293 "../kdeui/kselect.h" >class KGradientSelector : public KSelector >{ > 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: > > > > > KGradientSelector( QWidget *parent=0, const char *name=0 ); > > > > > KGradientSelector( Orientation o, QWidget *parent=0, const char *name=0 ); > > > > ~KGradientSelector(); > > > > void setColors( const QColor &col1, const QColor &col2 ) > { color1 = col1; color2 = col2; update();} > void setText( const QString &t1, const QString &t2 ) > { text1 = t1; text2 = t2; update(); } > > > > > void setFirstColor( const QColor &col ) > { color1 = col; update(); } > void setSecondColor( const QColor &col ) > { color2 = col; update(); } > > > > > void setFirstText( const QString &t ) > { text1 = t; update(); } > void setSecondText( const QString &t ) > { text2 = t; update(); } > > const QColor firstColor() const > { return color1; } > const QColor secondColor() const > { return color2; } > > const QString firstText() const > { return text1; } > const QString secondText() const > { return text2; } > >protected: > > virtual void drawContents( QPainter * ); > virtual QSize minimumSize() const > { return sizeHint(); } > >private: > void init(); > QColor color1; > QColor color2; > QString text1; > QString text2; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KGradientSelectorPrivate; > KGradientSelectorPrivate *d; >}; ># 39 "../kdeui/kcolordialog.h" 2 > >class QComboBox; >class QLineEdit; >class KListBox; >class KPalette; >class KColorCells; ># 58 "../kdeui/kcolordialog.h" >class KHSSelector : public KXYSelector >{ > 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: > > > > KHSSelector( QWidget *parent=0, const char *name=0 ); > >protected: > > > > > virtual void drawPalette( QPixmap *pixmap ); > virtual void resizeEvent( QResizeEvent * ); > > > > > > > virtual void drawContents( QPainter *painter ); > >private: > void updateContents(); > QPixmap pixmap; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KHSSelectorPrivate; > KHSSelectorPrivate *d; >}; > > >class KValueSelectorPrivate; > > > > > > >class KValueSelector : public KSelector >{ > 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: > > > > KValueSelector( QWidget *parent=0, const char *name=0 ); > > > > KValueSelector( Orientation o, QWidget *parent = 0, const char *name = 0 ); > > int hue() const > { return _hue; } > void setHue( int h ) > { _hue = h; } > int saturation() const > { return _sat; } > void setSaturation( int s ) > { _sat = s; } > > void updateContents(); >protected: > > > > > virtual void drawPalette( QPixmap *pixmap ); > virtual void resizeEvent( QResizeEvent * ); > > > > > > > virtual void drawContents( QPainter *painter ); > >private: > int _hue; > int _sat; > QPixmap pixmap; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KValueSelectorPrivate; > KValueSelectorPrivate *d; >}; ># 164 "../kdeui/kcolordialog.h" >class KColor : public QColor >{ >public: > KColor(); > KColor( const KColor &col); > KColor( const QColor &col); > > KColor& operator=( const KColor& col); > > bool operator==( const KColor& col) const; > > void setHsv(int _h, int _s, int _v); > void setRgb(int _r, int _g, int _b); > > void rgb(int *_r, int *_g, int *_b) const; > void hsv(int *_h, int *_s, int *_v) const; >protected: > int h; > int s; > int v; > int r; > int g; > int b; > >private: > class KColorPrivate; > KColorPrivate *d; >}; > > > > > > >class KPaletteTable : 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: > KPaletteTable( QWidget *parent, int minWidth=210, int cols = 16); > ~KPaletteTable(); > void addToCustomColors( const QColor &); > void addToRecentColors( const QColor &); > QString palette() const; >public : > void setPalette(const QString &paletteName); >protected: > void colorSelected( const QColor &, const QString & ); > void colorDoubleClicked( const QColor &, const QString & ); > >protected : > void slotColorCellSelected( int ); > void slotColorCellDoubleClicked( int ); > void slotColorTextSelected( const QString &colorText ); > void slotSetPalette( const QString &_paletteName ); > void slotShowNamedColorReadError( void ); > >protected: > void readNamedColor( void ); > >protected: > > QString i18n_customColors; > > QString i18n_recentColors; > QString i18n_namedColors; > QComboBox *combo; > KColorCells *cells; > QScrollView *sv; > KListBox *mNamedColorList; > KPalette *mPalette; > int mMinWidth; > int mCols; > >private: > > virtual void setPalette(const QPalette& p) { QWidget::setPalette(p); } >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KPaletteTablePrivate; > KPaletteTablePrivate *d; >}; > > > > > > > >class KColorCells : public QGridView >{ > 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: > KColorCells( QWidget *parent, int rows, int cols ); > ~KColorCells(); > > void setColor( int colNum, const QColor &col ); > QColor color( int indx ) const > { return colors[indx]; } > int numCells() const > { return numRows() * numCols(); } > > void setShading(bool _shade) { shade = _shade; } > > void setAcceptDrags(bool _acceptDrags) { acceptDrags = _acceptDrags; } > > int getSelected() const > { return selected; } > > protected: > void colorSelected( int col ); > void colorDoubleClicked( int col ); > >protected: > virtual void paintCell( QPainter *painter, int row, int col ); > virtual void resizeEvent( QResizeEvent * ); > virtual void mouseReleaseEvent( QMouseEvent * ); > virtual void mousePressEvent( QMouseEvent * ); > virtual void mouseMoveEvent( QMouseEvent * ); > virtual void dragEnterEvent( QDragEnterEvent *); > virtual void dropEvent( QDropEvent *); > virtual void mouseDoubleClickEvent( QMouseEvent * ); > > int posToCell(const QPoint &pos, bool ignoreBorders=false); > > QColor *colors; > bool inMouse; > QPoint mPos; > int selected; > bool shade; > bool acceptDrags; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KColorCellsPrivate; > KColorCellsPrivate *d; >}; ># 311 "../kdeui/kcolordialog.h" >class KColorPatch : 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: > KColorPatch( QWidget *parent ); > virtual ~KColorPatch(); > > void setColor( const QColor &col ); > >protected: > void colorChanged( const QColor&); > >protected: > virtual void drawContents( QPainter *painter ); > virtual void mouseMoveEvent( QMouseEvent * ); > virtual void dragEnterEvent( QDragEnterEvent *); > virtual void dropEvent( QDropEvent *); > >private: > QColor color; > uint pixel; > int colContext; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KColorPatchPrivate; > KColorPatchPrivate *d; >}; ># 377 "../kdeui/kcolordialog.h" >class KColorDialog : 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: > > > > KColorDialog( QWidget *parent = 0L, const char *name = 0L, > bool modal = false ); > > > > ~KColorDialog(); > > > > > QColor color() const; ># 405 "../kdeui/kcolordialog.h" > static int getColor( QColor &theColor, QWidget *parent=0L ); ># 419 "../kdeui/kcolordialog.h" > static int getColor( QColor &theColor, const QColor& defaultColor, QWidget *parent=0L ); > > > > > static QColor grabColor(const QPoint &p); > > > > > > > > void setDefaultColor( const QColor& defaultCol ); > > > > > QColor defaultColor() const; > > public : > > > > void setColor( const QColor &col ); > > protected: > > > > > > void colorSelected( const QColor &col ); > > private : > void slotRGBChanged( void ); > void slotHSVChanged( void ); > void slotHtmlChanged( void ); > void slotHSChanged( int, int ); > void slotVChanged( int ); > void slotColorSelected( const QColor &col ); > void slotColorSelected( const QColor &col, const QString &name ); > void slotColorDoubleClicked( const QColor &col, const QString &name ); > void slotColorPicker(); > void slotAddToCustomColors(); > void slotDefaultColorClicked(); > > > > void slotWriteSettings(); > > private: > > > > void readSettings(); > > void setRgbEdit( const KColor &col ); > void setHsvEdit( const KColor &col ); > void setHtmlEdit( const KColor &col ); > void _setColor( const KColor &col, const QString &name=QString::null ); > void showColor( const KColor &color, const QString &name ); > > protected: > virtual void mouseReleaseEvent( QMouseEvent * ); > virtual void keyPressEvent( QKeyEvent * ); > virtual bool eventFilter( QObject *obj, QEvent *ev ); > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KColorDialogPrivate; > KColorDialogPrivate *d; >}; ># 31 "../kdeui/kcolorcombo.h" 2 > > > >class KColorComboInternal; > > > > >class KColorCombo : public QComboBox >{ > 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: > > > > KColorCombo( QWidget *parent, const char *name = 0L ); > ~KColorCombo(); > > > > > void setColor( const QColor &col ); > > > > QColor color() const; > > > > > > void showEmptyList(); > >protected: > > > > void activated( const QColor &col ); > > > > void highlighted( const QColor &col ); > >protected: > virtual void resizeEvent( QResizeEvent *re ); > >private : > void slotActivated( int index ); > void slotHighlighted( int index ); > >private: > void addColors(); > QColor customColor; > QColor internalcolor; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KColorComboPrivate; > KColorComboPrivate *d; >}; ># 19 "kdewidgets.cpp" 2 > > ># 1 "../kdeui/kcombobox.h" 1 ># 25 "../kdeui/kcombobox.h" > ># 1 "/usr/qt/3/include/qlineedit.h" 1 ># 41 "/usr/qt/3/include/qlineedit.h" >struct QLineEditPrivate; > >class QValidator; >class QPopupMenu; ># 53 "/usr/qt/3/include/qlineedit.h" >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 & ); > >}; ># 26 "../kdeui/kcombobox.h" 2 > > > ># 1 "../kdecore/kcompletion.h" 1 ># 30 "../kdecore/kcompletion.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 31 "../kdecore/kcompletion.h" 2 > ># 1 "../kdecore/kglobalsettings.h" 1 ># 22 "../kdecore/kglobalsettings.h" > ># 1 "/usr/qt/3/include/qcolor.h" 1 ># 23 "../kdecore/kglobalsettings.h" 2 > ># 1 "/usr/qt/3/include/qfont.h" 1 ># 24 "../kdecore/kglobalsettings.h" 2 > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdecore/kglobalsettings.h" 2 ># 39 "../kdecore/kglobalsettings.h" >class KURL; > > > > > > >class KGlobalSettings >{ > public: ># 93 "../kdecore/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 "../kdecore/kglobalsettings.h" > static QColor alternateBackgroundColor(); ># 357 "../kdecore/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 "../kdecore/kglobalsettings.h" > static bool isMultiHead(); ># 432 "../kdecore/kglobalsettings.h" > static bool wheelMouseZooms(); ># 444 "../kdecore/kglobalsettings.h" > static QRect splashScreenDesktopGeometry(); ># 462 "../kdecore/kglobalsettings.h" > static QRect desktopGeometry(const QPoint& point); ># 477 "../kdecore/kglobalsettings.h" > static QRect desktopGeometry(QWidget* w); ># 487 "../kdecore/kglobalsettings.h" > static bool showIconsOnPushButtons(); ># 497 "../kdecore/kglobalsettings.h" > static bool showFilePreview(const KURL &); ># 507 "../kdecore/kglobalsettings.h" > static bool opaqueResize(); ># 516 "../kdecore/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 "../kdecore/kcompletion.h" 2 > ># 1 "../kdecore/ksortablevaluelist.h" 1 ># 25 "../kdecore/ksortablevaluelist.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdecore/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 "../kdecore/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 "../kdecore/kcompletion.h" 2 > ># 1 "../kdecore/kshortcut.h" 1 ># 23 "../kdecore/kshortcut.h" > ># 1 "/usr/qt/3/include/qkeysequence.h" 1 ># 24 "../kdecore/kshortcut.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdecore/kshortcut.h" 2 > >class QKeyEvent; >class KKeyNative; ># 40 "../kdecore/kshortcut.h" >class 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 "../kdecore/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 "../kdecore/kshortcut.h" > bool init( const QString& key); > > > > > bool init( uint key, uint mod ); > > > > > KKey& operator =( const KKey& key ) > { init( key ); return *this; } ># 173 "../kdecore/kshortcut.h" > bool isNull() const; > > > > > uint sym() const; > > > > uint modFlags() const; ># 195 "../kdecore/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 "../kdecore/kshortcut.h" > QString toString() const; > > > > > > QString toStringInternal() const; > > > > > > void simplify(); > > > > > > > > static KKey& null(); > > > > > > > static QString modFlagLabel( ModFlag f ); > > private: ># 271 "../kdecore/kshortcut.h" > uint m_sym; > > > > uint m_mod; > > private: > friend class KKeyNative; >}; ># 288 "../kdecore/kshortcut.h" >class KKeySequence >{ > public: > > enum { MAX_KEYS = 4 }; > > > > > > > > KKeySequence(); > > > > > > KKeySequence( const QKeySequence& keySeq ); > > > > > > KKeySequence( const KKey& key ); > > > > > > KKeySequence( const KKeyNative& key ); > > > > > > KKeySequence( const KKeySequence& keySeq ); ># 334 "../kdecore/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 "../kdecore/kshortcut.h" > bool init( const QString& key ); > > > > > KKeySequence& operator =( const KKeySequence& seq ) > { init( seq ); return *this; } > > > > > > > uint count() const; ># 405 "../kdecore/kshortcut.h" > const KKey& key( uint i ) const; > > > > > bool isTriggerOnRelease() const; ># 420 "../kdecore/kshortcut.h" > bool setKey( uint i, const KKey& key ); ># 429 "../kdecore/kshortcut.h" > bool isNull() const; > > > > > > > bool startsWith( const KKeySequence& keySeq ) const; ># 450 "../kdecore/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 "../kdecore/kshortcut.h" >class 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 "../kdecore/kshortcut.h" > KShortcut( const char* shortcut ); ># 611 "../kdecore/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 "../kdecore/kshortcut.h" > bool init( const QString& shortcut ); > > > > > KShortcut& operator =( const KShortcut& cut ) > { init( cut ); return *this; } > > > > > > > > uint count() const; ># 683 "../kdecore/kshortcut.h" > const KKeySequence& seq( uint i ) const; ># 692 "../kdecore/kshortcut.h" > int keyCodeQt() const; ># 701 "../kdecore/kshortcut.h" > bool isNull() const; ># 716 "../kdecore/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 "../kdecore/kshortcut.h" > bool setSeq( uint i, const KKeySequence& keySeq ); ># 781 "../kdecore/kshortcut.h" > bool append( const KKeySequence& keySeq ); > > > > > > > void remove( const KKeySequence& keySeq ); ># 798 "../kdecore/kshortcut.h" > bool append( const KKey& spec ); ># 807 "../kdecore/kshortcut.h" > bool append( const KShortcut& cut ); > > > > > > operator QKeySequence () const; ># 822 "../kdecore/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 "../kdecore/kcompletion.h" 2 > >class KCompTreeNode; >class KCompletionPrivate; >class KCompletionBasePrivate; >class KCompletionMatchesWrapper; >class KCompletionMatches; >class QPopupMenu; ># 132 "../kdecore/kcompletion.h" >class 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 "../kdecore/kcompletion.h" > virtual QString makeCompletion( const QString& string ); ># 194 "../kdecore/kcompletion.h" > QStringList substringCompletion( const QString& string ) const; ># 205 "../kdecore/kcompletion.h" > QString previousMatch(); ># 216 "../kdecore/kcompletion.h" > QString nextMatch(); > > > > > > > > virtual const QString& lastMatch() const { return myLastMatch; } ># 244 "../kdecore/kcompletion.h" > QStringList items() const; > > > > > bool isEmpty() const; ># 260 "../kdecore/kcompletion.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 269 "../kdecore/kcompletion.h" > KGlobalSettings::Completion completionMode() const { > return myCompletionMode; > } ># 293 "../kdecore/kcompletion.h" > virtual void setOrder( CompOrder order ); > > > > > > > CompOrder order() const { return myOrder; } ># 309 "../kdecore/kcompletion.h" > virtual void setIgnoreCase( bool ignoreCase ); > > > > > > > > bool ignoreCase() const { return myIgnoreCase; } > > > > > > > > QStringList allMatches(); > > > > > > > QStringList allMatches( const QString& string ); ># 346 "../kdecore/kcompletion.h" > KCompletionMatches allWeightedMatches(); > > > > > > > KCompletionMatches allWeightedMatches( const QString& string ); ># 368 "../kdecore/kcompletion.h" > virtual void setEnableSounds( bool enable ) { myBeep = enable; } ># 377 "../kdecore/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 "../kdecore/kcompletion.h" > void insertItems( const QStringList& items ); ># 453 "../kdecore/kcompletion.h" > virtual void setItems( const QStringList& list); > > > > > > > > void addItem( const QString& item); ># 474 "../kdecore/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 "../kdecore/kcompletion.h" > virtual void postProcessMatch( QString *match ) const { (void)match; } ># 540 "../kdecore/kcompletion.h" > virtual void postProcessMatches( QStringList * matches ) const { (void)matches;} ># 552 "../kdecore/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 "../kdecore/kcompletion.h" >class 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 "../kdecore/kcompletion.h" >class KCompletionBase >{ >public: > > > > > > enum KeyBindingType { > > > > TextCompletion, > > > > PrevCompletionMatch, > > > > NextCompletionMatch, > > > > SubstringCompletion > }; > > > > typedef QMap<KeyBindingType, KShortcut> KeyBindingMap; > > > > > KCompletionBase(); > > > > > virtual ~KCompletionBase(); ># 719 "../kdecore/kcompletion.h" > KCompletion* completionObject( bool hsig = true ); ># 737 "../kdecore/kcompletion.h" > virtual void setCompletionObject( KCompletion* compObj, bool hsig = true ); ># 751 "../kdecore/kcompletion.h" > virtual void setHandleSignals( bool handle ); ># 763 "../kdecore/kcompletion.h" > bool isCompletionObjectAutoDeleted() const { > return m_delegate ? m_delegate->isCompletionObjectAutoDeleted() : m_bAutoDelCompObj; > } ># 776 "../kdecore/kcompletion.h" > void setAutoDeleteCompletionObject( bool autoDelete ) { > if ( m_delegate ) > m_delegate->setAutoDeleteCompletionObject( autoDelete ); > else > m_bAutoDelCompObj = autoDelete; > } ># 803 "../kdecore/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 "../kdecore/kcompletion.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 854 "../kdecore/kcompletion.h" > KGlobalSettings::Completion completionMode() const { > return m_delegate ? m_delegate->completionMode() : m_iCompletionMode; > } ># 888 "../kdecore/kcompletion.h" > bool setKeyBinding( KeyBindingType item , const KShortcut& key ); ># 902 "../kdecore/kcompletion.h" > const KShortcut& getKeyBinding( KeyBindingType item ) const { > return m_delegate ? m_delegate->getKeyBinding( item ) : m_keyMap[ item ]; > } ># 917 "../kdecore/kcompletion.h" > void useGlobalKeyBindings(); ># 933 "../kdecore/kcompletion.h" > virtual void setCompletedText( const QString& text ) = 0; > > > > > > > virtual void setCompletedItems( const QStringList& items ) = 0; ># 953 "../kdecore/kcompletion.h" > KCompletion* compObj() const { return m_delegate ? m_delegate->compObj() : (KCompletion*) m_pCompObj; } > >protected: ># 964 "../kdecore/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; >}; ># 29 "../kdeui/kcombobox.h" 2 > >class QListBoxItem; >class QPopupMenu; >class QLineEdit; > >class KCompletionBox; >class KURL; ># 144 "../kdeui/kcombobox.h" >class 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 "../kdeui/kcombobox.h" > KComboBox( QWidget *parent=0, const char *name=0 ); ># 172 "../kdeui/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 "../kdeui/kcombobox.h" > int cursorPosition() const { return ( lineEdit() ) ? lineEdit()->cursorPosition() : -1; } ># 235 "../kdeui/kcombobox.h" > virtual void setAutoCompletion( bool autocomplete ); ># 246 "../kdeui/kcombobox.h" > bool autoCompletion() const { > return completionMode() == KGlobalSettings::CompletionAuto; > } ># 265 "../kdeui/kcombobox.h" > virtual void setContextMenuEnabled( bool showMenu ); > > > > > bool isContextMenuEnabled() const { return m_bEnableMenu; } ># 279 "../kdeui/kcombobox.h" > void setURLDropsEnabled( bool enable ); > > > > > bool isURLDropsEnabled() const; ># 295 "../kdeui/kcombobox.h" > bool contains( const QString& text ) const; ># 310 "../kdeui/kcombobox.h" > void setTrapReturnKey( bool trap ); > > > > > > > > bool trapReturnKey() const; > > > > > virtual bool eventFilter( QObject *, QEvent * ); ># 334 "../kdeui/kcombobox.h" > KCompletionBox * completionBox( bool create = true ); > > > > > > > > virtual void setLineEdit( QLineEdit * ); > >protected: > > > > > > void returnPressed(); ># 361 "../kdeui/kcombobox.h" > void returnPressed( const QString& ); ># 371 "../kdeui/kcombobox.h" > void completion( const QString& ); > > > > > void substringCompletion( const QString& ); ># 389 "../kdeui/kcombobox.h" > void textRotation( KCompletionBase::KeyBindingType ); > > > > > > void completionModeChanged( KGlobalSettings::Completion ); ># 406 "../kdeui/kcombobox.h" > void aboutToShowContextMenu( QPopupMenu * p ); > >public : ># 427 "../kdeui/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 "../kdeui/kcombobox.h" > virtual void makeCompletion( const QString& ); > >protected: ># 484 "../kdeui/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 "../kdeui/kcombobox.h" >class 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 "../kdeui/kcombobox.h" > KHistoryCombo( QWidget *parent = 0L, const char *name = 0L ); ># 567 "../kdeui/kcombobox.h" > KHistoryCombo( bool useCompletion, > QWidget *parent = 0L, const char *name = 0L ); > > > > > ~KHistoryCombo(); > > > > > > > > inline void setHistoryItems( QStringList items ) { > setHistoryItems(items, false); > } ># 626 "../kdeui/kcombobox.h" > void setHistoryItems( QStringList items, bool setCompletionList ); > > > > > > > > QStringList historyItems() const; ># 643 "../kdeui/kcombobox.h" > bool removeFromHistory( const QString& item ); ># 657 "../kdeui/kcombobox.h" > void setPixmapProvider( KPixmapProvider *prov ); > > > > > > > KPixmapProvider * pixmapProvider() const { return myPixProvider; } > > > > > > void reset() { slotReset(); } > >public : ># 692 "../kdeui/kcombobox.h" > void addToHistory( const QString& item ); > > > > > void clearHistory(); > >protected: > > > > void cleared(); > >protected: > > > > virtual void keyPressEvent( QKeyEvent * ); > > > > > virtual void wheelEvent( QWheelEvent *ev ); ># 724 "../kdeui/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; >}; ># 21 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kdatepicker.h" 1 ># 24 "../kdeui/kdatepicker.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/kdatepicker.h" 2 > >class QLineEdit; >class QToolButton; >class KDateValidator; >class KDateTable; ># 51 "../kdeui/kdatepicker.h" >class KDatePicker: 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: > > > > KDatePicker(QWidget *parent=0, > QDate=QDate::currentDate(), > const char *name=0); > > > > > > KDatePicker(QWidget *parent, > QDate, > const char *name, > WFlags f); > > > > > > > KDatePicker( QWidget *parent, const char *name ); > > > > > virtual ~KDatePicker(); > > > > > > > > QSize sizeHint() const; > > > > > > > > bool setDate(const QDate&); > > > > > > const QDate& getDate() const __attribute__ ((deprecated)); > > > > > const QDate &date() const; > > > > > void setEnabled(bool); > > > > > > > KDateTable *dateTable() const { return table; }; > > > > > void setFontSize(int); > > > > int fontSize() const > { return fontsize; } ># 145 "../kdeui/kdatepicker.h" > void setCloseButton( bool enable ); > > > > > > > bool hasCloseButton() const; > >protected: > > virtual bool eventFilter(QObject *o, QEvent *e ); > > virtual void resizeEvent(QResizeEvent*); > > QToolButton *yearForward; > > QToolButton *yearBackward; > > QToolButton *monthForward; > > QToolButton *monthBackward; > > QToolButton *selectMonth; > > QToolButton *selectYear; > > QLineEdit *line; > > KDateValidator *val; > > KDateTable *table; > > > > QSize maxMonthRect; >protected : > void dateChangedSlot(QDate); > void tableClickedSlot(); > void monthForwardClicked(); > void monthBackwardClicked(); > void yearForwardClicked(); > void yearBackwardClicked(); > > > > > void selectWeekClicked(); > > > > void selectMonthClicked(); > > > > void selectYearClicked(); > > > > void lineEnterPressed(); > > > > void todayButtonClicked(); > > > > void weekSelected(int); > >protected: ># 223 "../kdeui/kdatepicker.h" > void dateChanged(QDate); > > > > > > void dateSelected(QDate); > > > > > > void dateEntered(QDate); > > > > void tableClicked(); > >private : > void ensureSelectYearIsUp(); > >private: > > int fontsize; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > void init( const QDate &dt ); > void fillWeeksCombo(const QDate &date); > class KDatePickerPrivate; > KDatePickerPrivate *d; >}; ># 22 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kdatetbl.h" 1 ># 25 "../kdeui/kdatetbl.h" > ># 1 "/usr/qt/3/include/qvalidator.h" 1 ># 44 "/usr/qt/3/include/qvalidator.h" > ># 1 "/usr/qt/3/include/qregexp.h" 1 ># 46 "/usr/qt/3/include/qregexp.h" >class QRegExpEngine; >struct QRegExpPrivate; > >class __attribute__((visibility("default"))) QRegExp >{ >public: > enum CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch }; > > QRegExp(); > QRegExp( const QString& pattern, bool caseSensitive = TRUE, > bool wildcard = FALSE ); > QRegExp( const QRegExp& rx ); > ~QRegExp(); > QRegExp& operator=( const QRegExp& rx ); > > bool operator==( const QRegExp& rx ) const; > bool operator!=( const QRegExp& rx ) const { return !operator==( rx ); } > > bool isEmpty() const; > bool isValid() const; > QString pattern() const; > void setPattern( const QString& pattern ); > bool caseSensitive() const; > void setCaseSensitive( bool sensitive ); > > bool wildcard() const; > void setWildcard( bool wildcard ); > > bool minimal() const; > void setMinimal( bool minimal ); > > bool exactMatch( const QString& str ) const; ># 90 "/usr/qt/3/include/qregexp.h" > int search( const QString& str, int offset = 0 ) const; > int search( const QString& str, int offset, CaretMode caretMode ) const; > int searchRev( const QString& str, int offset = -1 ) const; > int searchRev( const QString& str, int offset, CaretMode caretMode ) const; > > int matchedLength() const; > > int numCaptures() const; > QStringList capturedTexts(); > QString cap( int nth = 0 ); > int pos( int nth = 0 ); > QString errorString(); > > > static QString escape( const QString& str ); > >private: > void prepareEngine() const; > void prepareEngineForMatch( const QString& str ) const; > void invalidateEngine(); > > static int caretIndex( int offset, CaretMode caretMode ); > > QRegExpEngine *eng; > QRegExpPrivate *priv; >}; ># 45 "/usr/qt/3/include/qvalidator.h" 2 > > > > > >class __attribute__((visibility("default"))) QValidator : 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: > QValidator( QObject * parent, const char *name = 0 ); > ~QValidator(); > > enum State { Invalid, Intermediate, Valid=Intermediate, Acceptable }; > > virtual State validate( QString &, int & ) const = 0; > virtual void fixup( QString & ) const; > >private: > > QValidator( const QValidator & ); > QValidator& operator=( const QValidator & ); > >}; > > >class __attribute__((visibility("default"))) QIntValidator : public QValidator >{ > 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: > QIntValidator( QObject * parent, const char *name = 0 ); > QIntValidator( int bottom, int top, > QObject * parent, const char *name = 0 ); > ~QIntValidator(); > > QValidator::State validate( QString &, int & ) const; > > void setBottom( int ); > void setTop( int ); > virtual void setRange( int bottom, int top ); > > int bottom() const { return b; } > int top() const { return t; } > >private: > > QIntValidator( const QIntValidator & ); > QIntValidator& operator=( const QIntValidator & ); > > > int b, t; >}; > > > >class __attribute__((visibility("default"))) QDoubleValidator : public QValidator >{ > 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: > QDoubleValidator( QObject * parent, const char *name = 0 ); > QDoubleValidator( double bottom, double top, int decimals, > QObject * parent, const char *name = 0 ); > ~QDoubleValidator(); > > QValidator::State validate( QString &, int & ) const; > > virtual void setRange( double bottom, double top, int decimals = 0 ); > void setBottom( double ); > void setTop( double ); > void setDecimals( int ); > > double bottom() const { return b; } > double top() const { return t; } > int decimals() const { return d; } > >private: > > QDoubleValidator( const QDoubleValidator & ); > QDoubleValidator& operator=( const QDoubleValidator & ); > > > double b, t; > int d; >}; > > >class __attribute__((visibility("default"))) QRegExpValidator : public QValidator >{ > 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: > QRegExpValidator( QObject *parent, const char *name = 0 ); > QRegExpValidator( const QRegExp& rx, QObject *parent, > const char *name = 0 ); > ~QRegExpValidator(); > > virtual QValidator::State validate( QString& input, int& pos ) const; > > void setRegExp( const QRegExp& rx ); > const QRegExp& regExp() const { return r; } > >private: > > QRegExpValidator( const QRegExpValidator& ); > QRegExpValidator& operator=( const QRegExpValidator& ); > > > QRegExp r; >}; ># 26 "../kdeui/kdatetbl.h" 2 > > > > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 32 "../kdeui/kdatetbl.h" 2 > >class KPopupMenu; > > > > > > >class KDateInternalWeekSelector : public QLineEdit >{ > 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; >protected: > QIntValidator *val; > int result; >public : > void weekEnteredSlot(); > void setMaxWeek(int max); >protected: > void closeMe(int); >public: > KDateInternalWeekSelector( QWidget* parent=0, const char* name=0); > int getWeek(); > void setWeek(int week); > >private: > class KDateInternalWeekPrivate; > KDateInternalWeekPrivate *d; >}; > > > > > > > >class KDateInternalMonthPicker : public QGridView >{ > 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; >protected: > > > > int result; > > > > short int activeCol; > short int activeRow; > > > > QRect max; >protected: > > > > void closeMe(int); >public: > > > > KDateInternalMonthPicker(const QDate& date, QWidget* parent, const char* name=0); > > > > ~KDateInternalMonthPicker(); > > > > QSize sizeHint() const; > > > > > int getResult() const; >protected: > > > > void setupPainter(QPainter *p); > > > > virtual void viewportResizeEvent(QResizeEvent*); > > > > virtual void paintCell(QPainter* painter, int row, int col); > > > > virtual void contentsMousePressEvent(QMouseEvent *e); > virtual void contentsMouseMoveEvent(QMouseEvent *e); > > > > virtual void contentsMouseReleaseEvent(QMouseEvent *e); > >private: > class KDateInternalMonthPrivate; > KDateInternalMonthPrivate *d; >}; > > > > > > >class KDateInternalYearSelector : public QLineEdit >{ > 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; >protected: > QIntValidator *val; > int result; >public : > void yearEnteredSlot(); >protected: > void closeMe(int); >public: > KDateInternalYearSelector( QWidget* parent=0, const char* name=0); > int getYear(); > void setYear(int year); > >private: > class KDateInternalYearPrivate; > KDateInternalYearPrivate *d; > >}; > > > > > > >class KPopupFrame : 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; >protected: > > > > int result; > > > > virtual void keyPressEvent(QKeyEvent* e); > > > > QWidget *main; >public : > > > > > void close(int r); > > > > void hide(); > >public: > > > > KPopupFrame(QWidget* parent=0, const char* name=0); > > > > ~KPopupFrame(); > > > > > > > > void setMainWidget(QWidget* m); > > > > > virtual void resizeEvent(QResizeEvent*); > > > > void popup(const QPoint &pos); > > > > int exec(QPoint p); > > > > int exec(int x, int y); > >private: > > virtual bool close(bool alsoDelete) { return QFrame::close(alsoDelete); } >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KPopupFramePrivate; > KPopupFramePrivate *d; >}; > > > > >class KDateValidator : public QValidator >{ >public: > KDateValidator(QWidget* parent=0, const char* name=0); > virtual State validate(QString&, int&) const; > virtual void fixup ( QString & input ) const; > State date(const QString&, QDate&) const; >}; ># 263 "../kdeui/kdatetbl.h" >class KDateTable : public QGridView >{ > 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: > > > > KDateTable(QWidget *parent=0, QDate date=QDate::currentDate(), > const char* name=0, WFlags f=0); > > > > > > KDateTable(QWidget *parent, const char* name, WFlags f=0); > > > > > ~KDateTable(); ># 294 "../kdeui/kdatetbl.h" > virtual QSize sizeHint() const; > > > > void setFontSize(int size); > > > > bool setDate(const QDate&); > > const QDate& getDate() const; ># 314 "../kdeui/kdatetbl.h" > void setPopupMenuEnabled( bool enable ); > > > > > bool popupMenuEnabled() const; > > enum BackgroundMode { NoBgMode=0, RectangleMode, CircleMode }; > > > > > > > > void setCustomDatePainting( const QDate &date, const QColor &fgColor, BackgroundMode bgMode=NoBgMode, const QColor &bgColor=QColor()); > > > > > > > void unsetCustomDatePainting( const QDate &date ); > >protected: > > > > int posFromDate( const QDate &date ); > > > > > QDate dateFromPos( int pos ); > > > > > virtual void paintCell(QPainter*, int, int); > > > > > virtual void paintEmptyArea(QPainter*, int, int, int, int); > > > > > virtual void viewportResizeEvent(QResizeEvent *); > > > > virtual void contentsMousePressEvent(QMouseEvent *); > virtual void wheelEvent( QWheelEvent * e ); > virtual void keyPressEvent( QKeyEvent *e ); > virtual void focusInEvent( QFocusEvent *e ); > virtual void focusOutEvent( QFocusEvent *e ); > > > > > > > int fontsize; > > > > QDate date; > > > > int firstday; > > > > int numdays; > > > > int numDaysPrevMonth; > > > > > bool unused_hasSelection; > > > > QRect maxCell; >protected: > > > > > void dateChanged(QDate); > > > > > > > void dateChanged(const QDate& cur, const QDate& old); > > > > void tableClicked(); ># 428 "../kdeui/kdatetbl.h" > void aboutToShowContextMenu( KPopupMenu * menu, const QDate &date); > >private : > void nextMonth(); > void previousMonth(); > void beginningOfMonth(); > void endOfMonth(); > void beginningOfWeek(); > void endOfWeek(); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KDateTablePrivate; > KDateTablePrivate *d; > > void initAccels(); >}; ># 23 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kdatetimewidget.h" 1 ># 25 "../kdeui/kdatetimewidget.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/kdatetimewidget.h" 2 ># 40 "../kdeui/kdatetimewidget.h" >class KDateTimeWidget : 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: > > > > KDateTimeWidget(QWidget * parent = 0, const char * name = 0); > > > > > > KDateTimeWidget(const QDateTime & datetime, > QWidget * parent = 0, const char * name = 0 ); > > > > > virtual ~KDateTimeWidget(); > > > > > QDateTime dateTime() const; > >public : > > > > void setDateTime(const QDateTime & datetime); > >protected: > > > > > void valueChanged(const QDateTime & datetime); > >private: > void init(); > >private : > void slotValueChanged(); > >private: > class KDateTimeWidgetPrivate; > KDateTimeWidgetPrivate *d; >}; ># 24 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kdatewidget.h" 1 ># 25 "../kdeui/kdatewidget.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/kdatewidget.h" 2 ># 36 "../kdeui/kdatewidget.h" >class KDateWidget : 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: > > > > KDateWidget( QWidget *parent=0, const char *name=0 ); > > > > > KDateWidget( QDate date, QWidget *parent=0, const char *name=0 ); > > > > > virtual ~KDateWidget(); > > > > > QDate date() const; > > > > > void setDate(QDate date); > > >protected: > > > > > void changed(QDate); > >protected: > void init(); > void init(const QDate&); > >protected : > void slotDateChanged(); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KDateWidgetPrivate; > KDateWidgetPrivate *d; >}; ># 25 "kdewidgets.cpp" 2 > > ># 1 "../kdeui/knuminput.h" 1 ># 32 "../kdeui/knuminput.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 33 "../kdeui/knuminput.h" 2 > >class QLabel; >class QSlider; >class QLineEdit; >class QLayout; >class QValidator; > >class KIntSpinBox; ># 49 "../kdeui/knuminput.h" >class 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 "../kdeui/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 "../kdeui/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 "../kdeui/knuminput.h" >class 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 "../kdeui/knuminput.h" >public: > > > > > KIntNumInput(QWidget *parent=0, const char *name=0); ># 217 "../kdeui/knuminput.h" > KIntNumInput(int value, QWidget* parent=0, int base = 10, const char *name=0); ># 236 "../kdeui/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 "../kdeui/knuminput.h" > virtual QSize minimumSizeHint() const; > >public : > > > > void setValue(int); > > > > > > void setRelativeValue(double); > > > > > > void setReferencePoint(int); ># 348 "../kdeui/knuminput.h" > void setSuffix(const QString &suffix); ># 357 "../kdeui/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 "../kdeui/knuminput.h" >class 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 "../kdeui/knuminput.h" >public: > > > > > KDoubleNumInput(QWidget *parent=0, const char *name=0); ># 460 "../kdeui/knuminput.h" > KDoubleNumInput(double value, QWidget *parent=0, const char *name=0) __attribute__ ((deprecated)); ># 474 "../kdeui/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 "../kdeui/knuminput.h" > KDoubleNumInput(KNumInput* below, double value, QWidget* parent=0, const char* name=0) __attribute__ ((deprecated)); ># 516 "../kdeui/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 "../kdeui/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 "../kdeui/knuminput.h" >class 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 "../kdeui/knuminput.h" > KIntSpinBox( QWidget *parent=0, const char *name=0); ># 734 "../kdeui/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 "../kdeui/knuminput.h" >class 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 "../kdeui/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; >}; ># 27 "kdewidgets.cpp" 2 > > ># 1 "../kdeui/kdualcolorbutton.h" 1 ># 21 "../kdeui/kdualcolorbutton.h" >class QBitmap; > ># 1 "/usr/qt/3/include/qbrush.h" 1 ># 23 "../kdeui/kdualcolorbutton.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/kdualcolorbutton.h" 2 ># 48 "../kdeui/kdualcolorbutton.h" >class KDualColorButton : 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: > > enum DualColor { Foreground, Background }; > > > > > > > > KDualColorButton(QWidget *parent=0, const char *name=0, QWidget* dialogParent=0); > > > > > > KDualColorButton(const QColor &fgColor, const QColor &bgColor, > QWidget *parent=0, const char *name=0, QWidget* dialogParent=0); > > ~KDualColorButton(); > > > > QColor foreground() const; > > > > QColor background() const; > > > > DualColor current() const; > > > > QColor currentColor() const; > > > > > virtual QSize sizeHint() const; >public : > > > > void setForeground(const QColor &c); > > > > void setBackground(const QColor &c); > > > > void setCurrent(DualColor s); > > > > void setCurrentColor(const QColor &c); >protected: > > > > void fgChanged(const QColor &c); > > > > void bgChanged(const QColor &c); > > > > void currentChanged(KDualColorButton::DualColor s); >protected: > > > > > > > > virtual void metrics(QRect &fgRect, QRect &bgRect); > virtual void paintEvent(QPaintEvent *ev); > virtual void mousePressEvent(QMouseEvent *ev); > virtual void mouseMoveEvent(QMouseEvent *ev); > virtual void mouseReleaseEvent(QMouseEvent *ev); > > virtual void dragEnterEvent(QDragEnterEvent *ev); > virtual void dropEvent(QDropEvent *ev); >private: > QBitmap *arrowBitmap; > QPixmap *resetPixmap; > QBrush fg, bg; > QPoint mPos; > bool dragFlag, miniCtlFlag; > DualColor curColor, tmpColor; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KDualColorPrivate; > KDualColorPrivate *d; >}; ># 29 "kdewidgets.cpp" 2 > ># 1 "../kdeui/keditlistbox.h" 1 ># 23 "../kdeui/keditlistbox.h" > ># 1 "/usr/qt/3/include/qgroupbox.h" 1 ># 48 "/usr/qt/3/include/qgroupbox.h" >class QAccel; >class QGroupBoxPrivate; >class QVBoxLayout; >class QGridLayout; >class QSpacerItem; > >class __attribute__((visibility("default"))) QGroupBox : 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/qgroupbox.h" >public: > QGroupBox( QWidget* parent=0, const char* name=0 ); > QGroupBox( const QString &title, > QWidget* parent=0, const char* name=0 ); > QGroupBox( int strips, Orientation o, > QWidget* parent=0, const char* name=0 ); > QGroupBox( int strips, Orientation o, const QString &title, > QWidget* parent=0, const char* name=0 ); > ~QGroupBox(); > > virtual void setColumnLayout(int strips, Orientation o); > > QString title() const { return str; } > virtual void setTitle( const QString &); > > int alignment() const { return align; } > virtual void setAlignment( int ); > > int columns() const; > void setColumns( int ); > > Orientation orientation() const { return dir; } > void setOrientation( Orientation ); > > int insideMargin() const; > int insideSpacing() const; > void setInsideMargin( int m ); > void setInsideSpacing( int s ); > > void addSpace( int ); > QSize sizeHint() const; > > bool isFlat() const; > void setFlat( bool b ); > bool isCheckable() const; > > void setCheckable( bool b ); > > bool isChecked() const; > void setEnabled(bool on); > > >public : > void setChecked( bool b ); > >protected: > void toggled( bool ); > >protected: > bool event( QEvent * ); > void childEvent( QChildEvent * ); > void resizeEvent( QResizeEvent * ); > void paintEvent( QPaintEvent * ); > void focusInEvent( QFocusEvent * ); > void fontChange( const QFont & ); > >private : > void fixFocus(); > void setChildrenEnabled( bool b ); > >private: > void skip(); > void init(); > void calculateFrame(); > void insertWid( QWidget* ); > void setTextSpacer(); > > void updateCheckBoxGeometry(); > > QString str; > int align; > int lenvisible; > > QAccel * accel; > > QGroupBoxPrivate * d; > > QVBoxLayout *vbox; > QGridLayout *grid; > int row; > int col : 30; > uint bFlat : 1; > int nRows, nCols; > Orientation dir; > int spac, marg; > >private: > > QGroupBox( const QGroupBox & ); > QGroupBox &operator=( const QGroupBox & ); > >}; ># 24 "../kdeui/keditlistbox.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 27 "../kdeui/keditlistbox.h" 2 > >class KLineEdit; >class KComboBox; >class QPushButton; > >class KEditListBoxPrivate; ># 44 "../kdeui/keditlistbox.h" >class KEditListBox : public QGroupBox >{ > 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: > > > > > > > class CustomEditor > { > public: > CustomEditor() > : m_representationWidget( 0L ), > m_lineEdit( 0L ) {} > CustomEditor( QWidget *repWidget, KLineEdit *edit ) > : m_representationWidget( repWidget ), > m_lineEdit( edit ) {} > CustomEditor( KComboBox *combo ); > > void setRepresentationWidget( QWidget *repWidget ) { > m_representationWidget = repWidget; > } > void setLineEdit( KLineEdit *edit ) { > m_lineEdit = edit; > } > > virtual QWidget *representationWidget() const { > return m_representationWidget; > } > virtual KLineEdit *lineEdit() const { > return m_lineEdit; > } > > protected: > QWidget *m_representationWidget; > KLineEdit *m_lineEdit; > }; > > public: > > > > > > enum Button { Add = 1, Remove = 2, UpDown = 4 }; > enum { All = Add|Remove|UpDown }; ># 110 "../kdeui/keditlistbox.h" > KEditListBox(QWidget *parent = 0, const char *name = 0, > bool checkAtEntering=false, int buttons = All ); > > > > > > > KEditListBox(const QString& title, QWidget *parent = 0, > const char *name = 0, bool checkAtEntering=false, > int buttons = All ); ># 134 "../kdeui/keditlistbox.h" > KEditListBox( const QString& title, > const CustomEditor &customEditor, > QWidget *parent = 0, const char *name = 0, > bool checkAtEntering = false, int buttons = All ); > > virtual ~KEditListBox(); > > > > > QListBox* listBox() const { return m_listBox; } > > > > KLineEdit* lineEdit() const { return m_lineEdit; } > > > > QPushButton* addButton() const { return servNewButton; } > > > > QPushButton* removeButton() const { return servRemoveButton; } > > > > QPushButton* upButton() const { return servUpButton; } > > > > QPushButton* downButton() const { return servDownButton; } > > > > > int count() const { return int(m_listBox->count()); } > > > > void insertStringList(const QStringList& list, int index=-1); > > > > void insertStrList(const QStrList* list, int index=-1); > > > > void insertStrList(const QStrList& list, int index=-1); > > > > void insertStrList(const char ** list, int numStrings=-1, int index=-1); > > > > void insertItem(const QString& text, int index=-1) {m_listBox->insertItem(text,index);} > > > > void clear(); > > > > QString text(int index) const { return m_listBox->text(index); } > > > > int currentItem() const; > > > > QString currentText() const { return m_listBox->currentText(); } > > > > > QStringList items() const; > > > > > > > void setItems(const QStringList& items); > > > > > int buttons() const; > > > > > void setButtons( uint buttons ); > > protected: > void changed(); > > > > > > > void added( const QString & text ); > > > > > > > void removed( const QString & text ); > > protected : > > void moveItemUp(); > void moveItemDown(); > void addItem(); > void removeItem(); > void enableMoveButtons(int index); > void typedSomething(const QString& text); > > private: > QListBox *m_listBox; > QPushButton *servUpButton, *servDownButton; > QPushButton *servNewButton, *servRemoveButton; > KLineEdit *m_lineEdit; > > > void init( bool checkAtEntering, int buttons, > QWidget *representationWidget = 0L ); > > protected: > virtual void virtual_hook( int id, void* data ); > private: > > KEditListBoxPrivate* const d; >}; ># 30 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kfontdialog.h" 1 ># 30 "../kdeui/kfontdialog.h" > ># 1 "/usr/qt/3/include/qbutton.h" 1 ># 31 "../kdeui/kfontdialog.h" 2 > > >class QComboBox; >class QCheckBox; >class QFont; >class QGroupBox; >class QLabel; >class QStringList; >class KListBox; >class KIntNumInput; ># 54 "../kdeui/kfontdialog.h" >class KFontChooser : 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: > > > > > > enum FontColumn { FamilyList=0x01, StyleList=0x02, SizeList=0x04}; > > > > > > > enum FontDiff { FontDiffFamily=0x01, FontDiffStyle=0x02, FontDiffSize=0x04 }; ># 108 "../kdeui/kfontdialog.h" > KFontChooser(QWidget *parent = 0L, const char *name = 0L, > bool onlyFixed = false, > const QStringList &fontList = QStringList(), > bool makeFrame = true, int visibleListSize=8, > bool diff = false, QButton::ToggleState *sizeIsRelativeState = 0L ); > > > > > virtual ~KFontChooser(); ># 130 "../kdeui/kfontdialog.h" > void enableColumn( int column, bool state ); ># 139 "../kdeui/kfontdialog.h" > void setFont( const QFont &font, bool onlyFixed = false ); > > > > > > int fontDiffFlags(); > > > > > QFont font() const { return selFont; } > > > > > void setColor( const QColor & col ); > > > > > > QColor color() const; > > > > > void setBackgroundColor( const QColor & col ); > > > > > > QColor backgroundColor() const; > > > > > > > > void setSizeIsRelative( QButton::ToggleState relative ); > > > > > > QButton::ToggleState sizeIsRelative() const; > > > > > > QString sampleText() const { return sampleEdit->text(); } ># 204 "../kdeui/kfontdialog.h" > void setSampleText( const QString &text ) > { > sampleEdit->setText( text ); > } > > > > > > > > void setSampleBoxVisible( bool visible ) > { > sampleEdit->setShown( visible ); > } ># 227 "../kdeui/kfontdialog.h" > static QString getXLFD( const QFont &theFont ) > { return theFont.rawName(); } ># 241 "../kdeui/kfontdialog.h" > enum FontListCriteria { FixedWidthFonts=0x01, ScalableFonts=0x02, SmoothScalableFonts=0x04 }; ># 250 "../kdeui/kfontdialog.h" > static void getFontList( QStringList &list, uint fontListCriteria); > > > > > virtual QSize sizeHint( void ) const; > >protected: > > > > void fontSelected( const QFont &font ); > >private : > void toggled_checkbox(); > void family_chosen_slot(const QString&); > void size_chosen_slot(const QString&); > void style_chosen_slot(const QString&); > void displaySample(const QFont &font); > void showXLFDArea(bool); > void size_value_slot(int); >private: > void fillFamilyListBox(bool onlyFixedFonts = false); > void fillSizeList(); > > static void addFont( QStringList &list, const char *xfont ); > > void setupDisplay(); > > > > QStringList fontList; > > KIntNumInput *sizeOfFont; > > QLineEdit *sampleEdit; > QLineEdit *xlfdEdit; > > QLabel *familyLabel; > QLabel *styleLabel; > QCheckBox *familyCheckbox; > QCheckBox *styleCheckbox; > QCheckBox *sizeCheckbox; > QLabel *sizeLabel; > KListBox *familyListBox; > KListBox *styleListBox; > KListBox *sizeListBox; > QComboBox *charsetsCombo; > QCheckBox *sizeIsRelativeCheckBox; > > QFont selFont; > > QString selectedStyle; > int selectedSize; > QMap<QString, QString> currentStyles; > > bool usingFixed; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KFontChooserPrivate; > KFontChooserPrivate *d; >}; ># 339 "../kdeui/kfontdialog.h" >class KFontDialog : 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: ># 365 "../kdeui/kfontdialog.h" > KFontDialog( QWidget *parent = 0L, const char *name = 0, > bool onlyFixed = false, bool modal = false, > const QStringList &fontlist = QStringList(), > bool makeFrame = true, bool diff = false, > QButton::ToggleState *sizeIsRelativeState = 0L ); ># 378 "../kdeui/kfontdialog.h" > void setFont( const QFont &font, bool onlyFixed = false ) > { chooser->setFont(font, onlyFixed); } > > > > > QFont font() const { return chooser->font(); } > > > > > > > > void setSizeIsRelative( QButton::ToggleState relative ) > { chooser->setSizeIsRelative( relative ); } > > > > > > QButton::ToggleState sizeIsRelative() const > { return chooser->sizeIsRelative(); } ># 421 "../kdeui/kfontdialog.h" > static int getFont( QFont &theFont, bool onlyFixed = false, > QWidget *parent = 0L, bool makeFrame = true, > QButton::ToggleState *sizeIsRelativeState = 0L ); ># 457 "../kdeui/kfontdialog.h" > static int getFontDiff( QFont &theFont, int &diffFlags, bool onlyFixed = false, > QWidget *parent = 0L, bool makeFrame = true, > QButton::ToggleState *sizeIsRelativeState = 0L ); ># 480 "../kdeui/kfontdialog.h" > static int getFontAndText( QFont &theFont, QString &theString, > bool onlyFixed = false, QWidget *parent = 0L, > bool makeFrame = true, > QButton::ToggleState *sizeIsRelativeState = 0L ); > >protected: > > > > > > void fontSelected( const QFont &font ); > >protected: > KFontChooser *chooser; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KFontDialogPrivate; > KFontDialogPrivate *d; > >}; ># 31 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kfontcombo.h" 1 ># 35 "../kdeui/kfontcombo.h" >class KFontCombo : 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: > > > > > > > KFontCombo(QWidget *parent, const char *name = 0); > > > > > > > > KFontCombo(const QStringList &fonts, QWidget *parent, const char *name = 0); > > > > virtual ~KFontCombo(); > > > > > > > void setFonts(const QStringList &fonts); > > > > > > void setCurrentFont(const QString &family); > > > > QString currentFont() const; > > > > > > > void setBold(bool bold); > > > > > > bool bold() const; > > > > > > void setItalic(bool italic); > > > > > > bool italic() const; > > > > > > void setUnderline(bool underline); > > > > > > bool underline() const; > > > > > > void setStrikeOut(bool strikeOut); > > > > > > bool strikeOut() const; > > > > > > void setSize(int size); > > > > > > int size() const; > > > > > > > > static bool displayFonts(); > > virtual void setCurrentItem(int i); > >protected : > > > > > void slotModified( int i ); > >protected: > > > > > void updateFonts(); > >private: > void init(); > >private: > friend class KFontListItem; >protected: > virtual void virtual_hook( int id, void* data ); >private: > struct KFontComboPrivate *d; >}; ># 32 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kfontrequester.h" 1 ># 27 "../kdeui/kfontrequester.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 28 "../kdeui/kfontrequester.h" 2 > >class QLabel; >class QPushButton; ># 44 "../kdeui/kfontrequester.h" >class KFontRequester : 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: ># 62 "../kdeui/kfontrequester.h" > KFontRequester( QWidget *parent=0L, const char *name=0L, > bool onlyFixed=false ); > > > > > QFont font() const { return m_selFont; } > > > > > bool isFixedOnly() const { return m_onlyFixed; } > > > > > QString sampleText() const { return m_sampleText; } > > > > > QString title() const { return m_title; } > > > > > QLabel *label() const { return m_sampleLabel; } > > > > > QPushButton *button() const { return m_button; } ># 102 "../kdeui/kfontrequester.h" > virtual void setFont( const QFont &font, bool onlyFixed=false ); ># 115 "../kdeui/kfontrequester.h" > virtual void setSampleText( const QString &text ); > > > > > > > > virtual void setTitle( const QString & title ); > > protected: > > > > void fontSelected( const QFont &font ); > > protected: > > void displaySampleText(); > void setToolTip(); > > protected : > > virtual void buttonClicked(); > > protected: > > bool m_onlyFixed; > QString m_sampleText, m_title; > QLabel *m_sampleLabel; > QPushButton *m_button; > QFont m_selFont; > > private: > > class KFontRequesterPrivate; > KFontRequesterPrivate *d; >}; ># 33 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kselect.h" 1 ># 34 "kdewidgets.cpp" 2 > > > ># 1 "../kio/kfile/kicondialog.h" 1 ># 23 "../kio/kfile/kicondialog.h" > ># 1 "../kdeui/kiconview.h" 1 ># 21 "../kdeui/kiconview.h" > ># 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() ); >} ># 22 "../kdeui/kiconview.h" 2 > ># 1 "/usr/qt/3/include/qiconview.h" 1 ># 48 "/usr/qt/3/include/qiconview.h" > ># 1 "/usr/qt/3/include/qdragobject.h" 1 ># 39 "/usr/qt/3/include/qdragobject.h" >class QWidget; >class QTextDragPrivate; >class QDragObjectData; >class QStoredDragData; >class QImageDragData; > > > > ># 1 "/usr/qt/3/include/qimage.h" 1 ># 47 "/usr/qt/3/include/qimage.h" >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; >} ># 48 "/usr/qt/3/include/qdragobject.h" 2 > > > > > > >class __attribute__((visibility("default"))) QDragObject: public QObject, public QMimeSource { > 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: > QDragObject( QWidget * dragSource = 0, const char * name = 0 ); > virtual ~QDragObject(); > > > bool drag(); > bool dragMove(); > void dragCopy(); > void dragLink(); > > virtual void setPixmap(QPixmap); > virtual void setPixmap(QPixmap, const QPoint& hotspot); > QPixmap pixmap() const; > QPoint pixmapHotSpot() const; > > > QWidget * source(); > static QWidget * target(); > > static void setTarget(QWidget*); > > > enum DragMode { DragDefault, DragCopy, DragMove, DragLink, DragCopyOrMove }; > >protected: > virtual bool drag(DragMode); > > >private: > QDragObjectData * d; > > QDragObject( const QDragObject & ); > QDragObject &operator=( const QDragObject & ); > >}; > >class __attribute__((visibility("default"))) QStoredDrag: public QDragObject { > 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; > QStoredDragData * d; > >public: > QStoredDrag( const char * mimeType, > QWidget * dragSource = 0, const char * name = 0 ); > ~QStoredDrag(); > > virtual void setEncodedData( const QByteArray & ); > > const char * format(int i) const; > virtual QByteArray encodedData(const char*) const; > >private: > > QStoredDrag( const QStoredDrag & ); > QStoredDrag &operator=( const QStoredDrag & ); > >}; > >class __attribute__((visibility("default"))) QTextDrag: public QDragObject { > 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; > QTextDragPrivate* d; >public: > QTextDrag( const QString &, > QWidget * dragSource = 0, const char * name = 0 ); > QTextDrag( QWidget * dragSource = 0, const char * name = 0 ); > ~QTextDrag(); > > virtual void setText( const QString &); > virtual void setSubtype( const QCString &); > > const char * format(int i) const; > virtual QByteArray encodedData(const char*) const; > > static bool canDecode( const QMimeSource* e ); > static bool decode( const QMimeSource* e, QString& s ); > static bool decode( const QMimeSource* e, QString& s, QCString& subtype ); > >private: > > QTextDrag( const QTextDrag & ); > QTextDrag &operator=( const QTextDrag & ); > >}; > >class __attribute__((visibility("default"))) QImageDrag: public QDragObject { > 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; > QImage img; > QStrList ofmts; > QImageDragData* d; > >public: > QImageDrag( QImage image, QWidget * dragSource = 0, const char * name = 0 ); > QImageDrag( QWidget * dragSource = 0, const char * name = 0 ); > ~QImageDrag(); > > virtual void setImage( QImage image ); > > const char * format(int i) const; > virtual QByteArray encodedData(const char*) const; > > static bool canDecode( const QMimeSource* e ); > static bool decode( const QMimeSource* e, QImage& i ); > static bool decode( const QMimeSource* e, QPixmap& i ); > >private: > > QImageDrag( const QImageDrag & ); > QImageDrag &operator=( const QImageDrag & ); > >}; > > >class __attribute__((visibility("default"))) QUriDrag: public QStoredDrag { > 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: > QUriDrag( QStrList uris, QWidget * dragSource = 0, const char * name = 0 ); > QUriDrag( QWidget * dragSource = 0, const char * name = 0 ); > ~QUriDrag(); > > void setFilenames( const QStringList & fnames ) { setFileNames( fnames ); } > void setFileNames( const QStringList & fnames ); > void setUnicodeUris( const QStringList & uuris ); > virtual void setUris( QStrList uris ); > > static QString uriToLocalFile(const char*); > static QCString localFileToUri(const QString&); > static QString uriToUnicodeUri(const char*); > static QCString unicodeUriToUri(const QString&); > static bool canDecode( const QMimeSource* e ); > static bool decode( const QMimeSource* e, QStrList& i ); > static bool decodeToUnicodeUris( const QMimeSource* e, QStringList& i ); > static bool decodeLocalFiles( const QMimeSource* e, QStringList& i ); > >private: > > QUriDrag( const QUriDrag & ); > QUriDrag &operator=( const QUriDrag & ); > >}; > >class __attribute__((visibility("default"))) QColorDrag : public QStoredDrag >{ > 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; > QColor color; > >public: > QColorDrag( const QColor &col, QWidget *dragsource = 0, const char *name = 0 ); > QColorDrag( QWidget * dragSource = 0, const char * name = 0 ); > void setColor( const QColor &col ); > > static bool canDecode( QMimeSource * ); > static bool decode( QMimeSource *, QColor &col ); > >private: > > QColorDrag( const QColorDrag & ); > QColorDrag &operator=( const QColorDrag & ); > >}; ># 227 "/usr/qt/3/include/qdragobject.h" >class __attribute__((visibility("default"))) QDragManager: 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; > >private: > QDragManager(); > ~QDragManager(); > > friend class QDragObject; > friend class QDragMoveEvent; > friend class QDropEvent; > friend class QApplication; > > bool eventFilter( QObject *, QEvent * ); > void timerEvent( QTimerEvent* ); > > bool drag( QDragObject *, QDragObject::DragMode ); > > void cancel( bool deleteSource = TRUE ); > void move( const QPoint & ); > void drop(); > void updatePixmap(); > void updatePixmap( const QPoint& cursorPos ); > >private: > QDragObject * object; > bool updateMode( ButtonState newstate ); > void updateCursor(); > > void createCursors(); > > > QWidget * dragSource; > QWidget * dropWidget; > bool beingCancelled; > bool restoreCursor; > bool willDrop; > > QPixmap *pm_cursor; > int n_cursor; > > QDragManager( const QDragManager & ); > QDragManager &operator=( const QDragManager & ); > >}; ># 49 "/usr/qt/3/include/qiconview.h" 2 > ># 1 "/usr/qt/3/include/qbitmap.h" 1 ># 46 "/usr/qt/3/include/qbitmap.h" >class __attribute__((visibility("default"))) QBitmap : public QPixmap >{ >public: > QBitmap(); > QBitmap( int w, int h, bool clear = FALSE, > QPixmap::Optimization = QPixmap::DefaultOptim ); > QBitmap( const QSize &, bool clear = FALSE, > QPixmap::Optimization = QPixmap::DefaultOptim ); > QBitmap( int w, int h, const uchar *bits, bool isXbitmap=FALSE ); > QBitmap( const QSize &, const uchar *bits, bool isXbitmap=FALSE ); > QBitmap( const QBitmap & ); > > QBitmap( const QString &fileName, const char *format=0 ); > > QBitmap &operator=( const QBitmap & ); > QBitmap &operator=( const QPixmap & ); > QBitmap &operator=( const QImage & ); > > > QBitmap xForm( const QWMatrix & ) const; > >}; ># 50 "/usr/qt/3/include/qiconview.h" 2 > ># 1 "/usr/qt/3/include/qpicture.h" 1 ># 43 "/usr/qt/3/include/qpicture.h" > ># 1 "/usr/qt/3/include/qbuffer.h" 1 ># 47 "/usr/qt/3/include/qbuffer.h" >class __attribute__((visibility("default"))) QBuffer : public QIODevice >{ >public: > QBuffer(); > QBuffer( QByteArray ); > ~QBuffer(); > > QByteArray buffer() const; > bool setBuffer( QByteArray ); > > bool open( int ); > void close(); > void flush(); > > Offset size() const; > Offset at() const; > bool at( Offset ); > > Q_LONG readBlock( char *p, Q_ULONG ); > Q_LONG writeBlock( const char *p, Q_ULONG ); > Q_LONG writeBlock( const QByteArray& data ) > { return QIODevice::writeBlock(data); } > Q_LONG readLine( char *p, Q_ULONG ); > > int getch(); > int putch( int ); > int ungetch( int ); > >protected: > QByteArray a; > >private: > uint a_len; > uint a_inc; > >private: > > QBuffer( const QBuffer & ); > QBuffer &operator=( const QBuffer & ); > >}; > > >inline QByteArray QBuffer::buffer() const >{ return a; } > >inline QIODevice::Offset QBuffer::size() const >{ return (Offset)a.size(); } > >inline QIODevice::Offset QBuffer::at() const >{ return ioIndex; } ># 44 "/usr/qt/3/include/qpicture.h" 2 > > > > >class __attribute__((visibility("default"))) QPicture : public QPaintDevice >{ >public: > QPicture( int formatVersion = -1 ); > QPicture( const QPicture & ); > ~QPicture(); > > bool isNull() const; > > uint size() const; > const char* data() const; > virtual void setData( const char* data, uint size ); > > bool play( QPainter * ); > > bool load( QIODevice *dev, const char *format = 0 ); > bool load( const QString &fileName, const char *format = 0 ); > bool save( QIODevice *dev, const char *format = 0 ); > bool save( const QString &fileName, const char *format = 0 ); > > QRect boundingRect() const; > void setBoundingRect( const QRect &r ); > > QPicture& operator= (const QPicture&); > > friend __attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QPicture & ); > friend __attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QPicture & ); > >protected: > bool cmd( int, QPainter *, QPDevCmdParam * ); > int metric( int ) const; > void detach(); > QPicture copy() const; > >private: > bool exec( QPainter *, QDataStream &, int ); > > struct QPicturePrivate : public QShared { > bool cmd( int, QPainter *, QPDevCmdParam * ); > bool checkFormat(); > void resetFormat(); > > QBuffer pictb; > int trecs; > bool formatOk; > int formatMajor; > int formatMinor; > QRect brect; > } *d; >}; > > >inline bool QPicture::isNull() const >{ > return d->pictb.buffer().isNull(); >} > >inline uint QPicture::size() const >{ > return d->pictb.buffer().size(); >} > >inline const char* QPicture::data() const >{ > return d->pictb.buffer().data(); >} > > > > > >__attribute__((visibility("default"))) QDataStream &operator<<( QDataStream &, const QPicture & ); >__attribute__((visibility("default"))) QDataStream &operator>>( QDataStream &, QPicture & ); ># 51 "/usr/qt/3/include/qiconview.h" 2 ># 61 "/usr/qt/3/include/qiconview.h" >class QIconView; >class QPainter; >class QMimeSource; >class QMouseEvent; >class QDragEnterEvent; >class QDragMoveEvent; >class QDragLeaveEvent; >class QKeyEvent; >class QFocusEvent; >class QShowEvent; >class QIconViewItem; >class QIconViewItemLineEdit; >class QStringList; >class QIconDragPrivate; > > > >class __attribute__((visibility("default"))) QIconDragItem >{ >public: > QIconDragItem(); > virtual ~QIconDragItem(); > virtual QByteArray data() const; > virtual void setData( const QByteArray &d ); > bool operator== ( const QIconDragItem& ) const; > >private: > QByteArray ba; > >}; > >class __attribute__((visibility("default"))) QIconDrag : public QDragObject >{ > 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: > QIconDrag( QWidget * dragSource, const char* name = 0 ); > virtual ~QIconDrag(); > > void append( const QIconDragItem &item, const QRect &pr, const QRect &tr ); > > virtual const char* format( int i ) const; > static bool canDecode( QMimeSource* e ); > virtual QByteArray encodedData( const char* mime ) const; > >private: > QIconDragPrivate *d; > QChar endMark; > > friend class QIconView; > friend class QIconViewPrivate; > > QIconDrag( const QIconDrag & ); > QIconDrag &operator=( const QIconDrag & ); > >}; > > > >class QIconViewToolTip; >class QIconViewItemPrivate; > >class __attribute__((visibility("default"))) QIconViewItem : public Qt >{ > friend class QIconView; > friend class QIconViewToolTip; > friend class QIconViewItemLineEdit; > >public: > QIconViewItem( QIconView *parent ); > QIconViewItem( QIconView *parent, QIconViewItem *after ); > QIconViewItem( QIconView *parent, const QString &text ); > QIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text ); > QIconViewItem( QIconView *parent, const QString &text, const QPixmap &icon ); > QIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text, const QPixmap &icon ); > > QIconViewItem( QIconView *parent, const QString &text, const QPicture &picture ); > QIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text, const QPicture &picture ); > > virtual ~QIconViewItem(); > > virtual void setRenameEnabled( bool allow ); > virtual void setDragEnabled( bool allow ); > virtual void setDropEnabled( bool allow ); > > virtual QString text() const; > virtual QPixmap *pixmap() const; > > virtual QPicture *picture() const; > > virtual QString key() const; > > bool renameEnabled() const; > bool dragEnabled() const; > bool dropEnabled() const; > > QIconView *iconView() const; > QIconViewItem *prevItem() const; > QIconViewItem *nextItem() const; > > int index() const; > > virtual void setSelected( bool s, bool cb ); > virtual void setSelected( bool s ); > virtual void setSelectable( bool s ); > > bool isSelected() const; > bool isSelectable() const; > > virtual void repaint(); > > virtual bool move( int x, int y ); > virtual void moveBy( int dx, int dy ); > virtual bool move( const QPoint &pnt ); > virtual void moveBy( const QPoint &pnt ); > > QRect rect() const; > int x() const; > int y() const; > int width() const; > int height() const; > QSize size() const; > QPoint pos() const; > QRect textRect( bool relative = TRUE ) const; > QRect pixmapRect( bool relative = TRUE ) const; > bool contains( const QPoint& pnt ) const; > bool intersects( const QRect& r ) const; > > virtual bool acceptDrop( const QMimeSource *mime ) const; > > > void rename(); > > > virtual int compare( QIconViewItem *i ) const; > > virtual void setText( const QString &text ); > virtual void setPixmap( const QPixmap &icon ); > > virtual void setPicture( const QPicture &icon ); > > virtual void setText( const QString &text, bool recalc, bool redraw = TRUE ); > virtual void setPixmap( const QPixmap &icon, bool recalc, bool redraw = TRUE ); > virtual void setKey( const QString &k ); > > virtual int rtti() const; > static int RTTI; > >protected: > > virtual void removeRenameBox(); > > virtual void calcRect( const QString &text_ = QString::null ); > virtual void paintItem( QPainter *p, const QColorGroup &cg ); > virtual void paintFocus( QPainter *p, const QColorGroup &cg ); > > virtual void dropped( QDropEvent *e, const QValueList<QIconDragItem> &lst ); > > virtual void dragEntered(); > virtual void dragLeft(); > void setItemRect( const QRect &r ); > void setTextRect( const QRect &r ); > void setPixmapRect( const QRect &r ); > void calcTmpText(); > QString tempText() const; > >private: > void init( QIconViewItem *after = 0 > > , QPicture *pic = 0 > > ); > > void renameItem(); > void cancelRenameItem(); > > void checkRect(); > > QIconView *view; > QString itemText, itemKey; > QString tmpText; > QPixmap *itemIcon; > > QPicture *itemPic; > > QIconViewItem *prev, *next; > uint allow_rename : 1; > uint allow_drag : 1; > uint allow_drop : 1; > uint selected : 1; > uint selectable : 1; > uint dirty : 1; > uint wordWrapDirty : 1; > QRect itemRect, itemTextRect, itemIconRect; > > QIconViewItemLineEdit *renameBox; > > QRect oldRect; > > QIconViewItemPrivate *d; > >}; > >class QIconViewPrivate; > >class __attribute__((visibility("default"))) QIconView : public QScrollView >{ > friend class QIconViewItem; > friend class QIconViewPrivate; > friend class QIconViewToolTip; > > 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; ># 292 "/usr/qt/3/include/qiconview.h" >public: > enum SelectionMode { > Single = 0, > Multi, > Extended, > NoSelection > }; > enum Arrangement { > LeftToRight = 0, > TopToBottom > }; > enum ResizeMode { > Fixed = 0, > Adjust > }; > enum ItemTextPos { > Bottom = 0, > Right > }; > > QIconView( QWidget* parent=0, const char* name=0, WFlags f = 0 ); > virtual ~QIconView(); > > virtual void insertItem( QIconViewItem *item, QIconViewItem *after = 0L ); > virtual void takeItem( QIconViewItem *item ); > > int index( const QIconViewItem *item ) const; > > QIconViewItem *firstItem() const; > QIconViewItem *lastItem() const; > QIconViewItem *currentItem() const; > virtual void setCurrentItem( QIconViewItem *item ); > virtual void setSelected( QIconViewItem *item, bool s, bool cb = FALSE ); > > uint count() const; > >public: > virtual void showEvent( QShowEvent * ); > > virtual void setSelectionMode( SelectionMode m ); > SelectionMode selectionMode() const; > > QIconViewItem *findItem( const QPoint &pos ) const; > QIconViewItem *findItem( const QString &text, ComparisonFlags compare = BeginsWith ) const; > virtual void selectAll( bool select ); > virtual void clearSelection(); > virtual void invertSelection(); > > virtual void repaintItem( QIconViewItem *item ); > void repaintSelectedItems(); > > void ensureItemVisible( QIconViewItem *item ); > QIconViewItem* findFirstVisibleItem( const QRect &r ) const; > QIconViewItem* findLastVisibleItem( const QRect &r ) const; > > virtual void clear(); > > virtual void setGridX( int rx ); > virtual void setGridY( int ry ); > int gridX() const; > int gridY() const; > virtual void setSpacing( int sp ); > int spacing() const; > virtual void setItemTextPos( ItemTextPos pos ); > ItemTextPos itemTextPos() const; > virtual void setItemTextBackground( const QBrush &b ); > QBrush itemTextBackground() const; > virtual void setArrangement( Arrangement am ); > Arrangement arrangement() const; > virtual void setResizeMode( ResizeMode am ); > ResizeMode resizeMode() const; > virtual void setMaxItemWidth( int w ); > int maxItemWidth() const; > virtual void setMaxItemTextLength( int w ); > int maxItemTextLength() const; > virtual void setAutoArrange( bool b ); > bool autoArrange() const; > virtual void setShowToolTips( bool b ); > bool showToolTips() const; > > void setSorting( bool sort, bool ascending = TRUE ); > bool sorting() const; > bool sortDirection() const; > > virtual void setItemsMovable( bool b ); > bool itemsMovable() const; > virtual void setWordWrapIconText( bool b ); > bool wordWrapIconText() const; > > bool eventFilter( QObject * o, QEvent * ); > > QSize minimumSizeHint() const; > QSize sizeHint() const; > > virtual void sort( bool ascending = TRUE ); > > virtual void setFont( const QFont & ); > virtual void setPalette( const QPalette & ); > > bool isRenaming() const; > >public : > virtual void arrangeItemsInGrid( const QSize &grid, bool update = TRUE ); > virtual void arrangeItemsInGrid( bool update = TRUE ); > virtual void setContentsPos( int x, int y ); > virtual void updateContents(); > >protected: > void selectionChanged(); > void selectionChanged( QIconViewItem *item ); > void currentChanged( QIconViewItem *item ); > void clicked( QIconViewItem * ); > void clicked( QIconViewItem *, const QPoint & ); > void pressed( QIconViewItem * ); > void pressed( QIconViewItem *, const QPoint & ); > > void doubleClicked( QIconViewItem *item ); > void returnPressed( QIconViewItem *item ); > void rightButtonClicked( QIconViewItem* item, const QPoint& pos ); > void rightButtonPressed( QIconViewItem* item, const QPoint& pos ); > void mouseButtonPressed( int button, QIconViewItem* item, const QPoint& pos ); > void mouseButtonClicked( int button, QIconViewItem* item, const QPoint& pos ); > void contextMenuRequested( QIconViewItem* item, const QPoint &pos ); > > > void dropped( QDropEvent *e, const QValueList<QIconDragItem> &lst ); > > void moved(); > void onItem( QIconViewItem *item ); > void onViewport(); > void itemRenamed( QIconViewItem *item, const QString & ); > void itemRenamed( QIconViewItem *item ); > >protected : > virtual void doAutoScroll(); > virtual void adjustItems(); > virtual void slotUpdate(); > >private : > void movedContents( int dx, int dy ); > >protected: > void drawContents( QPainter *p, int cx, int cy, int cw, int ch ); > void contentsMousePressEvent( QMouseEvent *e ); > void contentsMouseReleaseEvent( QMouseEvent *e ); > void contentsMouseMoveEvent( QMouseEvent *e ); > void contentsMouseDoubleClickEvent( QMouseEvent *e ); > void contentsContextMenuEvent( QContextMenuEvent *e ); > > > void contentsDragEnterEvent( QDragEnterEvent *e ); > void contentsDragMoveEvent( QDragMoveEvent *e ); > void contentsDragLeaveEvent( QDragLeaveEvent *e ); > void contentsDropEvent( QDropEvent *e ); > > > void resizeEvent( QResizeEvent* e ); > void keyPressEvent( QKeyEvent *e ); > void focusInEvent( QFocusEvent *e ); > void focusOutEvent( QFocusEvent *e ); > void enterEvent( QEvent *e ); > > virtual void drawRubber( QPainter *p ); > > virtual QDragObject *dragObject(); > virtual void startDrag(); > > virtual void insertInGrid( QIconViewItem *item ); > virtual void drawBackground( QPainter *p, const QRect &r ); > > void emitSelectionChanged( QIconViewItem * i = 0 ); > void emitRenamed( QIconViewItem *item ); > > QIconViewItem *makeRowLayout( QIconViewItem *begin, int &y, bool &changed ); > > void styleChange( QStyle& ); > void windowActivationChange( bool ); > >private: > void contentsMousePressEventEx( QMouseEvent *e ); > virtual void drawDragShapes( const QPoint &pnt ); > > virtual void initDragEnter( QDropEvent *e ); > > void drawContents( QPainter* ); > QIconViewItem* findItemByName( QIconViewItem *start ); > void handleItemChange( QIconViewItem *old, bool shift, > bool control, bool homeend = FALSE); > > int calcGridNum( int w, int x ) const; > QIconViewItem *rowBegin( QIconViewItem *item ) const; > void updateItemContainer( QIconViewItem *item ); > void appendItemContainer(); > void rebuildContainers(); > enum Direction { > DirUp = 0, > DirDown, > DirLeft, > DirRight > }; > QIconViewItem* findItem( Direction dir, > const QPoint &relativeTo, > const QRect &searchRect ) const; > bool neighbourItem( Direction dir, > const QPoint &relativeTo, > const QIconViewItem *item ) const; > QBitmap mask( QPixmap *pix ) const; > > QIconViewPrivate *d; > >private: > > QIconView( const QIconView & ); > QIconView& operator=( const QIconView & ); > >}; ># 23 "../kdeui/kiconview.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/kiconview.h" 2 ># 42 "../kdeui/kiconview.h" >class KIconView : public QIconView >{ > friend class KIconViewItem; > 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: > KIconView( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); > > ~KIconView(); ># 62 "../kdeui/kiconview.h" > enum Mode { Execute, Select }; ># 73 "../kdeui/kiconview.h" > void setMode( Mode m ); > > > > > Mode mode() const; > > > > > virtual void setFont( const QFont & ); ># 92 "../kdeui/kiconview.h" > void setIconTextHeight( int n ); > > > > > > int iconTextHeight() const; > > > > > virtual void takeItem( QIconViewItem * item ); > >protected: ># 116 "../kdeui/kiconview.h" > void executed( QIconViewItem *item ); ># 128 "../kdeui/kiconview.h" > void executed( QIconViewItem *item, const QPoint &pos ); ># 138 "../kdeui/kiconview.h" > void held( QIconViewItem *item ); ># 153 "../kdeui/kiconview.h" > void doubleClicked( QIconViewItem *item, const QPoint &pos ); > >protected : > void slotOnItem( QIconViewItem *item ); > void slotOnViewport(); > void slotSettingsChanged(int); > > > > > void slotAutoSelect(); > >protected: > void emitExecute( QIconViewItem *item, const QPoint &pos ); > void updateDragHoldItem( QDropEvent *e ); > > virtual void focusOutEvent( QFocusEvent *fe ); > virtual void leaveEvent( QEvent *e ); > virtual void contentsMousePressEvent( QMouseEvent *e ); > virtual void contentsMouseDoubleClickEvent ( QMouseEvent * e ); > virtual void contentsMouseReleaseEvent( QMouseEvent *e ); > virtual void contentsDragEnterEvent( QDragEnterEvent *e ); > virtual void contentsDragLeaveEvent( QDragLeaveEvent *e ); > virtual void contentsDragMoveEvent( QDragMoveEvent *e ); > virtual void contentsDropEvent( QDropEvent* e ); > virtual void wheelEvent( QWheelEvent *e ); > > > > > > > > void cancelPendingHeldSignal(); > >private : > void slotMouseButtonClicked( int btn, QIconViewItem *item, const QPoint &pos ); > void slotDragHoldTimeout(); > >private: > > > > QFontMetrics *itemFontMetrics() const; > > > > QPixmap selectedIconPixmap( QPixmap *pix, const QColor &col ) const; > > bool m_bUseSingle; > bool m_bChangeCursorOverItem; > > QIconViewItem* m_pCurrentItem; > > QTimer* m_pAutoSelect; > int m_autoSelectDelay; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KIconViewPrivate; > KIconViewPrivate *d; >}; > >class KWordWrap; ># 226 "../kdeui/kiconview.h" >class KIconViewItem : public QIconViewItem >{ >public: > > KIconViewItem( QIconView *parent ) > : QIconViewItem( parent ) { init(); } > KIconViewItem( QIconView *parent, QIconViewItem *after ) > : QIconViewItem( parent, after ) { init(); } > KIconViewItem( QIconView *parent, const QString &text ) > : QIconViewItem( parent, text ) { init(); } > KIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text ) > : QIconViewItem( parent, after, text ) { init(); } > KIconViewItem( QIconView *parent, const QString &text, const QPixmap &icon ) > : QIconViewItem( parent, text, icon ) { init(); } > KIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text, const QPixmap &icon ) > : QIconViewItem( parent, after, text, icon ) { init(); } > KIconViewItem( QIconView *parent, const QString &text, const QPicture &picture ) > : QIconViewItem( parent, text, picture ) { init(); } > KIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text, const QPicture &picture ) > : QIconViewItem( parent, after, text, picture ) { init(); } > virtual ~KIconViewItem(); ># 259 "../kdeui/kiconview.h" > void setPixmapSize( const QSize& size ); > > > > > > QSize pixmapSize() const; > >protected: > void init(); > virtual void calcRect( const QString& text_ = QString::null ); > virtual void paintItem( QPainter *p, const QColorGroup &c ); > KWordWrap *wordWrap(); > void paintPixmap( QPainter *p, const QColorGroup &c ); > void paintText( QPainter *p, const QColorGroup &c ); > >private: > KWordWrap* m_wordWrap; > struct KIconViewItemPrivate; > KIconViewItemPrivate *d; >}; ># 24 "../kio/kfile/kicondialog.h" 2 > >class QComboBox; >class QTimer; >class QKeyEvent; >class QRadioButton; >class KProgress; >class KIconLoader; > > > > >class KIconCanvas: public KIconView >{ > 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: > KIconCanvas(QWidget *parent=0L, const char *name=0L); > ~KIconCanvas(); > > > > > void loadFiles(const QStringList& files); > > > > > QString getCurrent() const; > >public : > void stopLoading(); > >protected: > > > > void nameChanged(QString); > > > void startLoading(int); > void progress(int); > void finished(); > >private : > void slotLoadFiles(); > void slotCurrentChanged(QIconViewItem *item); > >private: > QStringList mFiles; > QTimer *mpTimer; > KIconLoader *mpLoader; > >protected: > virtual void virtual_hook( int id, void* data ); > >private: > class KIconCanvasPrivate; > KIconCanvasPrivate *d; >}; ># 91 "../kio/kfile/kicondialog.h" >class KIconDialog: 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: > > > > KIconDialog(QWidget *parent=0L, const char *name=0L); > > > > KIconDialog(KIconLoader *loader, QWidget *parent=0, > const char *name=0); > > > > ~KIconDialog(); > > > > > > > > void setStrictIconSize(bool b); > > > > bool strictIconSize() const; > > > > > void setCustomLocation( const QString& location ); > > > > > > > void setIconSize(int size); > > > > > > int iconSize() const; > > > > > > QString selectIcon(KIcon::Group group=KIcon::Desktop, KIcon::Context > context=KIcon::Application, bool user=false); > > > > > > > void setup( KIcon::Group group, > KIcon::Context context = KIcon::Application, > bool strictIconSize = false, int iconSize = 0, > bool user = false ); ># 166 "../kio/kfile/kicondialog.h" > void setup( KIcon::Group group, KIcon::Context context, > bool strictIconSize, int iconSize, bool user, bool lockUser, > bool lockCustomDir ); > > > > > > > > QString openDialog(); > > > > > > void showDialog(); ># 203 "../kio/kfile/kicondialog.h" > static QString getIcon(KIcon::Group group=KIcon::Desktop, > KIcon::Context context=KIcon::Application, > bool strictIconSize=false, int iconSize = 0, > bool user=false, QWidget *parent=0, > const QString &caption=QString::null); > >protected: > void newIconName(const QString&); > >protected : > void slotOk(); > >private : > void slotButtonClicked(int); > void slotContext(int); > void slotStartLoading(int); > void slotProgress(int); > void slotFinished(); > void slotAcceptIcons(); >private: > void init(); > void showIcons(); > void setContext( KIcon::Context context ); > > int mGroupOrSize; > KIcon::Context mContext; > int mType; > > QStringList mFileList; > QComboBox *mpCombo; > QPushButton *mpBrowseBut; > QRadioButton *mpRb1, *mpRb2; > KProgress *mpProgress; > KIconLoader *mpLoader; > KIconCanvas *mpCanvas; > int mNumContext; > KIcon::Context mContextMap[ 12 ]; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KIconDialogPrivate; > KIconDialogPrivate *d; >}; ># 257 "../kio/kfile/kicondialog.h" >class KIconButton: public 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: > > > > KIconButton(QWidget *parent=0L, const char *name=0L); > > > > > KIconButton(KIconLoader *loader, QWidget *parent, const char *name=0L); > > > > ~KIconButton(); > > > > > > > void setStrictIconSize(bool b); > > > > bool strictIconSize() const; > > > > > > void setIconType(KIcon::Group group, KIcon::Context context, bool user=false); > > > > > void setIcon(const QString& icon); > > > > > void resetIcon(); > > > > > QString icon() const { return mIcon; } > > > > > > > void setIconSize( int size ); > > > > > > int iconSize() const; > >protected: > > > > void iconChanged(QString icon); > > >private : > void slotChangeIcon(); > void newIconName(const QString& name); > >private: > void init( KIconLoader *loader ); > > bool mbUser; > KIcon::Group mGroup; > KIcon::Context mContext; > > QString mIcon; > KIconDialog *mpDialog; > KIconLoader *mpLoader; > class KIconButtonPrivate; > KIconButtonPrivate *d; >}; ># 37 "kdewidgets.cpp" 2 > > ># 1 "../kio/kfile/kimagefilepreview.h" 1 ># 17 "../kio/kfile/kimagefilepreview.h" > ># 1 "../kio/kfile/kpreviewwidgetbase.h" 1 ># 24 "../kio/kfile/kpreviewwidgetbase.h" > ># 1 "/usr/qt/3/include/qptrdict.h" 1 ># 45 "/usr/qt/3/include/qptrdict.h" >template<class type> >class QPtrDict > > > > : public QGDict > >{ >public: > QPtrDict(int size=17) : QGDict(size,PtrKey,0,0) {} > QPtrDict( const QPtrDict<type> &d ) : QGDict(d) {} > ~QPtrDict() { clear(); } > QPtrDict<type> &operator=(const QPtrDict<type> &d) > { return (QPtrDict<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( void *k, const type *d ) > { QGDict::look_ptr(k,(Item)d,1); } > void replace( void *k, const type *d ) > { QGDict::look_ptr(k,(Item)d,2); } > bool remove( void *k ) { return QGDict::remove_ptr(k); } > type *take( void *k ) { return (type*)QGDict::take_ptr(k); } > type *find( void *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ptr(k,0,0); } > type *operator[]( void *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ptr(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 QPtrDict<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> >inline void QPtrDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QPtrDictIterator : public QGDictIterator >{ >public: > QPtrDictIterator(const QPtrDict<type> &d) :QGDictIterator((QGDict &)d) {} > ~QPtrDictIterator() {} > 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(); } > void *currentKey() const { return QGDictIterator::getKeyPtr(); } > type *operator()() { return (type *)QGDictIterator::operator()(); } > type *operator++() { return (type *)QGDictIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);} >}; ># 25 "../kio/kfile/kpreviewwidgetbase.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 28 "../kio/kfile/kpreviewwidgetbase.h" 2 > >class KURL; ># 44 "../kio/kfile/kpreviewwidgetbase.h" >class KPreviewWidgetBase : 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: ># 57 "../kio/kfile/kpreviewwidgetbase.h" > KPreviewWidgetBase(QWidget *parent, const char *name=0); > ~KPreviewWidgetBase(); > >public : > > > > > > > virtual void showPreview(const KURL &url) = 0; > > > > > > > virtual void clearPreview() = 0; > > QStringList supportedMimeTypes() const; > >protected: > void setSupportedMimeTypes( const QStringList& mimeTypes ); > >protected: > virtual void virtual_hook( int, void* ) {}; > >private: > class KPreviewWidgetBasePrivate; > KPreviewWidgetBasePrivate * d() const { > return s_private->find( const_cast<KPreviewWidgetBase*>( this ) ); > } > static QPtrDict<KPreviewWidgetBasePrivate> * s_private; >}; ># 18 "../kio/kfile/kimagefilepreview.h" 2 > >class QCheckBox; >class QPushButton; >class QLabel; >class QTimer; > >class KFileDialog; >class KFileItem; >namespace KIO { class Job; class PreviewJob; } > > > > >class KImageFilePreview : public KPreviewWidgetBase >{ > 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: > KImageFilePreview(QWidget *parent); > ~KImageFilePreview(); > > virtual QSize sizeHint() const; > > public : > virtual void showPreview(const KURL &url); > virtual void clearPreview(); > > protected : > void showPreview(); > void showPreview( const KURL& url, bool force ); > > void toggleAuto(bool); > virtual void gotPreview( const KFileItem*, const QPixmap& ); > > protected: > virtual void resizeEvent(QResizeEvent *e); > virtual KIO::PreviewJob * createJob( const KURL& url, > int w, int h ); > > private : > void slotResult( KIO::Job * ); > virtual void slotFailed( const KFileItem* ); > > private: > bool autoMode; > KURL currentURL; > QTimer *timer; > QLabel *imageLabel; > QLabel *infoLabel; > QCheckBox *autoPreview; > QPushButton *previewButton; > KIO::PreviewJob *m_job; > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KImageFilePreviewPrivate; > KImageFilePreviewPrivate *d; >}; ># 39 "kdewidgets.cpp" 2 > > > ># 1 "../kdeui/kkeybutton.h" 1 ># 40 "../kdeui/kkeybutton.h" >class KKeyButton: public 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: > > > > KKeyButton( QWidget *parent = 0, const char *name = 0 ); > > > > virtual ~KKeyButton(); > > > void setShortcut( const KShortcut& cut ) __attribute__ ((deprecated)); > > void setShortcut( const KShortcut& cut, bool bQtShortcut ); > const KShortcut& shortcut() const > { return m_cut; } > > > > > void setText( const QString& text ); > > protected: > void capturedShortcut( const KShortcut& ); > > public : > > > > > void captureShortcut(); > > protected: > KShortcut m_cut; > bool m_bEditing; > > > > > void drawButton( QPainter* _painter ); > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KKeyButtonPrivate* d; >}; ># 42 "kdewidgets.cpp" 2 > ># 1 "../kdeui/klanguagebutton.h" 1 ># 32 "../kdeui/klanguagebutton.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 33 "../kdeui/klanguagebutton.h" 2 > >class KLanguageButtonPrivate; >class QIconSet; >class QPopupMenu; ># 47 "../kdeui/klanguagebutton.h" >class KLanguageButton : 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: > > > > > > > KLanguageButton(QWidget * parent = 0, const char * name = 0); ># 67 "../kdeui/klanguagebutton.h" > KLanguageButton(const QString & text, QWidget * parent = 0, const char * name = 0); > > > > > virtual ~KLanguageButton(); ># 83 "../kdeui/klanguagebutton.h" > void insertItem( const QIconSet& icon, const QString &text, > const QString & id, const QString &submenu = QString::null, > int index = -1 ); ># 94 "../kdeui/klanguagebutton.h" > void insertItem( const QString &text, const QString & id, > const QString &submenu = QString::null, int index = -1 ); > > > > > > > void insertSeparator( const QString &submenu = QString::null, > int index = -1 ); ># 113 "../kdeui/klanguagebutton.h" > void insertSubmenu( const QIconSet & icon, const QString &text, > const QString & id, const QString &submenu = QString::null, > int index = -1); ># 124 "../kdeui/klanguagebutton.h" > void insertSubmenu( const QString &text, const QString & id, > const QString &submenu = QString::null, int index = -1); > > > void insertLanguage( const QString& path, const QString& name, > const QString& sub = QString::null, > const QString &submenu = QString::null, int index = -1); > > > int count() const; > > > > void clear(); > > > > void setText(const QString & text); > > > > QString current() const; > > > > bool contains( const QString & id ) const; > > > > void setCurrentItem( const QString & id ); > > QString id( int i ) const; > >protected: > > > > > void activated( const QString & id ); > void highlighted( const QString & id ); > >private : > void slotActivated( int ); > void slotHighlighted( int ); > >private: > int currentItem() const; > void setCurrentItem( int ); > void init(const char * name); > > > QStringList *m_ids; > QPopupMenu *m_popup, *m_oldPopup; > int m_current; > > KLanguageButtonPrivate * d; >}; ># 43 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kled.h" 1 ># 27 "../kdeui/kled.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 28 "../kdeui/kled.h" 2 > >class QColor; ># 45 "../kdeui/kled.h" >class KLed : 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: > > > > > > enum State { Off, On }; > > > > > > enum Shape { Rectangular, Circular }; ># 89 "../kdeui/kled.h" > enum Look { Flat, Raised, Sunken }; > > > > > > KLed(QWidget *parent=0, const char *name=0); ># 106 "../kdeui/kled.h" > KLed(const QColor &col, QWidget *parent=0, const char *name=0); ># 122 "../kdeui/kled.h" > KLed(const QColor& col, KLed::State state, KLed::Look look, KLed::Shape shape, > QWidget *parent=0, const char *name=0); > > > > > > > ~KLed(); > > > > > > > > State state() const; > > Shape shape() const; > > > > > > > > QColor color() const; > > > > > > > > Look look() const; > > > > > > > > int darkFactor() const; ># 175 "../kdeui/kled.h" > void setState( State state ); > > > > > void setShape(Shape s); ># 189 "../kdeui/kled.h" > void toggleState() __attribute__ ((deprecated)); ># 204 "../kdeui/kled.h" > void setColor(const QColor& color); ># 218 "../kdeui/kled.h" > void setDarkFactor(int darkfactor); ># 250 "../kdeui/kled.h" > void setLook( Look look ); > > virtual QSize sizeHint() const; > virtual QSize minimumSizeHint() const; > >public : > > > > > > > void toggle(); > > > > > > > > void on(); > > > > > > > > void off(); > >protected: > > > > virtual void paintFlat(); > > > > virtual void paintRound(); > > > > virtual void paintSunken(); > > > > virtual void paintRect(); > > > > > virtual void paintRectFrame(bool raised); > > void paintEvent( QPaintEvent * ); > > > > > int ensureRoundLed(); > > > > > > bool paintCachedPixmap(); > >private: > State led_state; > QColor led_color; > Look led_look; > Shape led_shape; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KLedPrivate; > KLedPrivate *d; >}; ># 44 "kdewidgets.cpp" 2 > ># 1 "../kdeui/klineedit.h" 1 ># 36 "../kdeui/klineedit.h" >class QPopupMenu; > >class KCompletionBox; >class KURL; ># 145 "../kdeui/klineedit.h" >class 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 "../kdeui/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 "../kdeui/klineedit.h" > void cursorAtEnd() { end( false ); } ># 207 "../kdeui/klineedit.h" > virtual void setCompletionMode( KGlobalSettings::Completion mode ); ># 223 "../kdeui/klineedit.h" > virtual void setContextMenuEnabled( bool showMenu ) { m_bEnableMenu = showMenu; } > > > > > bool isContextMenuEnabled() const { return m_bEnableMenu; } ># 237 "../kdeui/klineedit.h" > void setURLDropsEnabled( bool enable ); > > > > > bool isURLDropsEnabled() const; ># 254 "../kdeui/klineedit.h" > void setTrapReturnKey( bool trap ); > > > > > > > > bool trapReturnKey() const; > > > > > > virtual bool eventFilter( QObject *, QEvent * ); ># 278 "../kdeui/klineedit.h" > KCompletionBox * completionBox( bool create = true ); > > > > > virtual void setCompletionObject( KCompletion *, bool hsig = true ); > > > > > virtual void copy() const; ># 301 "../kdeui/klineedit.h" > void setEnableSqueezedText( bool enable ); > > > > > > > > bool isSqueezedTextEnabled() const; ># 319 "../kdeui/klineedit.h" > QString originalText() const; ># 329 "../kdeui/klineedit.h" > void setCompletionBox( KCompletionBox *box ); > > > > > > > > void setClickMessage( const QString &msg ); > > > > > > QString clickMessage() const; > >protected: > > > > > > void completionBoxActivated (const QString &); ># 360 "../kdeui/klineedit.h" > void returnPressed( const QString& ); ># 369 "../kdeui/klineedit.h" > void completion( const QString& ); > > > > > void substringCompletion( const QString& ); ># 388 "../kdeui/klineedit.h" > void textRotation( KCompletionBase::KeyBindingType ); > > > > > > void completionModeChanged( KGlobalSettings::Completion ); ># 408 "../kdeui/klineedit.h" > void aboutToShowContextMenu( QPopupMenu * p ); > >public : > > > > > virtual void setReadOnly(bool); ># 427 "../kdeui/klineedit.h" > void rotateText( KCompletionBase::KeyBindingType type ); > > > > > virtual void setCompletedText( const QString& ); > > > > > > > > void setCompletedItems( const QStringList& items ); ># 452 "../kdeui/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 "../kdeui/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; >}; ># 45 "kdewidgets.cpp" 2 > > ># 1 "../kdeui/klistview.h" 1 ># 23 "../kdeui/klistview.h" > ># 1 "/usr/qt/3/include/qlistview.h" 1 ># 48 "/usr/qt/3/include/qlistview.h" >class QPixmap; >class QFont; >class QHeader; >class QIconSet; > >class QListView; >struct QListViewPrivate; >struct QCheckListItemPrivate; >class QListViewItemIterator; >struct QListViewItemIteratorPrivate; >class QDragObject; >class QMimeSource; >class QLineEdit; >class QListViewToolTip; > >class __attribute__((visibility("default"))) QListViewItem : public Qt >{ > friend class QListViewItemIterator; > friend class QListViewToolTip; > >public: > QListViewItem( QListView * parent ); > QListViewItem( QListViewItem * parent ); > QListViewItem( QListView * parent, QListViewItem * after ); > QListViewItem( QListViewItem * parent, QListViewItem * after ); > > QListViewItem( QListView * parent, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null ); > QListViewItem( QListViewItem * parent, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null ); > > QListViewItem( QListView * parent, QListViewItem * after, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null ); > QListViewItem( QListViewItem * parent, QListViewItem * after, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null ); > virtual ~QListViewItem(); > > virtual void insertItem( QListViewItem * ); > virtual void takeItem( QListViewItem * ); > virtual void removeItem( QListViewItem *item ) { takeItem( item ); } > > int height() const; > virtual void invalidateHeight(); > int totalHeight() const; > virtual int width( const QFontMetrics&, > const QListView*, int column) const; > void widthChanged(int column=-1) const; > int depth() const; > > virtual void setText( int, const QString &); > virtual QString text( int ) const; > > virtual void setPixmap( int, const QPixmap & ); > virtual const QPixmap * pixmap( int ) const; > > virtual QString key( int, bool ) const; > virtual int compare( QListViewItem *i, int col, bool ) const; > virtual void sortChildItems( int, bool ); > > int childCount() const { return nChildren; } > > bool isOpen() const { return open; } > virtual void setOpen( bool ); > virtual void setup(); > > virtual void setSelected( bool ); > bool isSelected() const { return selected; } > > virtual void paintCell( QPainter *, const QColorGroup & cg, > int column, int width, int alignment ); > virtual void paintBranches( QPainter * p, const QColorGroup & cg, > int w, int y, int h ); > virtual void paintFocus( QPainter *, const QColorGroup & cg, > const QRect & r ); > > QListViewItem * firstChild() const; > QListViewItem * nextSibling() const { return siblingItem; } > QListViewItem * parent() const; > > QListViewItem * itemAbove(); > QListViewItem * itemBelow(); > > int itemPos() const; > > QListView *listView() const; > > virtual void setSelectable( bool enable ); > bool isSelectable() const { return selectable && enabled; } > > virtual void setExpandable( bool ); > bool isExpandable() const { return expandable; } > > void repaint() const; > > virtual void sort(); > void moveItem( QListViewItem *after ); > > virtual void setDragEnabled( bool allow ); > virtual void setDropEnabled( bool allow ); > bool dragEnabled() const; > bool dropEnabled() const; > virtual bool acceptDrop( const QMimeSource *mime ) const; > > void setVisible( bool b ); > bool isVisible() const; > > virtual void setRenameEnabled( int col, bool b ); > bool renameEnabled( int col ) const; > virtual void startRename( int col ); > > virtual void setEnabled( bool b ); > bool isEnabled() const; > > virtual int rtti() const; > > static int RTTI; > > virtual void setMultiLinesEnabled( bool b ); > bool multiLinesEnabled() const; > >protected: > virtual void enforceSortOrder() const; > virtual void setHeight( int ); > virtual void activate(); > > bool activatedPos( QPoint & ); > > virtual void dropped( QDropEvent *e ); > > virtual void dragEntered(); > virtual void dragLeft(); > virtual void okRename( int col ); > virtual void cancelRename( int col ); > > void ignoreDoubleClick(); > >private: > void init(); > void moveToJustAfter( QListViewItem * ); > void enforceSortOrderBackToRoot(); > void removeRenameBox(); > > int ownHeight; > int maybeTotalHeight; > int nChildren; > > uint lsc: 14; > uint lso: 1; > uint open : 1; > uint selected : 1; > uint selectable: 1; > uint configured: 1; > uint expandable: 1; > uint is_root: 1; > uint allow_drag : 1; > uint allow_drop : 1; > uint visible : 1; > uint enabled : 1; > uint mlenabled : 1; > > QListViewItem * parentItem; > QListViewItem * siblingItem; > QListViewItem * childItem; > QLineEdit *renameBox; > int renameCol; > > void * columns; > > friend class QListView; >}; > >class QCheckListItem; > >class __attribute__((visibility("default"))) QListView: public QScrollView >{ > friend class QListViewItemIterator; > friend class QListViewItem; > friend class QCheckListItem; > friend class QListViewToolTip; > > 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; ># 255 "/usr/qt/3/include/qlistview.h" >public: > QListView( QWidget* parent=0, const char* name=0, WFlags f = 0 ); > ~QListView(); > > int treeStepSize() const; > virtual void setTreeStepSize( int ); > > virtual void insertItem( QListViewItem * ); > virtual void takeItem( QListViewItem * ); > virtual void removeItem( QListViewItem *item ) { takeItem( item ); } > > QHeader * header() const; > > virtual int addColumn( const QString &label, int size = -1); > virtual int addColumn( const QIconSet& iconset, const QString &label, int size = -1); > virtual void removeColumn( int index ); > virtual void setColumnText( int column, const QString &label ); > virtual void setColumnText( int column, const QIconSet& iconset, const QString &label ); > QString columnText( int column ) const; > virtual void setColumnWidth( int column, int width ); > int columnWidth( int column ) const; > enum WidthMode { Manual, Maximum }; > virtual void setColumnWidthMode( int column, WidthMode ); > WidthMode columnWidthMode( int column ) const; > int columns() const; > > virtual void setColumnAlignment( int, int ); > int columnAlignment( int ) const; > > void show(); > > QListViewItem * itemAt( const QPoint & screenPos ) const; > QRect itemRect( const QListViewItem * ) const; > int itemPos( const QListViewItem * ); > > void ensureItemVisible( const QListViewItem * ); > > void repaintItem( const QListViewItem * ) const; > > virtual void setMultiSelection( bool enable ); > bool isMultiSelection() const; > > enum SelectionMode { Single, Multi, Extended, NoSelection }; > void setSelectionMode( SelectionMode mode ); > SelectionMode selectionMode() const; > > virtual void clearSelection(); > virtual void setSelected( QListViewItem *, bool ); > void setSelectionAnchor( QListViewItem * ); > bool isSelected( const QListViewItem * ) const; > QListViewItem * selectedItem() const; > virtual void setOpen( QListViewItem *, bool ); > bool isOpen( const QListViewItem * ) const; > > virtual void setCurrentItem( QListViewItem * ); > QListViewItem * currentItem() const; > > QListViewItem * firstChild() const; > QListViewItem * lastItem() const; > > int childCount() const; > > virtual void setAllColumnsShowFocus( bool ); > bool allColumnsShowFocus() const; > > virtual void setItemMargin( int ); > int itemMargin() const; > > virtual void setRootIsDecorated( bool ); > bool rootIsDecorated() const; > > virtual void setSorting( int column, bool ascending = TRUE ); > int sortColumn() const; > void setSortColumn( int column ); > SortOrder sortOrder() const; > void setSortOrder( SortOrder order ); > virtual void sort(); > > virtual void setFont( const QFont & ); > virtual void setPalette( const QPalette & ); > > bool eventFilter( QObject * o, QEvent * ); > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > virtual void setShowSortIndicator( bool show ); > bool showSortIndicator() const; > virtual void setShowToolTips( bool b ); > bool showToolTips() const; > > enum ResizeMode { NoColumn, AllColumns, LastColumn }; > virtual void setResizeMode( ResizeMode m ); > ResizeMode resizeMode() const; > > QListViewItem * findItem( const QString& text, int column, ComparisonFlags compare = ExactMatch | CaseSensitive ) const; > > enum RenameAction { Accept, Reject }; > virtual void setDefaultRenameAction( RenameAction a ); > RenameAction defaultRenameAction() const; > bool isRenaming() const; > > void hideColumn( int column ); > >public : > virtual void clear(); > virtual void invertSelection(); > virtual void selectAll( bool select ); > void triggerUpdate(); > void setContentsPos( int x, int y ); > void adjustColumn( int col ); > >protected: > void selectionChanged(); > void selectionChanged( QListViewItem * ); > void currentChanged( QListViewItem * ); > void clicked( QListViewItem * ); > void clicked( QListViewItem *, const QPoint &, int ); > void pressed( QListViewItem * ); > void pressed( QListViewItem *, const QPoint &, int ); > > void doubleClicked( QListViewItem * ); > void doubleClicked( QListViewItem *, const QPoint&, int ); > void returnPressed( QListViewItem * ); > void spacePressed( QListViewItem * ); > void rightButtonClicked( QListViewItem *, const QPoint&, int ); > void rightButtonPressed( QListViewItem *, const QPoint&, int ); > void mouseButtonPressed( int, QListViewItem *, const QPoint& , int ); > void mouseButtonClicked( int, QListViewItem *, const QPoint&, int ); > > void contextMenuRequested( QListViewItem *, const QPoint &, int ); > > void onItem( QListViewItem *item ); > void onViewport(); > > void expanded( QListViewItem *item ); > void collapsed( QListViewItem *item ); > > void dropped( QDropEvent *e ); > > void itemRenamed( QListViewItem *item, int col, const QString & ); > void itemRenamed( QListViewItem *item, int col ); > >protected: > void contentsMousePressEvent( QMouseEvent * e ); > void contentsMouseReleaseEvent( QMouseEvent * e ); > void contentsMouseMoveEvent( QMouseEvent * e ); > void contentsMouseDoubleClickEvent( QMouseEvent * e ); > void contentsContextMenuEvent( QContextMenuEvent * e ); > > void contentsDragEnterEvent( QDragEnterEvent *e ); > void contentsDragMoveEvent( QDragMoveEvent *e ); > void contentsDragLeaveEvent( QDragLeaveEvent *e ); > void contentsDropEvent( QDropEvent *e ); > virtual QDragObject *dragObject(); > virtual void startDrag(); > > > void focusInEvent( QFocusEvent * e ); > void focusOutEvent( QFocusEvent * e ); > > void keyPressEvent( QKeyEvent *e ); > > void resizeEvent( QResizeEvent *e ); > void viewportResizeEvent( QResizeEvent *e ); > > void showEvent( QShowEvent * ); > > void drawContentsOffset( QPainter *, int ox, int oy, > int cx, int cy, int cw, int ch ); > > virtual void paintEmptyArea( QPainter *, const QRect & ); > void styleChange( QStyle& ); > void windowActivationChange( bool ); > >protected : > void updateContents(); > void doAutoScroll(); > >private : > void changeSortColumn( int ); > void handleIndexChange(); > void updateDirtyItems(); > void makeVisible(); > void handleSizeChange( int, int, int ); > void startRename(); > void openFocusItem(); > >private: > void contentsMousePressEventEx( QMouseEvent * e ); > void contentsMouseReleaseEventEx( QMouseEvent * e ); > void init(); > void updateGeometries(); > void buildDrawableList() const; > void reconfigureItems(); > void widthChanged(const QListViewItem*, int c); > void handleItemChange( QListViewItem *old, bool shift, bool control ); > void selectRange( QListViewItem *from, QListViewItem *to, bool invert, bool includeFirst, bool clearSel = FALSE ); > bool selectRange( QListViewItem *newItem, QListViewItem *oldItem, QListViewItem *anchorItem ); > bool clearRange( QListViewItem *from, QListViewItem *to, bool includeFirst = TRUE ); > void doAutoScroll( const QPoint &cursorPos ); > > QListViewPrivate * d; > >private: > > QListView( const QListView & ); > QListView &operator=( const QListView & ); > >}; > > >class __attribute__((visibility("default"))) QCheckListItem : public QListViewItem >{ >public: > enum Type { RadioButton, > CheckBox, > Controller, > RadioButtonController=Controller, > CheckBoxController }; > > enum ToggleState { Off, NoChange, On }; > > QCheckListItem( QCheckListItem *parent, const QString &text, > Type = RadioButtonController ); > QCheckListItem( QCheckListItem *parent, QListViewItem *after, > const QString &text, Type = RadioButtonController ); > QCheckListItem( QListViewItem *parent, const QString &text, > Type = RadioButtonController ); > QCheckListItem( QListViewItem *parent, QListViewItem *after, > const QString &text, Type = RadioButtonController ); > QCheckListItem( QListView *parent, const QString &text, > Type = RadioButtonController ); > QCheckListItem( QListView *parent, QListViewItem *after, > const QString &text, Type = RadioButtonController ); > QCheckListItem( QListViewItem *parent, const QString &text, > const QPixmap & ); > QCheckListItem( QListView *parent, const QString &text, > const QPixmap & ); > ~QCheckListItem(); > > void paintCell( QPainter *, const QColorGroup & cg, > int column, int width, int alignment ); > virtual void paintFocus( QPainter *, const QColorGroup & cg, > const QRect & r ); > int width( const QFontMetrics&, const QListView*, int column) const; > void setup(); > > virtual void setOn( bool ); > bool isOn() const { return on; } > Type type() const { return myType; } > QString text() const { return QListViewItem::text( 0 ); } > QString text( int n ) const { return QListViewItem::text( n ); } > > void setTristate( bool ); > bool isTristate() const; > ToggleState state() const; > void setState( ToggleState s); > > int rtti() const; > static int RTTI; > >protected: > void activate(); > void turnOffChild(); > virtual void stateChange( bool ); > >private: > void init(); > ToggleState internalState() const; > void setStoredState( ToggleState newState, void *key ); > ToggleState storedState( void *key ) const; > void stateChange( ToggleState s ); > void restoreState( void *key, int depth = 0 ); > void updateController( bool update = TRUE , bool store = FALSE ); > void updateStoredState( void *key ); > void setState( ToggleState s, bool update, bool store ); > void setCurrentState( ToggleState s ); > > Type myType; > bool on; > QCheckListItemPrivate *d; >}; > >class __attribute__((visibility("default"))) QListViewItemIterator >{ > friend struct QListViewPrivate; > friend class QListView; > friend class QListViewItem; > >public: > enum IteratorFlag { > Visible = 0x00000001, > Invisible = 0x00000002, > Selected = 0x00000004, > Unselected = 0x00000008, > Selectable = 0x00000010, > NotSelectable = 0x00000020, > DragEnabled = 0x00000040, > DragDisabled = 0x00000080, > DropEnabled = 0x00000100, > DropDisabled = 0x00000200, > Expandable = 0x00000400, > NotExpandable = 0x00000800, > Checked = 0x00001000, > NotChecked = 0x00002000 > }; > > QListViewItemIterator(); > QListViewItemIterator( QListViewItem *item ); > QListViewItemIterator( QListViewItem *item, int iteratorFlags ); > > QListViewItemIterator( const QListViewItemIterator &it ); > QListViewItemIterator( QListView *lv ); > QListViewItemIterator( QListView *lv, int iteratorFlags ); > > QListViewItemIterator &operator=( const QListViewItemIterator &it ); > > ~QListViewItemIterator(); > > QListViewItemIterator &operator++(); > const QListViewItemIterator operator++( int ); > QListViewItemIterator &operator+=( int j ); > > QListViewItemIterator &operator--(); > const QListViewItemIterator operator--( int ); > QListViewItemIterator &operator-=( int j ); > > QListViewItem* operator*(); > QListViewItem *current() const; > >protected: > QListViewItem *curr; > QListView *listView; > >private: > QListViewItemIteratorPrivate* d() const; > void init( int flags ); > void addToListView(); > void currentRemoved(); > bool matchesFlags( const QListViewItem* ) const; > bool testPair( QListViewItemIterator::IteratorFlag, QListViewItemIterator::IteratorFlag, bool ) const; > bool isChecked( const QListViewItem* ) const; >}; ># 24 "../kdeui/klistview.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 27 "../kdeui/klistview.h" 2 > >class QDragObject; >class KConfig; >class KLineEdit; ># 53 "../kdeui/klistview.h" >class KListView : public QListView >{ > friend class KListViewItem; > > 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 "../kdeui/klistview.h" >public: ># 104 "../kdeui/klistview.h" > enum SelectionModeExt { > Single = QListView::Single, > Multi = QListView::Multi, > Extended = QListView::Extended, > NoSelection = QListView::NoSelection, > FileManager > }; > > > > > > > > KListView (QWidget *parent = 0, const char *name = 0); > > > > > virtual ~KListView(); ># 132 "../kdeui/klistview.h" > virtual void setAcceptDrops (bool); ># 143 "../kdeui/klistview.h" > virtual bool isExecuteArea( const QPoint& point ); > > > > > > > bool isExecuteArea( int x ); > > > > > > > QPtrList<QListViewItem> selectedItems() const; ># 169 "../kdeui/klistview.h" > QPtrList<QListViewItem> selectedItems(bool includeHiddenItems) const; > > > > > > > > void moveItem(QListViewItem *item, QListViewItem *parent, QListViewItem *after); > > > > > > > QListViewItem *lastItem() const; > > > > > > > QListViewItem* lastChild () const; > > > > > > > > KLineEdit* renameLineEdit() const; > > > > > > > > bool itemsMovable() const; > > > > > > > bool itemsRenameable() const; > > > > > > > bool dragEnabled() const; > > > > > > > bool autoOpen() const; > > > > > > > bool isRenameable (int column) const; > > > > > > > bool dropVisualizer() const; > > > > > > > int tooltipColumn() const; > > > > > > > > bool createChildren() const __attribute__ ((deprecated)); > > > > > > > bool dropHighlighter() const; > > > > > > > > int dropVisualizerWidth () const; > > > > > > > > SelectionModeExt selectionModeExt () const; > > > > > > > int itemIndex( const QListViewItem *item ) const; > > > > > > > QListViewItem* itemAtIndex(int index); > > > > > > void setFullWidth() __attribute__ ((deprecated)); > > > > > > > void setFullWidth(bool fullWidth); > > > > > > > bool fullWidth() const; > > > > > > > virtual int addColumn(const QString& label, int width = -1); > > > > virtual int addColumn(const QIconSet& iconset, const QString& label, int width = -1); > > > > > > virtual void removeColumn(int index); ># 342 "../kdeui/klistview.h" > void setAlternateBackground(const QColor &c); > > > > > > const QColor &alternateBackground() const; ># 357 "../kdeui/klistview.h" > void saveLayout(KConfig *config, const QString &group) const; > > > > > > > > void restoreLayout(KConfig *config, const QString &group); > > > > > > > virtual void setSorting(int column, bool ascending = true); > > > > > int columnSorted(void) const; > > > > > bool ascendingSort(void) const; > > > > > virtual void takeItem(QListViewItem *i); > > > > > > > > void setShadeSortColumn(bool shadeSortColumn); > > > > > > > > bool shadeSortColumn(void) const; >protected: ># 415 "../kdeui/klistview.h" > void executed( QListViewItem *item ); ># 428 "../kdeui/klistview.h" > void executed( QListViewItem *item, const QPoint &pos, int c ); ># 440 "../kdeui/klistview.h" > void dropped (QDropEvent * e, QListViewItem *after); ># 454 "../kdeui/klistview.h" > void dropped (KListView* list, QDropEvent* e, QListViewItem* after); ># 468 "../kdeui/klistview.h" > void dropped (KListView* list, QDropEvent* e, QListViewItem* parent, QListViewItem* after); ># 481 "../kdeui/klistview.h" > void dropped (QDropEvent* e, QListViewItem* parent, QListViewItem* after); > > > > > > > > void moved(); ># 499 "../kdeui/klistview.h" > void aboutToMove(); ># 512 "../kdeui/klistview.h" > void moved (QListViewItem *item, QListViewItem *afterFirst, QListViewItem *afterNow); > > > > > > > > void moved(QPtrList<QListViewItem> &items, QPtrList<QListViewItem> &afterFirst, QPtrList<QListViewItem> &afterNow); ># 529 "../kdeui/klistview.h" > void itemRenamed(QListViewItem* item, const QString &str, int col); > > > > > void itemRenamed(QListViewItem* item); ># 546 "../kdeui/klistview.h" > void menuShortCutPressed (KListView* list, QListViewItem* item); ># 556 "../kdeui/klistview.h" > void contextMenu (KListView* l, QListViewItem* i, const QPoint& p); > > void itemAdded(QListViewItem *item); > void itemRemoved(QListViewItem *item); > >public : > > > > virtual void rename(QListViewItem *item, int c); ># 577 "../kdeui/klistview.h" > void setRenameable (int column, bool yesno=true); > > > > > > > > virtual void setItemsMovable(bool b); ># 594 "../kdeui/klistview.h" > virtual void setItemsRenameable(bool b); > > > > > > virtual void setDragEnabled(bool b); > > > > > virtual void setAutoOpen(bool b); > > > > > > > virtual void setDropVisualizer(bool b); > > > > > > void setDropVisualizerWidth (int w); > > > > > > > > virtual void setTooltipColumn(int column); > > > > > > > virtual void setDropHighlighter(bool b); > > > > > > > > virtual void setCreateChildren(bool b) __attribute__ ((deprecated)); > > > > > > > void setSelectionModeExt (SelectionModeExt mode); > > > > > > void setTabOrderedRenaming(bool b); > > > > > > bool tabOrderedRenaming() const; > >protected: ># 671 "../kdeui/klistview.h" > inline bool below (const QRect& rect, const QPoint& p) > { > return (p.y() > (rect.top() + (rect.bottom() - rect.top())/2)); > } ># 685 "../kdeui/klistview.h" > inline bool below (QListViewItem* i, const QPoint& p) > { > return below (itemRect(i), contentsToViewport(p)); > } > > > > > > virtual bool event( QEvent * ); > > > > > > void emitExecute( QListViewItem *item, const QPoint &pos, int c ); ># 709 "../kdeui/klistview.h" > virtual void focusInEvent(QFocusEvent* fe); ># 718 "../kdeui/klistview.h" > virtual void focusOutEvent( QFocusEvent *fe ); ># 727 "../kdeui/klistview.h" > virtual void leaveEvent( QEvent *e ); > > > > > virtual QString tooltip(QListViewItem* item, int column) const; > > > > > virtual bool showTooltip(QListViewItem *item, const QPoint &pos, int column) const; ># 746 "../kdeui/klistview.h" > virtual void contentsDragMoveEvent (QDragMoveEvent *event); ># 755 "../kdeui/klistview.h" > virtual void contentsMousePressEvent( QMouseEvent *e ); ># 764 "../kdeui/klistview.h" > virtual void contentsMouseMoveEvent( QMouseEvent *e ); ># 773 "../kdeui/klistview.h" > virtual void contentsMouseDoubleClickEvent ( QMouseEvent *e ); ># 782 "../kdeui/klistview.h" > virtual void contentsDragLeaveEvent (QDragLeaveEvent *event); ># 791 "../kdeui/klistview.h" > virtual void contentsMouseReleaseEvent (QMouseEvent*); ># 800 "../kdeui/klistview.h" > virtual void contentsDropEvent (QDropEvent*); ># 809 "../kdeui/klistview.h" > virtual void contentsDragEnterEvent (QDragEnterEvent *); > > > > > > > virtual QDragObject *dragObject(); > > > > > > > virtual bool acceptDrag (QDropEvent* event) const; ># 832 "../kdeui/klistview.h" > virtual QRect drawDropVisualizer (QPainter *p, QListViewItem *parent, QListViewItem *after); > > > > > > > > virtual QRect drawItemHighlighter(QPainter *painter, QListViewItem *item); > > > > > > > > virtual void startDrag(); ># 857 "../kdeui/klistview.h" > virtual void keyPressEvent (QKeyEvent*); ># 866 "../kdeui/klistview.h" > virtual void viewportPaintEvent(QPaintEvent*); > > > > > > void activateAutomaticSelection(); > > > > > void deactivateAutomaticSelection(); > > > > > > bool automaticSelection() const; > > > > > virtual void viewportResizeEvent(QResizeEvent* e); ># 897 "../kdeui/klistview.h" > void disableAutoSelection(); > > > > > > > void resetAutoSelection(); > > > > > > > void doubleClicked( QListViewItem *item, const QPoint &pos, int c ); > >protected : > > > > > void slotSettingsChanged(int); > > void slotMouseButtonClicked( int btn, QListViewItem *item, const QPoint &pos, int c ); > void doneEditing(QListViewItem *item, int row); > > > > > void cleanDropVisualizer(); > > > > > void cleanItemHighlighter(); > > > > > void emitContextMenu (QListViewItem*, const QPoint&, int); > > > > > void emitContextMenu (KListView*, QListViewItem*); > > > > > > void slotOnItem( QListViewItem *item ); > > > > > > void slotOnViewport(); > > > > > > void slotAutoSelect(); > > void slotDragExpand(); > > > > > > void slotHeaderChanged(); > >protected: > > > > virtual void movableDropEvent (QListViewItem* parent, QListViewItem* afterme); > > > > > > > > virtual void findDrop(const QPoint &pos, QListViewItem *&parent, QListViewItem *&after); > > > > > void fileManagerKeyPressEvent (QKeyEvent*); > > > > > int depthToPixels( int depth ); > >private: > class Tooltip; >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KListViewPrivate; > KListViewPrivate* const d; > bool isExecuteArea( int x, QListViewItem* item ); >}; > > > > > > > >class KListViewItem : public QListViewItem >{ > friend class KListView; >public: > > > > > > > KListViewItem(QListView *parent); > KListViewItem(QListViewItem *parent); > KListViewItem(QListView *parent, QListViewItem *after); > KListViewItem(QListViewItem *parent, QListViewItem *after); > > KListViewItem(QListView *parent, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null); > > KListViewItem(QListViewItem *parent, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null); > > KListViewItem(QListView *parent, QListViewItem *after, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null); > > KListViewItem(QListViewItem *parent, QListViewItem *after, > QString, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null, > QString = QString::null, QString = QString::null); > > virtual ~KListViewItem(); > > virtual void insertItem(QListViewItem *item); > virtual void takeItem(QListViewItem *item); > > > > bool isAlternate(); > > > > const QColor &backgroundColor() __attribute__ ((deprecated)); ># 1069 "../kdeui/klistview.h" > QColor backgroundColor(int column); > > virtual void paintCell(QPainter *p, const QColorGroup &cg, > int column, int width, int alignment); > >private: > void init(); > >private: > uint m_odd : 1; > uint m_known : 1; > uint m_unused : 30; >}; ># 47 "kdewidgets.cpp" 2 > ># 1 "../kdeui/klistviewsearchline.h" 1 ># 23 "../kdeui/klistviewsearchline.h" > ># 1 "/usr/qt/3/include/qhbox.h" 1 ># 24 "../kdeui/klistviewsearchline.h" 2 > >class KListView; >class QListViewItem; >class QToolButton; ># 47 "../kdeui/klistviewsearchline.h" >class KListViewSearchLine : public KLineEdit >{ > 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: ># 60 "../kdeui/klistviewsearchline.h" > KListViewSearchLine(QWidget *parent = 0, KListView *listView = 0, const char *name = 0); > > > > > > KListViewSearchLine(QWidget *parent, const char *name); > > > > > virtual ~KListViewSearchLine(); > > > > > > > bool caseSensitive() const; > > > > > > > > QValueList<int> searchColumns() const; > > > > > > > > bool keepParentsVisible() const; > > > > > > > KListView *listView() const; > >public : > > > > > virtual void updateSearch(const QString &s = QString::null); > > > > > > > void setCaseSensitive(bool cs); ># 127 "../kdeui/klistviewsearchline.h" > void setKeepParentsVisible(bool v); ># 136 "../kdeui/klistviewsearchline.h" > void setSearchColumns(const QValueList<int> &columns); > > > > > > > > void setListView(KListView *lv); > >protected: > > > > > > > virtual bool itemMatches(const QListViewItem *item, const QString &s) const; > > > > > > > virtual QPopupMenu *createPopupMenu(); > >protected : ># 176 "../kdeui/klistviewsearchline.h" > void queueSearch(const QString &search); ># 186 "../kdeui/klistviewsearchline.h" > void activateSearch(); > >private: > > > > > > void checkItemParentsNotVisible(); > > > > > > > bool checkItemParentsVisible(QListViewItem *item, QListViewItem *highestHiddenParent = 0); > >private : > void itemAdded(QListViewItem *item) const; > void listViewDeleted(); > void searchColumnsMenuActivated(int); > >private: > class KListViewSearchLinePrivate; > KListViewSearchLinePrivate *d; >}; > > > > > > > >class KListViewSearchLineWidget : public QHBox >{ > 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: > > > > > KListViewSearchLineWidget(KListView *listView = 0, QWidget *parent = 0, > const char *name = 0); > > > > > ~KListViewSearchLineWidget(); > > > > > > virtual KListViewSearchLine *createSearchLine(KListView *listView); > > > > > KListViewSearchLine *searchLine() const; > >protected : > > > > > > > virtual void createWidgets(); > >private : > void positionInToolBar(); > >private: > class KListViewSearchLineWidgetPrivate; > KListViewSearchLineWidgetPrivate *d; >}; ># 48 "kdewidgets.cpp" 2 > > > ># 1 "../kdeui/kpassdlg.h" 1 ># 28 "../kdeui/kpassdlg.h" >class QLabel; >class QGridLayout; >class QWidget; ># 39 "../kdeui/kpassdlg.h" >class KPasswordEdit > : public QLineEdit >{ > 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 EchoModes { OneStar, ThreeStars, NoEcho }; > > > > > KPasswordEdit(QWidget *parent=0, const char *name=0); > > > > > > > > KPasswordEdit(EchoMode echoMode, QWidget *parent, const char *name); > > > > > > > KPasswordEdit(EchoModes echoMode, QWidget *parent, const char *name); > > > > > > KPasswordEdit(QWidget *parent, const char *name, int echoMode) __attribute__ ((deprecated)); > > > > > ~KPasswordEdit(); > > > > > > const char *password() const { return m_Password; } > > > > > void erase(); > > static const int PassLen; ># 100 "../kdeui/kpassdlg.h" > void setMaxPasswordLength(int newLength); > > > > > > int maxPasswordLength() const; > >public : > > > > virtual void insert( const QString &); > >protected: > virtual void keyPressEvent(QKeyEvent *); > virtual void focusInEvent(QFocusEvent *e); > virtual bool event(QEvent *e); > >private: > void init(); > void showPass(); > > char *m_Password; > int m_EchoMode, m_Length; >}; ># 166 "../kdeui/kpassdlg.h" >class KPasswordDialog > : 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: > > > > enum Types { > > > > Password, > > > > > > > NewPassword > }; ># 203 "../kdeui/kpassdlg.h" > KPasswordDialog(Types type, bool enableKeep, int extraBttn, > QWidget *parent=0, const char *name=0); > > > > > > KPasswordDialog(int type, QString prompt, bool enableKeep=false, > int extraBttn=0) __attribute__ ((deprecated)); ># 230 "../kdeui/kpassdlg.h" > KPasswordDialog(Types type, bool enableKeep, int extraBttn, const QString& iconName, > QWidget *parent = 0, const char *name = 0); > > > > > virtual ~KPasswordDialog(); > > > > > void setPrompt(QString prompt); > > > > > QString prompt() const; > > > > > void addLine(QString key, QString value); > > > > > > void setAllowEmptyPasswords(bool allowed); > > > > > > bool allowEmptyPasswords() const; ># 273 "../kdeui/kpassdlg.h" > void setMinimumPasswordLength(int minLength); > > > > > > int minimumPasswordLength() const; ># 288 "../kdeui/kpassdlg.h" > void setMaximumPasswordLength(int maxLength); > > > > > > int maximumPasswordLength() const; ># 304 "../kdeui/kpassdlg.h" > void setReasonablePasswordLength(int reasonableLength); > > > > > > int reasonablePasswordLength() const; ># 322 "../kdeui/kpassdlg.h" > void setPasswordStrengthWarningLevel(int warningLevel); > > > > > > int passwordStrengthWarningLevel() const; > > > > > > const char *password() const { return m_pEdit->password(); } > > > > > > > void clearPassword(); > > > > > bool keep() const { return m_Keep; } ># 360 "../kdeui/kpassdlg.h" > static int getPassword(QCString &password, QString prompt, int *keep=0L); ># 372 "../kdeui/kpassdlg.h" > static int getNewPassword(QCString &password, QString prompt); > > > > > static void disableCoreDumps(); > >protected : > void slotOk(); > void slotCancel(); > void slotKeep(bool); > >protected: > > > > > > > virtual bool checkPassword(const char *) { return true; } > >private : > void enableOkBtn(); > >private: > void init(); > void erase(); > > int m_Keep, m_Type, m_Row; > QLabel *m_pHelpLbl; > QGridLayout *m_pGrid; > QWidget *m_pMain; > KPasswordEdit *m_pEdit, *m_pEdit2; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KPasswordDialogPrivate; > KPasswordDialogPrivate* const d; >}; ># 51 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kprogress.h" 1 ># 29 "../kdeui/kprogress.h" > ># 1 "/usr/qt/3/include/qprogressbar.h" 1 ># 48 "/usr/qt/3/include/qprogressbar.h" >class QProgressBarPrivate; > > >class __attribute__((visibility("default"))) QProgressBar : 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: > QProgressBar( QWidget* parent=0, const char* name=0, WFlags f=0 ); > QProgressBar( int totalSteps, QWidget* parent=0, const char* name=0, WFlags f=0 ); > > int totalSteps() const; > int progress() const; > const QString &progressString() const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > void setCenterIndicator( bool on ); > bool centerIndicator() const; > > void setIndicatorFollowsStyle( bool ); > bool indicatorFollowsStyle() const; > > bool percentageVisible() const; > void setPercentageVisible( bool ); > > void show(); > >public : > void reset(); > virtual void setTotalSteps( int totalSteps ); > virtual void setProgress( int progress ); > void setProgress( int progress, int totalSteps ); > >protected: > void drawContents( QPainter * ); > virtual bool setIndicator( QString & progress_str, int progress, > int totalSteps ); > void styleChange( QStyle& ); > >private: > int total_steps; > int progress_val; > int percentage; > QString progress_str; > bool center_indicator : 1; > bool auto_indicator : 1; > bool percentage_visible : 1; > QProgressBarPrivate * d; > void initFrame(); > >private: > > QProgressBar( const QProgressBar & ); > QProgressBar &operator=( const QProgressBar & ); > >}; > > >inline int QProgressBar::totalSteps() const >{ > return total_steps; >} > >inline int QProgressBar::progress() const >{ > return progress_val; >} > >inline const QString &QProgressBar::progressString() const >{ > return progress_str; >} > >inline bool QProgressBar::centerIndicator() const >{ > return center_indicator; >} > >inline bool QProgressBar::indicatorFollowsStyle() const >{ > return auto_indicator; >} > >inline bool QProgressBar::percentageVisible() const >{ > return percentage_visible; >} ># 30 "../kdeui/kprogress.h" 2 ># 46 "../kdeui/kprogress.h" >class KProgress : public QProgressBar >{ > 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: > > > > KProgress(QWidget *parent=0, const char *name=0, WFlags f = 0); > > > > > > > > KProgress(int totalSteps, QWidget *parent=0, const char *name=0, WFlags f = 0); > > > > > ~KProgress(); > > > > > > void setTextEnabled(bool); > > > > > > > > int value() const __attribute__ ((deprecated)); > > > > > > > > bool textEnabled() const; > > > > > > QString format() const; > > > > > > > void setRange(int min, int max) __attribute__ ((deprecated)); > > > > > > int maxValue() __attribute__ ((deprecated)); > >public : ># 124 "../kdeui/kprogress.h" > void setFormat(const QString & format); > > > > > > void setTotalSteps(int totalSteps); > > > > > virtual void setProgress(int progress); > > > > > > void setValue(int progress); ># 150 "../kdeui/kprogress.h" > virtual void advance(int offset); > >protected: > > > > void percentageChanged(int); > >protected: > virtual bool setIndicator(QString & indicator, int progress, int totalSteps); > >private: > QString mFormat; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KProgressPrivate; > KProgressPrivate *d; >}; ># 187 "../kdeui/kprogress.h" >class KProgressDialog : 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: ># 201 "../kdeui/kprogress.h" > KProgressDialog(QWidget* parent = 0, const char* name = 0, > const QString& caption = QString::null, > const QString& text = QString::null, > bool modal = false); > > > > > ~KProgressDialog(); > > > > > > > KProgress* progressBar(); > > > > > > > const KProgress* progressBar() const; > > > > > > > void setLabel(const QString & text); > > > > > > > QString labelText() __attribute__ ((deprecated)); > > > > > QString labelText() const; ># 253 "../kdeui/kprogress.h" > void setAllowCancel(bool allowCancel); > > > > > > > bool allowCancel() __attribute__ ((deprecated)); > > > > > bool allowCancel() const; > > > > > > > > void showCancelButton(bool show); > > > > > > void setAutoClose(bool close); > > > > > > > bool autoClose(); > > > > > > bool autoClose() const; > > > > > > > void setAutoReset(bool autoReset); > > > > > > > bool autoReset(); > > > > > > bool autoReset() const; > > > > > > > > bool wasCancelled(); > > > > > > > bool wasCancelled() const; > > > > > > > > void ignoreCancel(); > > > > > void setButtonText(const QString&); > > > > > > > QString buttonText() __attribute__ ((deprecated)); > > > > > QString buttonText() const; > > > > > > void setMinimumDuration(int ms); > > > > > > > int minimumDuration() __attribute__ ((deprecated)); > > > > > int minimumDuration() const; > > > > > virtual void show(); > > protected : > void slotAutoShow(); > void slotAutoActions(int percentage); > void slotCancel(); > > private: > > bool mAutoClose; > bool mAutoReset; > bool mCancelled; > bool mAllowCancel; > bool mShown; > QString mCancelText; > QLabel* mLabel; > KProgress* mProgressBar; > QTimer* mShowTimer; > int mMinDuration; > protected: > virtual void virtual_hook( int id, void* data ); > private: > struct KProgressDialogPrivate; > KProgressDialogPrivate *d; >}; ># 52 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kpushbutton.h" 1 ># 28 "../kdeui/kpushbutton.h" >class QDragObject; ># 37 "../kdeui/kpushbutton.h" >class KPushButton : public 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: > > > > > KPushButton( QWidget *parent, const char *name=0 ); > > > > > KPushButton( const QString &text, QWidget *parent, const char *name=0); > > > > > KPushButton( const QIconSet &icon, const QString &text, > QWidget *parent, const char *name=0 ); > > > > > > KPushButton( const KGuiItem &item, QWidget *parent, const char *name = 0 ); > > > > > ~KPushButton(); > > > > > void setDragEnabled( bool enable ); > > > > > bool isDragEnabled() const { return m_dragEnabled; } > > > > > void setGuiItem( const KGuiItem& item ); > > > > > > void setGuiItem( KStdGuiItem::StdItem item ); > > > > > > KStdGuiItem::StdItem guiItem() const; > > > void setGuiItm(int itm ) { setGuiItem( (KStdGuiItem::StdItem)itm );} > int guiItm() const { return (int)guiItem(); } > > > > > > void setIconSet( const QIconSet &iconSet ); > > > > > void setText( const QString &text ); > >protected: > > > > > > virtual QDragObject * dragObject(); > > > > > virtual void mousePressEvent( QMouseEvent * ); > > > > virtual void mouseMoveEvent( QMouseEvent * ); > > > > > virtual void startDrag(); > >private: > bool m_dragEnabled; > QPoint startPos; > >private : > void slotSettingsChanged( int category ); > >private: > > > > > void init( const KGuiItem &item ); > > void readSettings(); > static bool s_useIcons; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KPushButtonPrivate; > KPushButtonPrivate *d; > >}; ># 53 "kdewidgets.cpp" 2 > ># 1 "../kdeui/krestrictedline.h" 1 ># 44 "../kdeui/krestrictedline.h" >class KRestrictedLine : public KLineEdit >{ > 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: ># 58 "../kdeui/krestrictedline.h" > KRestrictedLine( QWidget *parent=0, const char *name=0, > const QString& valid = QString::null); > > > > > ~KRestrictedLine(); > > > > > > void setValidChars(const QString& valid); > > > > QString validChars() const; > >protected: > > > > > void invalidChar(int); > >protected: > void keyPressEvent( QKeyEvent *e ); > >private: > > QString qsValidChars; >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KRestrictedLinePrivate* d; >}; ># 54 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kauthicon.h" 1 ># 21 "../kdeui/kauthicon.h" > ># 1 "/usr/qt/3/include/qfileinfo.h" 1 ># 42 "/usr/qt/3/include/qfileinfo.h" > ># 1 "/usr/qt/3/include/qfile.h" 1 ># 44 "/usr/qt/3/include/qfile.h" > ># 1 "/usr/include/stdio.h" 1 3 4 ># 45 "/usr/qt/3/include/qfile.h" 2 > > >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 ># 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; >} ># 22 "../kdeui/kauthicon.h" 2 > > > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 27 "../kdeui/kauthicon.h" 2 > >class QHBoxLayout; >class QLabel; >class KAuthIconPrivate; ># 47 "../kdeui/kauthicon.h" >class KAuthIcon : 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: > > > > KAuthIcon(QWidget *parent = 0, const char *name = 0); > ~KAuthIcon(); > > virtual QSize sizeHint() const; > > > > virtual bool status() const = 0; > >public : > > > > > virtual void updateStatus() = 0; > >protected: > > > > > > > void authChanged(bool authorized); > >protected: > QHBoxLayout *layout; > > QLabel *lockBox; > QLabel *lockLabel; > QPixmap lockPM; > QPixmap openLockPM; > QString lockText; > QString openLockText; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KAuthIconPrivate *d; >}; > >class KRootPermsIconPrivate; > > > > > > >class KRootPermsIcon : public KAuthIcon >{ > 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: > KRootPermsIcon(QWidget *parent = 0, const char *name = 0); > ~KRootPermsIcon(); > > > > > bool status() const { return root; } > >public : > void updateStatus(); > >protected: > bool root; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KRootPermsIconPrivate *d; >}; > >class KWritePermsIconPrivate; > > > > > > >class KWritePermsIcon : public KAuthIcon >{ > 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: > KWritePermsIcon(const QString & fileName, QWidget *parent = 0, const char *name = 0); > ~KWritePermsIcon(); > > > > bool status() const { return writable; } > > > > > > void setFileName(const QString & fileName) { fi.setFile(fileName); updateStatus(); } > > > > > > QString fileName() const { return fi.fileName(); } > >public : > void updateStatus(); > >protected: > bool writable; > QFileInfo fi; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KWritePermsIconPrivate *d; >}; ># 55 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kruler.h" 1 ># 26 "../kdeui/kruler.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 27 "../kdeui/kruler.h" 2 ># 71 "../kdeui/kruler.h" >class KRuler : 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; ># 90 "../kdeui/kruler.h" >public: ># 104 "../kdeui/kruler.h" > enum MetricStyle { Custom=0, Pixel, Inch, Millimetres, Centimetres, Metres }; ># 114 "../kdeui/kruler.h" > KRuler(QWidget *parent=0, const char *name=0); ># 128 "../kdeui/kruler.h" > KRuler(Orientation orient, QWidget *parent=0, const char *name=0, > WFlags f=0); ># 146 "../kdeui/kruler.h" > KRuler(Orientation orient, int widgetWidth, QWidget *parent=0, > const char *name=0, WFlags f=0); > > > > > ~KRuler(); ># 161 "../kdeui/kruler.h" > void setMinValue(int); > > > > > inline int minValue() const; > > > > > > > > void setMaxValue(int); > > > > > inline int maxValue() const; > > > > > > > > void setRange(int min, int max); ># 197 "../kdeui/kruler.h" > void setValue(int); > inline int value() const; > > > > > > > void setTinyMarkDistance(int); > > > > inline int tinyMarkDistance() const; > > > > > > > void setLittleMarkDistance(int); > > > > > inline int littleMarkDistance() const; > > > > > > > > void setMediumMarkDistance(int); > inline int mediumMarkDistance() const; > > > > > > > void setBigMarkDistance(int); > > > > inline int bigMarkDistance() const; > > > > > void setShowTinyMarks(bool); > bool showTinyMarks() const; > > > > void setShowLittleMarks(bool); > bool showLittleMarks() const; > > > > void setShowMediumMarks(bool); > bool showMediumMarks() const; > > > > void setShowBigMarks(bool); > bool showBigMarks() const; > > > > void setShowEndMarks(bool); > bool showEndMarks() const; > > > > void setShowPointer(bool); > bool showPointer() const; > > > > > > > void setValuePerLittleMark(int) __attribute__ ((deprecated)); > > > > > > void setValuePerMediumMark(int) __attribute__ ((deprecated)); > > > > > > void setValuePerBigMark(int) __attribute__ ((deprecated)); ># 319 "../kdeui/kruler.h" > void setShowEndLabel(bool); > bool showEndLabel() const; > > > > > > void setEndLabel(const QString&); > QString endLabel() const; > > > > > > > void setRulerMetricStyle(KRuler::MetricStyle); ># 354 "../kdeui/kruler.h" > void setPixelPerMark(double rate); > > > > > inline double pixelPerMark() const; ># 370 "../kdeui/kruler.h" > void setLength(int); > int length() const; > > > > > > > > void setLengthFixed(bool fix); > bool lengthFixed() const; ># 393 "../kdeui/kruler.h" > void slideUp(int count = 1); ># 406 "../kdeui/kruler.h" > void slideDown(int count = 1); ># 416 "../kdeui/kruler.h" > void setOffset(int offset); > > > > > inline int offset() const; > > int endOffset() const; > >public : > > > > > > > > void slotNewValue(int); > > > > > > > > void slotNewOffset(int); > > void slotEndOffset(int); > >protected: > virtual void drawContents(QPainter *); > >private: > void init(); > > QRangeControl range; > Orientation dir; > int tmDist; > int lmDist; > int mmDist; > int bmDist; > int offset_; > bool showtm; > bool showlm; > bool showmm; > bool showbm; > bool showem; > > > > int valuelm; > int valuemm; > int valuebm; > bool showValuelm; > bool showValuemm; > bool showValuebm; > > double ppm; > > QString endlabel; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KRulerPrivate; > KRulerPrivate *d; >}; > > >int >KRuler::minValue() const >{ return range.minValue(); } > >int >KRuler::maxValue() const >{ return range.maxValue(); } > >int >KRuler::value() const >{ return range.value(); } > >int >KRuler::tinyMarkDistance() const >{ return tmDist; } > >int >KRuler::littleMarkDistance() const >{ return lmDist; } > >int >KRuler::mediumMarkDistance() const >{ return mmDist; } > >int >KRuler::bigMarkDistance() const >{ return bmDist; } > >double >KRuler::pixelPerMark() const >{ return ppm; } > >int >KRuler::offset() const >{ return offset_; } ># 56 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kseparator.h" 1 ># 25 "../kdeui/kseparator.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/kseparator.h" 2 > > > > > > > >class KSeparator : 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: > > > > > > > KSeparator(QWidget* parent=0, const char* name=0, WFlags f=0); ># 54 "../kdeui/kseparator.h" > KSeparator(int orientation, QWidget* parent=0, const char* name=0, > WFlags f=0); > > > > > > int orientation() const; > > > > > > > void setOrientation(int orient); > > > > > virtual QSize sizeHint() const; > >protected: > > > > virtual void drawFrame( QPainter *p ); >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KSeparatorPrivate* d; >}; ># 57 "kdewidgets.cpp" 2 > ># 1 "../kdeui/ksqueezedtextlabel.h" 1 ># 22 "../kdeui/ksqueezedtextlabel.h" > ># 1 "/usr/qt/3/include/qlabel.h" 1 ># 47 "/usr/qt/3/include/qlabel.h" >class QSimpleRichText; >class QLabelPrivate; > >class __attribute__((visibility("default"))) QLabel : 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; ># 61 "/usr/qt/3/include/qlabel.h" >public: > QLabel( QWidget *parent, const char* name=0, WFlags f=0 ); > QLabel( const QString &text, QWidget *parent, const char* name=0, > WFlags f=0 ); > QLabel( QWidget *buddy, const QString &, > QWidget *parent, const char* name=0, WFlags f=0 ); > ~QLabel(); > > QString text() const { return ltext; } > QPixmap *pixmap() const { return lpixmap; } > > QPicture *picture() const { return lpicture; } > > > QMovie *movie() const; > > > TextFormat textFormat() const; > void setTextFormat( TextFormat ); > > int alignment() const { return align; } > virtual void setAlignment( int ); > int indent() const { return extraMargin; } > void setIndent( int ); > > bool autoResize() const { return autoresize; } > virtual void setAutoResize( bool ); > > bool hasScaledContents() const; > void setScaledContents( bool ); > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > virtual void setBuddy( QWidget * ); > QWidget *buddy() const; > > int heightForWidth(int) const; > > void setFont( const QFont &f ); > >public : > virtual void setText( const QString &); > virtual void setPixmap( const QPixmap & ); > > virtual void setPicture( const QPicture & ); > > > virtual void setMovie( const QMovie & ); > > virtual void setNum( int ); > virtual void setNum( double ); > void clear(); > >protected: > void drawContents( QPainter * ); > void fontChange( const QFont & ); > void resizeEvent( QResizeEvent* ); > >private : > > void acceleratorSlot(); > void buddyDied(); > > > void movieUpdated(const QRect&); > void movieResized(const QSize&); > > >private: > void init(); > void clearContents(); > void updateLabel( QSize oldSizeHint ); > QSize sizeForWidth( int w ) const; > QString ltext; > QPixmap *lpixmap; > > QPicture *lpicture; > > > QMovie * lmovie; > > > QWidget * lbuddy; > > ushort align; > short extraMargin; > uint autoresize:1; > uint scaledcontents :1; > TextFormat textformat; > > QSimpleRichText* doc; > > > QAccel * accel; > > QLabelPrivate* d; > > friend class QTipLabel; > >private: > > QLabel( const QLabel & ); > QLabel &operator=( const QLabel & ); > >}; ># 23 "../kdeui/ksqueezedtextlabel.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 25 "../kdeui/ksqueezedtextlabel.h" 2 ># 46 "../kdeui/ksqueezedtextlabel.h" >class KSqueezedTextLabel : public QLabel { > 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: > > > > KSqueezedTextLabel( QWidget *parent, const char *name = 0 ); > KSqueezedTextLabel( const QString &text, QWidget *parent, const char *name = 0 ); > > virtual QSize minimumSizeHint() const; > virtual QSize sizeHint() const; > > > > virtual void setAlignment( int ); > >public : > void setText( const QString & ); > >protected: > > > > void resizeEvent( QResizeEvent * ); > > > > void squeezeTextToLabel(); > QString fullText; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KSqueezedTextLabelPrivate; > KSqueezedTextLabelPrivate *d; >}; ># 58 "kdewidgets.cpp" 2 > ># 1 "../kdeui/ktabwidget.h" 1 ># 24 "../kdeui/ktabwidget.h" > ># 1 "/usr/qt/3/include/qtabwidget.h" 1 ># 48 "/usr/qt/3/include/qtabwidget.h" >class QTabBar; >class QTabWidgetData; >class QTab; >class QWidgetStack; > > >class __attribute__((visibility("default"))) QTabWidget : 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; ># 66 "/usr/qt/3/include/qtabwidget.h" >public: > QTabWidget( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); > ~QTabWidget(); > > virtual void addTab( QWidget *, const QString & ); > virtual void addTab( QWidget *child, const QIconSet& iconset, > const QString &label ); > virtual void addTab( QWidget *, QTab* ); > > virtual void insertTab( QWidget *, const QString &, int index = -1 ); > virtual void insertTab( QWidget *child, const QIconSet& iconset, > const QString &label, int index = -1 ); > virtual void insertTab( QWidget *, QTab*, int index = -1 ); > > void changeTab( QWidget *, const QString &); > void changeTab( QWidget *child, const QIconSet& iconset, > const QString &label ); > > bool isTabEnabled( QWidget * ) const; > void setTabEnabled( QWidget *, bool ); > > void setCornerWidget( QWidget * w, Qt::Corner corner = Qt::TopRight ); > QWidget * cornerWidget( Qt::Corner corner = Qt::TopRight ) const; > > QString tabLabel( QWidget * ) const; > void setTabLabel( QWidget *p, const QString &l ); > > QIconSet tabIconSet( QWidget * w ) const; > void setTabIconSet( QWidget * w, const QIconSet & iconset ); > > void removeTabToolTip( QWidget * w ); > void setTabToolTip( QWidget * w, const QString & tip ); > QString tabToolTip( QWidget * w ) const; > > QWidget * currentPage() const; > QWidget *page( int ) const; > QString label( int ) const; > int currentPageIndex() const; > int indexOf( QWidget * ) const; > > QSize sizeHint() const; > QSize minimumSizeHint() const; > > enum TabPosition { Top, Bottom }; > TabPosition tabPosition() const; > void setTabPosition( TabPosition ); > > enum TabShape { Rounded, Triangular }; > TabShape tabShape() const; > void setTabShape( TabShape s ); > > int margin() const; > void setMargin( int ); > > int count() const; > >public : > void setCurrentPage( int ); > virtual void showPage( QWidget * ); > virtual void removePage( QWidget * ); > >protected: > void showEvent( QShowEvent * ); > void resizeEvent( QResizeEvent * ); > void setTabBar( QTabBar * ); > QTabBar* tabBar() const; > void styleChange( QStyle& ); > void updateMask(); > bool eventFilter( QObject *, QEvent * ); > >protected: > void currentChanged( QWidget * ); > > void selected( const QString& ); > > >private : > void showTab( int ); > >private: > QTabWidgetData *d; > void setUpLayout( bool = FALSE ); > friend class QTabDialog; > >private: > > QTabWidget( const QTabWidget & ); > QTabWidget& operator=( const QTabWidget & ); > >}; ># 25 "../kdeui/ktabwidget.h" 2 > > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 28 "../kdeui/ktabwidget.h" 2 > >class KTabWidgetPrivate; > > > > > > >class KTabWidget : public QTabWidget >{ > 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: > KTabWidget( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); > > > > virtual ~KTabWidget(); > > > > void setTabColor( QWidget *, const QColor& color ); > > > > QColor tabColor( QWidget * ) const; > > > > > > bool isTabReorderingEnabled() const; > > > > > > bool hoverCloseButton() const; > > > > > > bool hoverCloseButtonDelayed() const; > > > > > > > bool tabCloseActivatePrevious() const; > > > > > > > bool automaticResizeTabs() const; > > > > > > > void setTabBarHidden( bool hide ); > > > > > > bool isTabBarHidden() const; > > > > > virtual void insertTab( QWidget *, const QString &, int index = -1 ); > > > > > virtual void insertTab( QWidget *child, const QIconSet& iconset, > const QString &label, int index = -1 ); > > > > virtual void insertTab( QWidget *, QTab *, int index = -1 ); > > > > > void changeTab( QWidget *, const QString & ); > > > > > void changeTab( QWidget *child, const QIconSet& iconset, const QString &label ); > > > > > QString label( int ) const; > > > > > QString tabLabel( QWidget * ) const; > > > > > void setTabLabel( QWidget *, const QString & ); > >public : > > > > > virtual void moveTab( int, int ); > > > > > > virtual void removePage ( QWidget * w ); ># 167 "../kdeui/ktabwidget.h" > void setTabReorderingEnabled( bool enable ); > > > > > > > void setHoverCloseButton( bool enable ); > > > > > > void setHoverCloseButtonDelayed( bool delayed ); > > > > > > > void setTabCloseActivatePrevious( bool previous ); ># 196 "../kdeui/ktabwidget.h" > void setAutomaticResizeTabs( bool enable ); > >protected: > > > > void testCanDecode(const QDragMoveEvent *e, bool &accept ); > > > > > > void receivedDropEvent( QDropEvent * ); > > > > > > void receivedDropEvent( QWidget *, QDropEvent * ); > > > > > void initiateDrag( QWidget * ); > > > > > void contextMenu( const QPoint & ); > > > > > void contextMenu( QWidget *, const QPoint & ); > > > > > > void movedTab( int, int ); > > > > > > void mouseDoubleClick(); > > > > > void mouseDoubleClick( QWidget * ); > > > > > void mouseMiddleClick(); > > > > > void mouseMiddleClick( QWidget * ); > > > > > > void closeRequest( QWidget * ); > >protected: > virtual void mouseDoubleClickEvent( QMouseEvent *e ); > virtual void mousePressEvent( QMouseEvent * ); > virtual void dragMoveEvent( QDragMoveEvent * ); > virtual void dropEvent( QDropEvent * ); > unsigned int tabBarWidthForMaxChars( uint maxLength ); > > virtual void wheelEvent( QWheelEvent *e ); > > virtual void resizeEvent( QResizeEvent * ); > >protected : > virtual void receivedDropEvent( int, QDropEvent * ); > virtual void initiateDrag( int ); > virtual void contextMenu( int, const QPoint & ); > virtual void mouseDoubleClick( int ); > virtual void mouseMiddleClick( int ); > virtual void closeRequest( int ); > > virtual void wheelDelta( int ); > > >private: > bool isEmptyTabbarSpace( const QPoint & ) const; > void resizeTabs( int changedTabIndex = -1 ); > void updateTab( int index ); > > KTabWidgetPrivate *d; >}; ># 59 "kdewidgets.cpp" 2 > ># 1 "../kdeui/ktextbrowser.h" 1 ># 25 "../kdeui/ktextbrowser.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/ktextbrowser.h" 2 ># 42 "../kdeui/ktextbrowser.h" >class KTextBrowser : public QTextBrowser >{ > 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: > > > > > > > > KTextBrowser( QWidget *parent=0, const char *name=0, > bool notifyClick=false ); > > > > > ~KTextBrowser( void ); > > > > > > > > void setNotifyClick( bool notifyClick ); > > > > > bool isNotifyClick() const; > > protected: > > > > > void setSource(const QString& name); > > > > > virtual void keyPressEvent(QKeyEvent *e); > > > > > virtual void viewportMouseMoveEvent( QMouseEvent* e); > > > > > virtual void contentsWheelEvent( QWheelEvent *e ); > > > > > > > virtual QPopupMenu *createPopupMenu( const QPoint &pos ); > > protected: > > > > > > > > void mailClick( const QString &name, const QString &address ); > > > > > > > > void urlClick( const QString &url ); > > private: > bool mNotifyClick; > > protected: > virtual void virtual_hook( int id, void* data ); > private: > class KTextBrowserPrivate; > KTextBrowserPrivate *d; >}; ># 60 "kdewidgets.cpp" 2 > ># 1 "../kdeui/ktextedit.h" 1 ># 23 "../kdeui/ktextedit.h" > ># 1 "/usr/qt/3/include/qtextedit.h" 1 ># 24 "../kdeui/ktextedit.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/ktextedit.h" 2 > >class KSpell; ># 43 "../kdeui/ktextedit.h" >class KTextEdit : public QTextEdit >{ > 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: > > > > > KTextEdit( const QString& text, > const QString& context = QString::null, > QWidget * parent = 0, const char *name = 0 ); > > > > > > KTextEdit( QWidget *parent = 0L, const char *name = 0 ); > > > > ~KTextEdit(); > > > > > virtual void setReadOnly (bool readOnly); > > > > > virtual void setPalette( const QPalette& palette ); ># 85 "../kdeui/ktextedit.h" > void setCheckSpellingEnabled( bool check ); ># 95 "../kdeui/ktextedit.h" > bool checkSpellingEnabled() const; > > void highLightWord( unsigned int length, unsigned int pos ); > > >public : > > > > > > > void checkSpelling(); > >protected: > > > > virtual void keyPressEvent( QKeyEvent * ); > > > > > > virtual void focusInEvent( QFocusEvent * ); > > > > > > virtual void contentsWheelEvent( QWheelEvent * ); > > > > > > virtual void deleteWordBack(); > > > > > > virtual void deleteWordForward(); > > > > > > virtual QPopupMenu *createPopupMenu( const QPoint &pos ); ># 153 "../kdeui/ktextedit.h" > virtual QPopupMenu *createPopupMenu(); > >protected: > virtual void virtual_hook( int id, void* data ); > >private : > void slotSpellCheckReady( KSpell *s ); > void slotSpellCheckDone( const QString &s ); > void spellCheckerMisspelling( const QString &text, const QStringList &, unsigned int pos); > void spellCheckerCorrected( const QString &, const QString &, unsigned int ); > void spellCheckerFinished(); > void toggleAutoSpellCheck(); > void slotAllowTab(); > >private: > void posToRowCol( unsigned int pos, unsigned int &line, unsigned int &col ); > > class KTextEditPrivate; > KTextEditPrivate *d; >}; ># 61 "kdewidgets.cpp" 2 > ># 1 "../kdeui/ktimewidget.h" 1 ># 25 "../kdeui/ktimewidget.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 26 "../kdeui/ktimewidget.h" 2 ># 37 "../kdeui/ktimewidget.h" >class KTimeWidget : 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: > > > > KTimeWidget(QWidget * parent = 0, const char * name = 0); > > > > > > KTimeWidget(const QTime & time, > QWidget * parent = 0, const char * name = 0 ); > > > > > virtual ~KTimeWidget(); > > > > > QTime time() const; > >public : > > > > void setTime(const QTime & time); > >protected: > > > > > void valueChanged(const QTime & time); > >private: > void init(); > >private: > class KTimeWidgetPrivate; > KTimeWidgetPrivate *d; >}; ># 62 "kdewidgets.cpp" 2 > ># 1 "../kio/kfile/kurlrequester.h" 1 ># 26 "../kio/kfile/kurlrequester.h" > ># 1 "../kio/kfile/kfile.h" 1 ># 21 "../kio/kfile/kfile.h" > ># 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 ># 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; >}; ># 22 "../kio/kfile/kfile.h" 2 > > ># 1 "../kdecore/kdelibs_export.h" 1 ># 24 "../kio/kfile/kfile.h" 2 > > > > > > > >class KFile >{ >public: ># 42 "../kio/kfile/kfile.h" > enum Mode { > File = 1, > Directory = 2, > Files = 4, > ExistingOnly = 8, > LocalOnly = 16, > ModeMax = 65536 > }; > > enum FileView { > Default = 0, > Simple = 1, > Detail = 2, > SeparateDirs = 4, > PreviewContents = 8, > PreviewInfo = 16, > FileViewMax = 65536 > }; > > enum SelectionMode { > Single = 1, > Multi = 2, > Extended = 4, > NoSelection = 8 > }; ># 77 "../kio/kfile/kfile.h" > static bool isSortByName( const QDir::SortSpec& sort ) { > return (sort & QDir::Time) != QDir::Time && > (sort & QDir::Size) != QDir::Size; > } > > static bool isSortBySize( const QDir::SortSpec& sort ) { > return (sort & QDir::Size) == QDir::Size; > } > > static bool isSortByDate( const QDir::SortSpec& sort ) { > return (sort & QDir::Time) == QDir::Time; > } > > static bool isSortDirsFirst( const QDir::SortSpec& sort ) { > return (sort & QDir::DirsFirst) == QDir::DirsFirst; > } > > static bool isSortCaseInsensitive( const QDir::SortSpec& sort ) { > return (sort & QDir::IgnoreCase) == QDir::IgnoreCase; > } > > > > static bool isDefaultView( const FileView& view ) { > return (view & Default) == Default; > } > > static bool isSimpleView( const FileView& view ) { > return (view & Simple) == Simple; > } > > static bool isDetailView( const FileView& view ) { > return (view & Detail) == Detail; > } > > static bool isSeparateDirs( const FileView& view ) { > return (view & SeparateDirs) == SeparateDirs; > } > > static bool isPreviewContents( const FileView& view ) { > return (view & PreviewContents) == PreviewContents; > } > > > > > static bool isPreviewInfo( const FileView& view ) { > return (view & PreviewInfo) == PreviewInfo; > } > >}; ># 27 "../kio/kfile/kurlrequester.h" 2 > > > >class KComboBox; >class KFileDialog; >class KLineEdit; >class KURLCompletion; >class KURLDragPushButton; > >class QString; >class QTimer; ># 56 "../kio/kfile/kurlrequester.h" >class KURLRequester : public QHBox >{ > 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: > > > > KURLRequester( QWidget *parent=0, const char *name=0 ); > > > > > > KURLRequester( const QString& url, QWidget *parent=0, const char *name=0 ); > > > > > > > > KURLRequester( QWidget *editWidget, QWidget *parent, const char *name=0 ); > > > > ~KURLRequester(); > > > > > > > > QString url() const; > > > > > > > > void setShowLocalProtocol( bool b ); > > > > > > > > void setMode( uint m ); > > > > > > > uint mode() const; > > > > > > > void setFilter( const QString& filter ); > > > > > > > QString filter() const; > > > > > > > bool showLocalProtocol() const { return myShowLocalProt; } ># 149 "../kio/kfile/kurlrequester.h" > virtual KFileDialog * fileDialog() const; ># 158 "../kio/kfile/kurlrequester.h" > KLineEdit * lineEdit() const; > > > > > > KComboBox * comboBox() const; > > > > > > KPushButton * button() const; > > > > > KURLCompletion *completionObject() const { return myCompletion; } ># 188 "../kio/kfile/kurlrequester.h" > KEditListBox::CustomEditor customEditor(); > >public : > > > > > > > void setURL( const QString& url ); > > > > > > > void setKURL( const KURL& url ); > > > > > > virtual void setCaption( const QString& caption ); > > > > > void clear(); > >protected: > > > > > > > void textChanged( const QString& ); > > > > > void returnPressed(); > > > > > > void returnPressed( const QString& ); ># 248 "../kio/kfile/kurlrequester.h" > void openFileDialog( KURLRequester * ); > > > > > > > void urlSelected( const QString& ); > >protected: > void init(); > > KURLCompletion * myCompletion; > > >private: > KURLDragPushButton * myButton; > bool myShowLocalProt; > mutable KFileDialog * myFileDialog; > > >protected : > > > > > void slotOpenDialog(); > >private : > void slotUpdateURL(); > >protected: > virtual void virtual_hook( int id, void* data ); > bool eventFilter( QObject *obj, QEvent *ev ); >private: > class KURLRequesterPrivate; > KURLRequesterPrivate *d; >}; > > > > >class KURLComboRequester : public KURLRequester >{ > 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: > > > > KURLComboRequester( QWidget *parent=0, const char *name=0 ); >}; ># 63 "kdewidgets.cpp" 2 > ># 1 "../kdeui/kurllabel.h" 1 ># 26 "../kdeui/kurllabel.h" > ># 1 "../kdecore/kdelibs_export.h" 1 ># 27 "../kdeui/kurllabel.h" 2 > >class QColor; >class QCursor; >class QPixmap; ># 71 "../kdeui/kurllabel.h" >class KURLLabel : public QLabel >{ > 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; ># 82 "../kdeui/kurllabel.h" >public: > > > > > > > KURLLabel (QWidget* parent = 0L, const char* name = 0L); ># 103 "../kdeui/kurllabel.h" > KURLLabel (const QString& url, const QString& text = QString::null, > QWidget* parent = 0L, const char* name = 0L); > > > > > virtual ~KURLLabel (); > > > > > const QString& url () const; > > > > > const QString& tipText () const; > > > > > > > bool useTips () const; > > > > > > > bool useCursor () const; > > > > > > bool isGlowEnabled () const; ># 149 "../kdeui/kurllabel.h" > bool isFloatEnabled () const; > > > > > const QPixmap* altPixmap () const; > > > > > virtual void setMargin ( int margin ); > > > > > virtual void setFocusPolicy ( FocusPolicy policy ); > > > > > virtual void setSizePolicy ( QSizePolicy ); > >public : > > > > > > > void setUnderline (bool on = true); > > > > > > > void setURL (const QString& url); > > > > > virtual void setFont (const QFont&); ># 199 "../kdeui/kurllabel.h" > void setUseTips (bool on = true); ># 208 "../kdeui/kurllabel.h" > void setTipText (const QString& tip); > > > > > > > > void setHighlightedColor(const QColor& highcolor); > > > > > > > void setHighlightedColor(const QString& highcolor); ># 232 "../kdeui/kurllabel.h" > void setSelectedColor(const QColor& selcolor); > > > > > > > void setSelectedColor(const QString& selcolor); > > > > > virtual void setCursor ( const QCursor& cursor ); > > > > > virtual void unsetCursor (); ># 261 "../kdeui/kurllabel.h" > void setUseCursor (bool on, QCursor* cursor = 0L); ># 270 "../kdeui/kurllabel.h" > void setGlow (bool glow = true); ># 283 "../kdeui/kurllabel.h" > void setFloat (bool do_float = true); ># 294 "../kdeui/kurllabel.h" > void setAltPixmap (const QPixmap& altPix); > >protected: > > > > > > > void enteredURL (const QString& url); > > > > > void enteredURL (); > > > > > > > void leftURL (const QString& url); > > > > > void leftURL (); > > > > > > > void leftClickedURL(const QString& url); > > > > > void leftClickedURL(); > > > > > > > void rightClickedURL(const QString& url); > > > > > void rightClickedURL(); > > > > > > > void middleClickedURL(const QString& url); > > > > > void middleClickedURL(); > >protected: > > > > > virtual void mouseReleaseEvent ( QMouseEvent * e ); > > > > > virtual void enterEvent (QEvent*); > > > > > virtual void leaveEvent (QEvent*); > > > > > virtual bool event (QEvent *e); > > > > > QRect activeRect() const; > > >private : > > > > > void updateColor (); > >private: > > > > > void setLinkColor (const QColor& col); > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class Private; > Private* d; >}; ># 64 "kdewidgets.cpp" 2 > > > > > ># 1 "../kdecore/kstandarddirs.h" 1 ># 27 "../kdecore/kstandarddirs.h" > ># 1 "/usr/qt/3/include/qdict.h" 1 ># 28 "../kdecore/kstandarddirs.h" 2 > > > >class KConfig; >class KStandardDirsPrivate; ># 125 "../kdecore/kstandarddirs.h" >class KStandardDirs >{ >public: > > > > KStandardDirs( ); > > > > > virtual ~KStandardDirs(); ># 147 "../kdecore/kstandarddirs.h" > void addPrefix( const QString& dir ); ># 156 "../kdecore/kstandarddirs.h" > void addXdgConfigPrefix( const QString& dir ); ># 165 "../kdecore/kstandarddirs.h" > void addXdgDataPrefix( const QString& dir ); ># 186 "../kdecore/kstandarddirs.h" > bool addResourceType( const char *type, > const QString& relativename ); ># 204 "../kdecore/kstandarddirs.h" > bool addResourceDir( const char *type, > const QString& absdir); ># 225 "../kdecore/kstandarddirs.h" > QString findResource( const char *type, > const QString& filename ) const; ># 243 "../kdecore/kstandarddirs.h" > bool isRestrictedResource( const char *type, > const QString& relPath=QString::null ) const; ># 258 "../kdecore/kstandarddirs.h" > Q_UINT32 calcResourceHash( const char *type, > const QString& filename, bool deep) const; ># 277 "../kdecore/kstandarddirs.h" > QStringList findDirs( const char *type, > const QString& reldir ) const; ># 300 "../kdecore/kstandarddirs.h" > QString findResourceDir( const char *type, > const QString& filename) const; ># 323 "../kdecore/kstandarddirs.h" > QStringList findAllResources( const char *type, > const QString& filter = QString::null, > bool recursive = false, > bool unique = false) const; ># 350 "../kdecore/kstandarddirs.h" > QStringList findAllResources( const char *type, > const QString& filter, > bool recursive, > bool unique, > QStringList &relPaths) const; ># 365 "../kdecore/kstandarddirs.h" > static QStringList systemPaths( const QString& pstr=QString::null ); ># 384 "../kdecore/kstandarddirs.h" > static QString findExe( const QString& appname, > const QString& pathstr=QString::null, > bool ignoreExecBit=false ); ># 406 "../kdecore/kstandarddirs.h" > static int findAllExe( QStringList& list, const QString& appname, > const QString& pathstr=QString::null, > bool ignoreExecBit=false ); ># 419 "../kdecore/kstandarddirs.h" > void addKDEDefaults(); ># 430 "../kdecore/kstandarddirs.h" > bool addCustomized(KConfig *config); ># 443 "../kdecore/kstandarddirs.h" > QStringList resourceDirs(const char *type) const; > > > > > > > > QStringList allTypes() const; ># 470 "../kdecore/kstandarddirs.h" > QString saveLocation(const char *type, > const QString& suffix = QString::null, > bool create = true) const; ># 489 "../kdecore/kstandarddirs.h" > QString relativeLocation(const char *type, const QString &absPath); ># 501 "../kdecore/kstandarddirs.h" > static bool makeDir(const QString& dir, int mode = 0755); ># 530 "../kdecore/kstandarddirs.h" > static QString kde_default(const char *type); > > > > > QString kfsstnd_prefixes(); > > > > > QString kfsstnd_xdg_conf_prefixes(); > > > > > QString kfsstnd_xdg_data_prefixes(); > > > > > > > > QString localkdedir() const; > > > > > > static QString kfsstnd_defaultprefix(); > > > > > > static QString kfsstnd_defaultbindir(); > > > > > > QString localxdgdatadir() const; > > > > > > QString localxdgconfdir() const; ># 586 "../kdecore/kstandarddirs.h" > static bool exists(const QString &fullPath); ># 596 "../kdecore/kstandarddirs.h" > static QString realPath(const QString &dirname); ># 606 "../kdecore/kstandarddirs.h" > static QString realFilePath(const QString &filename); > > private: > > QStringList prefixes; > > > QDict<QStringList> absolutes; > QDict<QStringList> relatives; > > mutable QDict<QStringList> dircache; > mutable QDict<QString> savelocations; > > > KStandardDirs( const KStandardDirs& ); > KStandardDirs& operator= ( const KStandardDirs& ); > > bool addedCustoms; > > class KStandardDirsPrivate; > KStandardDirsPrivate *d; > > void checkConfig() const; > void applyDataRestrictions(const QString &) const; > void createSpecialResource(const char*); > > > > > void addPrefix( const QString& dir, bool priority ); > void addXdgConfigPrefix( const QString& dir, bool priority ); > void addXdgDataPrefix( const QString& dir, bool priority ); > > > > bool addResourceType( const char *type, > const QString& relativename, bool priority ); > bool addResourceDir( const char *type, > const QString& absdir, bool priority); >}; ># 703 "../kdecore/kstandarddirs.h" > QString locate( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() ); ># 714 "../kdecore/kstandarddirs.h" > QString locateLocal( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() ); ># 725 "../kdecore/kstandarddirs.h" > QString locateLocal( const char *type, const QString& filename, bool createDir, const KInstance* instance = KGlobal::instance() ); ># 69 "kdewidgets.cpp" 2 > > >class KDEWidgets : public QWidgetPlugin >{ >public: > KDEWidgets(); > > virtual ~KDEWidgets(); > > virtual QStringList keys() const > { > QStringList result; > for (WidgetInfos::ConstIterator it = m_widgets.begin(); it != m_widgets.end(); ++it) > result << it.key(); > return result; > } > > virtual QWidget *create(const QString &key, QWidget *parent = 0, const char *name = 0); > > virtual QIconSet iconSet(const QString &key) const > { > > > > QPixmap pix(locate( "data", > QString::fromLatin1("kdewidgets/pics/") + m_widgets[key].iconSet)); > > return QIconSet(pix); > } > > virtual bool isContainer(const QString &key) const { return m_widgets[key].isContainer; } > > virtual QString group(const QString &key) const { return m_widgets[key].group; } > > virtual QString includeFile(const QString &key) const { return m_widgets[key].includeFile; } > > virtual QString toolTip(const QString &key) const { return m_widgets[key].toolTip; } > > virtual QString whatsThis(const QString &key) const { return m_widgets[key].whatsThis; } >private: > struct WidgetInfo > { > QString group; > > > > QString iconSet; > > QString includeFile; > QString toolTip; > QString whatsThis; > bool isContainer; > }; > typedef QMap<QString, WidgetInfo> WidgetInfos; > WidgetInfos m_widgets; >}; >KDEWidgets::KDEWidgets() >{ > WidgetInfo widget; > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kabc__ldapconfigwidget.png"); > > widget.includeFile = QString::fromLatin1("kabc/ldapconfigwidget.h"); > widget.toolTip = QString::fromLatin1("A widget which allows the user to set up LDAP connection parameters"); > widget.whatsThis = QString::fromLatin1("KABC::LdapConfigWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KABC::LdapConfigWidget"), widget); > > widget.group = QString::fromLatin1("Views (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kactionselector.png"); > > widget.includeFile = QString::fromLatin1("kactionselector.h"); > widget.toolTip = QString::fromLatin1("A widget for selecting and arranging actions/objects"); > widget.whatsThis = QString::fromLatin1("KActionSelector Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KActionSelector"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kactivelabel.png"); > > widget.includeFile = QString::fromLatin1("kactivelabel.h"); > widget.toolTip = QString::fromLatin1("Active Label (KDE)"); > widget.whatsThis = QString::fromLatin1("A label with support for selection and clickable links"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KActiveLabel"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kanimwidget.png"); > > widget.includeFile = QString::fromLatin1("kanimwidget.h"); > widget.toolTip = QString::fromLatin1("This is a widget used to display animation using multiple individual pixmaps."); > widget.whatsThis = QString::fromLatin1("KAnimWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KAnimWidget"), widget); > > widget.group = QString::fromLatin1("Buttons (KDE)"); > > > > widget.iconSet = QString::fromLatin1("karrowbutton.png"); > > widget.includeFile = QString::fromLatin1("karrowbutton.h"); > widget.toolTip = QString::fromLatin1("Draws a button which shows an arrow pointing into a certain direction."); > widget.whatsThis = QString::fromLatin1("KArrowButton Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KArrowButton"), widget); > > widget.group = QString::fromLatin1("Container (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcmodule.png"); > > widget.includeFile = QString::fromLatin1("kcmodule.h"); > widget.toolTip = QString::fromLatin1("KControl Center Module (KDE)"); > widget.whatsThis = QString::fromLatin1("KCModule Widget"); > widget.isContainer = true; > m_widgets.insert(QString::fromLatin1("KCModule"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcharselect.png"); > > widget.includeFile = QString::fromLatin1("kcharselect.h"); > widget.toolTip = QString::fromLatin1("Character Selection Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("A widget that allows selection a character out ot a table"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KCharSelect"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcolorbutton.png"); > > widget.includeFile = QString::fromLatin1("kcolorbutton.h"); > widget.toolTip = QString::fromLatin1("Color Chooser Button (KDE)"); > widget.whatsThis = QString::fromLatin1("A button that allows selecting a color"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KColorButton"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcolorcombo.png"); > > widget.includeFile = QString::fromLatin1("kcolorcombo.h"); > widget.toolTip = QString::fromLatin1("Color Combo Box (KDE)"); > widget.whatsThis = QString::fromLatin1("KColorCombo Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KColorCombo"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcolorpatch.png"); > > widget.includeFile = QString::fromLatin1("kcolordialog.h"); > widget.toolTip = QString::fromLatin1("The KColorPatch widget is a (usually small) widget showing a selected color."); > widget.whatsThis = QString::fromLatin1("KColorPatch Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KColorPatch"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kcombobox.png"); > > widget.includeFile = QString::fromLatin1("kcombobox.h"); > widget.toolTip = QString::fromLatin1("Combo Box (KDE)"); > widget.whatsThis = QString::fromLatin1("KComboBox Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KComboBox"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdatepicker.png"); > > widget.includeFile = QString::fromLatin1("kdatepicker.h"); > widget.toolTip = QString::fromLatin1("A date selection widget (KDE)"); > widget.whatsThis = QString::fromLatin1("Provides a widget for calendar date input"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDatePicker"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdatetable.png"); > > widget.includeFile = QString::fromLatin1("kdatetbl.h"); > widget.toolTip = QString::fromLatin1("KDateTable Widget"); > widget.whatsThis = QString::fromLatin1("KDateTable Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDateTable"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdatetimewidget.png"); > > widget.includeFile = QString::fromLatin1("kdatetimewidget.h"); > widget.toolTip = QString::fromLatin1("This widget can be used to display or allow user selection of date and time. (KDE)"); > widget.whatsThis = QString::fromLatin1("KDateTimeWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDateTimeWidget"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdatewidget.png"); > > widget.includeFile = QString::fromLatin1("kdatewidget.h"); > widget.toolTip = QString::fromLatin1("Date preview (KDE)"); > widget.whatsThis = QString::fromLatin1("KDateWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDateWidget"), widget); > > widget.group = QString::fromLatin1("Container (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdialog.png"); > > widget.includeFile = QString::fromLatin1("kdialog.h"); > widget.toolTip = QString::fromLatin1("Class for simple Dialogs (KDE)"); > widget.whatsThis = QString::fromLatin1("KDialog Widget"); > widget.isContainer = true; > m_widgets.insert(QString::fromLatin1("KDialog"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdoublenuminput.png"); > > widget.includeFile = QString::fromLatin1("knuminput.h"); > widget.toolTip = QString::fromLatin1("Floating Point Number Input Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("An input widget for floating point numbers, consisting of a spinbox and a slider."); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDoubleNumInput"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdoublespinbox.png"); > > widget.includeFile = QString::fromLatin1("knuminput.h"); > widget.toolTip = QString::fromLatin1("Enhanced Spinbox for Floating Point Values (KDE)"); > widget.whatsThis = QString::fromLatin1("A spinbox widget for floating point numbers."); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDoubleSpinBox"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kdualcolorbutton.png"); > > widget.includeFile = QString::fromLatin1("kdualcolorbutton.h"); > widget.toolTip = QString::fromLatin1("A widget for selecting two related colors (KDE)"); > widget.whatsThis = QString::fromLatin1("KDualColorButton Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KDualColorButton"), widget); > > widget.group = QString::fromLatin1("Views (KDE)"); > > > > widget.iconSet = QString::fromLatin1("keditlistbox.png"); > > widget.includeFile = QString::fromLatin1("keditlistbox.h"); > widget.toolTip = QString::fromLatin1("Fullfeatured edit box with buttons (KDE)"); > widget.whatsThis = QString::fromLatin1("KEditListBox Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KEditListBox"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kfontcombo.png"); > > widget.includeFile = QString::fromLatin1("kfontdialog.h"); > widget.toolTip = QString::fromLatin1("Font Chooser (KDE)"); > widget.whatsThis = QString::fromLatin1("A font type, size and style selection widget complete with preview"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KFontChooser"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kfontcombo.png"); > > widget.includeFile = QString::fromLatin1("kfontcombo.h"); > widget.toolTip = QString::fromLatin1("Font Combo Box (KDE)"); > widget.whatsThis = QString::fromLatin1("A QCombo Box showing the installed system fonts (with preview)"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KFontCombo"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kfontrequester.png"); > > widget.includeFile = QString::fromLatin1("kfontrequester.h"); > widget.toolTip = QString::fromLatin1("Font Requester (KDE)"); > widget.whatsThis = QString::fromLatin1("A compact font selection and preview widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KFontRequester"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kgradientselector.png"); > > widget.includeFile = QString::fromLatin1("kselect.h"); > widget.toolTip = QString::fromLatin1("KGradientSelector Widget"); > widget.whatsThis = QString::fromLatin1("A widget that allows the user to select two colors to form a gradient"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KGradientSelector"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("khsselector.png"); > > widget.includeFile = QString::fromLatin1("kcolordialog.h"); > widget.toolTip = QString::fromLatin1("Widget for Hue/Saturation selection (KDE)"); > widget.whatsThis = QString::fromLatin1("KHSSelector Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KHSSelector"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("khistorycombo.png"); > > widget.includeFile = QString::fromLatin1("kcombobox.h"); > widget.toolTip = QString::fromLatin1("A combobox for offering a history and completion (KDE)"); > widget.whatsThis = QString::fromLatin1("A combobox which implements a history like a unix shell"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KHistoryCombo"), widget); > > widget.group = QString::fromLatin1("Buttons (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kiconbutton.png"); > > widget.includeFile = QString::fromLatin1("kicondialog.h"); > widget.toolTip = QString::fromLatin1("Button for selecting an icon (KDE)"); > widget.whatsThis = QString::fromLatin1("KIconButton Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KIconButton"), widget); > > widget.group = QString::fromLatin1("Views (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kiconview.png"); > > widget.includeFile = QString::fromLatin1("kiconview.h"); > widget.toolTip = QString::fromLatin1("Extended Icon View (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved version of the QIconView that allows certain KDE extensions"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KIconView"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kimagefilepreview.png"); > > widget.includeFile = QString::fromLatin1("kimagefilepreview.h"); > widget.toolTip = QString::fromLatin1("A widget that provides a image preview of a URL"); > widget.whatsThis = QString::fromLatin1("KImageFilePreview Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KImageFilePreview"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kintnuminput.png"); > > widget.includeFile = QString::fromLatin1("knuminput.h"); > widget.toolTip = QString::fromLatin1("Integer Input Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("An input widget for integer numbers, consisting of a spinbox and a slider."); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KIntNumInput"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kintspinbox.png"); > > widget.includeFile = QString::fromLatin1("knuminput.h"); > widget.toolTip = QString::fromLatin1("Enhanced Spinbox for Integer Values (KDE)"); > widget.whatsThis = QString::fromLatin1("KIntSpinBox Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KIntSpinBox"), widget); > > widget.group = QString::fromLatin1("Buttons (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kkeybutton.png"); > > widget.includeFile = QString::fromLatin1("kkeybutton.h"); > widget.toolTip = QString::fromLatin1("Keyboard Key Button. (KDE)"); > widget.whatsThis = QString::fromLatin1("A push button that looks like a keyboard key."); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KKeyButton"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klanguagebutton.png"); > > widget.includeFile = QString::fromLatin1("klanguagebutton.h"); > widget.toolTip = QString::fromLatin1("A widget for selecting a language"); > widget.whatsThis = QString::fromLatin1("A combobox suitable for selecting a language"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KLanguageButton"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kled.png"); > > widget.includeFile = QString::fromLatin1("kled.h"); > widget.toolTip = QString::fromLatin1("LED Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("A widget showing a light emitter diode"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KLed"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klineedit.png"); > > widget.includeFile = QString::fromLatin1("klineedit.h"); > widget.toolTip = QString::fromLatin1("Line Edit (KDE)"); > widget.whatsThis = QString::fromLatin1("KLineEdit Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KLineEdit"), widget); > > widget.group = QString::fromLatin1("Views (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klistbox.png"); > > widget.includeFile = QString::fromLatin1("klistbox.h"); > widget.toolTip = QString::fromLatin1("Extended List Box (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved version of the QListBox that follows KDE settings"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KListBox"), widget); > > widget.group = QString::fromLatin1("Views (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klistview.png"); > > widget.includeFile = QString::fromLatin1("klistview.h"); > widget.toolTip = QString::fromLatin1("Extended List View (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved version of the QListView that allows certain KDE extensions"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KListView"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klistviewsearchline.png"); > > widget.includeFile = QString::fromLatin1("klistviewsearchline.h"); > widget.toolTip = QString::fromLatin1("ListView Search Line (KDE)"); > widget.whatsThis = QString::fromLatin1("KListViewSearchLine Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KListViewSearchLine"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("klistviewsearchlinewidget.png"); > > widget.includeFile = QString::fromLatin1("klistviewsearchline.h"); > widget.toolTip = QString::fromLatin1("ListView Search Line Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("KListViewSearchLineWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KListViewSearchLineWidget"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kpalettetable.png"); > > widget.includeFile = QString::fromLatin1("kcolordialog.h"); > widget.toolTip = QString::fromLatin1("A color palette in table form."); > widget.whatsThis = QString::fromLatin1("KPaletteTable Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KPaletteTable"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kpasswordedit.png"); > > widget.includeFile = QString::fromLatin1("kpassdlg.h"); > widget.toolTip = QString::fromLatin1("Safe Password LineEdit (KDE)"); > widget.whatsThis = QString::fromLatin1("A KLineEdit that is safe for prompting the user for passwords"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KPasswordEdit"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kprogress.png"); > > widget.includeFile = QString::fromLatin1("kprogress.h"); > widget.toolTip = QString::fromLatin1("Progress Bar (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved progress bar for KDE that uses QFrame and QRangeControl"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KProgress"), widget); > > widget.group = QString::fromLatin1("Buttons (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kpushbutton.png"); > > widget.includeFile = QString::fromLatin1("kpushbutton.h"); > widget.toolTip = QString::fromLatin1("Improved QPushButton (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved QPushButton to follow KDE settings"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KPushButton"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("krestrictedline.png"); > > widget.includeFile = QString::fromLatin1("krestrictedline.h"); > widget.toolTip = QString::fromLatin1("Line Edit for restricted input (KDE)"); > widget.whatsThis = QString::fromLatin1("KRestrictedLine Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KRestrictedLine"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("krootpermsicon.png"); > > widget.includeFile = QString::fromLatin1("kauthicon.h"); > widget.toolTip = QString::fromLatin1("Icon to show whether or not a user has root permissions."); > widget.whatsThis = QString::fromLatin1("KRootPermsIcon Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KRootPermsIcon"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kruler.png"); > > widget.includeFile = QString::fromLatin1("kruler.h"); > widget.toolTip = QString::fromLatin1("Measuring Ruler Widget (KDE)"); > widget.whatsThis = QString::fromLatin1("A measuring ruler widget as seen in KWord for page widths and heights"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KRuler"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kseparator.png"); > > widget.includeFile = QString::fromLatin1("kseparator.h"); > widget.toolTip = QString::fromLatin1("Standard horizontal or vertical separator."); > widget.whatsThis = QString::fromLatin1("KSeparator Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KSeparator"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("ksqueezedtextlabel.png"); > > widget.includeFile = QString::fromLatin1("ksqueezedtextlabel.h"); > widget.toolTip = QString::fromLatin1("A QLabel that squeezes its text (KDE)"); > widget.whatsThis = QString::fromLatin1("If the text is too long to fit into the label it is divided into remaining left and right parts which are separated by three dots"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KSqueezedTextLabel"), widget); > > widget.group = QString::fromLatin1("Container (KDE)"); > > > > widget.iconSet = QString::fromLatin1("ktabwidget.png"); > > widget.includeFile = QString::fromLatin1("ktabwidget.h"); > widget.toolTip = QString::fromLatin1("KDE tab widget container."); > widget.whatsThis = QString::fromLatin1("KTabWidget Widget"); > widget.isContainer = true; > m_widgets.insert(QString::fromLatin1("KTabWidget"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("ktextbrowser.png"); > > widget.includeFile = QString::fromLatin1("ktextbrowser.h"); > widget.toolTip = QString::fromLatin1("Improved QTextBrowser (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved version of the QTextBrowser with mail or system browser invocation support"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KTextBrowser"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("ktextedit.png"); > > widget.includeFile = QString::fromLatin1("ktextedit.h"); > widget.toolTip = QString::fromLatin1("Improved QTextEdit (KDE)"); > widget.whatsThis = QString::fromLatin1("An improved version of the QTextEdit with mail or system browser invocation support"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KTextEdit"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("ktimewidget.png"); > > widget.includeFile = QString::fromLatin1("ktimewidget.h"); > widget.toolTip = QString::fromLatin1("This widget can be used to display or allow user selection of time. (KDE)"); > widget.whatsThis = QString::fromLatin1("KTimeWidget Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KTimeWidget"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kurlcomborequester.png"); > > widget.includeFile = QString::fromLatin1("kurlrequester.h"); > widget.toolTip = QString::fromLatin1("URL Requester (KDE)"); > widget.whatsThis = QString::fromLatin1("A widget holding a combobox and a pushbutton. A \"file open\" dialog opened when clicking on the pushbutton"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KURLComboRequester"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kurllabel.png"); > > widget.includeFile = QString::fromLatin1("kurllabel.h"); > widget.toolTip = QString::fromLatin1("URL Label (KDE)"); > widget.whatsThis = QString::fromLatin1("KURLLabel Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KURLLabel"), widget); > > widget.group = QString::fromLatin1("Input (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kurlrequester.png"); > > widget.includeFile = QString::fromLatin1("kurlrequester.h"); > widget.toolTip = QString::fromLatin1("URL Requester (KDE)"); > widget.whatsThis = QString::fromLatin1("A widget holding a lineedit and a pushbutton. A \"file open\" dialog opened when clicking on the pushbutton"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KURLRequester"), widget); > > widget.group = QString::fromLatin1("Graphics (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kvalueselector.png"); > > widget.includeFile = QString::fromLatin1("kcolordialog.h"); > widget.toolTip = QString::fromLatin1("Widget for color value selection."); > widget.whatsThis = QString::fromLatin1("KValueSelector Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KValueSelector"), widget); > > widget.group = QString::fromLatin1("Display (KDE)"); > > > > widget.iconSet = QString::fromLatin1("kwritepermsicon.png"); > > widget.includeFile = QString::fromLatin1("kauthicon.h"); > widget.toolTip = QString::fromLatin1("Auth icon for write permission display."); > widget.whatsThis = QString::fromLatin1("KWritePermsIcon Widget"); > widget.isContainer = false; > m_widgets.insert(QString::fromLatin1("KWritePermsIcon"), widget); > > new KInstance("kdewidgets"); >} >KDEWidgets::~KDEWidgets() >{ > >} >QWidget *KDEWidgets::create(const QString &key, QWidget *parent, const char *name) >{ > > if (key == QString::fromLatin1("KABC::LdapConfigWidget")) > return new KABC::LdapConfigWidget(KABC::LdapConfigWidget::W_ALL, parent, name); > > if (key == QString::fromLatin1("KActionSelector")) > return new KActionSelector(parent, name); > > if (key == QString::fromLatin1("KActiveLabel")) > return new KActiveLabel(parent, name); > > if (key == QString::fromLatin1("KAnimWidget")) > return new KAnimWidget("kde",0,parent,name); > > if (key == QString::fromLatin1("KArrowButton")) > return new KArrowButton(parent,Qt::UpArrow,name); > > if (key == QString::fromLatin1("KCModule")) > return new KCModule(parent, name); > > if (key == QString::fromLatin1("KCharSelect")) > return new KCharSelect(parent, name); > > if (key == QString::fromLatin1("KColorButton")) > return new KColorButton(parent, name); > > if (key == QString::fromLatin1("KColorCombo")) > return new KColorCombo(parent, name); > > if (key == QString::fromLatin1("KColorPatch")) > return new KColorPatch(parent); > > if (key == QString::fromLatin1("KComboBox")) > return new KComboBox(parent, name); > > if (key == QString::fromLatin1("KDatePicker")) > return new KDatePicker(parent, QDate::currentDate(), name); > > if (key == QString::fromLatin1("KDateTable")) > return new KDateTable(parent, QDate::currentDate(), name); > > if (key == QString::fromLatin1("KDateTimeWidget")) > return new KDateTimeWidget(parent, name); > > if (key == QString::fromLatin1("KDateWidget")) > return new KDateWidget(parent, name); > > if (key == QString::fromLatin1("KDialog")) > return new KDialogPreview(parent, name); > > if (key == QString::fromLatin1("KDoubleNumInput")) > return new KDoubleNumInput(parent, name); > > if (key == QString::fromLatin1("KDoubleSpinBox")) > return new KDoubleSpinBox(parent, name); > > if (key == QString::fromLatin1("KDualColorButton")) > return new KDualColorButton(parent, name); > > if (key == QString::fromLatin1("KEditListBox")) > return new KEditListBox(parent, name); > > if (key == QString::fromLatin1("KFontChooser")) > return new KFontChooser(parent, name); > > if (key == QString::fromLatin1("KFontCombo")) > return new KFontCombo(parent, name); > > if (key == QString::fromLatin1("KFontRequester")) > return new KFontRequester(parent, name); > > if (key == QString::fromLatin1("KGradientSelector")) > return new KGradientSelector(parent, name); > > if (key == QString::fromLatin1("KHSSelector")) > return new KHSSelector(parent, name); > > if (key == QString::fromLatin1("KHistoryCombo")) > return new KHistoryCombo(parent, name); > > if (key == QString::fromLatin1("KIconButton")) > return new KIconButton(parent, name); > > if (key == QString::fromLatin1("KIconView")) > return new KIconView(parent, name); > > if (key == QString::fromLatin1("KImageFilePreview")) > return new KImageFilePreview(parent); > > if (key == QString::fromLatin1("KIntNumInput")) > return new KIntNumInput(parent, name); > > if (key == QString::fromLatin1("KIntSpinBox")) > return new KIntSpinBox(parent, name); > > if (key == QString::fromLatin1("KKeyButton")) > return new KKeyButton(parent, name); > > if (key == QString::fromLatin1("KLanguageButton")) > return new KLanguageButton(parent, name); > > if (key == QString::fromLatin1("KLed")) > return new KLed(parent, name); > > if (key == QString::fromLatin1("KLineEdit")) > return new KLineEdit(parent, name); > > if (key == QString::fromLatin1("KListBox")) > return new KListBox(parent, name); > > if (key == QString::fromLatin1("KListView")) > return new KListView(parent, name); > > if (key == QString::fromLatin1("KListViewSearchLine")) > return new KListViewSearchLine(parent, 0, name); > > if (key == QString::fromLatin1("KListViewSearchLineWidget")) > return new KListViewSearchLineWidget(0, parent, name); > > if (key == QString::fromLatin1("KPaletteTable")) > return new KPaletteTable(parent, 210, 16); > > if (key == QString::fromLatin1("KPasswordEdit")) > return new KPasswordEdit(parent, name); > > if (key == QString::fromLatin1("KProgress")) > return new KProgress(parent, name); > > if (key == QString::fromLatin1("KPushButton")) > return new KPushButton(parent, name); > > if (key == QString::fromLatin1("KRestrictedLine")) > return new KRestrictedLine(parent, name); > > if (key == QString::fromLatin1("KRootPermsIcon")) > return new KRootPermsIcon(parent, name); > > if (key == QString::fromLatin1("KRuler")) > return new KRuler(parent, name); > > if (key == QString::fromLatin1("KSeparator")) > return new KSeparator(parent, name); > > if (key == QString::fromLatin1("KSqueezedTextLabel")) > return new KSqueezedTextLabel("KSqueezedTextLabel", parent, name); > > if (key == QString::fromLatin1("KTabWidget")) > return new KTabWidget(parent, name); > > if (key == QString::fromLatin1("KTextBrowser")) > return new KTextBrowser(parent, name); > > if (key == QString::fromLatin1("KTextEdit")) > return new KTextEdit(parent, name); > > if (key == QString::fromLatin1("KTimeWidget")) > return new KTimeWidget(parent, name); > > if (key == QString::fromLatin1("KURLComboRequester")) > return new KURLComboRequester(parent, name); > > if (key == QString::fromLatin1("KURLLabel")) > return new KURLLabel("KURLLabel", QString::null, parent, name); > > if (key == QString::fromLatin1("KURLRequester")) > return new KURLRequester(parent, name); > > if (key == QString::fromLatin1("KValueSelector")) > return new KValueSelector(parent, name); > > if (key == QString::fromLatin1("KWritePermsIcon")) > return new KWritePermsIcon("", parent, name); > > return 0; >} >extern "C" const char* qt_ucm_query_verification_data(); extern "C" QUnknownInterface* ucm_instantiate(); static const char *qt_ucm_verification_data = "pattern=""QT_UCM_VERIFICATION_DATA""\n" "version=""3.3.8""\n" "flags=""11""\n" "buildkey=""x86_64 Linux g++-4 full-config""\0"; extern "C" __attribute__((visibility("default"))) const char * qt_ucm_query_verification_data() { return qt_ucm_verification_data; } extern "C" __attribute__((visibility("default"))) QUnknownInterface* ucm_instantiate() { KDEWidgets *i = new KDEWidgets; return i->iface(); } ># 3 "kdewidgets_la.all_cpp.cpp" 2
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 170025
:
112633
| 112648