From: Manuel Nickschas Date: Mon, 5 Nov 2007 23:38:20 +0000 (+0000) Subject: Remove libqxt from our svn. We don't depend on it anymore thanks to X-Git-Tag: 0.1.0~80 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=140d8a132103d2fa9baf55036e09b165624de167 Remove libqxt from our svn. We don't depend on it anymore thanks to EgS' rewrite of SignalProxy, and we probably won't introduce that dependency again... anyway, all the infrastructure is still in the build system, so libqxt could be easily added again if necessary. --- diff --git a/build/quassel.pro b/build/quassel.pro index e52d3f1b..33c25b2a 100644 --- a/build/quassel.pro +++ b/build/quassel.pro @@ -48,8 +48,7 @@ contains(BUILD, qtclient) { } # First we build contrib stuff... - -SUBDIRS += contrib/libqxt.pro +# SUBDIRS += contrib/libqxt.pro # no deps to libqxt at the moment # Then we build all needed modules... for(mod, BUILD_MODS) { diff --git a/build/targets/target.pri b/build/targets/target.pri index fa4112e4..5f659996 100644 --- a/build/targets/target.pri +++ b/build/targets/target.pri @@ -15,7 +15,7 @@ for(mod, MODULES) { PRE_TARGETDEPS *= ../modules/$$mod } -CONTRIB += libqxt -include(../contrib/contrib.pri) +#CONTRIB += libqxt # not needed +#include(../contrib/contrib.pri) SOURCES = $$SRCPATH/common/main.cpp diff --git a/qtopia-build/quasseltopia.pro b/qtopia-build/quasseltopia.pro index 6fdc633d..c47229a7 100644 --- a/qtopia-build/quasseltopia.pro +++ b/qtopia-build/quasseltopia.pro @@ -1,8 +1,8 @@ qtopia_project(qtopia app) TARGET = quasseltopia -CONFIG += debug qtopia_main no_quicklaunch no_singleexec no_sxe_test -QT = core gui network +CONFIG += debug qtopia_main no_quicklaunch no_singleexec +QT += core gui network # Find files INCLUDEPATH += ../src/qtopia ../src/uisupport ../src/client ../src/common @@ -24,7 +24,7 @@ HEADERS = $$HDRS FORMS = $$FRMS # SXE permissions required -#pkg.domain=none +#pkg.domain= #pkg.name=Quassel IRC desktop.files=../src/qtopia/quasseltopia.desktop @@ -47,4 +47,5 @@ pkg.desc=Quassel IRC, a next-gen IRC client pkg.version=0.0.1-1 pkg.maintainer=www.quassel-irc.org pkg.license=GPL -pkg.domain=window +pkg.domain=docapi,pim,profiles,window,qdl,qds + diff --git a/src/common/common.pri b/src/common/common.pri index 75d265d0..94187649 100644 --- a/src/common/common.pri +++ b/src/common/common.pri @@ -1,5 +1,4 @@ DEPMOD = -CONTRIB = libqxt QT_MOD = network SRCS += global.cpp logger.cpp message.cpp settings.cpp signalproxy.cpp util.cpp synchronizer.cpp networkinfo.cpp ircuser.cpp ircchannel.cpp bufferinfo.cpp HDRS += global.h logger.h message.h settings.h signalproxy.h util.h synchronizer.h networkinfo.h ircuser.h ircchannel.h bufferinfo.h diff --git a/src/contrib/libqxt-2007-10-24/.qmake.cache b/src/contrib/libqxt-2007-10-24/.qmake.cache deleted file mode 100644 index 0b017655..00000000 --- a/src/contrib/libqxt-2007-10-24/.qmake.cache +++ /dev/null @@ -1,56 +0,0 @@ -aix-g++: PLATFORM=aix-g++ -aix-g++-64: PLATFORM=aix-g++-64 -aix-xlc: PLATFORM=aix-xlc -aix-xlc-64: PLATFORM=aix-xlc-64 -common: PLATFORM=common -darwin-g++: PLATFORM=darwin-g++ -default: PLATFORM=default -features: PLATFORM=features -freebsd-g++: PLATFORM=freebsd-g++ -freebsd-g++34: PLATFORM=freebsd-g++34 -freebsd-g++40: PLATFORM=freebsd-g++40 -freebsd-icc: PLATFORM=freebsd-icc -hpux-acc: PLATFORM=freebsd-icc -hpux-acc-64: PLATFORM=hpux-acc -hpux-acc-o64: PLATFORM=hpux-acc-64 -hpux-g++: PLATFORM=hpux-acc-o64 -hpux-g++-64: PLATFORM=hpux-g++-64 -hpuxi-acc: PLATFORM=hpuxi-acc -hpuxi-acc-64: PLATFORM=hpuxi-acc-64 -hurd-g++: PLATFORM=hurd-g++ -irix-cc: PLATFORM=irix-cc -irix-cc-64: PLATFORM=irix-cc-64 -irix-g++: PLATFORM=irix-g++ -irix-g++-64: PLATFORM=irix-g++-64 -linux-cxx: PLATFORM=linux-cxx -linux-ecc-64: PLATFORM=linux-ecc-64 -linux-g++: PLATFORM=linux-g++ -linux-g++-32: PLATFORM=linux-g++-32 -linux-g++-64: PLATFORM=linux-g++-64 -linux-icc: PLATFORM=linux-icc -linux-kcc: PLATFORM=linux-kcc -linux-lsb: PLATFORM=linux-lsb -linux-pgcc: PLATFORM=linux-pgcc -lynxos-g++: PLATFORM=lynxos-g++ -macx-g++: PLATFORM=macx-g++ -macx-icc: PLATFORM=macx-icc -macx-pbuilder: PLATFORM=macx-pbuilder -macx-xcode: PLATFORM=macx-xcode -macx-xlc: PLATFORM=macx-xlc -netbsd-g++: PLATFORM=netbsd-g++ -openbsd-g++: PLATFORM=openbsd-g++ -qconfig.pri: PLATFORM=qconfig.pri -qws: PLATFORM=qws -sco-cc: PLATFORM=sco-cc -sco-g++: PLATFORM=sco-g++ -solaris-cc: PLATFORM=solaris-cc -solaris-cc-64: PLATFORM=solaris-cc-64 -solaris-g++: PLATFORM=solaris-g++ -solaris-g++-64: PLATFORM=solaris-g++-64 -tru64-cxx: PLATFORM=tru64-cxx -tru64-g++: PLATFORM=tru64-g++ -unixware-cc: PLATFORM=unixware-cc -unixware-g++: PLATFORM=unixware-g++ -win32-g++: PLATFORM=win32-g++ - -QXT_BUILD = core gui network sql web designer crypto diff --git a/src/contrib/libqxt-2007-10-24/AUTHORS b/src/contrib/libqxt-2007-10-24/AUTHORS deleted file mode 100644 index 2fb7b690..00000000 --- a/src/contrib/libqxt-2007-10-24/AUTHORS +++ /dev/null @@ -1,7 +0,0 @@ -Arvid Picciani -Adam Higerd -J-P Nurmi -Benjamin Zeller - - -thanks for all the minor contributions, bug reports, beta tests, and the free beer :-) diff --git a/src/contrib/libqxt-2007-10-24/Doqsyfile b/src/contrib/libqxt-2007-10-24/Doqsyfile deleted file mode 100644 index c189b334..00000000 --- a/src/contrib/libqxt-2007-10-24/Doqsyfile +++ /dev/null @@ -1,31 +0,0 @@ -[doqsy] -output=deploy/docs -templates=doctemplate -doxygen=doxygen - -[doxygen] -DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = Qt Extension Library -PROJECT_NUMBER = 0.4 -INPUT_ENCODING = UTF-8 -INPUT = src -FILE_PATTERNS = * -RECURSIVE = YES -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = */.svn/* \ - */moc_* \ - */Makefile \ - *.pro \ - *.o \ - *.p* \ - *.s* \ - *.*~ \ - *_p.h \ - *_p.hpp \ - -ENABLE_PREPROCESSING = YES -PREDEFINED = QXT_DOXYGEN_RUN -TAGFILES = doctemplate/qt.tag=http://doc.trolltech.com/latest - -GENERATE_HTML = NO -GENERATE_LATEX = NO diff --git a/src/contrib/libqxt-2007-10-24/LICENSE b/src/contrib/libqxt-2007-10-24/LICENSE deleted file mode 100644 index 1f03abe4..00000000 --- a/src/contrib/libqxt-2007-10-24/LICENSE +++ /dev/null @@ -1,82 +0,0 @@ -Qt Extension Library -Copyright (C) 2007 Qxt Foundation - -------------------- Disclaimer ------------------------------------------------ - -Until the Qxt Foundation is legally established, copyright for the -source code falls back to the original contributor. For information about the -status of the Qxt Foundation, or about the copyright status of any part of Qxt, -contact the Qxt project maintainers at - -Once the Qxt Foundation has been legally established, all contributors must -transfer all copyright interest to the Qxt Foundation before their submissions -will be added to the project. - -------------------- License --------------------------------------------------- - -This library is free software; you can redistribute it and/or modify it -under the terms of th Common Public License, version 1.0, as published by IBM. - -This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -FITNESS FOR A PARTICULAR PURPOSE. - -You should have received a copy of the CPL along with this file. -See the LICENSE file and the cpl1.0.txt file included with the source -distribution for more information. If you did not receive a copy of the -license, contact the Qxt Foundation. - -Parts of Qxt depend on Qt 4 and/or other libraries that have their own -licenses. Qxt is independent of these licenses; however, use of these other -libraries is subject to their respective license agreements. - -------------------- Intent ---------------------------------------------------- - -The following section describes the opinions and intent of the Qxt Foundation -with regards to the licensing and use of the Qxt source code and library. In -the event that the CPL is found to be illegal or invalid, or if any application -or clause of the license is subjected to question or abuse, this section is a -general statement of the desired interpretation. - -This section has no legal standing and the statements made here are strictly -subject to the text of the CPL; that is, if this section and the CPL are in -disagreement, the text of the CPL takes precedence. In no way does this -intent grant you any additional rights or impose any additional restrictions. - -If you have questions about licensing, contact the maintainers. - -Qxt is built and supported by open-source enthusiasts. -- Please respect the open-source background of the contributors. The code is - provided for everyone's use; you may not restrict the rights of anyone to - use it. - - No individual may claim ownership of any part of the code. It belongs - to the community. - - You may modify the source code to suit your needs, but these changes - must be made free. If you distribute a modified form of Qxt, you must - also distribute the entire source code of the modified form. - - Digital Rights Management (DRM) puts unfair, unfree restrictions on - users and developers. It is the opposite of Free Software. We can't - stop you from using it, but please don't use the Qxt name for software - restricted by DRM. -- Please respect the time and effort put into the project by the developers. - - If you find Qxt useful, it would be appreciated if you would include - text in your application (for instance, in the About dialog) giving - acknowledgement to Qxt. - - If you make modifications to the source code, you must not call the - modified version "Qxt." It's okay to include "Qxt" in the name, but - anyone who receives the modified version needs to know that it's not - the same as the version distributed by the Qxt Foundation. -- We want everyone to be able to use Qxt without restrictions. - - If you distribute Qxt in compiled binary form, please ensure that - everyone who receives it can get the source code used to create it. - - You are free to use Qxt in closed-source applications as long as you - distribute Qxt in an open-source fashion. This does not require you - to make your entire application open-source. -- The Qxt Foundation is a non-profit, non-political organization. - - Please don't use the Qxt name in any political or semi-political - propaganda or publication. We don't like it. -- Qxt is distributed "as-is," with no warranty. - - If it makes your program crash, your computer blow up, or tiny demons - fly out of your nose, please don't sue us. - diff --git a/src/contrib/libqxt-2007-10-24/README b/src/contrib/libqxt-2007-10-24/README deleted file mode 100644 index 20880be2..00000000 --- a/src/contrib/libqxt-2007-10-24/README +++ /dev/null @@ -1 +0,0 @@ -please see http://libqxt.org/page/user diff --git a/src/contrib/libqxt-2007-10-24/config.pri b/src/contrib/libqxt-2007-10-24/config.pri deleted file mode 100644 index 1d65e999..00000000 --- a/src/contrib/libqxt-2007-10-24/config.pri +++ /dev/null @@ -1,11 +0,0 @@ -# This file needs to be copied into src/contrib/libqxt-$$QXTVER/config.pri if you -# update the snapshot! - -# Stuff that is used by the libqxt project files -CONFIG += static staticlibs -CONFIG += release -DEFINES *= HAVE_QT -QXTBUILDDIR = ../../../../../build/contrib -DESTDIR = $$QXTBUILDDIR -MOC_DIR = $$QXTBUILDDIR/.libqxt/moc -OBJECTS_DIR = $$QXTBUILDDIR/.libqxt/obj diff --git a/src/contrib/libqxt-2007-10-24/config.tests/curses/curses.pro b/src/contrib/libqxt-2007-10-24/config.tests/curses/curses.pro deleted file mode 100644 index 7cecd6e5..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/curses/curses.pro +++ /dev/null @@ -1,9 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -LIBS += -lpanel -lncurses -CONFIG -= qt -CONFIG -= app_bundle diff --git a/src/contrib/libqxt-2007-10-24/config.tests/curses/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/curses/main.cpp deleted file mode 100644 index eaa9de93..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/curses/main.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -int main(int argc, char** argv) -{ - WINDOW w; - PANEL p; - (void)(w); - (void)(p); - (void)(argc); - (void)(argv); - return 0; -} - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/fcgi/fcgi.pro b/src/contrib/libqxt-2007-10-24/config.tests/fcgi/fcgi.pro deleted file mode 100644 index 55af9b75..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/fcgi/fcgi.pro +++ /dev/null @@ -1,8 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -LIBS+=-lfcgi++ -QT=core diff --git a/src/contrib/libqxt-2007-10-24/config.tests/fcgi/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/fcgi/main.cpp deleted file mode 100644 index 0bd42f82..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/fcgi/main.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "fcgio.h" -#include "fcgi_config.h" -int main (int,char**) - { - FCGX_Request request; - FCGX_Init(); - FCGX_InitRequest(&request, 0, 0); - fcgi_streambuf(request.out); - return 0; - } - - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/ffmpeg.pro b/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/ffmpeg.pro deleted file mode 100644 index b304aa3c..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/ffmpeg.pro +++ /dev/null @@ -1,9 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -LIBS+=-lavcodec -lavformat -QT=core -CONFIG -= app_bundle diff --git a/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/main.cpp deleted file mode 100644 index 9c6007ad..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/ffmpeg/main.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include -#ifndef INT64_C - #define INT64_C Q_INT64_C -#endif - - - -#include -#include - - -int main (int,char**) - { - av_register_all(); - avcodec_init(); - avcodec_register_all(); - - if(LIBAVCODEC_VERSION_INT>>16!=51) - { - qDebug("incompatible major version %i",LIBAVCODEC_VERSION_INT>>16); - return 3; - } - return 0; - } - - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/openssl/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/openssl/main.cpp deleted file mode 100644 index 07188d48..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/openssl/main.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include - - - - -int main(int,char**) - { - BF_KEY key; - unsigned char * foo=(unsigned char *)"hello world"; - BF_set_key(&key, 1,foo); - return 0; - } - - - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/openssl/openssl.pro b/src/contrib/libqxt-2007-10-24/config.tests/openssl/openssl.pro deleted file mode 100644 index 7944e47b..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/openssl/openssl.pro +++ /dev/null @@ -1,9 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -LIBS+=-lssl -QT=core -CONFIG -= app_bundle diff --git a/src/contrib/libqxt-2007-10-24/config.tests/qt4/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/qt4/main.cpp deleted file mode 100644 index bb03af0e..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/qt4/main.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include - - -#if QT_VERSION < 0x040000 -#error needs qt4 -#endif - - -int main (int,char**) - { - QObject(); - return 0; - } - - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/qt4/qt4.pro b/src/contrib/libqxt-2007-10-24/config.tests/qt4/qt4.pro deleted file mode 100644 index 8ef743a5..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/qt4/qt4.pro +++ /dev/null @@ -1,8 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -QT=core -CONFIG -= app_bundle diff --git a/src/contrib/libqxt-2007-10-24/config.tests/sdl/main.cpp b/src/contrib/libqxt-2007-10-24/config.tests/sdl/main.cpp deleted file mode 100644 index 0d137834..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/sdl/main.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include - - -int main (int,char**) - { - SDL_Quit(); - return 0; - } - - diff --git a/src/contrib/libqxt-2007-10-24/config.tests/sdl/sdl.pro b/src/contrib/libqxt-2007-10-24/config.tests/sdl/sdl.pro deleted file mode 100644 index 1c4bea0d..00000000 --- a/src/contrib/libqxt-2007-10-24/config.tests/sdl/sdl.pro +++ /dev/null @@ -1,8 +0,0 @@ -win32:include(../../depends.pri) -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -LIBS+=-lSDL -QT=core diff --git a/src/contrib/libqxt-2007-10-24/configure b/src/contrib/libqxt-2007-10-24/configure deleted file mode 100755 index d194eea3..00000000 --- a/src/contrib/libqxt-2007-10-24/configure +++ /dev/null @@ -1,162 +0,0 @@ -#!/bin/bash - -#====some defaults==== -QMAKE_BIN=qmake -WHICH=which - -NO_OPENSSL=0 -NO_FFMPEG=0 - -if uname -a | grep -iq Darwin; then - DEFAULT_LIBS="/Library/Frameworks" - QMAKE_PARAMS="-spec macx-g++" -else - DEFAULT_LIBS="PREFIX/lib" - QMAKE_PARAMS="" -fi - -# the directory of this script (the root) -PROJECT_ROOT=`dirname $0` -PROJECT_ROOT=`(cd "$relpath"; /bin/pwd)` -TESTDIR=$PROJECT_ROOT/config.tests -CONFIG_LOG=$PROJECT_ROOT/config.log - -# Define some colors for neat output -C_RED='\e[1;31m' -C_BLUE='\e[1;34m' -C_GREEN='\e[1;32m' -C_CYAN='\e[1;36m' -C_NONE='\e[0m' # No Color - -#====parse configure options==== - -echo "QXT_stability += unknown" > config.in - -while (( $# > 0 )); do - if [ $1 == "-qmake-bin" ]; then - QMAKE_BIN=$2; shift - elif [ $1 == "-bootstrap" ]; then - echo "CONFIG += bootstrap" >> config.in; shift - elif [ $1 == "-nomake" ]; then - echo "QXT_BUILD -= $2" >> config.in; shift - elif [ $1 == "-prefix" ]; then - echo "QXTINSTALLDIR = $2" >> config.in; shift - elif [ $1 == "-libdir" ]; then - echo "target.path = $2" >> config.in; shift - elif [ $1 == "-docdir" ]; then - echo "docs.path = $2" >> config.in; shift - elif [ $1 == "-headerdir" ]; then - echo "include.path = $2" >> config.in; shift - elif [ $1 == "-bindir" ]; then - echo "bin.path = $2" >> config.in; shift - elif [ $1 == "-static" ]; then - echo "CONFIG += static staticlib" >> config.in - elif [ $1 == "-debug" ]; then - echo "CONFIG += debug" >> config.in - elif [ $1 == "-release" ]; then - echo "CONFIG += release" >> config.in - elif [ $1 == "-no-openssl" ]; then - echo "QXT_LIBS -= openssl" >> config.in - NO_OPENSSL=1 - elif [ $1 == "-help" ] || [ $1 == "--help" ]; then - echo "Usage: configure [-prefix ] [-libdir ] [-docdir ]" - echo " [-bindir ] [-headerdir ] [-qmake-bin ]" - echo " [-static] [-debug] [-release] [-no-openssl] [-nomake ]" - echo - echo "Installation options:" - echo - echo "-prefix ....... This will install everything relative to " - echo " default: /usr/local/Qxt" - echo "-libdir ....... Libraries will be installed to " - echo " default: $DEFAULT_LIBS" - echo "-docdir ....... Documentation will be installed to " - echo " default: PREFIX/share/doc" - echo "-bindir ....... Executables will be installed to " - echo " default: PREFIX/bin" - echo "-headerdir .... Include files will be installed to " - echo " default: PREFIX/include" - echo "-qmake-bin ... Specifies the path to the qmake executable" - echo " default: search the system path" - echo "-static ............. Compile Qxt as a static library" - echo "-debug .............. Build Qxt with debugging symbols" - echo "-release ............ Build Qxt without debugging support" - echo "-no-openssl ......... Do not link to OpenSSL" - echo "-nomake .... Do not compile the specified module" - echo " options: network gui sql media web designer" - echo "-bootstrap .......... That should not be needed for release versions." - echo " warning: will only work on bash > 3.2" - - rm config.in - exit - else - echo "Unrecognized configure option: $1" - rm config.in - exit - fi - shift -done - -#====begin some autodetection==== ->$CONFIG_LOG - -# qmake? -if ! $WHICH $QMAKE_BIN >>$CONFIG_LOG 2>&1; then - echo >&2 "You don't seem to have 'qmake' in your PATH." - echo >&2 "Cannot proceed." - exit 1 -fi - -# find a make command -if [ -z "$MAKE" ]; then - MAKE= - for mk in gmake make; do - if "$WHICH" $mk | grep -qv "no "; then - MAKE=`$WHICH $mk` - break - fi - done - if [ -z "$MAKE" ]; then - echo >&2 "You don't seem to have 'make' or 'gmake' in your PATH." - echo >&2 "Cannot proceed." - exit 1 - fi -fi - -configtest() -{ - echo -en "checking for $1\t" - echo -e " \n\n $1\n" >>$CONFIG_LOG - cd $TESTDIR/$1 - $QMAKE_BIN $QMAKE_PARAMS >>$CONFIG_LOG 2>&1 - echo -n "." - $MAKE clean >>$CONFIG_LOG 2>&1 - [ -f ./$1 ] && rm ./$1 - echo -n "." - $MAKE >>$CONFIG_LOG 2>&1 - echo -n "." - if ./$1 >>$CONFIG_LOG 2>&1; then - echo -e >&2 " [${C_GREEN}success${C_NONE}] " - echo "DEFINES+=HAVE_$2">>$PROJECT_ROOT/config.in - else - echo -e >&2 " [${C_RED}failure${C_NONE}] " - fi -} - -configtest qt4 QT -if [[ "$NO_OPENSSL" == "0" ]]; then - configtest openssl OPENSSL -fi -#configtest curses CURSES -configtest fcgi FCGI - - -#====finaly running qmake==== -echo "autodetection finished. running qmake." -cd $PROJECT_ROOT - -[ -f config.pri ] && mv config.pri config.pri.bak -mv config.in config.pri - -$QMAKE_BIN $QMAKE_PARAMS -recursive 2>>$CONFIG_LOG - -echo -e >&2 "${C_CYAN}configure finished. run $MAKE now.${C_NONE}\n" diff --git a/src/contrib/libqxt-2007-10-24/configure.bat b/src/contrib/libqxt-2007-10-24/configure.bat deleted file mode 100644 index 29b7b87c..00000000 --- a/src/contrib/libqxt-2007-10-24/configure.bat +++ /dev/null @@ -1,253 +0,0 @@ -@ECHO off -SET QMAKE=qmake -SET MAKE=nmake -SET PROJECT_ROOT=%CD% -SET TESTDIR=%PROJECT_ROOT%\config.tests -SET CONFIG_LOG=config.log -SET LAST_FUNC_RET=0 - -if exist %PROJECT_ROOT%\config.in del %PROJECT_ROOT%\config.in -if exist %PROJECT_ROOT%\config.log del %PROJECT_ROOT%\config.log -if exist %PROJECT_ROOT%\depends.pri del %PROJECT_ROOT%\depends.pri - -echo #depends.pri > %PROJECT_ROOT%\depends.pri - -shift -set QMAKEBIN=qmake -set MSVCMODE= -set OPENSSL=1 -set FCGI=1 -echo include(depends.pri) > %PROJECT_ROOT%\config.in -echo QXT_stability += unknown >> %PROJECT_ROOT%\config.in - -:top -if "%0" == "" goto finish -if "%0" == "-qmake-bin" goto setqmake -if "%0" == "-I" goto addinclude -if "%0" == "-L" goto addlibpath -if "%0" == "-l" goto addlib -if "%0" == "-nomake" goto nomake -if "%0" == "-prefix" goto prefix -if "%0" == "-libdir" goto libdir -if "%0" == "-docdir" goto docdir -if "%0" == "-headerdir" goto headerdir -if "%0" == "-bindir" goto bindir -if "%0" == "-static" goto static -if "%0" == "-debug" goto debug -if "%0" == "-release" goto release -if "%0" == "-no-openssl" goto noopenssl -if "%0" == "-msvc" goto msvc -if "%0" == "/help" goto help -if "%0" == "-help" goto help -if "%0" == "--help" goto help -if "%0" == "/?" goto help - -echo Unrecognized configure option: %0 -del %PROJECT_ROOT%\config.in -goto end - -:setqmake -set QMAKEBIN=%1 -goto bottom2 - -:addinclude -echo INCLUDEPATH += "%1" >> %PROJECT_ROOT%\depends.pri -goto bottom2 - -:addlibpath -echo LIBS += -L"%1" >> %PROJECT_ROOT%\depends.pri -goto bottom2 - -:addlib -echo LIBS += -l"%1" >> %PROJECT_ROOT%\depends.pri -goto bottom2 - -:nomake -if "%1"=="fcgi" set FCGI=0 -echo QXT_BUILD -= %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:prefix -echo QXTINSTALLDIR = %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:libdir -echo target.path = %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:docdir -echo docs.path = %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:headerdir -echo include.path = %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:bindir -echo bin.path = %1 >> %PROJECT_ROOT%\config.in -goto bottom2 - -:static -echo CONFIG += static staticlib >> %PROJECT_ROOT%\config.in -goto bottom - -:debug -echo CONFIG += debug >> %PROJECT_ROOT%\config.in -goto bottom - -:release -echo CONFIG += release >> %PROJECT_ROOT%\config.in -goto bottom - -:noopenssl -set OPENSSL=0 -echo QXT_LIBS -= openssl >> %PROJECT_ROOT%\config.in -goto bottom - -:msvc -set MSVCMODE=-tp vc -goto bottom - -:bottom2 - shift -:bottom - shift -goto top - -:help - echo Usage: configure [-prefix (dir)] [-libdir (dir)] [-docdir (dir)] - echo [-bindir (dir)] [-headerdir (dir)] [-qmake-bin (path)] - echo [-static] [-debug] [-release] [-no-stability-unknown] - echo [-no-openssl] [-nomake (module)] [-msvc] - echo. - echo Installation options: - echo. - echo -prefix (dir) ....... This will install everything relative to (dir) - echo default: C:\libqxt - echo -libdir (dir) ....... Libraries will be installed to (dir) - echo default: PREFIX/lib - echo -docdir (dir) ....... Documentation will be installed to (dir) - echo default: PREFIX/share/doc - echo -bindir (dir) ....... Executables will be installed to (dir) - echo default: PREFIX/bin - echo -headerdir (dir) .... Include files will be installed to (dir) - echo default: PREFIX/include - echo -qmake-bin (path) ... Specifies the path to the qmake executable - echo default: search the system path - echo -L (path)............ Specifies the a additional library search path - echo -I (path)............ Specifies the a additional include search path - echo -l (path)............ Add a custom library - echo -static ............. Compile Qxt as a static library - echo -debug .............. Build Qxt with debugging symbols - echo -release ............ Build Qxt without debugging support - echo -no-openssl ......... Do not link to OpenSSL - echo -nomake (module) .... Do not compile the specified module - echo options: network gui sql media web designer - echo -msvc ............... Configure Qxt to use Microsoft Visual Studio - - del %PROJECT_ROOT%\config.in - goto end - -:finish -echo Testing for qmake... -qmake -v >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto qmakeERR -goto qmakeOK -:qmakeERR -echo You don't seem to have 'qmake' in your PATH. -echo Cannot proceed. -goto end - -:qmakeOK -if "%QMAKESPEC%" == "win32-msvc" goto testnmake -if "%QMAKESPEC%" == "win32-msvc.net" goto testnmake -if "%QMAKESPEC%" == "win32-msvc2005" goto testnmake - -:testmingw -echo Testing for mingw32-make... -call mingw32-make -v >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto testnmake -echo Using mingw32-make. -SET MAKE=mingw32-make -GOTO detectTools_end_test_make - -:testnmake -if "%QMAKESPEC%" == "win32-g++" goto testgmake -echo Testing for nmake... -call nmake /? >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto testgmake -echo Using nmake. -SET MAKE=nmake -GOTO detectTools_end_test_make - -:testgmake -echo Testing for GNU make... -call make -v >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto missingmake -echo Using GNU make. -SET MAKE=make -GOTO detectTools_end_test_make - -:missingmake -echo You don't seem to have 'mingw32-make', 'nmake' or 'make' in your PATH. -echo Cannot proceed. -goto end - -:detectTools_end_test_make -if "%OPENSSL%"=="0" goto detectfcgi -echo Testing for OpenSSL... -echo OpenSSL... >> %PROJECT_ROOT%\%CONFIG_LOG% -cd %TESTDIR%\openssl -%QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto opensslfailed -call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG% -call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto opensslfailed -set OPENSSL=1 -goto detectfcgi - -:opensslfailed -set OPENSSL=0 -echo QXT_LIBS -= openssl >> %PROJECT_ROOT%\config.in - -:detectfcgi -if "%FCGI%"=="0" goto skipfcgitest -echo Testing for FastCGI... -echo fcgi... >> %PROJECT_ROOT%\%CONFIG_LOG% -cd %TESTDIR%\fcgi -%QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto fcgifailed -call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG% -call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% -if errorlevel 1 goto fcgifailed -set FCGI=1 -goto alltestsok - -:fcgifailed -set FCGI=0 -echo QXT_BUILD -= fcgi >> %PROJECT_ROOT%\config.in - -:skipfcgitest -:alltestsok -cd %PROJECT_ROOT% - -echo Configuration successful. -if "%OPENSSL%"=="1" echo OpenSSL enabled. -if "%OPENSSL%"=="0" echo OpenSSL disabled. -if "%FCGI%"=="1" echo FastCGI enabled. -if "%FCGI%"=="0" echo FastCGI disabled. -echo Generating makefiles... -copy %PROJECT_ROOT%\config.pri %PROJECT_ROOT%\config.pri.bak >> %PROJECT_ROOT%\%CONFIG_LOG% -copy %PROJECT_ROOT%\config.in %PROJECT_ROOT%\config.pri >> %PROJECT_ROOT%\%CONFIG_LOG% -del %PROJECT_ROOT%\config.in >> %PROJECT_ROOT%\%CONFIG_LOG% -%QMAKE% %MSVCMODE% -recursive -if errorlevel 1 goto mainqmakeERR - -echo Makefiles generated. Run %MAKE% now. -goto end - -:mainqmakeERR -echo Error running qmake. Cannot proceed. -goto end - -:end diff --git a/src/contrib/libqxt-2007-10-24/cpl1.0.txt b/src/contrib/libqxt-2007-10-24/cpl1.0.txt deleted file mode 100644 index c448ea00..00000000 --- a/src/contrib/libqxt-2007-10-24/cpl1.0.txt +++ /dev/null @@ -1,213 +0,0 @@ - - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and -documentation distributed under this Agreement, and - -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or anyone -acting on such Contributor's behalf. Contributions do not include additions to -the Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) are not -derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and such -derivative works, in source code and object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed -Patents to make, use, sell, offer to sell, import and otherwise transfer the -Contribution of such Contributor, if any, in source code and object code form. -This patent license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, such -addition of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other combinations -which include the Contribution. No hardware per se is licensed hereunder. - -c) Recipient understands that although each Contributor grants the licenses -to its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other intellectual -property rights of any other entity. Each Contributor disclaims any liability to -Recipient for claims brought by any other entity based on infringement of -intellectual property rights or otherwise. As a condition to exercising the -rights and licenses granted hereunder, each Recipient hereby assumes sole -responsibility to secure any other intellectual property rights needed, if any. -For example, if a third party patent license is required to allow Recipient to -distribute the Program, it is Recipient's responsibility to acquire that license -before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright license set -forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its -own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title and -non-infringement, and implied warranties or conditions of merchantability and -fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are offered -by that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable manner on or -through a medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the -Program. - -Each Contributor must identify itself as the originator of its Contribution, if -any, in a manner that reasonably allows subsequent Recipients to identify the -originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, if -a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, damages -and costs (collectively "Losses") arising from claims, lawsuits and other legal -actions brought by a third party against the Indemnified Contributor to the -extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor to -control, and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may participate in -any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If that -Commercial Contributor then makes performance claims, or offers warranties -related to Product X, those performance claims and warranties are such -Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a court -requires any other Contributor to pay any damages as a result, the Commercial -Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, -NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each -Recipient is solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its exercise of -rights under this Agreement, including but not limited to the risks and costs of -program errors, compliance with applicable laws, damage to or loss of data, -programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable -law, it shall not affect the validity or enforceability of the remainder of the -terms of this Agreement, and without further action by the parties hereto, such -provision shall be reformed to the minimum extent necessary to make such -provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to -a patent applicable to software (including a cross-claim or counterclaim in a -lawsuit), then any patent licenses granted by that Contributor to such Recipient -under this Agreement shall terminate as of the date such litigation is filed. In -addition, if Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the Program -itself (excluding combinations of the Program with other software or hardware) -infringes such Recipient's patent(s), then such Recipient's rights granted under -Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to time. -No one other than the Agreement Steward has the right to modify this Agreement. -IBM is the initial Agreement Steward. IBM may assign the responsibility to serve -as the Agreement Steward to a suitable separate entity. Each new version of the -Agreement will be given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the Agreement -is published, Contributor may elect to distribute the Program (including its -Contributions) under the new version. Except as expressly stated in Sections -2(a) and 2(b) above, Recipient receives no rights or licenses to the -intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial in -any resulting litigation. diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtCore b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtCore deleted file mode 100644 index a6a10948..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtCore +++ /dev/null @@ -1,16 +0,0 @@ -#include "qxterror.h" -#include "qxtfifo.h" -#include "qxthypermacros.h" -#include "qxtnull.h" -#include "qxtnullable.h" -#include "qxtpimpl.h" -#include "qxtsemaphore.h" -#include "qxtstdio.h" -#include "qxttuple.h" -#include "qxtstdstreambufdevice.h" -#include "qxtsignalwaiter.h" -#include "qxtmetaobject.h" -#include "qxtjob.h" -#include "qxtslotjob.h" -#include "qxtpipe.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtError b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtError deleted file mode 100644 index 62c8d6e0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtError +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxterror.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFifo b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFifo deleted file mode 100644 index be9ec89b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFifo +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtfifo.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFileLock b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFileLock deleted file mode 100644 index 06102a9a..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFileLock +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtfilelock.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFuture b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFuture deleted file mode 100644 index be7e8aa5..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtFuture +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtslotjob.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtHyperMacros b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtHyperMacros deleted file mode 100644 index e43bd34d..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtHyperMacros +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxthypermacros.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtJob b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtJob deleted file mode 100644 index 59db6521..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtJob +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtjob.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtMetaObject b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtMetaObject deleted file mode 100644 index 143720e8..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtMetaObject +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtmetaobject.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNull b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNull deleted file mode 100644 index 69c635e6..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNull +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtnull.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNullable b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNullable deleted file mode 100644 index a08ca314..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtNullable +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtnullable.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPimpl b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPimpl deleted file mode 100644 index c65b019e..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPimpl +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtpimpl.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPipe b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPipe deleted file mode 100644 index ec7f5eba..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtPipe +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtpipe.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSemaphore b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSemaphore deleted file mode 100644 index cd1aba8b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSemaphore +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtsemaphore.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSignalWaiter b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSignalWaiter deleted file mode 100644 index 1796012f..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSignalWaiter +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtsignalwaiter.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSlotJob b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSlotJob deleted file mode 100644 index be7e8aa5..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtSlotJob +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtslotjob.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdStreambufDevice b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdStreambufDevice deleted file mode 100644 index 7266bf5d..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdStreambufDevice +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtstdstreambufdevice.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdio b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdio deleted file mode 100644 index b74c46bc..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtStdio +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtstdio.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtTuple b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtTuple deleted file mode 100644 index a379d239..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCore/QxtTuple +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttuple.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtBlowFish b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtBlowFish deleted file mode 100644 index b78dc0b0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtBlowFish +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtblowfish.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtCrypto b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtCrypto deleted file mode 100644 index 71cdfc03..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtCrypto +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxthash.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtHash b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtHash deleted file mode 100644 index 71cdfc03..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCrypto/QxtHash +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxthash.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCurses/QxtCurses b/src/contrib/libqxt-2007-10-24/deploy/include/QxtCurses/QxtCurses deleted file mode 100644 index 8b137891..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtCurses/QxtCurses +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtApplication b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtApplication deleted file mode 100644 index f69aaeff..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtApplication +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtapplication.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtCheckComboBox b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtCheckComboBox deleted file mode 100644 index 553811c7..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtCheckComboBox +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtcheckcombobox.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfigDialog b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfigDialog deleted file mode 100644 index 8ed98d4a..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfigDialog +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtconfigdialog.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfirmationMessage b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfirmationMessage deleted file mode 100644 index b5060cdf..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtConfirmationMessage +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtconfirmationmessage.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDesktopWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDesktopWidget deleted file mode 100644 index 6a8a5e4a..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDesktopWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtdesktopwidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDockWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDockWidget deleted file mode 100644 index 04a55790..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtDockWidget +++ /dev/null @@ -1 +0,0 @@ -#include "qxtdockwidget.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGroupBox b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGroupBox deleted file mode 100644 index a4c3f109..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGroupBox +++ /dev/null @@ -1 +0,0 @@ -#include "qxtgroupbox.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGui b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGui deleted file mode 100644 index 601c2e47..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtGui +++ /dev/null @@ -1,3 +0,0 @@ -#include "qxtgui.h" - - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtHeaderView b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtHeaderView deleted file mode 100644 index c79d6de4..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtHeaderView +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtheaderview.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtItemDelegate b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtItemDelegate deleted file mode 100644 index 1b4b81b5..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtItemDelegate +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtitemdelegate.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtLabel b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtLabel deleted file mode 100644 index e21fea5d..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtLabel +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtlabel.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidget deleted file mode 100644 index 9daade77..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtlistwidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidgetItem b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidgetItem deleted file mode 100644 index 0535d0fc..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtListWidgetItem +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtlistwidgetitem.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtNativeEventFilter b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtNativeEventFilter deleted file mode 100644 index 5a63c3d0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtNativeEventFilter +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtnativeeventfilter.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProgressLabel b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProgressLabel deleted file mode 100644 index 7b6bcd05..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProgressLabel +++ /dev/null @@ -1 +0,0 @@ -#include "qxtprogresslabel.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProxyStyle b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProxyStyle deleted file mode 100644 index 6ea8e846..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtProxyStyle +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtproxystyle.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtPushButton b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtPushButton deleted file mode 100644 index 70314dc2..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtPushButton +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtpushbutton.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtSpanSlider b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtSpanSlider deleted file mode 100644 index 690ef9d0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtSpanSlider +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtspanslider.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStars b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStars deleted file mode 100644 index ffc81346..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStars +++ /dev/null @@ -1 +0,0 @@ -#include "qxtstars.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringSpinBox b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringSpinBox deleted file mode 100644 index 6d4897f0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringSpinBox +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtstringspinbox.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringValidator b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringValidator deleted file mode 100644 index 87307647..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtStringValidator +++ /dev/null @@ -1 +0,0 @@ -#include "qxtstringvalidator.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTabWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTabWidget deleted file mode 100644 index 31e48c60..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTabWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttabwidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidget deleted file mode 100644 index 31a0bcc4..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttablewidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidgetItem b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidgetItem deleted file mode 100644 index 1b5bd531..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTableWidgetItem +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttablewidgetitem.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtToolTip b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtToolTip deleted file mode 100644 index d35b9a5d..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtToolTip +++ /dev/null @@ -1 +0,0 @@ -#include "qxttooltip.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidget deleted file mode 100644 index 2615c9bb..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttreewidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidgetItem b/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidgetItem deleted file mode 100644 index cfff2916..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtGui/QxtTreeWidgetItem +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxttreewidgetitem.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtCsvModel b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtCsvModel deleted file mode 100644 index 28441ea5..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtCsvModel +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtCsvModel.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtEventThread b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtEventThread deleted file mode 100644 index 4c3e4e36..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtEventThread +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtEventThread.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtKit b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtKit deleted file mode 100644 index e9a3a81f..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtKit +++ /dev/null @@ -1,7 +0,0 @@ - -#include "QxtSignalWaiter.h" -#include "QxtTrippleList.h" -#include "QxtPairList.h" -#include "QxtEventThread.h" -#include "QxtCsvModel.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtPairList b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtPairList deleted file mode 100644 index d3071706..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtPairList +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtPairList.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtSignalWaiter b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtSignalWaiter deleted file mode 100644 index 2eb5524b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtSignalWaiter +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtSignalWaiter.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtTrippleList b/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtTrippleList deleted file mode 100644 index 9e2a5c35..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtKit/QxtTrippleList +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtTrippleList.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVFile b/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVFile deleted file mode 100644 index 09da7615..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVFile +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtAVFile.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVPlayer b/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVPlayer deleted file mode 100644 index 5dc395ef..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtAVPlayer +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtAVPlayer.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtMedia b/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtMedia deleted file mode 100644 index 37cb5730..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtMedia +++ /dev/null @@ -1,4 +0,0 @@ - -#include "QxtAVPlayer.h" -#include "QxtRingBuffer.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtRingBuffer b/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtRingBuffer deleted file mode 100644 index d9c1cf2d..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtRingBuffer +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtRingBuffer.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtSdlWidget b/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtSdlWidget deleted file mode 100644 index e2f9827b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtMedia/QxtSdlWidget +++ /dev/null @@ -1,2 +0,0 @@ -#include "QxtSdlWidget.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtBlowFish b/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtBlowFish deleted file mode 100644 index b78dc0b0..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtBlowFish +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtblowfish.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNamedPipe b/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNamedPipe deleted file mode 100644 index e9c3fcac..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNamedPipe +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtnamedpipe.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNetwork b/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNetwork deleted file mode 100644 index 139597f9..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtNetwork +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtRPCPeer b/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtRPCPeer deleted file mode 100644 index f9a10c5f..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtNetwork/QxtRPCPeer +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtrpcpeer.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSql b/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSql deleted file mode 100644 index 139597f9..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSql +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackage b/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackage deleted file mode 100644 index bfb48432..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackage +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtsqlpackage.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackageModel b/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackageModel deleted file mode 100644 index c92590c2..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtSql/QxtSqlPackageModel +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtsqlpackagemodel.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtFcgiConnector b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtFcgiConnector deleted file mode 100644 index 65dd3a8a..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtFcgiConnector +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtfcgiconnector.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtHtmlTemplate b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtHtmlTemplate deleted file mode 100644 index 8493b086..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtHtmlTemplate +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxthtmltemplate.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtScgiConnector b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtScgiConnector deleted file mode 100644 index fcce3b4b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtScgiConnector +++ /dev/null @@ -1 +0,0 @@ -#include "qxtscgiconnector.h" diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWeb b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWeb deleted file mode 100644 index 2a5c789b..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWeb +++ /dev/null @@ -1,7 +0,0 @@ -#include "qxthtmltemplate.h" - -#include "qxtscgiconnector.h" -#include "qxtwebcontroller.h" - -#include "qxtwebcore.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebController b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebController deleted file mode 100644 index aad2d41f..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebController +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtwebcontroller.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebCore b/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebCore deleted file mode 100644 index bc9f162e..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/include/QxtWeb/QxtWebCore +++ /dev/null @@ -1,2 +0,0 @@ -#include "qxtwebcore.h" - diff --git a/src/contrib/libqxt-2007-10-24/deploy/qt/mox.prf b/src/contrib/libqxt-2007-10-24/deploy/qt/mox.prf deleted file mode 100644 index 14669077..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/qt/mox.prf +++ /dev/null @@ -1,21 +0,0 @@ -CONFIG+=qxt - -unix:MOX=$${QXTbin}mox -win32:MOX=$${QXTbin}mox.exe - - -mox.target = mox_metaball$${first(QMAKE_EXT_H)} -mox.output = mox_metaball$${first(QMAKE_EXT_H)} -mox.variable_out = HEADERS -mox.commands = $$MOX $$SOURCES -o mox_metaball$${first(QMAKE_EXT_H)} -mox.input = SOURCES -QMAKE_EXTRA_COMPILERS += mox - -mox_moc.CONFIG = moc_verify -mox_moc.dependency_type = TYPE_C -mox_moc.commands = $$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) mox_metaball$${first(QMAKE_EXT_H)} -o mox_metaball$${first(QMAKE_EXT_CPP)} -mox_moc.output = mox_metaball$${first(QMAKE_EXT_CPP)} -mox_moc.input = HEADERS -mox_moc.depends = mox_metaball$${first(QMAKE_EXT_H)} -mox_moc.variable_out = SOURCES -QMAKE_EXTRA_COMPILERS += mox_moc diff --git a/src/contrib/libqxt-2007-10-24/deploy/qt/qxt.prf.m b/src/contrib/libqxt-2007-10-24/deploy/qt/qxt.prf.m deleted file mode 100644 index a4a0484a..00000000 --- a/src/contrib/libqxt-2007-10-24/deploy/qt/qxt.prf.m +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - -#keep the space lines above. nsis needs them, as it can only override bytes - -isEmpty(QXTbase){ - unix:!macx: QXTbase = /usr/local/Qxt - win32: QXTbase = C:/libqxt - macx : -} - -isEmpty(QXTinclude): QXTinclude = $${QXTbase}/include/Qxt/ -isEmpty(QXTbin): QXTbin = $${QXTbase}/bin - -macx { - isEmpty(QXTlib): QXTlib = /Library/Frameworks -} - -!macx { - isEmpty(QXTlib): QXTlib = $${QXTbase}/lib -} - -INCLUDEPATH += $${QXTinclude} -unix:!macx:LIBS += -Wl,-rpath,$${QXTlib} -macx:LIBS += -F$${QXTlib} -LIBS += -L$${QXTlib} - - -contains(QXT, crypto) { - INCLUDEPATH += $${QXTinclude}/QxtCrypto - macx: INCLUDEPATH += $${QXTlib}/QxtCrypto.framework/HEADERS/ - macx: LIBS += -framework QxtCrypto - unix:!macx: LIBS += -lQxtCrypto - win32: LIBS += -lQxtCrypto0 - QXT += core -} -contains(QXT, curses) { - INCLUDEPATH += $${QXTinclude}/QxtCurses - macx: INCLUDEPATH += $${QXTlib}/QxtCurses.framework/HEADERS/ - macx: LIBS += -framework QxtCurses - unix:!macx: LIBS += -lQxtCurses - win32: LIBS += -lQxtCurses0 - QXT += core -} -contains(QXT, web) { - INCLUDEPATH += $${QXTinclude}/QxtWeb - macx: INCLUDEPATH += $${QXTlib}/QxtWeb.framework/HEADERS/ - macx: LIBS += -framework QxtWeb - unix:!macx: LIBS += -lQxtWeb - win32: LIBS += -lQxtWeb0 - QXT += core network - QT += network -} -contains(QXT, gui) { - INCLUDEPATH += $${QXTinclude}/QxtGui - macx: INCLUDEPATH += $${QXTlib}/QxtGui.framework/HEADERS/ - macx: LIBS += -framework QxtGui - unix:!macx: LIBS += -lQxtGui - win32: LIBS += -lQxtGui0 - QXT += core - QT += gui -} -contains(QXT, network) { - INCLUDEPATH += $${QXTinclude}/QxtNetwork - macx: INCLUDEPATH += $${QXTlib}/QxtNetwork.framework/HEADERS/ - macx: LIBS += -framework QxtNetwork - unix:!macx: LIBS += -lQxtNetwork - win32: LIBS += -lQxtNetwork0 - QXT += core - QT += network -} -contains(QXT, sql) { - INCLUDEPATH += $${QXTinclude}/QxtSql - macx: INCLUDEPATH += $${QXTlib}/QxtSql.framework/HEADERS/ - macx: LIBS += -framework QxtSql - unix:!macx: LIBS += -lQxtSql - win32: LIBS += -lQxtSql0 - QXT += core - QT += sql -} -contains(QXT, media) { - INCLUDEPATH += $${QXTinclude}/QxtMedia - macx: INCLUDEPATH += $${QXTlib}/QxtMedia.framework/HEADERS/ - macx: LIBS += -framework QxtMedia - unix:!macx: LIBS += -lQxtMedia - win32: LIBS += -lQxtMedia0 - QXT += core -} -contains(QXT, core) { - INCLUDEPATH += $${QXTinclude}/QxtCore - macx: INCLUDEPATH += $${QXTlib}/QxtCore.framework/HEADERS/ - macx: LIBS += -framework QxtCore - unix:!macx: LIBS += -lQxtCore - win32: LIBS += -lQxtCore0 -} - - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html deleted file mode 100644 index 30ed8304..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-enum.html +++ /dev/null @@ -1,114 +0,0 @@ -
-

Class Reference
- [ module] -

-
- - -

- - More... -

- -
 #include <>
- - - - - - - -
- - - -

Detailed Description

- -

- -

- - - - - - - -

Member Type Documentation

- -

enum QGraphicsScene::ItemIndexMethod

- - -

This enum describes the indexing algorithms QGraphicsScene provides for managing positional information about items on the scene.

- -

- - - - - - - - - - - - - - - - -
ConstantValueDescription
- QGraphicsScene::BspTreeIndex - - 0 - A Binary Space Partitioning tree is applied. All QGraphicsScene's item location algorithms are of an order close to logarithmic complexity, by making use of binary search. Adding, moving and removing items is logarithmic. This approach is best for static scenes (i.e., scenes where most items do not move). -
- - QGraphicsScene::NoIndex - - - -1 - No index is applied. Item location is of linear complexity, as all items on the scene are searched. Adding, moving and removing items, however, is done in constant time. This approach is ideal for dynamic scenes, where many items are added, moved or removed continuously. -
-

- - - - - - - -

Property Documentation

-

- - backgroundBrush : - QBrush -

- -

This property holds the background brush of the scene.

-

Set this property to changes the scene's background to a different color, gradient or texture. The default background brush is Qt::NoBrush. The background is drawn before (behind) the items.

- - // a blue background scene.setBackgroundBrush(Qt::blue); - -

Access functions:

-
    -
  • QBrush backgroundBrush () const
  • -
  • void setBackgroundBrush ( const QBrush & brush )
  • -
- - - - - - - -

Member Function Documentation

- -

- - QGraphicsScene::QGraphicsScene ( QObject * parent = 0 ) -

- - -

Constructs a QGraphicsScene object. The parent parameter is passed to QObject's constructor.

diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-impl.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-impl.html deleted file mode 100644 index 3aaad95b..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-impl.html +++ /dev/null @@ -1,6 +0,0 @@ -

- - -

- - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-members-unroll.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-members-unroll.html deleted file mode 100644 index 630fa7aa..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-members-unroll.html +++ /dev/null @@ -1,2 +0,0 @@ -
  • - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-members.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-members.html deleted file mode 100644 index f111be3c..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-members.html +++ /dev/null @@ -1,5 +0,0 @@ -

    List of All Members for

    - -
      - -
    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-property.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-property.html deleted file mode 100644 index 30ed8304..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-property.html +++ /dev/null @@ -1,114 +0,0 @@ -
    -

    Class Reference
    - [ module] -

    -
    - - -

    - - More... -

    - -
     #include <>
    - - - - - - - -
    - - - -

    Detailed Description

    - -

    - -

    - - - - - - - -

    Member Type Documentation

    - -

    enum QGraphicsScene::ItemIndexMethod

    - - -

    This enum describes the indexing algorithms QGraphicsScene provides for managing positional information about items on the scene.

    - -

    - - - - - - - - - - - - - - - - -
    ConstantValueDescription
    - QGraphicsScene::BspTreeIndex - - 0 - A Binary Space Partitioning tree is applied. All QGraphicsScene's item location algorithms are of an order close to logarithmic complexity, by making use of binary search. Adding, moving and removing items is logarithmic. This approach is best for static scenes (i.e., scenes where most items do not move). -
    - - QGraphicsScene::NoIndex - - - -1 - No index is applied. Item location is of linear complexity, as all items on the scene are searched. Adding, moving and removing items, however, is done in constant time. This approach is ideal for dynamic scenes, where many items are added, moved or removed continuously. -
    -

    - - - - - - - -

    Property Documentation

    -

    - - backgroundBrush : - QBrush -

    - -

    This property holds the background brush of the scene.

    -

    Set this property to changes the scene's background to a different color, gradient or texture. The default background brush is Qt::NoBrush. The background is drawn before (behind) the items.

    - - // a blue background scene.setBackgroundBrush(Qt::blue); - -

    Access functions:

    -
      -
    • QBrush backgroundBrush () const
    • -
    • void setBackgroundBrush ( const QBrush & brush )
    • -
    - - - - - - - -

    Member Function Documentation

    - -

    - - QGraphicsScene::QGraphicsScene ( QObject * parent = 0 ) -

    - - -

    Constructs a QGraphicsScene object. The parent parameter is passed to QObject's constructor.

    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-section-unroll.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-section-unroll.html deleted file mode 100644 index cb349832..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-section-unroll.html +++ /dev/null @@ -1 +0,0 @@ -
  • diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-section.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-section.html deleted file mode 100644 index 763a058b..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-section.html +++ /dev/null @@ -1,8 +0,0 @@ - -

    -
      - -
    -
      -
    • inherited from
    • -
    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class-unroll-inherits.html b/src/contrib/libqxt-2007-10-24/doctemplate/class-unroll-inherits.html deleted file mode 100644 index 9bb5bead..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class-unroll-inherits.html +++ /dev/null @@ -1,2 +0,0 @@ -

    Inherits .

    - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/class.html b/src/contrib/libqxt-2007-10-24/doctemplate/class.html deleted file mode 100644 index 0192e922..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/class.html +++ /dev/null @@ -1,31 +0,0 @@ -
    -

    - Class Reference
    - [ module] -

    -
    - - -

    - - More... -

    - -
     #include <>
    - - - - - - - -
    - - -

    Detailed Description

    -

    - -

    - -

    Member Documentation

    - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/classes-unroll.html b/src/contrib/libqxt-2007-10-24/doctemplate/classes-unroll.html deleted file mode 100644 index 480af69f..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/classes-unroll.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/classes.html b/src/contrib/libqxt-2007-10-24/doctemplate/classes.html deleted file mode 100644 index 2d392fc1..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/classes.html +++ /dev/null @@ -1,13 +0,0 @@ -
    -

    Qxt's Classes

    -
    - -
    -

    - - -
    -

    -
    - -

    See also Qxt's Modules.

    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/classic.css b/src/contrib/libqxt-2007-10-24/doctemplate/classic.css deleted file mode 100644 index 9c4ee169..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/classic.css +++ /dev/null @@ -1,181 +0,0 @@ -body -{ - color:#333; -} - - -#menu a -{ - display:inline; - color:#6FA013; -} -.sectionlist a,.reflink -{ - font-weight:bold; -} - -#propertylist li -{ - width:50%; - float:left; -} - - -br -{ - clear:both; -} - - -.highlight_normal -{ -} -.highlight_keywordtype -{ - font-weight:bold; - -} -.highlight_stringliteral -{ -} -.code -{ - font-size:0.9em; - padding: 10px; - border: #e7e7e7 1px solid; - background: #f1f1f1; - color: black; -} - -#classlist -{ -text-align:left; -} -#classlist th -{ -background:#ddd; -} - - -.descimg -{ - - - border: 1px solid #ddd; -} - - - - - - - - - - - - -/**by Trolltech*/ - -h3.fn,span.fn -{ - margin-left: 1cm; - text-indent: -1cm; -} - -a:link -{ - color: #6FA013; - text-decoration: none -} - -a:visited -{ - color: #6FA013; - text-decoration: none -} - -td.postheader -{ - font-family: sans-serif -} - -tr.address -{ - font-family: sans-serif -} - -body -{ - background: #ffffff; - color: black -} - -table tr.odd { - background: #f0f0f0; - color: black; -} - -table tr.even { - background: #e4e4e4; - color: black; -} - -table.annotated th { - padding: 3px; - text-align: left -} - -table.annotated td { - padding: 3px; -} - -table tr pre -{ - padding-top: none; - padding-bottom: none; - padding-left: none; - padding-right: none; - border: none; - background: none -} - -tr.qt-style -{ - background: #a2c511; - color: black -} - -body pre -{ - padding: 0.2em; - border: #e7e7e7 1px solid; - background: #f1f1f1; - color: black; -} - -span.preprocessor, span.preprocessor a -{ - color: darkblue; -} - -span.comment -{ - color: darkred; - font-style: italic -} - -span.string,span.char -{ - color: darkgreen; -} - -.subtitle -{ - font-size: 0.8em -} - -.small-subtitle -{ - font-size: 0.65em -} diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/index.html b/src/contrib/libqxt-2007-10-24/doctemplate/index.html deleted file mode 100644 index 1422f0ca..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/index.html +++ /dev/null @@ -1,11 +0,0 @@ -
    -

    Qxt Reference Documentation

    - -

    the Qt eXTension library, provides a suite of cross-platform utility classes to add functionality not readily available in the Qt toolkit by Trolltech, Inc.:

    - -

    our official irc channel is #qxt on irc.freenode.org

    -

    or subscribe to the Mailing List

    - - - -
    \ No newline at end of file diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/logo.png b/src/contrib/libqxt-2007-10-24/doctemplate/logo.png deleted file mode 100644 index 58ae9b4f..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/logo.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/module.html b/src/contrib/libqxt-2007-10-24/doctemplate/module.html deleted file mode 100644 index 2b548d36..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/module.html +++ /dev/null @@ -1,21 +0,0 @@ -
    -

    Module

    -
    - -

    - -

    - -
    -

    - - -
    -

    -
    - - - -

    Detailed Description

    -

    To include the definitions of all the module's classes, use the following directive:

    -
     #include <>
    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/modules-unroll.html b/src/contrib/libqxt-2007-10-24/doctemplate/modules-unroll.html deleted file mode 100644 index ea8c1f97..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/modules-unroll.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/modules.html b/src/contrib/libqxt-2007-10-24/doctemplate/modules.html deleted file mode 100644 index adf20aa1..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/modules.html +++ /dev/null @@ -1,27 +0,0 @@ -
    -

    Qxt's Modules

    -
    - -

    -Qxt consists of several modules, each of which lives in a separate library. -

    - -
    -

    - - -
    -

    -
    - - -

    If you use qmake to build your projects, you can tell qmake to link and include a specific module (this example uses core and gui) by adding the following line to your .pro file:

    - -
    CONFIG  += qxt
    QXT += core gui
    -

    On Windows, if you do not use qmake or the Qxt Integration -you have to -

      -
    1. add {libqxtinstalldir}\include\qxt\QxtCore to your include path
    2. -
    3. add the library QxtCore.lib to your project
    4. -
    -

    See also Qxt's Classes.

    diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qt.tag b/src/contrib/libqxt-2007-10-24/doctemplate/qt.tag deleted file mode 100644 index 8d5c8d84..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/qt.tag +++ /dev/null @@ -1,85448 +0,0 @@ - - - Q3Accel - q3accel.html - - Q3Accel - Q3Accel - ( QWidget * parent, const char * name = 0 ) - - - Q3Accel - Q3Accel-2 - ( QWidget * watch, QObject * parent, const char * name = 0 ) - - - activated - activated - ( int id ) - - - activatedAmbiguously - activatedAmbiguously - ( int id ) - - - clear - clear - () - - - connectItem - connectItem - ( int id, const QObject * receiver, const char * member ) - - - count - count - () - - - disconnectItem - disconnectItem - ( int id, const QObject * receiver, const char * member ) - - - findKey - findKey - ( const QKeySequence & key ) - - - insertItem - insertItem - ( const QKeySequence & key, int id = -1 ) - - - isEnabled - isEnabled - () - - - isItemEnabled - isItemEnabled - ( int id ) - - - key - key - ( int id ) - - - removeItem - removeItem - ( int id ) - - - setEnabled - setEnabled - ( bool enable ) - - - setItemEnabled - setItemEnabled - ( int id, bool enable ) - - - setWhatsThis - setWhatsThis - ( int id, const QString & text ) - - - shortcutKey - shortcutKey - ( const QString & str ) - - - whatsThis - whatsThis - ( int id ) - - - - Q3Action - q3action.html - - Q3Action - Q3Action - ( QObject * parent, const char * name = 0 ) - - - Q3Action - Q3Action-2 - ( const QString & menuText, QKeySequence accel, QObject * parent, const char * name = 0 ) - - - Q3Action - Q3Action-3 - ( const QIcon & icon, const QString & menuText, QKeySequence accel, QObject * parent, const char * name = 0 ) - - - Q3Action - Q3Action-4 - ( const QString & text, const QIcon & icon, const QString & menuText, QKeySequence accel, QObject * parent, const char * name = 0, bool toggle = false ) - - - Q3Action - Q3Action-5 - ( const QString & text, const QString & menuText, QKeySequence accel, QObject * parent, const char * name = 0, bool toggle = false ) - - - Q3Action - Q3Action-6 - ( QObject * parent, const char * name, bool toggle ) - - - activate - activate - () - - - activated - activated - () - - - addTo - addTo - ( QWidget * w ) - - - addedTo - addedTo - ( QWidget * actionWidget, QWidget * container ) - - - addedTo - addedTo-2 - ( int index, Q3PopupMenu * menu ) - - - removeFrom - removeFrom - ( QWidget * w ) - - - setDisabled - setDisabled - ( bool disable ) - - - toggle - toggle - () - - - toggled - toggled - ( bool on ) - - - - Q3ActionGroup - q3actiongroup.html - - Q3ActionGroup - Q3ActionGroup - ( QObject * parent, const char * name = 0 ) - - - Q3ActionGroup - Q3ActionGroup-2 - ( QObject * parent, const char * name, bool exclusive ) - - - activated - activated - ( Q3Action * action ) - - - add - add - ( Q3Action * action ) - - - addSeparator - addSeparator - () - - - addTo - addTo - ( QWidget * w ) - - - addedTo - addedTo - ( QWidget * actionWidget, QWidget * container, Q3Action * a ) - - - addedTo - addedTo-2 - ( int index, Q3PopupMenu * menu, Q3Action * a ) - - - insert - insert - ( Q3Action * action ) - - - selected - selected - ( Q3Action * action ) - - - - Q3AsciiCache - q3asciicache.html - - Q3AsciiCache - Q3AsciiCache - ( int maxCost = 100, int size = 17, bool caseSensitive = true, bool copyKeys = true ) - - - clear - clear - () - - - count - count - () - - - find - find - ( const char * k, bool ref = true ) - - - insert - insert - ( const char * k, const type * d, int c = 1, int p = 0 ) - - - isEmpty - isEmpty - () - - - maxCost - maxCost - () - - - remove - remove - ( const char * k ) - - - setMaxCost - setMaxCost - ( int m ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( const char * k ) - - - totalCost - totalCost - () - - - operator[] - operator-5b-5d - ( const char * k ) - - - - Q3AsciiCacheIterator - q3asciicacheiterator.html - - Q3AsciiCacheIterator - Q3AsciiCacheIterator - ( const Q3AsciiCache<type> & cache ) - - - Q3AsciiCacheIterator - Q3AsciiCacheIterator-2 - ( const Q3AsciiCacheIterator<type> & ci ) - - - atFirst - atFirst - () - - - atLast - atLast - () - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - toLast - toLast - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - operator-- - operator-- - () - - - operator-= - operator--eq - ( uint jump ) - - - operator= - operator-eq - ( const Q3AsciiCacheIterator<type> & ci ) - - - - Q3AsciiDict - q3asciidict.html - - Q3AsciiDict - Q3AsciiDict - ( int size = 17, bool caseSensitive = true, bool copyKeys = true ) - - - Q3AsciiDict - Q3AsciiDict-2 - ( const Q3AsciiDict<type> & dict ) - - - clear - clear - () - - - count - count - () - - - find - find - ( const char * key ) - - - insert - insert - ( const char * key, const type * item ) - - - isEmpty - isEmpty - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( const char * key ) - - - replace - replace - ( const char * key, const type * item ) - - - resize - resize - ( uint newsize ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( const char * key ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator= - operator-eq - ( const Q3AsciiDict<type> & dict ) - - - operator[] - operator-5b-5d - ( const char * key ) - - - - Q3AsciiDictIterator - q3asciidictiterator.html - - Q3AsciiDictIterator - Q3AsciiDictIterator - ( const Q3AsciiDict<type> & dict ) - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - - Q3Button - q3button.html - - Q3Button - Q3Button - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - drawButton - drawButton - ( QPainter * painter ) - - - drawButtonLabel - drawButtonLabel - ( QPainter * painter ) - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - - Q3ButtonGroup - q3buttongroup.html - - Q3ButtonGroup - Q3ButtonGroup - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3ButtonGroup - Q3ButtonGroup-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - Q3ButtonGroup - Q3ButtonGroup-3 - ( int strips, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - Q3ButtonGroup - Q3ButtonGroup-4 - ( int strips, Qt::Orientation orientation, const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - clicked - clicked - ( int id ) - - - count - count - () - - - find - find - ( int id ) - - - id - id - ( QAbstractButton * button ) - - - insert - insert - ( QAbstractButton * button, int id = -1 ) - - - pressed - pressed - ( int id ) - - - released - released - ( int id ) - - - remove - remove - ( QAbstractButton * button ) - - - selected - selected - () - - - - Q3Cache - q3cache.html - - Q3Cache - Q3Cache - ( int maxCost = 100, int size = 17, bool caseSensitive = true ) - - - clear - clear - () - - - count - count - () - - - find - find - ( const QString & k, bool ref = true ) - - - insert - insert - ( const QString & k, const type * d, int c = 1, int p = 0 ) - - - isEmpty - isEmpty - () - - - maxCost - maxCost - () - - - remove - remove - ( const QString & k ) - - - setMaxCost - setMaxCost - ( int m ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( const QString & k ) - - - totalCost - totalCost - () - - - operator[] - operator-5b-5d - ( const QString & k ) - - - - Q3CacheIterator - q3cacheiterator.html - - Q3CacheIterator - Q3CacheIterator - ( const Q3Cache<type> & cache ) - - - Q3CacheIterator - Q3CacheIterator-2 - ( const Q3CacheIterator<type> & ci ) - - - atFirst - atFirst - () - - - atLast - atLast - () - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - toLast - toLast - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - operator-- - operator-- - () - - - operator-= - operator--eq - ( uint jump ) - - - operator= - operator-eq - ( const Q3CacheIterator<type> & ci ) - - - - Q3Canvas - q3canvas.html - - Q3Canvas - Q3Canvas - ( QObject * parent = 0, const char * name = 0 ) - - - Q3Canvas - Q3Canvas-2 - ( int w, int h ) - - - Q3Canvas - Q3Canvas-3 - ( QPixmap p, int h, int v, int tilewidth, int tileheight ) - - - advance - advance - () - - - allItems - allItems - () - - - backgroundColor - backgroundColor - () - - - backgroundPixmap - backgroundPixmap - () - - - chunkSize - chunkSize - () - - - collisions - collisions - ( const QPoint & p ) - - - collisions - collisions-2 - ( const QRect & r ) - - - collisions - collisions-3 - ( const Q3PointArray & chunklist, const Q3CanvasItem * item, bool exact ) - - - drawArea - drawArea - ( const QRect & clip, QPainter * painter, bool dbuf = false ) - - - drawBackground - drawBackground - ( QPainter & painter, const QRect & clip ) - - - drawForeground - drawForeground - ( QPainter & painter, const QRect & clip ) - - - height - height - () - - - onCanvas - onCanvas - ( int x, int y ) - - - onCanvas - onCanvas-2 - ( const QPoint & p ) - - - rect - rect - () - - - resize - resize - ( int w, int h ) - - - resized - resized - () - - - retune - retune - ( int chunksze, int mxclusters = 100 ) - - - setAdvancePeriod - setAdvancePeriod - ( int ms ) - - - setAllChanged - setAllChanged - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & c ) - - - setBackgroundPixmap - setBackgroundPixmap - ( const QPixmap & p ) - - - setChanged - setChanged - ( const QRect & area ) - - - setDoubleBuffering - setDoubleBuffering - ( bool y ) - - - setTile - setTile - ( int x, int y, int tilenum ) - - - setTiles - setTiles - ( QPixmap p, int h, int v, int tilewidth, int tileheight ) - - - setUnchanged - setUnchanged - ( const QRect & area ) - - - setUpdatePeriod - setUpdatePeriod - ( int ms ) - - - size - size - () - - - tile - tile - ( int x, int y ) - - - tileHeight - tileHeight - () - - - tileWidth - tileWidth - () - - - tilesHorizontally - tilesHorizontally - () - - - tilesVertically - tilesVertically - () - - - update - update - () - - - validChunk - validChunk - ( int x, int y ) - - - validChunk - validChunk-2 - ( const QPoint & p ) - - - width - width - () - - - - Q3CanvasEllipse - q3canvasellipse.html - - Q3CanvasEllipse - Q3CanvasEllipse - ( Q3Canvas * canvas ) - - - Q3CanvasEllipse - Q3CanvasEllipse-2 - ( int width, int height, Q3Canvas * canvas ) - - - Q3CanvasEllipse - Q3CanvasEllipse-3 - ( int width, int height, int startangle, int angle, Q3Canvas * canvas ) - - - angleLength - angleLength - () - - - angleStart - angleStart - () - - - drawShape - drawShape - ( QPainter & p ) - - - height - height - () - - - rtti - rtti - () - - - setAngles - setAngles - ( int start, int length ) - - - setSize - setSize - ( int width, int height ) - - - width - width - () - - - active - active - () - - - enabled - enabled - () - - - selected - selected - () - - - visible - visible - () - - - - Q3CanvasItem - q3canvasitem.html - - RttiValues - RttiValues-enum - - - - Q3CanvasItem - Q3CanvasItem - ( Q3Canvas * canvas ) - - - advance - advance - ( int phase ) - - - animated - animated - () - - - boundingRect - boundingRect - () - - - boundingRectAdvanced - boundingRectAdvanced - () - - - canvas - canvas - () - - - collidesWith - collidesWith - ( const Q3CanvasItem * other ) - - - collisions - collisions - ( bool exact ) - - - draw - draw - ( QPainter & painter ) - - - hide - hide - () - - - isActive - isActive - () - - - isEnabled - isEnabled - () - - - isSelected - isSelected - () - - - isVisible - isVisible - () - - - move - move - ( double x, double y ) - - - moveBy - moveBy - ( double dx, double dy ) - - - rtti - rtti - () - - - setActive - setActive - ( bool yes ) - - - setAnimated - setAnimated - ( bool y ) - - - setCanvas - setCanvas - ( Q3Canvas * c ) - - - setEnabled - setEnabled - ( bool yes ) - - - setSelected - setSelected - ( bool yes ) - - - setVelocity - setVelocity - ( double vx, double vy ) - - - setVisible - setVisible - ( bool yes ) - - - setX - setX - ( double x ) - - - setXVelocity - setXVelocity - ( double vx ) - - - setY - setY - ( double y ) - - - setYVelocity - setYVelocity - ( double vy ) - - - setZ - setZ - ( double z ) - - - show - show - () - - - update - update - () - - - x - x - () - - - xVelocity - xVelocity - () - - - y - y - () - - - yVelocity - yVelocity - () - - - z - z - () - - - - Q3CanvasItemList - q3canvasitemlist.html - - operator+ - operator-2b - ( const Q3CanvasItemList & l ) - - - - Q3CanvasLine - q3canvasline.html - - Q3CanvasLine - Q3CanvasLine - ( Q3Canvas * canvas ) - - - endPoint - endPoint - () - - - rtti - rtti - () - - - setPoints - setPoints - ( int xa, int ya, int xb, int yb ) - - - startPoint - startPoint - () - - - - Q3CanvasPixmap - q3canvaspixmap.html - - Q3CanvasPixmap - Q3CanvasPixmap - ( const QString & datafilename ) - - - Q3CanvasPixmap - Q3CanvasPixmap-2 - ( const QImage & image ) - - - Q3CanvasPixmap - Q3CanvasPixmap-3 - ( const QPixmap & pm, const QPoint & offset ) - - - offsetX - offsetX - () - - - offsetY - offsetY - () - - - setOffset - setOffset - ( int x, int y ) - - - Q3CanvasPixmapArray - Q3CanvasPixmapArray-3 - ( Q3PtrList<QPixmap> list, Q3PtrList<QPoint> hotspots ) - - - operator! - operator-not - () - - - - Q3CanvasPixmapArray - q3canvaspixmaparray.html - - Q3CanvasPixmapArray - Q3CanvasPixmapArray - () - - - Q3CanvasPixmapArray - Q3CanvasPixmapArray-2 - ( const QString & datafilenamepattern, int fc = 0 ) - - - Q3CanvasPixmapArray - Q3CanvasPixmapArray-4 - ( Q3ValueList<QPixmap> list, Q3PointArray hotspots = Q3PointArray() - - - count - count - () - - - image - image - ( int i ) - - - isValid - isValid - () - - - readCollisionMasks - readCollisionMasks - ( const QString & filename ) - - - readPixmaps - readPixmaps - ( const QString & filenamepattern, int fc = 0 ) - - - setImage - setImage - ( int i, Q3CanvasPixmap * p ) - - - - Q3CanvasPolygon - q3canvaspolygon.html - - Q3CanvasPolygon - Q3CanvasPolygon - ( Q3Canvas * canvas ) - - - areaPoints - areaPoints - () - - - drawShape - drawShape - ( QPainter & p ) - - - points - points - () - - - rtti - rtti - () - - - setPoints - setPoints - ( Q3PointArray pa ) - - - - Q3CanvasPolygonalItem - q3canvaspolygonalitem.html - - Q3CanvasPolygonalItem - Q3CanvasPolygonalItem - ( Q3Canvas * canvas ) - - - areaPoints - areaPoints - () - - - areaPointsAdvanced - areaPointsAdvanced - () - - - boundingRect - boundingRect - () - - - brush - brush - () - - - draw - draw - ( QPainter & p ) - - - drawShape - drawShape - ( QPainter & p ) - - - invalidate - invalidate - () - - - isValid - isValid - () - - - pen - pen - () - - - rtti - rtti - () - - - setBrush - setBrush - ( QBrush b ) - - - setPen - setPen - ( QPen p ) - - - setWinding - setWinding - ( bool enable ) - - - winding - winding - () - - - - Q3CanvasRectangle - q3canvasrectangle.html - - Q3CanvasRectangle - Q3CanvasRectangle - ( Q3Canvas * canvas ) - - - Q3CanvasRectangle - Q3CanvasRectangle-2 - ( const QRect & r, Q3Canvas * canvas ) - - - Q3CanvasRectangle - Q3CanvasRectangle-3 - ( int x, int y, int width, int height, Q3Canvas * canvas ) - - - chunks - chunks - () - - - drawShape - drawShape - ( QPainter & p ) - - - height - height - () - - - rect - rect - () - - - rtti - rtti - () - - - setSize - setSize - ( int width, int height ) - - - size - size - () - - - width - width - () - - - - Q3CanvasSpline - q3canvasspline.html - - Q3CanvasSpline - Q3CanvasSpline - ( Q3Canvas * canvas ) - - - closed - closed - () - - - controlPoints - controlPoints - () - - - rtti - rtti - () - - - setControlPoints - setControlPoints - ( Q3PointArray ctrl, bool close = true ) - - - - Q3CanvasSprite - q3canvassprite.html - - FrameAnimationType - FrameAnimationType-enum - - - - Q3CanvasSprite - Q3CanvasSprite - ( Q3CanvasPixmapArray * a, Q3Canvas * canvas ) - - - advance - advance - ( int phase ) - - - bottomEdge - bottomEdge - () - - - bottomEdge - bottomEdge-2 - ( int ny ) - - - boundingRect - boundingRect - () - - - draw - draw - ( QPainter & painter ) - - - frame - frame - () - - - frameCount - frameCount - () - - - height - height - () - - - image - image - () - - - image - image-2 - ( int f ) - - - imageAdvanced - imageAdvanced - () - - - leftEdge - leftEdge - () - - - leftEdge - leftEdge-2 - ( int nx ) - - - move - move - ( double x, double y ) - - - move - move-2 - ( double nx, double ny, int nf ) - - - rightEdge - rightEdge - () - - - rightEdge - rightEdge-2 - ( int nx ) - - - rtti - rtti - () - - - setFrame - setFrame - ( int f ) - - - setFrameAnimation - setFrameAnimation - ( FrameAnimationType type = Cycle, int step = 1, int state = 0 ) - - - setSequence - setSequence - ( Q3CanvasPixmapArray * a ) - - - topEdge - topEdge - () - - - topEdge - topEdge-2 - ( int ny ) - - - width - width - () - - - - Q3CanvasText - q3canvastext.html - - Q3CanvasText - Q3CanvasText - ( Q3Canvas * canvas ) - - - Q3CanvasText - Q3CanvasText-2 - ( const QString & t, Q3Canvas * canvas ) - - - Q3CanvasText - Q3CanvasText-3 - ( const QString & t, QFont f, Q3Canvas * canvas ) - - - boundingRect - boundingRect - () - - - color - color - () - - - draw - draw - ( QPainter & painter ) - - - font - font - () - - - rtti - rtti - () - - - setColor - setColor - ( const QColor & c ) - - - setFont - setFont - ( const QFont & f ) - - - setText - setText - ( const QString & t ) - - - setTextFlags - setTextFlags - ( int f ) - - - text - text - () - - - textFlags - textFlags - () - - - - Q3CanvasView - q3canvasview.html - - Q3CanvasView - Q3CanvasView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - Q3CanvasView - Q3CanvasView-2 - ( Q3Canvas * canvas, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - canvas - canvas - () - - - drawContents - drawContents - ( QPainter * p, int cx, int cy, int cw, int ch ) - - - inverseWorldMatrix - inverseWorldMatrix - () - - - setCanvas - setCanvas - ( Q3Canvas * canvas ) - - - setWorldMatrix - setWorldMatrix - ( const QMatrix & wm ) - - - sizeHint - sizeHint - () - - - worldMatrix - worldMatrix - () - - - - Q3CheckListItem - q3checklistitem.html - - ToggleState - ToggleState-enum - - - - Type - Type-enum - - - - Q3CheckListItem - Q3CheckListItem - ( Q3CheckListItem * parent, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-2 - ( Q3CheckListItem * parent, Q3ListViewItem * after, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-3 - ( Q3ListViewItem * parent, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-4 - ( Q3ListViewItem * parent, Q3ListViewItem * after, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-5 - ( Q3ListView * parent, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-6 - ( Q3ListView * parent, Q3ListViewItem * after, const QString & text, Type tt = RadioButtonController ) - - - Q3CheckListItem - Q3CheckListItem-7 - ( Q3ListViewItem * parent, const QString & text, const QPixmap & p ) - - - Q3CheckListItem - Q3CheckListItem-8 - ( Q3ListView * parent, const QString & text, const QPixmap & p ) - - - activate - activate - () - - - isOn - isOn - () - - - isTristate - isTristate - () - - - paintCell - paintCell - ( QPainter * p, const QColorGroup & cg, int column, int width, int align ) - - - paintFocus - paintFocus - ( QPainter * p, const QColorGroup & cg, const QRect & r ) - - - rtti - rtti - () - - - setOn - setOn - ( bool b ) - - - setState - setState - ( ToggleState s ) - - - setTristate - setTristate - ( bool b ) - - - state - state - () - - - stateChange - stateChange - ( bool b ) - - - text - text - () - - - turnOffChild - turnOffChild - () - - - type - type - () - - - - Q3CheckTableItem - q3checktableitem.html - - Q3CheckTableItem - Q3CheckTableItem - ( Q3Table * table, const QString & txt ) - - - isChecked - isChecked - () - - - rtti - rtti - () - - - setChecked - setChecked - ( bool b ) - - - - Q3ColorDrag - q3colordrag.html - - Q3ColorDrag - Q3ColorDrag - ( const QColor & col, QWidget * dragsource = 0, const char * name = 0 ) - - - Q3ColorDrag - Q3ColorDrag-2 - ( QWidget * dragsource = 0, const char * name = 0 ) - - - canDecode - canDecode - ( QMimeSource * source ) - - - decode - decode - ( QMimeSource * source, QColor & color ) - - - setColor - setColor - ( const QColor & color ) - - - - Q3ComboBox - q3combobox.html - - Policy - Policy-enum - - - - Q3ComboBox - Q3ComboBox - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3ComboBox - Q3ComboBox-2 - ( bool rw, QWidget * parent = 0, const char * name = 0 ) - - - activated - activated - ( int index ) - - - activated - activated-2 - ( const QString & string ) - - - autoResize - autoResize - () - - - changeItem - changeItem - ( const QString & t, int index ) - - - changeItem - changeItem-2 - ( const QPixmap & im, int index ) - - - changeItem - changeItem-3 - ( const QPixmap & im, const QString & t, int index ) - - - clear - clear - () - - - clearEdit - clearEdit - () - - - clearValidator - clearValidator - () - - - hide - hide - () - - - highlighted - highlighted - ( int index ) - - - highlighted - highlighted-2 - ( const QString & string ) - - - insertItem - insertItem - ( const QString & t, int index = -1 ) - - - insertItem - insertItem-2 - ( const QPixmap & pixmap, int index = -1 ) - - - insertItem - insertItem-3 - ( const QPixmap & pixmap, const QString & text, int index = -1 ) - - - insertStrList - insertStrList - ( const char ** strings, int numStrings = -1, int index = -1 ) - - - insertStrList - insertStrList-2 - ( const Q3StrList & list, int index = -1 ) - - - insertStrList - insertStrList-3 - ( const Q3StrList * list, int index = -1 ) - - - insertStringList - insertStringList - ( const QStringList & list, int index = -1 ) - - - lineEdit - lineEdit - () - - - listBox - listBox - () - - - pixmap - pixmap - ( int index ) - - - popup - popup - () - - - removeItem - removeItem - ( int index ) - - - setAutoResize - setAutoResize - ( bool enable ) - - - setEditText - setEditText - ( const QString & newText ) - - - setEnabled - setEnabled - ( bool enable ) - - - setFont - setFont - ( const QFont & font ) - - - setLineEdit - setLineEdit - ( QLineEdit * edit ) - - - setListBox - setListBox - ( Q3ListBox * newListBox ) - - - setPalette - setPalette - ( const QPalette & palette ) - - - setValidator - setValidator - ( const QValidator * v ) - - - text - text - ( int index ) - - - textChanged - textChanged - ( const QString & string ) - - - updateMask - updateMask - () - - - validator - validator - () - - - - Q3ComboTableItem - q3combotableitem.html - - Q3ComboTableItem - Q3ComboTableItem - ( Q3Table * table, const QStringList & list, bool editable = false ) - - - count - count - () - - - currentItem - currentItem - () - - - currentText - currentText - () - - - isEditable - isEditable - () - - - rtti - rtti - () - - - setCurrentItem - setCurrentItem - ( int i ) - - - setCurrentItem - setCurrentItem-2 - ( const QString & s ) - - - setEditable - setEditable - ( bool b ) - - - setStringList - setStringList - ( const QStringList & l ) - - - text - text - ( int i ) - - - - Q3CString - q3cstring.html - - Q3CString - Q3CString - () - - - Q3CString - Q3CString-2 - ( int size ) - - - Q3CString - Q3CString-3 - ( const Q3CString & s ) - - - Q3CString - Q3CString-4 - ( const QByteArray & ba ) - - - Q3CString - Q3CString-5 - ( const char * str ) - - - Q3CString - Q3CString-6 - ( const char * str, uint maxsize ) - - - append - append - ( const char * str ) - - - copy - copy - () - - - leftJustify - leftJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - lower - lower - () - - - rightJustify - rightJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - setExpand - setExpand - ( uint index, char c ) - - - setNum - setNum - ( double n, char f = 'g', int prec = 6 ) - - - setNum - setNum-2 - ( long n ) - - - setNum - setNum-3 - ( ulong n ) - - - setNum - setNum-4 - ( int n ) - - - setNum - setNum-5 - ( uint n ) - - - setNum - setNum-6 - ( short n ) - - - setNum - setNum-7 - ( ushort n ) - - - setNum - setNum-8 - ( float n, char f = 'g', int prec = 6 ) - - - setStr - setStr - ( const char * str ) - - - simplifyWhiteSpace - simplifyWhiteSpace - () - - - sprintf - sprintf - ( const char * format, ... ) - - - stripWhiteSpace - stripWhiteSpace - () - - - toDouble - toDouble - ( bool * ok = 0 ) - - - toFloat - toFloat - ( bool * ok = 0 ) - - - toInt - toInt - ( bool * ok = 0 ) - - - toLong - toLong - ( bool * ok = 0 ) - - - toShort - toShort - ( bool * ok = 0 ) - - - toUInt - toUInt - ( bool * ok = 0 ) - - - toULong - toULong - ( bool * ok = 0 ) - - - toUShort - toUShort - ( bool * ok = 0 ) - - - upper - upper - () - - - operator= - operator-eq - ( const Q3CString & s ) - - - operator= - operator-eq-2 - ( const QByteArray & ba ) - - - operator= - operator-eq-3 - ( const char * str ) - - - - Q3DataBrowser - q3databrowser.html - - Boundary - Boundary-enum - - - - Q3DataBrowser - Q3DataBrowser - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags fl = 0 ) - - - beforeDelete - beforeDelete - ( QSqlRecord * buf ) - - - beforeInsert - beforeInsert - ( QSqlRecord * buf ) - - - beforeUpdate - beforeUpdate - ( QSqlRecord * buf ) - - - boundary - boundary - () - - - clearValues - clearValues - () - - - Confirm - confirmCancel - Q3DataBrowser::confirmCancel( QSql::Op m ) - - - Confirm - confirmEdit - Q3DataBrowser::confirmEdit( QSql::Op m ) - - - currentChanged - currentChanged - ( const QSqlRecord * record ) - - - currentEdited - currentEdited - () - - - cursorChanged - cursorChanged - ( Q3SqlCursor::Mode mode ) - - - del - del - () - - - deleteCurrent - deleteCurrent - () - - - first - first - () - - - firstRecordAvailable - firstRecordAvailable - ( bool available ) - - - form - form - () - - - handleError - handleError - ( const QSqlError & error ) - - - insert - insert - () - - - insertCurrent - insertCurrent - () - - - last - last - () - - - lastRecordAvailable - lastRecordAvailable - ( bool available ) - - - next - next - () - - - nextRecordAvailable - nextRecordAvailable - ( bool available ) - - - prev - prev - () - - - prevRecordAvailable - prevRecordAvailable - ( bool available ) - - - primeDelete - primeDelete - ( QSqlRecord * buf ) - - - primeInsert - primeInsert - ( QSqlRecord * buf ) - - - primeUpdate - primeUpdate - ( QSqlRecord * buf ) - - - readFields - readFields - () - - - refresh - refresh - () - - - seek - seek - ( int i, bool relative = false ) - - - setForm - setForm - ( Q3SqlForm * form ) - - - setSqlCursor - setSqlCursor - ( Q3SqlCursor * cursor, bool autoDelete = false ) - - - sqlCursor - sqlCursor - () - - - update - update - () - - - updateBoundary - updateBoundary - () - - - updateCurrent - updateCurrent - () - - - writeFields - writeFields - () - - - - Q3DataTable - q3datatable.html - - Refresh - Refresh-enum - - - - DateFormat - dateFormat-prop - - - - Q3DataTable - Q3DataTable - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3DataTable - Q3DataTable-2 - ( Q3SqlCursor * cursor, bool autoPopulate = false, QWidget * parent = 0, const char * name = 0 ) - - - addColumn - addColumn - ( const QString & fieldName, const QString & label = QString() - - - adjustColumn - adjustColumn - ( int col ) - - - autoDelete - autoDelete - () - - - beforeDelete - beforeDelete - ( QSqlRecord * buf ) - - - beforeInsert - beforeInsert - ( QSqlRecord * buf ) - - - beforeUpdate - beforeUpdate - ( QSqlRecord * buf ) - - - beginInsert - beginInsert - () - - - beginUpdate - beginUpdate - ( int row, int col, bool replace ) - - - Confirm - confirmCancel - Q3DataTable::confirmCancel( QSql::Op m ) - - - Confirm - confirmEdit - Q3DataTable::confirmEdit( QSql::Op m ) - - - currentChanged - currentChanged - ( QSqlRecord * record ) - - - currentRecord - currentRecord - () - - - cursorChanged - cursorChanged - ( QSql::Op mode ) - - - deleteCurrent - deleteCurrent - () - - - fieldAlignment - fieldAlignment - ( const QSqlField * field ) - - - find - find - ( const QString & str, bool caseSensitive, bool backwards ) - - - handleError - handleError - ( const QSqlError & e ) - - - indexOf - indexOf - ( uint i ) - - - insertCurrent - insertCurrent - () - - - installEditorFactory - installEditorFactory - ( Q3SqlEditorFactory * f ) - - - installPropertyMap - installPropertyMap - ( Q3SqlPropertyMap * m ) - - - paintField - paintField - ( QPainter * p, const QSqlField * field, const QRect & cr, bool selected ) - - - primeDelete - primeDelete - ( QSqlRecord * buf ) - - - primeInsert - primeInsert - ( QSqlRecord * buf ) - - - primeUpdate - primeUpdate - ( QSqlRecord * buf ) - - - refresh - refresh - ( Refresh mode ) - - - refresh - refresh-2 - () - - - removeColumn - removeColumn - ( int col ) - - - repaintCell - repaintCell - ( int row, int col ) - - - reset - reset - () - - - setAutoDelete - setAutoDelete - ( bool enable ) - - - setColumn - setColumn - ( uint col, const QString & fieldName, const QString & label = QString() - - - setColumnWidth - setColumnWidth - ( int col, int w ) - - - setSize - setSize - ( Q3SqlCursor * sql ) - - - setSqlCursor - setSqlCursor - ( Q3SqlCursor * cursor = 0, bool autoPopulate = false, bool autoDelete = false ) - - - sortAscending - sortAscending - ( int col ) - - - sortColumn - sortColumn - ( int col, bool ascending = true, bool wholeRows = false ) - - - sortDescending - sortDescending - ( int col ) - - - sqlCursor - sqlCursor - () - - - text - text - ( int row, int col ) - - - updateCurrent - updateCurrent - () - - - value - value - ( int row, int col ) - - - - Q3DataView - q3dataview.html - - Q3DataView - Q3DataView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags fl = 0 ) - - - clearValues - clearValues - () - - - form - form - () - - - readFields - readFields - () - - - record - record - () - - - refresh - refresh - ( QSqlRecord * buf ) - - - setForm - setForm - ( Q3SqlForm * form ) - - - setRecord - setRecord - ( QSqlRecord * record ) - - - writeFields - writeFields - () - - - - Q3DateEdit - q3dateedit.html - - Order - Order-enum - - - - Q3DateEdit - Q3DateEdit - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3DateEdit - Q3DateEdit-2 - ( const QDate & date, QWidget * parent = 0, const char * name = 0 ) - - - fix - fix - () - - - sectionFormattedText - sectionFormattedText - ( int sec ) - - - separator - separator - () - - - setDay - setDay - ( int day ) - - - setMonth - setMonth - ( int month ) - - - setRange - setRange - ( const QDate & min, const QDate & max ) - - - setSeparator - setSeparator - ( const QString & s ) - - - setYear - setYear - ( int year ) - - - updateButtons - updateButtons - () - - - valueChanged - valueChanged - ( const QDate & date ) - - - - Q3DateTimeEdit - q3datetimeedit.html - - Q3DateTimeEdit - Q3DateTimeEdit - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3DateTimeEdit - Q3DateTimeEdit-2 - ( const QDateTime & datetime, QWidget * parent = 0, const char * name = 0 ) - - - autoAdvance - autoAdvance - () - - - dateEdit - dateEdit - () - - - setAutoAdvance - setAutoAdvance - ( bool advance ) - - - timeEdit - timeEdit - () - - - valueChanged - valueChanged - ( const QDateTime & datetime ) - - - - Q3DateTimeEditBase - q3datetimeeditbase.html - - - Q3DeepCopy - q3deepcopy.html - - Q3DeepCopy - Q3DeepCopy - () - - - Q3DeepCopy - Q3DeepCopy-2 - ( const T & t ) - - - operator - operator-T - T() - - - operator= - operator-eq - ( const T & t ) - - - - Q3Dict - q3dict.html - - Q3Dict - Q3Dict - ( int size = 17, bool caseSensitive = true ) - - - Q3Dict - Q3Dict-2 - ( const Q3Dict<type> & dict ) - - - clear - clear - () - - - count - count - () - - - find - find - ( const QString & key ) - - - insert - insert - ( const QString & key, const type * item ) - - - isEmpty - isEmpty - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( const QString & key ) - - - replace - replace - ( const QString & key, const type * item ) - - - resize - resize - ( uint newsize ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( const QString & key ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator= - operator-eq - ( const Q3Dict<type> & dict ) - - - operator[] - operator-5b-5d - ( const QString & key ) - - - - Q3DictIterator - q3dictiterator.html - - Q3DictIterator - Q3DictIterator - ( const Q3Dict<type> & dict ) - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - - Q3Dns - q3dns.html - - RecordType - RecordType-enum - - - - Q3Dns - Q3Dns - () - - - Q3Dns - Q3Dns-2 - ( const QString & label, RecordType rr = A ) - - - Q3Dns - Q3Dns-3 - ( const QHostAddress & address, RecordType rr = Ptr ) - - - addresses - addresses - () - - - canonicalName - canonicalName - () - - - hostNames - hostNames - () - - - isWorking - isWorking - () - - - label - label - () - - - mailServers - mailServers - () - - - qualifiedNames - qualifiedNames - () - - - recordType - recordType - () - - - resultsReady - resultsReady - () - - - servers - servers - () - - - setLabel - setLabel - ( const QString & label ) - - - setLabel - setLabel-2 - ( const QHostAddress & address ) - - - setRecordType - setRecordType - ( RecordType rr = A ) - - - texts - texts - () - - - - Q3DockArea - q3dockarea.html - - HandlePosition - HandlePosition-enum - - - - Orientation - orientation-prop - - - - Q3DockArea - Q3DockArea - ( Qt::Orientation o, HandlePosition h = Normal, QWidget * parent = 0, const char * name = 0 ) - - - dockWindowList - dockWindowList - () - - - hasDockWindow - hasDockWindow - ( Q3DockWindow * w, int * index = 0 ) - - - isDockWindowAccepted - isDockWindowAccepted - ( Q3DockWindow * dw ) - - - lineUp - lineUp - ( bool keepNewLines ) - - - moveDockWindow - moveDockWindow - ( Q3DockWindow * w, int index = -1 ) - - - moveDockWindow - moveDockWindow-2 - ( Q3DockWindow * w, const QPoint & p, const QRect & r, bool swap ) - - - removeDockWindow - removeDockWindow - ( Q3DockWindow * w, bool makeFloating, bool swap, bool fixNewLines = true ) - - - setAcceptDockWindow - setAcceptDockWindow - ( Q3DockWindow * dw, bool accept ) - - - - Q3DockWindow - q3dockwindow.html - - CloseMode - CloseMode-enum - - - - Place - Place-enum - - - - Q3DockWindow - Q3DockWindow - ( Place p = InDock, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - Q3DockWindow - Q3DockWindow-2 - ( QWidget * parent, const char * name = 0, Qt::WindowFlags f = 0 ) - - - area - area - () - - - boxLayout - boxLayout - () - - - dock - dock - () - - - fixedExtent - fixedExtent - () - - - isCloseEnabled - isCloseEnabled - () - - - isHorizontalStretchable - isHorizontalStretchable - () - - - isVerticalStretchable - isVerticalStretchable - () - - - Orientation - orientation - Q3DockWindow::orientation() - - - orientationChanged - orientationChanged - ( Qt::Orientation o ) - - - placeChanged - placeChanged - ( Q3DockWindow::Place p ) - - - setFixedExtentHeight - setFixedExtentHeight - ( int h ) - - - setFixedExtentWidth - setFixedExtentWidth - ( int w ) - - - setHorizontalStretchable - setHorizontalStretchable - ( bool b ) - - - setOrientation - setOrientation - ( Qt::Orientation o ) - - - setVerticalStretchable - setVerticalStretchable - ( bool b ) - - - setWidget - setWidget - ( QWidget * w ) - - - undock - undock - ( QWidget * widget ) - - - undock - undock-2 - () - - - visibilityChanged - visibilityChanged - ( bool visible ) - - - widget - widget - () - - - windowTitle - windowTitle - () - - - - Q3DragObject - q3dragobject.html - - DragMode - DragMode-enum - - - - Q3DragObject - Q3DragObject - ( QWidget * dragSource = 0, const char * name = 0 ) - - - drag - drag - () - - - drag - drag-2 - ( DragMode mode ) - - - dragCopy - dragCopy - () - - - dragLink - dragLink - () - - - dragMove - dragMove - () - - - pixmap - pixmap - () - - - pixmapHotSpot - pixmapHotSpot - () - - - setPixmap - setPixmap - ( QPixmap pm, const QPoint & hotspot ) - - - setPixmap - setPixmap-2 - ( QPixmap pm ) - - - source - source - () - - - target - target - () - - - - Q3DropSite - q3dropsite.html - - Q3DropSite - Q3DropSite - ( QWidget * self ) - - - - Q3EditorFactory - q3editorfactory.html - - Q3EditorFactory - Q3EditorFactory - ( QObject * parent = 0 ) - - - createEditor - createEditor - ( QWidget * parent, const QVariant & v ) - - - defaultFactory - defaultFactory - () - - - installDefaultFactory - installDefaultFactory - ( Q3EditorFactory * factory ) - - - - Q3FileDialog - q3filedialog.html - - Mode - Mode-enum - - - - PreviewMode - PreviewMode-enum - - - - ViewMode - ViewMode-enum - - - - Q3FileDialog - Q3FileDialog - ( const QString & dirName, const QString & filter = QString() - - - Q3FileDialog - Q3FileDialog-2 - ( QWidget * parent = 0, const char * name = 0, bool modal = false ) - - - addFilter - addFilter - ( const QString & filter ) - - - addLeftWidget - addLeftWidget - ( QWidget * w ) - - - addRightWidget - addRightWidget - ( QWidget * w ) - - - addToolButton - addToolButton - ( QAbstractButton * b, bool separator = false ) - - - addWidgets - addWidgets - ( QLabel * l, QWidget * w, QPushButton * b ) - - - dir - dir - () - - - dirEntered - dirEntered - ( const QString & directory ) - - - fileHighlighted - fileHighlighted - ( const QString & file ) - - - fileSelected - fileSelected - ( const QString & file ) - - - filesSelected - filesSelected - ( const QStringList & files ) - - - filterSelected - filterSelected - ( const QString & filter ) - - - getExistingDirectory - getExistingDirectory - ( const QString & dir = QString() - - - getOpenFileName - getOpenFileName - ( const QString & startWith = QString() - - - getOpenFileNames - getOpenFileNames - ( const QString & filter = QString() - - - getSaveFileName - getSaveFileName - ( const QString & startWith = QString() - - - iconProvider - iconProvider - () - - - rereadDir - rereadDir - () - - - resortDir - resortDir - () - - - selectAll - selectAll - ( bool b ) - - - setContentsPreview - setContentsPreview - ( QWidget * w, Q3FilePreview * preview ) - - - setDir - setDir - ( const QDir & dir ) - - - setDir - setDir-2 - ( const QString & pathstr ) - - - setFilter - setFilter - ( const QString & newFilter ) - - - setFilters - setFilters - ( const QString & filters ) - - - setFilters - setFilters-2 - ( const char ** types ) - - - setFilters - setFilters-3 - ( const QStringList & types ) - - - setIconProvider - setIconProvider - ( Q3FileIconProvider * provider ) - - - setInfoPreview - setInfoPreview - ( QWidget * w, Q3FilePreview * preview ) - - - setSelectedFilter - setSelectedFilter - ( const QString & mask ) - - - setSelectedFilter - setSelectedFilter-2 - ( int n ) - - - setSelection - setSelection - ( const QString & filename ) - - - setUrl - setUrl - ( const Q3UrlOperator & url ) - - - url - url - () - - - - Q3FileIconProvider - q3fileiconprovider.html - - Q3FileIconProvider - Q3FileIconProvider - ( QObject * parent = 0, const char * name = 0 ) - - - pixmap - pixmap - ( const QFileInfo & info ) - - - - Q3FilePreview - q3filepreview.html - - Q3FilePreview - Q3FilePreview - () - - - previewUrl - previewUrl - ( const Q3Url & url ) - - - - Q3Frame - q3frame.html - - Q3Frame - Q3Frame - ( QWidget * parent, const char * name = 0, Qt::WindowFlags f = 0 ) - - - drawContents - drawContents - ( QPainter * painter ) - - - drawFrame - drawFrame - ( QPainter * p ) - - - frameChanged - frameChanged - () - - - frameWidth - frameWidth - () - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - resizeEvent - resizeEvent - ( QResizeEvent * event ) - - - - Q3Ftp - q3ftp.html - - Command - Command-enum - - - - Error - Error-enum - - - - State - State-enum - - - - Q3Ftp - Q3Ftp - () - - - Q3Ftp - Q3Ftp-2 - ( QObject * parent, const char * name = 0 ) - - - abort - abort - () - - - bytesAvailable - bytesAvailable - () - - - cd - cd - ( const QString & dir ) - - - clearPendingCommands - clearPendingCommands - () - - - close - close - () - - - commandFinished - commandFinished - ( int id, bool error ) - - - commandStarted - commandStarted - ( int id ) - - - connectToHost - connectToHost - ( const QString & host, Q_UINT16 port = 21 ) - - - currentCommand - currentCommand - () - - - currentDevice - currentDevice - () - - - currentId - currentId - () - - - dataTransferProgress - dataTransferProgress - ( int done, int total ) - - - done - done - ( bool error ) - - - error - error - () - - - errorString - errorString - () - - - get - get - ( const QString & file, QIODevice * dev = 0 ) - - - hasPendingCommands - hasPendingCommands - () - - - list - list - ( const QString & dir = QString() - - - listInfo - listInfo - ( const QUrlInfo & i ) - - - login - login - ( const QString & user = QString() - - - mkdir - mkdir - ( const QString & dir ) - - - put - put - ( QIODevice * dev, const QString & file ) - - - put - put-2 - ( const QByteArray & data, const QString & file ) - - - rawCommand - rawCommand - ( const QString & command ) - - - rawCommandReply - rawCommandReply - ( int replyCode, const QString & detail ) - - - readAll - readAll - () - - - readBlock - readBlock - ( char * data, Q_ULONG maxlen ) - - - readyRead - readyRead - () - - - remove - remove - ( const QString & file ) - - - rename - rename - ( const QString & oldname, const QString & newname ) - - - rmdir - rmdir - ( const QString & dir ) - - - state - state - () - - - stateChanged - stateChanged - ( int state ) - - - - Q3Grid - q3grid.html - - Q3Grid - Q3Grid - ( int n, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - Q3Grid - Q3Grid-2 - ( int n, Qt::Orientation orient, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - setSpacing - setSpacing - ( int space ) - - - - Q3GridView - q3gridview.html - - Q3GridView - Q3GridView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - cellGeometry - cellGeometry - ( int row, int column ) - - - cellRect - cellRect - () - - - columnAt - columnAt - ( int x ) - - - dimensionChange - dimensionChange - ( int oldNumRows, int oldNumCols ) - - - ensureCellVisible - ensureCellVisible - ( int row, int column ) - - - gridSize - gridSize - () - - - paintCell - paintCell - ( QPainter * p, int row, int col ) - - - paintEmptyArea - paintEmptyArea - ( QPainter * p, int cx, int cy, int cw, int ch ) - - - repaintCell - repaintCell - ( int row, int column, bool erase = true ) - - - rowAt - rowAt - ( int y ) - - - updateCell - updateCell - ( int row, int column ) - - - - Q3GroupBox - q3groupbox.html - - Orientation - orientation-prop - - - - Q3GroupBox - Q3GroupBox - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3GroupBox - Q3GroupBox-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - Q3GroupBox - Q3GroupBox-3 - ( int strips, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - Q3GroupBox - Q3GroupBox-4 - ( int strips, Qt::Orientation orientation, const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - addSpace - addSpace - ( int size ) - - - frameStyle - frameStyle - () - - - insideMargin - insideMargin - () - - - insideSpacing - insideSpacing - () - - - setColumnLayout - setColumnLayout - ( int strips, Qt::Orientation direction ) - - - setFrameStyle - setFrameStyle - ( int style ) - - - setInsideMargin - setInsideMargin - ( int m ) - - - setInsideSpacing - setInsideSpacing - ( int s ) - - - - Q3HBox - q3hbox.html - - Q3HBox - Q3HBox - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - Q3HBox - Q3HBox-2 - ( bool horizontal, QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - setSpacing - setSpacing - ( int space ) - - - setStretchFactor - setStretchFactor - ( QWidget * w, int stretch ) - - - - Q3HButtonGroup - q3hbuttongroup.html - - Q3HButtonGroup - Q3HButtonGroup - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3HButtonGroup - Q3HButtonGroup-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - - Q3Header - q3header.html - - Orientation - orientation-prop - - - - Q3Header - Q3Header - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3Header - Q3Header-2 - ( int n, QWidget * parent = 0, const char * name = 0 ) - - - addLabel - addLabel - ( const QString & s, int size = -1 ) - - - addLabel - addLabel-2 - ( const QIcon & icon, const QString & s, int size = -1 ) - - - adjustHeaderSize - adjustHeaderSize - () - - - cellAt - cellAt - ( int pos ) - - - cellPos - cellPos - ( int i ) - - - cellSize - cellSize - ( int i ) - - - clicked - clicked - ( int section ) - - - headerWidth - headerWidth - () - - - iconSet - iconSet - ( int section ) - - - indexChange - indexChange - ( int section, int fromIndex, int toIndex ) - - - isClickEnabled - isClickEnabled - ( int section = -1 ) - - - isResizeEnabled - isResizeEnabled - ( int section = -1 ) - - - label - label - ( int section ) - - - mapToActual - mapToActual - ( int l ) - - - mapToIndex - mapToIndex - ( int section ) - - - mapToLogical - mapToLogical - ( int a ) - - - mapToSection - mapToSection - ( int index ) - - - moveCell - moveCell - ( int fromIdx, int toIdx ) - - - moveSection - moveSection - ( int section, int toIndex ) - - - moved - moved - ( int fromIndex, int toIndex ) - - - paintSection - paintSection - ( QPainter * p, int index, const QRect & fr ) - - - paintSectionLabel - paintSectionLabel - ( QPainter * p, int index, const QRect & fr ) - - - pressed - pressed - ( int section ) - - - released - released - ( int section ) - - - removeLabel - removeLabel - ( int section ) - - - resizeSection - resizeSection - ( int section, int s ) - - - sRect - sRect - ( int index ) - - - sectionAt - sectionAt - ( int pos ) - - - sectionClicked - sectionClicked - ( int index ) - - - sectionHandleDoubleClicked - sectionHandleDoubleClicked - ( int section ) - - - sectionPos - sectionPos - ( int section ) - - - sectionRect - sectionRect - ( int section ) - - - sectionSize - sectionSize - ( int section ) - - - setCellSize - setCellSize - ( int section, int s ) - - - setClickEnabled - setClickEnabled - ( bool enable, int section = -1 ) - - - setLabel - setLabel - ( int section, const QString & s, int size = -1 ) - - - setLabel - setLabel-2 - ( int section, const QIcon & icon, const QString & s, int size = -1 ) - - - setResizeEnabled - setResizeEnabled - ( bool enable, int section = -1 ) - - - setSortIndicator - setSortIndicator - ( int section, Qt::SortOrder order ) - - - setSortIndicator - setSortIndicator-2 - ( int section, bool ascending = true ) - - - sizeChange - sizeChange - ( int section, int oldSize, int newSize ) - - - SortOrder - sortIndicatorOrder - Q3Header::sortIndicatorOrder() - - - sortIndicatorSection - sortIndicatorSection - () - - - - Q3HGroupBox - q3hgroupbox.html - - Q3HGroupBox - Q3HGroupBox - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3HGroupBox - Q3HGroupBox-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - - Q3Http - q3http.html - - Error - Error-enum - - - - State - State-enum - - - - Q3Http - Q3Http - () - - - Q3Http - Q3Http-2 - ( QObject * parent, const char * name = 0 ) - - - Q3Http - Q3Http-3 - ( const QString & hostname, Q_UINT16 port = 80, QObject * parent = 0, const char * name = 0 ) - - - abort - abort - () - - - bytesAvailable - bytesAvailable - () - - - clearPendingRequests - clearPendingRequests - () - - - closeConnection - closeConnection - () - - - currentDestinationDevice - currentDestinationDevice - () - - - currentId - currentId - () - - - currentRequest - currentRequest - () - - - currentSourceDevice - currentSourceDevice - () - - - dataReadProgress - dataReadProgress - ( int done, int total ) - - - dataSendProgress - dataSendProgress - ( int done, int total ) - - - done - done - ( bool error ) - - - error - error - () - - - errorString - errorString - () - - - get - get - ( const QString & path, QIODevice * to = 0 ) - - - hasPendingRequests - hasPendingRequests - () - - - head - head - ( const QString & path ) - - - post - post - ( const QString & path, QIODevice * data, QIODevice * to = 0 ) - - - post - post-2 - ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) - - - readAll - readAll - () - - - readBlock - readBlock - ( char * data, Q_ULONG maxlen ) - - - readyRead - readyRead - ( const Q3HttpResponseHeader & resp ) - - - request - request - ( const Q3HttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) - - - request - request-2 - ( const Q3HttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) - - - requestFinished - requestFinished - ( int id, bool error ) - - - requestStarted - requestStarted - ( int id ) - - - responseHeaderReceived - responseHeaderReceived - ( const Q3HttpResponseHeader & resp ) - - - setHost - setHost - ( const QString & hostname, Q_UINT16 port = 80 ) - - - state - state - () - - - stateChanged - stateChanged - ( int state ) - - - - Q3HttpHeader - q3httpheader.html - - Q3HttpHeader - Q3HttpHeader - () - - - Q3HttpHeader - Q3HttpHeader-2 - ( const Q3HttpHeader & header ) - - - Q3HttpHeader - Q3HttpHeader-3 - ( const QString & str ) - - - contentLength - contentLength - () - - - contentType - contentType - () - - - hasContentLength - hasContentLength - () - - - hasContentType - hasContentType - () - - - hasKey - hasKey - ( const QString & key ) - - - isValid - isValid - () - - - keys - keys - () - - - majorVersion - majorVersion - () - - - minorVersion - minorVersion - () - - - removeValue - removeValue - ( const QString & key ) - - - setContentLength - setContentLength - ( int len ) - - - setContentType - setContentType - ( const QString & type ) - - - setValue - setValue - ( const QString & key, const QString & value ) - - - toString - toString - () - - - value - value - ( const QString & key ) - - - operator= - operator-eq - ( const Q3HttpHeader & h ) - - - - Q3HttpRequestHeader - q3httprequestheader.html - - Q3HttpRequestHeader - Q3HttpRequestHeader - () - - - Q3HttpRequestHeader - Q3HttpRequestHeader-2 - ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - - - Q3HttpRequestHeader - Q3HttpRequestHeader-3 - ( const Q3HttpRequestHeader & header ) - - - Q3HttpRequestHeader - Q3HttpRequestHeader-4 - ( const QString & str ) - - - majorVersion - majorVersion - () - - - method - method - () - - - minorVersion - minorVersion - () - - - path - path - () - - - setRequest - setRequest - ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - - - - Q3HttpResponseHeader - q3httpresponseheader.html - - Q3HttpResponseHeader - Q3HttpResponseHeader - () - - - Q3HttpResponseHeader - Q3HttpResponseHeader-4 - ( const Q3HttpResponseHeader & header ) - - - majorVersion - majorVersion - () - - - minorVersion - minorVersion - () - - - reasonPhrase - reasonPhrase - () - - - statusCode - statusCode - () - - - - Q3IconDrag - q3icondrag.html - - Q3IconDrag - Q3IconDrag - ( QWidget * dragSource, const char * name = 0 ) - - - append - append - ( const Q3IconDragItem & i, const QRect & pr, const QRect & tr ) - - - canDecode - canDecode - ( QMimeSource * e ) - - - encodedData - encodedData - ( const char * mime ) - - - - Q3IconDragItem - q3icondragitem.html - - Q3IconDragItem - Q3IconDragItem - () - - - data - data - () - - - setData - setData - ( const QByteArray & d ) - - - - Q3IconView - q3iconview.html - - Arrangement - Arrangement-enum - - - - ComparisonFlags - ComparisonFlags-typedef - - - - ItemTextPos - ItemTextPos-enum - - - - ResizeMode - ResizeMode-enum - - - - SelectionMode - SelectionMode-enum - - - - StringComparisonMode - StringComparisonMode-enum - - - - Q3IconView - Q3IconView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - adjustItems - adjustItems - () - - - arrangeItemsInGrid - arrangeItemsInGrid - ( const QSize & grid, bool update = true ) - - - arrangeItemsInGrid - arrangeItemsInGrid-2 - ( bool update = true ) - - - clear - clear - () - - - clearSelection - clearSelection - () - - - clicked - clicked - ( Q3IconViewItem * item ) - - - clicked - clicked-2 - ( Q3IconViewItem * item, const QPoint & pos ) - - - contextMenuRequested - contextMenuRequested - ( Q3IconViewItem * item, const QPoint & pos ) - - - currentChanged - currentChanged - ( Q3IconViewItem * item ) - - - currentItem - currentItem - () - - - doAutoScroll - doAutoScroll - () - - - doubleClicked - doubleClicked - ( Q3IconViewItem * item ) - - - dragObject - dragObject - () - - - drawBackground - drawBackground - ( QPainter * p, const QRect & r ) - - - drawRubber - drawRubber - ( QPainter * p ) - - - dropped - dropped - ( QDropEvent * e, const Q3ValueList<Q3IconDragItem> & lst ) - - - emitSelectionChanged - emitSelectionChanged - ( Q3IconViewItem * i = 0 ) - - - ensureItemVisible - ensureItemVisible - ( Q3IconViewItem * item ) - - - findFirstVisibleItem - findFirstVisibleItem - ( const QRect & r ) - - - findItem - findItem - ( const QPoint & pos ) - - - findItem - findItem-3 - ( const QString & text, ComparisonFlags compare = BeginsWith | Qt::CaseSensitive ) - - - findLastVisibleItem - findLastVisibleItem - ( const QRect & r ) - - - firstItem - firstItem - () - - - index - index - ( const Q3IconViewItem * item ) - - - insertInGrid - insertInGrid - ( Q3IconViewItem * item ) - - - insertItem - insertItem - ( Q3IconViewItem * item, Q3IconViewItem * after = 0L ) - - - invertSelection - invertSelection - () - - - isRenaming - isRenaming - () - - - itemRenamed - itemRenamed - ( Q3IconViewItem * item, const QString & name ) - - - itemRenamed - itemRenamed-2 - ( Q3IconViewItem * item ) - - - lastItem - lastItem - () - - - makeRowLayout - makeRowLayout - ( Q3IconViewItem * begin, int & y, bool & changed ) - - - mouseButtonClicked - mouseButtonClicked - ( int button, Q3IconViewItem * item, const QPoint & pos ) - - - mouseButtonPressed - mouseButtonPressed - ( int button, Q3IconViewItem * item, const QPoint & pos ) - - - moved - moved - () - - - onItem - onItem - ( Q3IconViewItem * item ) - - - onViewport - onViewport - () - - - pressed - pressed - ( Q3IconViewItem * item ) - - - pressed - pressed-2 - ( Q3IconViewItem * item, const QPoint & pos ) - - - repaintItem - repaintItem - ( Q3IconViewItem * item ) - - - repaintSelectedItems - repaintSelectedItems - () - - - returnPressed - returnPressed - ( Q3IconViewItem * item ) - - - rightButtonClicked - rightButtonClicked - ( Q3IconViewItem * item, const QPoint & pos ) - - - rightButtonPressed - rightButtonPressed - ( Q3IconViewItem * item, const QPoint & pos ) - - - selectAll - selectAll - ( bool select ) - - - selectionChanged - selectionChanged - () - - - selectionChanged - selectionChanged-2 - ( Q3IconViewItem * item ) - - - setCurrentItem - setCurrentItem - ( Q3IconViewItem * item ) - - - setSelected - setSelected - ( Q3IconViewItem * item, bool s, bool cb = false ) - - - setSorting - setSorting - ( bool sort, bool ascending = true ) - - - slotUpdate - slotUpdate - () - - - sort - sort - ( bool ascending = true ) - - - startDrag - startDrag - () - - - takeItem - takeItem - ( Q3IconViewItem * item ) - - - - Q3IconViewItem - q3iconviewitem.html - - Q3IconViewItem - Q3IconViewItem - ( Q3IconView * parent ) - - - Q3IconViewItem - Q3IconViewItem-2 - ( Q3IconView * parent, Q3IconViewItem * after ) - - - Q3IconViewItem - Q3IconViewItem-3 - ( Q3IconView * parent, const QString & text ) - - - Q3IconViewItem - Q3IconViewItem-4 - ( Q3IconView * parent, Q3IconViewItem * after, const QString & text ) - - - Q3IconViewItem - Q3IconViewItem-5 - ( Q3IconView * parent, const QString & text, const QPixmap & icon ) - - - Q3IconViewItem - Q3IconViewItem-6 - ( Q3IconView * parent, Q3IconViewItem * after, const QString & text, const QPixmap & icon ) - - - Q3IconViewItem - Q3IconViewItem-7 - ( Q3IconView * parent, const QString & text, const QPicture & picture ) - - - Q3IconViewItem - Q3IconViewItem-8 - ( Q3IconView * parent, Q3IconViewItem * after, const QString & text, const QPicture & picture ) - - - acceptDrop - acceptDrop - ( const QMimeSource * mime ) - - - calcRect - calcRect - ( const QString & text_ = QString() - - - compare - compare - ( Q3IconViewItem * i ) - - - contains - contains - ( const QPoint & pnt ) - - - dragEnabled - dragEnabled - () - - - dragEntered - dragEntered - () - - - dragLeft - dragLeft - () - - - dropEnabled - dropEnabled - () - - - dropped - dropped - ( QDropEvent * e, const Q3ValueList<Q3IconDragItem> & lst ) - - - height - height - () - - - iconView - iconView - () - - - index - index - () - - - intersects - intersects - ( const QRect & r ) - - - isSelectable - isSelectable - () - - - isSelected - isSelected - () - - - key - key - () - - - move - move - ( int x, int y ) - - - move - move-2 - ( const QPoint & pnt ) - - - moveBy - moveBy - ( int dx, int dy ) - - - moveBy - moveBy-2 - ( const QPoint & pnt ) - - - nextItem - nextItem - () - - - paintFocus - paintFocus - ( QPainter * p, const QColorGroup & cg ) - - - paintItem - paintItem - ( QPainter * p, const QColorGroup & cg ) - - - picture - picture - () - - - pixmap - pixmap - () - - - pixmapRect - pixmapRect - ( bool relative = true ) - - - pos - pos - () - - - prevItem - prevItem - () - - - rect - rect - () - - - removeRenameBox - removeRenameBox - () - - - rename - rename - () - - - renameEnabled - renameEnabled - () - - - repaint - repaint - () - - - rtti - rtti - () - - - setDragEnabled - setDragEnabled - ( bool allow ) - - - setDropEnabled - setDropEnabled - ( bool allow ) - - - setItemRect - setItemRect - ( const QRect & r ) - - - setKey - setKey - ( const QString & k ) - - - setPicture - setPicture - ( const QPicture & icon ) - - - setPixmap - setPixmap - ( const QPixmap & icon ) - - - setPixmap - setPixmap-2 - ( const QPixmap & icon, bool recalc, bool redraw = true ) - - - setPixmapRect - setPixmapRect - ( const QRect & r ) - - - setRenameEnabled - setRenameEnabled - ( bool allow ) - - - setSelectable - setSelectable - ( bool enable ) - - - setSelected - setSelected - ( bool s, bool cb ) - - - setSelected - setSelected-2 - ( bool s ) - - - setText - setText - ( const QString & text ) - - - setText - setText-2 - ( const QString & text, bool recalc, bool redraw = true ) - - - setTextRect - setTextRect - ( const QRect & r ) - - - size - size - () - - - text - text - () - - - textRect - textRect - ( bool relative = true ) - - - width - width - () - - - x - x - () - - - y - y - () - - - - Q3ImageDrag - q3imagedrag.html - - Q3ImageDrag - Q3ImageDrag - ( QImage image, QWidget * dragSource = 0, const char * name = 0 ) - - - Q3ImageDrag - Q3ImageDrag-2 - ( QWidget * dragSource = 0, const char * name = 0 ) - - - canDecode - canDecode - ( const QMimeSource * source ) - - - decode - decode - ( const QMimeSource * source, QImage & image ) - - - decode - decode-2 - ( const QMimeSource * source, QPixmap & pixmap ) - - - setImage - setImage - ( QImage image ) - - - - Q3IntCache - q3intcache.html - - Q3IntCache - Q3IntCache - ( int maxCost = 100, int size = 17 ) - - - clear - clear - () - - - count - count - () - - - find - find - ( long k, bool ref = true ) - - - insert - insert - ( long k, const type * d, int c = 1, int p = 0 ) - - - isEmpty - isEmpty - () - - - maxCost - maxCost - () - - - remove - remove - ( long k ) - - - setMaxCost - setMaxCost - ( int m ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( long k ) - - - totalCost - totalCost - () - - - operator[] - operator-5b-5d - ( long k ) - - - - Q3IntCacheIterator - q3intcacheiterator.html - - Q3IntCacheIterator - Q3IntCacheIterator - ( const Q3IntCache<type> & cache ) - - - Q3IntCacheIterator - Q3IntCacheIterator-2 - ( const Q3IntCacheIterator<type> & ci ) - - - atFirst - atFirst - () - - - atLast - atLast - () - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - toLast - toLast - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - operator-- - operator-- - () - - - operator-= - operator--eq - ( uint jump ) - - - operator= - operator-eq - ( const Q3IntCacheIterator<type> & ci ) - - - - Q3IntDict - q3intdict.html - - Q3IntDict - Q3IntDict - ( int size = 17 ) - - - Q3IntDict - Q3IntDict-2 - ( const Q3IntDict<type> & dict ) - - - clear - clear - () - - - count - count - () - - - find - find - ( long key ) - - - insert - insert - ( long key, const type * item ) - - - isEmpty - isEmpty - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( long key ) - - - replace - replace - ( long key, const type * item ) - - - resize - resize - ( uint newsize ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( long key ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator= - operator-eq - ( const Q3IntDict<type> & dict ) - - - operator[] - operator-5b-5d - ( long key ) - - - - Q3IntDictIterator - q3intdictiterator.html - - Q3IntDictIterator - Q3IntDictIterator - ( const Q3IntDict<type> & dict ) - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - - Q3ListBox - q3listbox.html - - ComparisonFlags - ComparisonFlags-typedef - - - - LayoutMode - LayoutMode-enum - - - - SelectionMode - SelectionMode-enum - - - - StringComparisonMode - StringComparisonMode-enum - - - - Q3ListBox - Q3ListBox - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - autoBottomScrollBar - autoBottomScrollBar - () - - - autoScroll - autoScroll - () - - - autoScrollBar - autoScrollBar - () - - - autoUpdate - autoUpdate - () - - - bottomScrollBar - bottomScrollBar - () - - - cellHeight - cellHeight - ( int i ) - - - cellHeight - cellHeight-2 - () - - - cellWidth - cellWidth - () - - - cellWidth - cellWidth-2 - ( int i ) - - - centerCurrentItem - centerCurrentItem - () - - - changeItem - changeItem - ( const Q3ListBoxItem * lbi, int index ) - - - changeItem - changeItem-2 - ( const QString & text, int index ) - - - changeItem - changeItem-3 - ( const QPixmap & pixmap, int index ) - - - changeItem - changeItem-4 - ( const QPixmap & pixmap, const QString & text, int index ) - - - clear - clear - () - - - clearSelection - clearSelection - () - - - clicked - clicked - ( Q3ListBoxItem * item ) - - - clicked - clicked-2 - ( Q3ListBoxItem * item, const QPoint & pnt ) - - - contextMenuRequested - contextMenuRequested - ( Q3ListBoxItem * item, const QPoint & pos ) - - - currentChanged - currentChanged - ( Q3ListBoxItem * item ) - - - doLayout - doLayout - () - - - doubleClicked - doubleClicked - ( Q3ListBoxItem * item ) - - - dragSelect - dragSelect - () - - - ensureCurrentVisible - ensureCurrentVisible - () - - - findItem - findItem - ( const QString & text, ComparisonFlags compare = BeginsWith ) - - - findItem - findItem-2 - ( int yPos ) - - - firstItem - firstItem - () - - - highlighted - highlighted - ( int index ) - - - highlighted - highlighted-2 - ( Q3ListBoxItem * item ) - - - highlighted - highlighted-3 - ( const QString & text ) - - - inSort - inSort - ( const Q3ListBoxItem * lbi ) - - - inSort - inSort-2 - ( const QString & text ) - - - index - index - ( const Q3ListBoxItem * lbi ) - - - insertItem - insertItem - ( const Q3ListBoxItem * lbi, int index = -1 ) - - - insertItem - insertItem-2 - ( const Q3ListBoxItem * lbi, const Q3ListBoxItem * after ) - - - insertItem - insertItem-3 - ( const QString & text, int index = -1 ) - - - insertItem - insertItem-4 - ( const QPixmap & pixmap, int index = -1 ) - - - insertItem - insertItem-5 - ( const QPixmap & pixmap, const QString & text, int index = -1 ) - - - insertStrList - insertStrList - ( const char ** strings, int numStrings = -1, int index = -1 ) - - - insertStringList - insertStringList - ( const QStringList & list, int index = -1 ) - - - invertSelection - invertSelection - () - - - isRubberSelecting - isRubberSelecting - () - - - isSelected - isSelected - ( int i ) - - - isSelected - isSelected-2 - ( const Q3ListBoxItem * i ) - - - item - item - ( int index ) - - - itemAt - itemAt - ( const QPoint & p ) - - - itemHeight - itemHeight - ( int index = 0 ) - - - itemRect - itemRect - ( Q3ListBoxItem * item ) - - - itemVisible - itemVisible - ( int index ) - - - itemVisible - itemVisible-2 - ( const Q3ListBoxItem * item ) - - - maxItemWidth - maxItemWidth - () - - - mouseButtonClicked - mouseButtonClicked - ( int button, Q3ListBoxItem * item, const QPoint & pos ) - - - mouseButtonPressed - mouseButtonPressed - ( int button, Q3ListBoxItem * item, const QPoint & pos ) - - - numCols - numCols - () - - - onItem - onItem - ( Q3ListBoxItem * i ) - - - onViewport - onViewport - () - - - paintCell - paintCell - ( QPainter * p, int row, int col ) - - - pixmap - pixmap - ( int index ) - - - pressed - pressed - ( Q3ListBoxItem * item ) - - - pressed - pressed-2 - ( Q3ListBoxItem * item, const QPoint & pnt ) - - - removeItem - removeItem - ( int index ) - - - returnPressed - returnPressed - ( Q3ListBoxItem * item ) - - - rightButtonClicked - rightButtonClicked - ( Q3ListBoxItem * item, const QPoint & point ) - - - rightButtonPressed - rightButtonPressed - ( Q3ListBoxItem * item, const QPoint & point ) - - - scrollBar - scrollBar - () - - - selectAll - selectAll - ( bool select ) - - - selected - selected - ( int index ) - - - selected - selected-2 - ( Q3ListBoxItem * item ) - - - selected - selected-3 - ( const QString & text ) - - - selectedItem - selectedItem - () - - - selectionChanged - selectionChanged - () - - - selectionChanged - selectionChanged-2 - ( Q3ListBoxItem * item ) - - - setAutoBottomScrollBar - setAutoBottomScrollBar - ( bool enable ) - - - setAutoScroll - setAutoScroll - ( bool b ) - - - setAutoScrollBar - setAutoScrollBar - ( bool enable ) - - - setAutoUpdate - setAutoUpdate - ( bool b ) - - - setBottomItem - setBottomItem - ( int index ) - - - setBottomScrollBar - setBottomScrollBar - ( bool enable ) - - - setDragSelect - setDragSelect - ( bool b ) - - - setFixedVisibleLines - setFixedVisibleLines - ( int lines ) - - - setScrollBar - setScrollBar - ( bool enable ) - - - setSelected - setSelected - ( Q3ListBoxItem * item, bool select ) - - - setSelected - setSelected-2 - ( int index, bool select ) - - - setSmoothScrolling - setSmoothScrolling - ( bool b ) - - - smoothScrolling - smoothScrolling - () - - - sort - sort - ( bool ascending = true ) - - - takeItem - takeItem - ( const Q3ListBoxItem * item ) - - - text - text - ( int index ) - - - toggleCurrentItem - toggleCurrentItem - () - - - totalHeight - totalHeight - () - - - totalWidth - totalWidth - () - - - triggerUpdate - triggerUpdate - ( bool doLayout ) - - - updateCellWidth - updateCellWidth - () - - - updateItem - updateItem - ( int index ) - - - updateItem - updateItem-2 - ( Q3ListBoxItem * i ) - - - - Q3ListBoxItem - q3listboxitem.html - - Q3ListBoxItem - Q3ListBoxItem - ( Q3ListBox * listbox = 0 ) - - - Q3ListBoxItem - Q3ListBoxItem-2 - ( Q3ListBox * listbox, Q3ListBoxItem * after ) - - - current - current - () - - - height - height - ( const Q3ListBox * lb ) - - - isCurrent - isCurrent - () - - - isSelectable - isSelectable - () - - - isSelected - isSelected - () - - - listBox - listBox - () - - - next - next - () - - - paint - paint - ( QPainter * p ) - - - pixmap - pixmap - () - - - prev - prev - () - - - rtti - rtti - () - - - selected - selected - () - - - setCustomHighlighting - setCustomHighlighting - ( bool b ) - - - setSelectable - setSelectable - ( bool b ) - - - setText - setText - ( const QString & text ) - - - text - text - () - - - width - width - ( const Q3ListBox * lb ) - - - - Q3ListBoxPixmap - q3listboxpixmap.html - - Q3ListBoxPixmap - Q3ListBoxPixmap - ( Q3ListBox * listbox, const QPixmap & pixmap ) - - - Q3ListBoxPixmap - Q3ListBoxPixmap-2 - ( const QPixmap & pixmap ) - - - Q3ListBoxPixmap - Q3ListBoxPixmap-3 - ( Q3ListBox * listbox, const QPixmap & pixmap, Q3ListBoxItem * after ) - - - Q3ListBoxPixmap - Q3ListBoxPixmap-4 - ( Q3ListBox * listbox, const QPixmap & pix, const QString & text ) - - - Q3ListBoxPixmap - Q3ListBoxPixmap-5 - ( const QPixmap & pix, const QString & text ) - - - Q3ListBoxPixmap - Q3ListBoxPixmap-6 - ( Q3ListBox * listbox, const QPixmap & pix, const QString & text, Q3ListBoxItem * after ) - - - height - height - ( const Q3ListBox * lb ) - - - paint - paint - ( QPainter * painter ) - - - pixmap - pixmap - () - - - width - width - ( const Q3ListBox * lb ) - - - - Q3ListBoxText - q3listboxtext.html - - Q3ListBoxText - Q3ListBoxText - ( Q3ListBox * listbox, const QString & text = QString() - - - Q3ListBoxText - Q3ListBoxText-2 - ( const QString & text = QString() - - - Q3ListBoxText - Q3ListBoxText-3 - ( Q3ListBox * listbox, const QString & text, Q3ListBoxItem * after ) - - - height - height - ( const Q3ListBox * lb ) - - - paint - paint - ( QPainter * painter ) - - - width - width - ( const Q3ListBox * lb ) - - - - Q3ListView - q3listview.html - - ComparisonFlags - ComparisonFlags-typedef - - - - RenameAction - RenameAction-enum - - - - ResizeMode - ResizeMode-enum - - - - SelectionMode - SelectionMode-enum - - - - StringComparisonMode - StringComparisonMode-enum - - - - WidthMode - WidthMode-enum - - - - Q3ListView - Q3ListView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - addColumn - addColumn - ( const QString & label, int width = -1 ) - - - addColumn - addColumn-2 - ( const QIcon & icon, const QString & label, int width = -1 ) - - - adjustColumn - adjustColumn - ( int col ) - - - clear - clear - () - - - clearSelection - clearSelection - () - - - clicked - clicked - ( Q3ListViewItem * item ) - - - clicked - clicked-2 - ( Q3ListViewItem * item, const QPoint & pnt, int c ) - - - collapsed - collapsed - ( Q3ListViewItem * item ) - - - columnAlignment - columnAlignment - ( int column ) - - - columnText - columnText - ( int c ) - - - columnWidth - columnWidth - ( int c ) - - - columnWidthMode - columnWidthMode - ( int c ) - - - contentsMouseDoubleClickEvent - contentsMouseDoubleClickEvent - ( QMouseEvent * e ) - - - contentsMouseMoveEvent - contentsMouseMoveEvent - ( QMouseEvent * e ) - - - contentsMousePressEvent - contentsMousePressEvent - ( QMouseEvent * e ) - - - contentsMouseReleaseEvent - contentsMouseReleaseEvent - ( QMouseEvent * e ) - - - contextMenuRequested - contextMenuRequested - ( Q3ListViewItem * item, const QPoint & pos, int col ) - - - currentChanged - currentChanged - ( Q3ListViewItem * item ) - - - currentItem - currentItem - () - - - doAutoScroll - doAutoScroll - () - - - doubleClicked - doubleClicked - ( Q3ListViewItem * item ) - - - doubleClicked - doubleClicked-2 - ( Q3ListViewItem * item, const QPoint & point, int column ) - - - dragObject - dragObject - () - - - drawContentsOffset - drawContentsOffset - ( QPainter * p, int ox, int oy, int cx, int cy, int cw, int ch ) - - - dropped - dropped - ( QDropEvent * e ) - - - ensureItemVisible - ensureItemVisible - ( const Q3ListViewItem * i ) - - - eventFilter - eventFilter - ( QObject * o, QEvent * e ) - - - expanded - expanded - ( Q3ListViewItem * item ) - - - findItem - findItem - ( const QString & text, int column, ComparisonFlags compare = ExactMatch | Qt::CaseSensitive ) - - - firstChild - firstChild - () - - - header - header - () - - - hideColumn - hideColumn - ( int column ) - - - insertItem - insertItem - ( Q3ListViewItem * i ) - - - invertSelection - invertSelection - () - - - isOpen - isOpen - ( const Q3ListViewItem * item ) - - - isRenaming - isRenaming - () - - - isSelected - isSelected - ( const Q3ListViewItem * i ) - - - itemAt - itemAt - ( const QPoint & viewPos ) - - - itemPos - itemPos - ( const Q3ListViewItem * item ) - - - itemRect - itemRect - ( const Q3ListViewItem * item ) - - - itemRenamed - itemRenamed - ( Q3ListViewItem * item, int col, const QString & text ) - - - itemRenamed - itemRenamed-2 - ( Q3ListViewItem * item, int col ) - - - lastItem - lastItem - () - - - mouseButtonClicked - mouseButtonClicked - ( int button, Q3ListViewItem * item, const QPoint & pos, int c ) - - - mouseButtonPressed - mouseButtonPressed - ( int button, Q3ListViewItem * item, const QPoint & pos, int c ) - - - onItem - onItem - ( Q3ListViewItem * i ) - - - onViewport - onViewport - () - - - paintEmptyArea - paintEmptyArea - ( QPainter * p, const QRect & rect ) - - - pressed - pressed - ( Q3ListViewItem * item ) - - - pressed - pressed-2 - ( Q3ListViewItem * item, const QPoint & pnt, int c ) - - - removeColumn - removeColumn - ( int index ) - - - removeItem - removeItem - ( Q3ListViewItem * item ) - - - repaintItem - repaintItem - ( const Q3ListViewItem * item ) - - - resizeEvent - resizeEvent - ( QResizeEvent * e ) - - - returnPressed - returnPressed - ( Q3ListViewItem * item ) - - - rightButtonClicked - rightButtonClicked - ( Q3ListViewItem * item, const QPoint & point, int column ) - - - rightButtonPressed - rightButtonPressed - ( Q3ListViewItem * item, const QPoint & point, int column ) - - - selectAll - selectAll - ( bool select ) - - - selectedItem - selectedItem - () - - - selectionChanged - selectionChanged - () - - - selectionChanged - selectionChanged-2 - ( Q3ListViewItem * item ) - - - setColumnAlignment - setColumnAlignment - ( int column, int align ) - - - setColumnText - setColumnText - ( int column, const QString & label ) - - - setColumnText - setColumnText-2 - ( int column, const QIcon & icon, const QString & label ) - - - setColumnWidth - setColumnWidth - ( int column, int w ) - - - setColumnWidthMode - setColumnWidthMode - ( int c, WidthMode mode ) - - - setCurrentItem - setCurrentItem - ( Q3ListViewItem * i ) - - - setOpen - setOpen - ( Q3ListViewItem * item, bool open ) - - - setSelected - setSelected - ( Q3ListViewItem * item, bool selected ) - - - setSelectionAnchor - setSelectionAnchor - ( Q3ListViewItem * item ) - - - setSortColumn - setSortColumn - ( int column ) - - - setSortOrder - setSortOrder - ( Qt::SortOrder order ) - - - setSorting - setSorting - ( int column, bool ascending = true ) - - - sort - sort - () - - - sortColumn - sortColumn - () - - - SortOrder - sortOrder - Q3ListView::sortOrder() - - - spacePressed - spacePressed - ( Q3ListViewItem * item ) - - - startDrag - startDrag - () - - - takeItem - takeItem - ( Q3ListViewItem * i ) - - - triggerUpdate - triggerUpdate - () - - - updateContents - updateContents - () - - - - Q3ListViewItem - q3listviewitem.html - - Q3ListViewItem - Q3ListViewItem - ( Q3ListView * parent ) - - - Q3ListViewItem - Q3ListViewItem-2 - ( Q3ListViewItem * parent ) - - - Q3ListViewItem - Q3ListViewItem-3 - ( Q3ListView * parent, Q3ListViewItem * after ) - - - Q3ListViewItem - Q3ListViewItem-4 - ( Q3ListViewItem * parent, Q3ListViewItem * after ) - - - Q3ListViewItem - Q3ListViewItem-5 - ( Q3ListView * parent, const QString & label1, const QString & label2 = QString() - - - Q3ListViewItem - Q3ListViewItem-6 - ( Q3ListViewItem * parent, const QString & label1, const QString & label2 = QString() - - - Q3ListViewItem - Q3ListViewItem-7 - ( Q3ListView * parent, Q3ListViewItem * after, const QString & label1, const QString & label2 = QString() - - - Q3ListViewItem - Q3ListViewItem-8 - ( Q3ListViewItem * parent, Q3ListViewItem * after, const QString & label1, const QString & label2 = QString() - - - acceptDrop - acceptDrop - ( const QMimeSource * mime ) - - - activate - activate - () - - - activatedPos - activatedPos - ( QPoint & pos ) - - - cancelRename - cancelRename - ( int col ) - - - childCount - childCount - () - - - compare - compare - ( Q3ListViewItem * i, int col, bool ascending ) - - - depth - depth - () - - - dragEnabled - dragEnabled - () - - - dragEntered - dragEntered - () - - - dragLeft - dragLeft - () - - - dropEnabled - dropEnabled - () - - - dropped - dropped - ( QDropEvent * e ) - - - enforceSortOrder - enforceSortOrder - () - - - firstChild - firstChild - () - - - height - height - () - - - insertItem - insertItem - ( Q3ListViewItem * newChild ) - - - invalidateHeight - invalidateHeight - () - - - isEnabled - isEnabled - () - - - isExpandable - isExpandable - () - - - isOpen - isOpen - () - - - isSelectable - isSelectable - () - - - isSelected - isSelected - () - - - isVisible - isVisible - () - - - itemAbove - itemAbove - () - - - itemBelow - itemBelow - () - - - itemPos - itemPos - () - - - key - key - ( int column, bool ascending ) - - - listView - listView - () - - - moveItem - moveItem - ( Q3ListViewItem * after ) - - - multiLinesEnabled - multiLinesEnabled - () - - - nextSibling - nextSibling - () - - - okRename - okRename - ( int col ) - - - paintBranches - paintBranches - ( QPainter * p, const QColorGroup & cg, int w, int y, int h ) - - - paintCell - paintCell - ( QPainter * painter, const QColorGroup & cg, int column, int width, int align ) - - - paintFocus - paintFocus - ( QPainter * p, const QColorGroup & cg, const QRect & r ) - - - parent - parent - () - - - pixmap - pixmap - ( int column ) - - - removeItem - removeItem - ( Q3ListViewItem * item ) - - - renameEnabled - renameEnabled - ( int col ) - - - repaint - repaint - () - - - rtti - rtti - () - - - setDragEnabled - setDragEnabled - ( bool allow ) - - - setDropEnabled - setDropEnabled - ( bool allow ) - - - setEnabled - setEnabled - ( bool b ) - - - setExpandable - setExpandable - ( bool enable ) - - - setHeight - setHeight - ( int height ) - - - setMultiLinesEnabled - setMultiLinesEnabled - ( bool b ) - - - setOpen - setOpen - ( bool o ) - - - setPixmap - setPixmap - ( int column, const QPixmap & pm ) - - - setRenameEnabled - setRenameEnabled - ( int col, bool b ) - - - setSelectable - setSelectable - ( bool enable ) - - - setSelected - setSelected - ( bool s ) - - - setText - setText - ( int column, const QString & text ) - - - setVisible - setVisible - ( bool b ) - - - setup - setup - () - - - sort - sort - () - - - sortChildItems - sortChildItems - ( int column, bool ascending ) - - - startRename - startRename - ( int col ) - - - takeItem - takeItem - ( Q3ListViewItem * item ) - - - text - text - ( int column ) - - - totalHeight - totalHeight - () - - - width - width - ( const QFontMetrics & fm, const Q3ListView * lv, int c ) - - - widthChanged - widthChanged - ( int c = -1 ) - - - - Q3ListViewItemIterator - q3listviewitemiterator.html - - IteratorFlag - IteratorFlag-enum - - - - Q3ListViewItemIterator - Q3ListViewItemIterator - () - - - Q3ListViewItemIterator - Q3ListViewItemIterator-2 - ( Q3ListViewItem * item ) - - - Q3ListViewItemIterator - Q3ListViewItemIterator-3 - ( Q3ListViewItem * item, int iteratorFlags ) - - - Q3ListViewItemIterator - Q3ListViewItemIterator-4 - ( const Q3ListViewItemIterator & it ) - - - Q3ListViewItemIterator - Q3ListViewItemIterator-5 - ( Q3ListView * lv ) - - - Q3ListViewItemIterator - Q3ListViewItemIterator-6 - ( Q3ListView * lv, int iteratorFlags ) - - - current - current - () - - - operator* - operator-2a - () - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator= - operator-eq - ( const Q3ListViewItemIterator & it ) - - - - Q3LocalFs - q3localfs.html - - Q3LocalFs - Q3LocalFs - () - - - - Q3MainWindow - q3mainwindow.html - - DockWindows - DockWindows-enum - - - - Q3MainWindow - Q3MainWindow - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = Qt::WType_TopLevel ) - - - addDockWindow - addDockWindow - ( Q3DockWindow * dockWindow, Qt::Dock edge = Qt::DockTop, bool newLine = false ) - - - addDockWindow - addDockWindow-2 - ( Q3DockWindow * dockWindow, const QString & label, Qt::Dock edge = Qt::DockTop, bool newLine = false ) - - - addToolBar - addToolBar - ( Q3DockWindow * dockWindow, Qt::Dock position = Qt::DockTop, bool newLine = false ) - - - addToolBar - addToolBar-2 - ( Q3DockWindow * dockWindow, const QString & label, Qt::Dock position = Qt::DockTop, bool newLine = false ) - - - appropriate - appropriate - ( Q3DockWindow * dw ) - - - bottomDock - bottomDock - () - - - centralWidget - centralWidget - () - - - childEvent - childEvent - ( QChildEvent * e ) - - - createDockWindowMenu - createDockWindowMenu - ( DockWindows dockWindows = AllDockWindows ) - - - customize - customize - () - - - dockWindowPositionChanged - dockWindowPositionChanged - ( Q3DockWindow * dockWindow ) - - - dockWindows - dockWindows - ( Qt::Dock dock ) - - - dockWindows - dockWindows-2 - () - - - getLocation - getLocation - ( Q3DockWindow * dw, Qt::Dock & dock, int & index, bool & nl, int & extraOffset ) - - - hasDockWindow - hasDockWindow - ( Q3DockWindow * dw ) - - - isCustomizable - isCustomizable - () - - - isDockEnabled - isDockEnabled - ( Qt::Dock dock ) - - - isDockEnabled - isDockEnabled-2 - ( Q3DockArea * area ) - - - isDockEnabled - isDockEnabled-3 - ( Q3DockWindow * dw, Q3DockArea * area ) - - - isDockEnabled - isDockEnabled-4 - ( Q3DockWindow * tb, Qt::Dock dock ) - - - isDockMenuEnabled - isDockMenuEnabled - () - - - leftDock - leftDock - () - - - lineUpDockWindows - lineUpDockWindows - ( bool keepNewLines = false ) - - - lineUpToolBars - lineUpToolBars - ( bool keepNewLines = false ) - - - menuAboutToShow - menuAboutToShow - () - - - menuBar - menuBar - () - - - moveDockWindow - moveDockWindow - ( Q3DockWindow * dockWindow, Qt::Dock edge = Qt::DockTop ) - - - moveDockWindow - moveDockWindow-2 - ( Q3DockWindow * dockWindow, Qt::Dock edge, bool nl, int index, int extraOffset = -1 ) - - - moveToolBar - moveToolBar - ( Q3DockWindow * dockWindow, Qt::Dock position = Qt::DockTop ) - - - moveToolBar - moveToolBar-2 - ( Q3DockWindow * dockWindow, Qt::Dock position, bool nl, int index, int extraOffset = -1 ) - - - pixmapSizeChanged - pixmapSizeChanged - ( bool b ) - - - removeDockWindow - removeDockWindow - ( Q3DockWindow * dockWindow ) - - - removeToolBar - removeToolBar - ( Q3DockWindow * dockWindow ) - - - rightDock - rightDock - () - - - setAppropriate - setAppropriate - ( Q3DockWindow * dw, bool a ) - - - setCentralWidget - setCentralWidget - ( QWidget * w ) - - - setDockEnabled - setDockEnabled - ( Qt::Dock dock, bool enable ) - - - setDockEnabled - setDockEnabled-2 - ( Q3DockWindow * dw, Qt::Dock dock, bool enable ) - - - setDockMenuEnabled - setDockMenuEnabled - ( bool b ) - - - setToolBarsMovable - setToolBarsMovable - ( bool b ) - - - setUpLayout - setUpLayout - () - - - showDockMenu - showDockMenu - ( const QPoint & globalPos ) - - - statusBar - statusBar - () - - - toolBarPositionChanged - toolBarPositionChanged - ( Q3ToolBar * toolbar ) - - - toolBars - toolBars - ( Qt::Dock dock ) - - - toolBarsMovable - toolBarsMovable - () - - - topDock - topDock - () - - - usesTextLabelChanged - usesTextLabelChanged - ( bool b ) - - - whatsThis - whatsThis - () - - - - Q3MemArray - q3memarray.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - Q3MemArray - Q3MemArray - ( int arg1, int arg2 ) - - - Q3MemArray - Q3MemArray-2 - () - - - Q3MemArray - Q3MemArray-3 - ( int size ) - - - Q3MemArray - Q3MemArray-4 - ( const Q3MemArray<type> & a ) - - - Q3MemArray - Q3MemArray-5 - ( const QVector<type> & vector ) - - - assign - assign - ( const Q3MemArray<type> & a ) - - - assign - assign-2 - ( const type * data, uint size ) - - - at - at - ( uint index ) - - - begin - begin - () - - - begin - begin-2 - () - - - bsearch - bsearch - ( const type & v ) - - - contains - contains - ( const type & v ) - - - copy - copy - () - - - count - count - () - - - data - data - () - - - detach - detach - () - - - duplicate - duplicate - ( const Q3MemArray<type> & a ) - - - duplicate - duplicate-2 - ( const type * data, uint size ) - - - end - end - () - - - end - end-2 - () - - - fill - fill - ( const type & v, int size = -1 ) - - - find - find - ( const type & v, uint index = 0 ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - nrefs - nrefs - () - - - resetRawData - resetRawData - ( const type * data, uint size ) - - - resize - resize - ( uint size, Optimization optim ) - - - resize - resize-2 - ( uint size ) - - - setRawData - setRawData - ( const type * data, uint size ) - - - size - size - () - - - sort - sort - () - - - truncate - truncate - ( uint pos ) - - - operator - operator-QVector-lttype-gt - QVector<type>() - - - operator - operator-const-type--2a - const type *() - - - operator!= - operator-not-eq - ( const Q3MemArray<type> & a ) - - - operator= - operator-eq - ( const Q3MemArray<type> & a ) - - - operator== - operator-eq-eq - ( const Q3MemArray<type> & a ) - - - operator[] - operator-5b-5d - ( int index ) - - - - Q3MimeSourceFactory - q3mimesourcefactory.html - - Q3MimeSourceFactory - Q3MimeSourceFactory - () - - - addFactory - addFactory - ( Q3MimeSourceFactory * f ) - - - addFilePath - addFilePath - ( const QString & p ) - - - data - data - ( const QString & abs_name ) - - - data - data-2 - ( const QString & abs_or_rel_name, const QString & context ) - - - defaultFactory - defaultFactory - () - - - filePath - filePath - () - - - makeAbsolute - makeAbsolute - ( const QString & abs_or_rel_name, const QString & context ) - - - removeFactory - removeFactory - ( Q3MimeSourceFactory * f ) - - - setData - setData - ( const QString & abs_name, QMimeSource * data ) - - - setDefaultFactory - setDefaultFactory - ( Q3MimeSourceFactory * factory ) - - - setExtensionType - setExtensionType - ( const QString & ext, const char * mimetype ) - - - setFilePath - setFilePath - ( const QStringList & path ) - - - setFilePath - setFilePath-2 - ( const QString & path ) - - - setImage - setImage - ( const QString & abs_name, const QImage & image ) - - - setPixmap - setPixmap - ( const QString & abs_name, const QPixmap & pixmap ) - - - setText - setText - ( const QString & abs_name, const QString & text ) - - - takeDefaultFactory - takeDefaultFactory - () - - - - Q3MultiLineEdit - q3multilineedit.html - - Alignment - alignment-prop - - - - Q3MultiLineEdit - Q3MultiLineEdit - ( QWidget * parent = 0, const char * name = 0 ) - - - autoUpdate - autoUpdate - () - - - backspace - backspace - () - - - cursorDown - cursorDown - ( bool mark = false ) - - - cursorLeft - cursorLeft - ( bool mark = false, bool wrap = true ) - - - cursorPoint - cursorPoint - () - - - cursorRight - cursorRight - ( bool mark = false, bool wrap = true ) - - - cursorUp - cursorUp - ( bool mark = false ) - - - cursorWordBackward - cursorWordBackward - ( bool mark ) - - - cursorWordForward - cursorWordForward - ( bool mark ) - - - deselect - deselect - () - - - end - end - ( bool mark = false ) - - - getMarkedRegion - getMarkedRegion - ( int * line1, int * col1, int * line2, int * col2 ) - - - hasMarkedText - hasMarkedText - () - - - home - home - ( bool mark = false ) - - - insertAndMark - insertAndMark - ( const QString & str, bool mark ) - - - insertAt - insertAt - ( const QString & s, int line, int col, bool mark ) - - - insertLine - insertLine - ( const QString & txt, int line = -1 ) - - - killLine - killLine - () - - - lineLength - lineLength - ( int row ) - - - markedText - markedText - () - - - maxLines - maxLines - () - - - newLine - newLine - () - - - pageDown - pageDown - ( bool mark = false ) - - - pageUp - pageUp - ( bool mark = false ) - - - removeLine - removeLine - ( int paragraph ) - - - setCursorPosition - setCursorPosition - ( int line, int col, bool mark ) - - - setMaxLines - setMaxLines - ( int max ) - - - textLine - textLine - ( int line ) - - - totalHeight - totalHeight - () - - - totalWidth - totalWidth - () - - - - Q3NetworkOperation - q3networkoperation.html - - Q3NetworkOperation - Q3NetworkOperation - ( Q3NetworkProtocol::Operation operation, const QString & arg0, const QString & arg1, const QString & arg2 ) - - - Q3NetworkOperation - Q3NetworkOperation-2 - ( Q3NetworkProtocol::Operation operation, const QByteArray & arg0, const QByteArray & arg1, const QByteArray & arg2 ) - - - arg - arg - ( int num ) - - - errorCode - errorCode - () - - - free - free - () - - - Operation - operation - Q3NetworkOperation::operation() - - - protocolDetail - protocolDetail - () - - - rawArg - rawArg - ( int num ) - - - setArg - setArg - ( int num, const QString & arg ) - - - setErrorCode - setErrorCode - ( int ec ) - - - setProtocolDetail - setProtocolDetail - ( const QString & detail ) - - - setRawArg - setRawArg - ( int num, const QByteArray & arg ) - - - setState - setState - ( Q3NetworkProtocol::State state ) - - - State - state - Q3NetworkOperation::state() - - - - Q3NetworkProtocol - q3networkprotocol.html - - ConnectionState - ConnectionState-enum - - - - Error - Error-enum - - - - Operation - Operation-enum - - - - State - State-enum - - - - Q3NetworkProtocol - Q3NetworkProtocol - () - - - addOperation - addOperation - ( Q3NetworkOperation * op ) - - - autoDelete - autoDelete - () - - - checkConnection - checkConnection - ( Q3NetworkOperation * op ) - - - clearOperationQueue - clearOperationQueue - () - - - connectionStateChanged - connectionStateChanged - ( int state, const QString & data ) - - - createdDirectory - createdDirectory - ( const QUrlInfo & i, Q3NetworkOperation * op ) - - - data - data - ( const QByteArray & data, Q3NetworkOperation * op ) - - - dataTransferProgress - dataTransferProgress - ( int bytesDone, int bytesTotal, Q3NetworkOperation * op ) - - - finished - finished - ( Q3NetworkOperation * op ) - - - getNetworkProtocol - getNetworkProtocol - ( const QString & protocol ) - - - hasOnlyLocalFileSystem - hasOnlyLocalFileSystem - () - - - itemChanged - itemChanged - ( Q3NetworkOperation * op ) - - - newChild - newChild - ( const QUrlInfo & i, Q3NetworkOperation * op ) - - - newChildren - newChildren - ( const Q3ValueList<QUrlInfo> & i, Q3NetworkOperation * op ) - - - operationGet - operationGet - ( Q3NetworkOperation * op ) - - - operationInProgress - operationInProgress - () - - - operationListChildren - operationListChildren - ( Q3NetworkOperation * op ) - - - operationMkDir - operationMkDir - ( Q3NetworkOperation * op ) - - - operationPut - operationPut - ( Q3NetworkOperation * op ) - - - operationRemove - operationRemove - ( Q3NetworkOperation * op ) - - - operationRename - operationRename - ( Q3NetworkOperation * op ) - - - registerNetworkProtocol - registerNetworkProtocol - ( const QString & protocol, Q3NetworkProtocolFactoryBase * protocolFactory ) - - - removed - removed - ( Q3NetworkOperation * op ) - - - setAutoDelete - setAutoDelete - ( bool b, int i = 10000 ) - - - setUrl - setUrl - ( Q3UrlOperator * u ) - - - start - start - ( Q3NetworkOperation * op ) - - - stop - stop - () - - - supportedOperations - supportedOperations - () - - - url - url - () - - - - Q3PaintDeviceMetrics - q3paintdevicemetrics.html - - Q3PaintDeviceMetrics - Q3PaintDeviceMetrics - ( const QPaintDevice * pd ) - - - depth - depth - () - - - height - height - () - - - heightMM - heightMM - () - - - logicalDpiX - logicalDpiX - () - - - logicalDpiY - logicalDpiY - () - - - numColors - numColors - () - - - width - width - () - - - widthMM - widthMM - () - - - - Q3Painter - q3painter.html - - Q3Painter - Q3Painter - () - - - Q3Painter - Q3Painter-2 - ( QPaintDevice * pdev ) - - - drawArc - drawArc - ( const QRect & r, int a, int alen ) - - - drawArc - drawArc-2 - ( int x, int y, int w, int h, int startAngle, int spanAngle ) - - - drawChord - drawChord - ( const QRect & r, int a, int alen ) - - - drawChord - drawChord-2 - ( int x, int y, int w, int h, int startAngle, int spanAngle ) - - - drawEllipse - drawEllipse - ( const QRect & r ) - - - drawEllipse - drawEllipse-2 - ( int x, int y, int width, int height ) - - - drawPie - drawPie - ( const QRect & r, int a, int alen ) - - - drawPie - drawPie-2 - ( int x, int y, int w, int h, int startAngle, int spanAngle ) - - - drawRect - drawRect - ( const QRect & r ) - - - drawRect - drawRect-2 - ( int x, int y, int w, int h ) - - - drawRoundRect - drawRoundRect - ( const QRect & r, int xrnd = 25, int yrnd = 25 ) - - - drawRoundRect - drawRoundRect-2 - ( int x, int y, int w, int h, int xrnd = 25, int yrnd = 25 ) - - - - Q3Picture - q3picture.html - - Q3Picture - Q3Picture - () - - - Q3Picture - Q3Picture-2 - ( const QPicture & other ) - - - load - load - ( QIODevice * device, const char * format = 0 ) - - - load - load-2 - ( const QString & fileName, const char * format = 0 ) - - - save - save - ( QIODevice * device, const char * format = 0 ) - - - save - save-2 - ( const QString & fileName, const char * format = 0 ) - - - - Q3PointArray - q3pointarray.html - - Q3PointArray - Q3PointArray - () - - - Q3PointArray - Q3PointArray-2 - ( const QRect & r, bool closed = false ) - - - Q3PointArray - Q3PointArray-3 - ( const QPolygon & other ) - - - copy - copy - () - - - cubicBezier - cubicBezier - () - - - isNull - isNull - () - - - makeArc - makeArc - ( int x, int y, int w, int h, int a1, int a2 ) - - - makeArc - makeArc-2 - ( int x, int y, int w, int h, int a1, int a2, const QMatrix & xf ) - - - makeEllipse - makeEllipse - ( int x, int y, int w, int h ) - - - - Q3PopupMenu - q3popupmenu.html - - Q3PopupMenu - Q3PopupMenu - ( QWidget * parent = 0, const char * name = 0 ) - - - exec - exec - () - - - exec - exec-2 - ( const QPoint & pos, int indexAtPoint = 0 ) - - - margin - margin - () - - - setMargin - setMargin - ( int margin ) - - - - Q3Process - q3process.html - - Communication - Communication-enum - - - - Q3Process - Q3Process - ( QObject * parent = 0, const char * name = 0 ) - - - Q3Process - Q3Process-2 - ( const QString & arg0, QObject * parent = 0, const char * name = 0 ) - - - Q3Process - Q3Process-3 - ( const QStringList & args, QObject * parent = 0, const char * name = 0 ) - - - addArgument - addArgument - ( const QString & arg ) - - - arguments - arguments - () - - - canReadLineStderr - canReadLineStderr - () - - - canReadLineStdout - canReadLineStdout - () - - - clearArguments - clearArguments - () - - - closeStdin - closeStdin - () - - - communication - communication - () - - - exitStatus - exitStatus - () - - - isRunning - isRunning - () - - - kill - kill - () - - - launch - launch - ( const QByteArray & buf, QStringList * env = 0 ) - - - launch - launch-2 - ( const QString & buf, QStringList * env = 0 ) - - - launchFinished - launchFinished - () - - - normalExit - normalExit - () - - - processExited - processExited - () - - - processIdentifier - processIdentifier - () - - - readLineStderr - readLineStderr - () - - - readLineStdout - readLineStdout - () - - - readStderr - readStderr - () - - - readStdout - readStdout - () - - - readyReadStderr - readyReadStderr - () - - - readyReadStdout - readyReadStdout - () - - - setArguments - setArguments - ( const QStringList & args ) - - - setCommunication - setCommunication - ( int commFlags ) - - - setWorkingDirectory - setWorkingDirectory - ( const QDir & dir ) - - - start - start - ( QStringList * env = 0 ) - - - tryTerminate - tryTerminate - () - - - workingDirectory - workingDirectory - () - - - writeToStdin - writeToStdin - ( const QByteArray & buf ) - - - writeToStdin - writeToStdin-2 - ( const QString & buf ) - - - wroteToStdin - wroteToStdin - () - - - Q3ProgressBar - Q3ProgressBar-2 - ( int totalSteps, QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - Q3ProgressBar - Q3ProgressBar-3 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - - Q3ProgressBar - q3progressbar.html - - Q3ProgressBar - Q3ProgressBar - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - Q3ProgressBar - Q3ProgressBar-4 - ( int totalSteps, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - margin - margin - () - - - reset - reset - () - - - setIndicator - setIndicator - ( QString & indicator, int progress, int totalSteps ) - - - setMargin - setMargin - ( int margin ) - - - - Q3ProgressDialog - q3progressdialog.html - - Q3ProgressDialog - Q3ProgressDialog - ( QWidget * creator, const char * name, bool modal = false, Qt::WindowFlags f = 0 ) - - - Q3ProgressDialog - Q3ProgressDialog-2 - ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, const char * name = 0, bool modal = false, Qt::WindowFlags f = 0 ) - - - Q3ProgressDialog - Q3ProgressDialog-3 - ( QWidget * creator = 0, Qt::WindowFlags f = 0 ) - - - Q3ProgressDialog - Q3ProgressDialog-4 - ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, Qt::WindowFlags f = 0 ) - - - cancel - cancel - () - - - canceled - canceled - () - - - cancelled - cancelled - () - - - forceShow - forceShow - () - - - reset - reset - () - - - setBar - setBar - ( Q3ProgressBar * bar ) - - - setCancelButton - setCancelButton - ( QPushButton * cancelButton ) - - - setCancelButtonText - setCancelButtonText - ( const QString & cancelButtonText ) - - - setLabel - setLabel - ( QLabel * label ) - - - sizeHint - sizeHint - () - - - - Q3PtrCollection - q3ptrcollection.html - - Item - Item-typedef - - - - Q3PtrCollection - Q3PtrCollection - () - - - Q3PtrCollection - Q3PtrCollection-2 - ( const Q3PtrCollection & source ) - - - autoDelete - autoDelete - () - - - clear - clear - () - - - count - count - () - - - deleteItem - deleteItem - ( Item d ) - - - newItem - newItem - ( Item d ) - - - setAutoDelete - setAutoDelete - ( bool enable ) - - - - Q3PtrDict - q3ptrdict.html - - Q3PtrDict - Q3PtrDict - ( int size = 17 ) - - - Q3PtrDict - Q3PtrDict-2 - ( const Q3PtrDict<type> & dict ) - - - clear - clear - () - - - count - count - () - - - find - find - ( void * key ) - - - insert - insert - ( void * key, const type * item ) - - - isEmpty - isEmpty - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( void * key ) - - - replace - replace - ( void * key, const type * item ) - - - resize - resize - ( uint newsize ) - - - size - size - () - - - statistics - statistics - () - - - take - take - ( void * key ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator= - operator-eq - ( const Q3PtrDict<type> & dict ) - - - operator[] - operator-5b-5d - ( void * key ) - - - - Q3PtrDictIterator - q3ptrdictiterator.html - - Q3PtrDictIterator - Q3PtrDictIterator - ( const Q3PtrDict<type> & dict ) - - - count - count - () - - - current - current - () - - - currentKey - currentKey - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - - Q3PtrList - q3ptrlist.html - - Q3PtrList - Q3PtrList - () - - - Q3PtrList - Q3PtrList-2 - ( const Q3PtrList<type> & list ) - - - append - append - ( const type * item ) - - - at - at - ( uint index ) - - - at - at-2 - () - - - clear - clear - () - - - compareItems - compareItems - ( Q3PtrCollection::Item item1, Q3PtrCollection::Item item2 ) - - - contains - contains - ( const type * item ) - - - containsRef - containsRef - ( const type * item ) - - - count - count - () - - - current - current - () - - - currentNode - currentNode - () - - - find - find - ( const type * item ) - - - findNext - findNext - ( const type * item ) - - - findNextRef - findNextRef - ( const type * item ) - - - findRef - findRef - ( const type * item ) - - - first - first - () - - - getFirst - getFirst - () - - - getLast - getLast - () - - - inSort - inSort - ( const type * item ) - - - insert - insert - ( uint index, const type * item ) - - - isEmpty - isEmpty - () - - - last - last - () - - - next - next - () - - - prepend - prepend - ( const type * item ) - - - prev - prev - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( uint index ) - - - remove - remove-2 - () - - - remove - remove-3 - ( const type * item ) - - - removeFirst - removeFirst - () - - - removeLast - removeLast - () - - - removeNode - removeNode - ( Q3LNode * node ) - - - removeRef - removeRef - ( const type * item ) - - - replace - replace - ( uint index, const type * item ) - - - sort - sort - () - - - take - take - ( uint index ) - - - take - take-2 - () - - - takeNode - takeNode - ( Q3LNode * node ) - - - toVector - toVector - ( Q3GVector * vec ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator!= - operator-not-eq - ( const Q3PtrList<type> & list ) - - - operator= - operator-eq - ( const Q3PtrList<type> & list ) - - - operator== - operator-eq-eq - ( const Q3PtrList<type> & list ) - - - - Q3PtrListIterator - q3ptrlistiterator.html - - Q3PtrListIterator - Q3PtrListIterator - ( const Q3PtrList<type> & list ) - - - atFirst - atFirst - () - - - atLast - atLast - () - - - count - count - () - - - current - current - () - - - isEmpty - isEmpty - () - - - toFirst - toFirst - () - - - toLast - toLast - () - - - operator - operator-type--2a - type *() - - - operator() - operator-28-29 - () - - - operator* - operator-2a - () - - - operator++ - operator-2b-2b - () - - - operator+= - operator-2b-eq - ( uint jump ) - - - operator-- - operator-- - () - - - operator-= - operator--eq - ( uint jump ) - - - operator= - operator-eq - ( const Q3PtrListIterator<type> & it ) - - - - Q3PtrQueue - q3ptrqueue.html - - Q3PtrQueue - Q3PtrQueue - () - - - Q3PtrQueue - Q3PtrQueue-2 - ( const Q3PtrQueue<type> & queue ) - - - autoDelete - autoDelete - () - - - clear - clear - () - - - count - count - () - - - current - current - () - - - dequeue - dequeue - () - - - enqueue - enqueue - ( const type * d ) - - - head - head - () - - - isEmpty - isEmpty - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - () - - - setAutoDelete - setAutoDelete - ( bool enable ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator - operator-type--2a - type *() - - - operator= - operator-eq - ( const Q3PtrQueue<type> & queue ) - - - - Q3PtrStack - q3ptrstack.html - - Q3PtrStack - Q3PtrStack - () - - - Q3PtrStack - Q3PtrStack-2 - ( const Q3PtrStack<type> & s ) - - - autoDelete - autoDelete - () - - - clear - clear - () - - - count - count - () - - - current - current - () - - - isEmpty - isEmpty - () - - - pop - pop - () - - - push - push - ( const type * d ) - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - () - - - setAutoDelete - setAutoDelete - ( bool enable ) - - - top - top - () - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator - operator-type--2a - type *() - - - operator= - operator-eq - ( const Q3PtrStack<type> & s ) - - - - Q3PtrVector - q3ptrvector.html - - Q3PtrVector - Q3PtrVector - () - - - Q3PtrVector - Q3PtrVector-2 - ( uint size ) - - - Q3PtrVector - Q3PtrVector-3 - ( const Q3PtrVector<type> & v ) - - - at - at - ( uint i ) - - - bsearch - bsearch - ( const type * d ) - - - clear - clear - () - - - compareItems - compareItems - ( Q3PtrCollection::Item d1, Q3PtrCollection::Item d2 ) - - - contains - contains - ( const type * d ) - - - containsRef - containsRef - ( const type * d ) - - - count - count - () - - - data - data - () - - - fill - fill - ( const type * d, int size = -1 ) - - - find - find - ( const type * d, uint i = 0 ) - - - findRef - findRef - ( const type * d, uint i = 0 ) - - - insert - insert - ( uint i, const type * d ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - read - read - ( QDataStream & s, Q3PtrCollection::Item & item ) - - - remove - remove - ( uint i ) - - - resize - resize - ( uint size ) - - - size - size - () - - - sort - sort - () - - - take - take - ( uint i ) - - - write - write - ( QDataStream & s, Q3PtrCollection::Item item ) - - - operator= - operator-eq - ( const Q3PtrVector<type> & v ) - - - operator== - operator-eq-eq - ( const Q3PtrVector<type> & v ) - - - operator[] - operator-5b-5d - ( int i ) - - - - Q3RangeControl - q3rangecontrol.html - - Q3RangeControl - Q3RangeControl - () - - - Q3RangeControl - Q3RangeControl-2 - ( int minValue, int maxValue, int lineStep, int pageStep, int value ) - - - addLine - addLine - () - - - addPage - addPage - () - - - bound - bound - ( int v ) - - - directSetValue - directSetValue - ( int value ) - - - lineStep - lineStepx - () - - - maxValue - maxValue - () - - - minValue - minValue - () - - - pageStep - pageStep - () - - - positionFromValue - positionFromValue - ( int logical_val, int span ) - - - prevValue - prevValue - () - - - rangeChange - rangeChange - () - - - setMaxValue - setMaxValue - ( int maxVal ) - - - setMinValue - setMinValue - ( int minVal ) - - - setRange - setRange - ( int minValue, int maxValue ) - - - setSteps - setSteps - ( int lineStep, int pageStep ) - - - setValue - setValue - ( int value ) - - - stepChange - stepChange - () - - - subtractLine - subtractLine - () - - - subtractPage - subtractPage - () - - - value - value - () - - - valueChange - valueChange - () - - - valueFromPosition - valueFromPosition - ( int pos, int span ) - - - childIsVisible - childIsVisible - ( QWidget * child ) - - - showChild - showChild - ( QWidget * child, bool y = true ) - - - - Q3ScrollView - q3scrollview.html - - ResizePolicy - ResizePolicy-enum - - - - ScrollBarMode - ScrollBarMode-enum - - - - Q3ScrollView - Q3ScrollView - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - addChild - addChild - ( QWidget * child, int x = 0, int y = 0 ) - - - bottomMargin - bottomMargin - () - - - center - center - ( int x, int y ) - - - center - center-2 - ( int x, int y, float xmargin, float ymargin ) - - - childX - childX - ( QWidget * child ) - - - childY - childY - ( QWidget * child ) - - - clipper - clipper - () - - - contentsContextMenuEvent - contentsContextMenuEvent - ( QContextMenuEvent * e ) - - - contentsDragEnterEvent - contentsDragEnterEvent - ( QDragEnterEvent * event ) - - - contentsDragLeaveEvent - contentsDragLeaveEvent - ( QDragLeaveEvent * event ) - - - contentsDragMoveEvent - contentsDragMoveEvent - ( QDragMoveEvent * event ) - - - contentsDropEvent - contentsDropEvent - ( QDropEvent * event ) - - - contentsMouseDoubleClickEvent - contentsMouseDoubleClickEvent - ( QMouseEvent * e ) - - - contentsMouseMoveEvent - contentsMouseMoveEvent - ( QMouseEvent * e ) - - - contentsMousePressEvent - contentsMousePressEvent - ( QMouseEvent * e ) - - - contentsMouseReleaseEvent - contentsMouseReleaseEvent - ( QMouseEvent * e ) - - - contentsMoving - contentsMoving - ( int x, int y ) - - - contentsToViewport - contentsToViewport - ( int x, int y, int & vx, int & vy ) - - - contentsToViewport - contentsToViewport-2 - ( const QPoint & p ) - - - contentsWheelEvent - contentsWheelEvent - ( QWheelEvent * e ) - - - cornerWidget - cornerWidget - () - - - drawContents - drawContents - ( QPainter * p, int clipx, int clipy, int clipw, int cliph ) - - - drawContentsOffset - drawContentsOffset - ( QPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph ) - - - enableClipper - enableClipper - ( bool y ) - - - ensureVisible - ensureVisible - ( int x, int y ) - - - ensureVisible - ensureVisible-2 - ( int x, int y, int xmargin, int ymargin ) - - - eventFilter - eventFilter - ( QObject * obj, QEvent * e ) - - - hasStaticBackground - hasStaticBackground - () - - - horizontalScrollBar - horizontalScrollBar - () - - - horizontalSliderPressed - horizontalSliderPressed - () - - - horizontalSliderReleased - horizontalSliderReleased - () - - - isHorizontalSliderPressed - isHorizontalSliderPressed - () - - - isVerticalSliderPressed - isVerticalSliderPressed - () - - - leftMargin - leftMargin - () - - - moveChild - moveChild - ( QWidget * child, int x, int y ) - - - removeChild - removeChild - ( QWidget * child ) - - - repaintContents - repaintContents - ( int x, int y, int w, int h, bool erase = true ) - - - repaintContents - repaintContents-2 - ( const QRect & r, bool erase = true ) - - - repaintContents - repaintContents-3 - ( bool erase = true ) - - - resizeContents - resizeContents - ( int w, int h ) - - - rightMargin - rightMargin - () - - - scrollBy - scrollBy - ( int dx, int dy ) - - - setContentsPos - setContentsPos - ( int x, int y ) - - - setCornerWidget - setCornerWidget - ( QWidget * corner ) - - - setHBarGeometry - setHBarGeometry - ( QScrollBar & hbar, int x, int y, int w, int h ) - - - setMargins - setMargins - ( int left, int top, int right, int bottom ) - - - setStaticBackground - setStaticBackground - ( bool y ) - - - setVBarGeometry - setVBarGeometry - ( QScrollBar & vbar, int x, int y, int w, int h ) - - - topMargin - topMargin - () - - - updateContents - updateContents - ( int x, int y, int w, int h ) - - - updateContents - updateContents-2 - ( const QRect & r ) - - - updateContents - updateContents-3 - () - - - updateScrollBars - updateScrollBars - () - - - verticalScrollBar - verticalScrollBar - () - - - verticalSliderPressed - verticalSliderPressed - () - - - verticalSliderReleased - verticalSliderReleased - () - - - viewport - viewport - () - - - viewportPaintEvent - viewportPaintEvent - ( QPaintEvent * pe ) - - - viewportResizeEvent - viewportResizeEvent - ( QResizeEvent * event ) - - - viewportSize - viewportSize - ( int x, int y ) - - - viewportToContents - viewportToContents - ( int vx, int vy, int & x, int & y ) - - - viewportToContents - viewportToContents-2 - ( const QPoint & vp ) - - - - Q3Semaphore - q3semaphore.html - - Q3Semaphore - Q3Semaphore - ( int maxcount ) - - - available - available - () - - - total - total - () - - - tryAccess - tryAccess - ( int n ) - - - operator++ - operator-2b-2b - ( int ) - - - operator+= - operator-2b-eq - ( int n ) - - - operator-- - operator-- - ( int ) - - - operator-= - operator--eq - ( int n ) - - - - Q3ServerSocket - q3serversocket.html - - Q3ServerSocket - Q3ServerSocket - ( Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 ) - - - Q3ServerSocket - Q3ServerSocket-2 - ( const QHostAddress & address, Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 ) - - - Q3ServerSocket - Q3ServerSocket-3 - ( QObject * parent = 0, const char * name = 0 ) - - - address - address - () - - - newConnection - newConnection - ( int socket ) - - - ok - ok - () - - - port - port - () - - - setSocket - setSocket - ( int socket ) - - - socket - socket - () - - - socketDevice - socketDevice - () - - - - Q3Shared - q3shared.html - - Q3Shared - Q3Shared - () - - - deref - deref - () - - - ref - ref - () - - - block - block - ( bool b ) - - - isBlocked - isBlocked - () - - - parameter - parameter - () - - - setParameter - setParameter - ( int value ) - - - - Q3Signal - q3signal.html - - Q3Signal - Q3Signal - ( QObject * parent = 0, const char * name = 0 ) - - - activate - activate - () - - - connect - connect - ( const QObject * receiver, const char * member ) - - - disconnect - disconnect - ( const QObject * receiver, const char * member = 0 ) - - - setValue - setValue - ( const QVariant & value ) - - - value - value - () - - - - Q3SimpleRichText - q3simplerichtext.html - - Q3SimpleRichText - Q3SimpleRichText - ( const QString & text, const QFont & fnt, const QString & context = QString() - - - Q3SimpleRichText - Q3SimpleRichText-2 - ( const QString & text, const QFont & fnt, const QString & context, const Q3StyleSheet * sheet, const Q3MimeSourceFactory * factory, int pageBreak = -1, const QColor & linkColor = Qt::blue, bool linkUnderline = true ) - - - adjustSize - adjustSize - () - - - anchorAt - anchorAt - ( const QPoint & pos ) - - - context - context - () - - - draw - draw - ( QPainter * p, int x, int y, const QRect & clipRect, const QColorGroup & cg, const QBrush * paper = 0 ) - - - draw - draw-2 - ( QPainter * p, int x, int y, const QRegion & clipRegion, const QColorGroup & cg, const QBrush * paper = 0 ) - - - height - height - () - - - inText - inText - ( const QPoint & pos ) - - - setDefaultFont - setDefaultFont - ( const QFont & f ) - - - setWidth - setWidth - ( QPainter * p, int w ) - - - setWidth - setWidth-2 - ( int w ) - - - width - width - () - - - widthUsed - widthUsed - () - - - - Q3Socket - q3socket.html - - Error - Error-enum - - - - State - State-enum - - - - Q3Socket - Q3Socket - ( QObject * parent = 0, const char * name = 0 ) - - - address - address - () - - - at - at - () - - - at - at-2 - ( Offset index ) - - - atEnd - atEnd - () - - - bytesAvailable - bytesAvailable - () - - - bytesToWrite - bytesToWrite - () - - - bytesWritten - bytesWritten - ( int nbytes ) - - - canReadLine - canReadLine - () - - - clearPendingData - clearPendingData - () - - - close - close - () - - - connectToHost - connectToHost - ( const QString & host, Q_UINT16 port ) - - - connected - connected - () - - - connectionClosed - connectionClosed - () - - - delayedCloseFinished - delayedCloseFinished - () - - - error - error - ( int error ) - - - flush - flush - () - - - getch - getch - () - - - hostFound - hostFound - () - - - open - open - ( OpenMode m ) - - - open - open-2 - ( int m ) - - - peerAddress - peerAddress - () - - - peerName - peerName - () - - - peerPort - peerPort - () - - - port - port - () - - - putch - putch - ( int ch ) - - - readBufferSize - readBufferSize - () - - - readData - readData - ( char * data, qint64 maxlen ) - - - readyRead - readyRead - () - - - setReadBufferSize - setReadBufferSize - ( Q_ULONG bufSize ) - - - setSocket - setSocket - ( int socket ) - - - setSocketDevice - setSocketDevice - ( Q3SocketDevice * device ) - - - size - size - () - - - socket - socket - () - - - socketDevice - socketDevice - () - - - state - state - () - - - ungetch - ungetch - ( int ch ) - - - waitForMore - waitForMore - ( int msecs, bool * timeout ) - - - waitForMore - waitForMore-2 - ( int msecs ) - - - writeData - writeData - ( const char * data, qint64 len ) - - - - Q3SocketDevice - q3socketdevice.html - - Error - Error-enum - - - - Protocol - Protocol-enum - - - - Type - Type-enum - - - - Q3SocketDevice - Q3SocketDevice - ( Type type = Stream ) - - - Q3SocketDevice - Q3SocketDevice-2 - ( Type type, Protocol protocol, int dummy ) - - - Q3SocketDevice - Q3SocketDevice-3 - ( int socket, Type type ) - - - accept - accept - () - - - address - address - () - - - addressReusable - addressReusable - () - - - at - at - () - - - at - at-2 - ( Offset offset ) - - - bind - bind - ( const QHostAddress & address, Q_UINT16 port ) - - - blocking - blocking - () - - - bytesAvailable - bytesAvailable - () - - - connect - connect - ( const QHostAddress & addr, Q_UINT16 port ) - - - error - error - () - - - flush - flush - () - - - isValid - isValid - () - - - listen - listen - ( int backlog ) - - - open - open - ( OpenMode mode ) - - - open - open-2 - ( int mode ) - - - peerAddress - peerAddress - () - - - peerPort - peerPort - () - - - port - port - () - - - protocol - protocol - () - - - readBlock - readBlock - ( char * data, Q_ULONG maxlen ) - - - readData - readData - ( char * data, qint64 maxlen ) - - - receiveBufferSize - receiveBufferSize - () - - - sendBufferSize - sendBufferSize - () - - - setAddressReusable - setAddressReusable - ( bool enable ) - - - setBlocking - setBlocking - ( bool enable ) - - - setError - setError - ( Error err ) - - - setReceiveBufferSize - setReceiveBufferSize - ( uint size ) - - - setSendBufferSize - setSendBufferSize - ( uint size ) - - - setSocket - setSocket - ( int socket, Type type ) - - - socket - socket - () - - - type - type - () - - - waitForMore - waitForMore - ( int msecs, bool * timeout = 0 ) - - - writeBlock - writeBlock - ( const char * data, Q_ULONG len ) - - - writeBlock - writeBlock-2 - ( const char * data, Q_ULONG len, const QHostAddress & host, Q_UINT16 port ) - - - writeData - writeData - ( const char * data, qint64 len ) - - - - Q3SqlCursor - q3sqlcursor.html - - Mode - Mode-enum - - - - Q3SqlCursor - Q3SqlCursor - ( const QString & name = QString() - - - Q3SqlCursor - Q3SqlCursor-2 - ( const Q3SqlCursor & other ) - - - append - append - ( const Q3SqlFieldInfo & fieldInfo ) - - - calculateField - calculateField - ( const QString & name ) - - - canDelete - canDelete - () - - - canInsert - canInsert - () - - - canUpdate - canUpdate - () - - - clear - clear - () - - - del - del - ( bool invalidate = true ) - - - del - del-2 - ( const QString & filter, bool invalidate = true ) - - - editBuffer - editBuffer - ( bool copy = false ) - - - exec - exec - ( const QString & sql ) - - - filter - filter - () - - - index - index - ( const QStringList & fieldNames ) - - - index - index-2 - ( const QString & fieldName ) - - - insert - insert - ( int pos, const Q3SqlFieldInfo & fieldInfo ) - - - insert - insert-2 - ( bool invalidate = true ) - - - isCalculated - isCalculated - ( const QString & name ) - - - isNull - isNull - ( int i ) - - - isNull - isNull-2 - ( const QString & name ) - - - isReadOnly - isReadOnly - () - - - isTrimmed - isTrimmed - ( const QString & name ) - - - mode - mode - () - - - name - name - () - - - primaryIndex - primaryIndex - ( bool setFromCursor = true ) - - - primeDelete - primeDelete - () - - - primeInsert - primeInsert - () - - - primeUpdate - primeUpdate - () - - - remove - remove - ( int pos ) - - - select - select - ( const QString & filter, const QSqlIndex & sort = QSqlIndex() - - - select - select-2 - () - - - select - select-3 - ( const QSqlIndex & sort ) - - - select - select-4 - ( const QSqlIndex & filter, const QSqlIndex & sort ) - - - setCalculated - setCalculated - ( const QString & name, bool calculated ) - - - setFilter - setFilter - ( const QString & filter ) - - - setGenerated - setGenerated - ( const QString & name, bool generated ) - - - setGenerated - setGenerated-2 - ( int i, bool generated ) - - - setMode - setMode - ( int mode ) - - - setName - setName - ( const QString & name, bool autopopulate = true ) - - - setPrimaryIndex - setPrimaryIndex - ( const QSqlIndex & idx ) - - - setSort - setSort - ( const QSqlIndex & sort ) - - - setTrimmed - setTrimmed - ( const QString & name, bool trim ) - - - setValue - setValue - ( const QString & name, const QVariant & val ) - - - sort - sort - () - - - toString - toString - ( QSqlRecord * rec, const QString & prefix, const QString & fieldSep, const QString & sep ) - - - toString - toString-3 - ( const QString & prefix, QSqlField * field, const QString & fieldSep ) - - - toString - toString-4 - ( const QSqlIndex & i, QSqlRecord * rec, const QString & prefix, const QString & fieldSep, const QString & sep ) - - - update - update - ( bool invalidate = true ) - - - update - update-2 - ( const QString & filter, bool invalidate = true ) - - - value - value - ( int i ) - - - value - value-2 - ( const QString & name ) - - - operator= - operator-eq - ( const Q3SqlCursor & other ) - - - - Q3SqlEditorFactory - q3sqleditorfactory.html - - Q3SqlEditorFactory - Q3SqlEditorFactory - ( QObject * parent = 0 ) - - - createEditor - createEditor - ( QWidget * parent, const QVariant & variant ) - - - createEditor - createEditor-2 - ( QWidget * parent, const QSqlField * field ) - - - defaultFactory - defaultFactory - () - - - installDefaultFactory - installDefaultFactory - ( Q3SqlEditorFactory * factory ) - - - - Q3SqlFieldInfo - q3sqlfieldinfo.html - - Q3SqlFieldInfo - Q3SqlFieldInfo - ( const QString & name = QString() - - - Q3SqlFieldInfo - Q3SqlFieldInfo-2 - ( const QSqlField & other ) - - - defaultValue - defaultValue - () - - - isCalculated - isCalculated - () - - - isGenerated - isGenerated - () - - - isRequired - isRequired - () - - - isTrim - isTrim - () - - - length - length - () - - - name - name - () - - - precision - precision - () - - - setCalculated - setCalculated - ( bool calculated ) - - - setGenerated - setGenerated - ( bool generated ) - - - setTrim - setTrim - ( bool trim ) - - - toField - toField - () - - - Type - type - Q3SqlFieldInfo::type() - - - typeID - typeID - () - - - operator== - operator-eq-eq - ( const Q3SqlFieldInfo & other ) - - - - Q3SqlForm - q3sqlform.html - - Q3SqlForm - Q3SqlForm - ( QObject * parent = 0 ) - - - clear - clear - () - - - clearValues - clearValues - () - - - count - count - () - - - fieldToWidget - fieldToWidget - ( QSqlField * field ) - - - insert - insert - ( QWidget * widget, const QString & field ) - - - insert - insert-2 - ( QWidget * widget, QSqlField * field ) - - - installPropertyMap - installPropertyMap - ( Q3SqlPropertyMap * pmap ) - - - readField - readField - ( QWidget * widget ) - - - readFields - readFields - () - - - remove - remove - ( QWidget * widget ) - - - remove - remove-2 - ( const QString & field ) - - - setRecord - setRecord - ( QSqlRecord * buf ) - - - widget - widget - ( int i ) - - - widgetToField - widgetToField - ( QWidget * widget ) - - - writeField - writeField - ( QWidget * widget ) - - - writeFields - writeFields - () - - - - Q3SqlPropertyMap - q3sqlpropertymap.html - - Q3SqlPropertyMap - Q3SqlPropertyMap - () - - - defaultMap - defaultMap - () - - - insert - insert - ( const QString & classname, const QString & property ) - - - installDefaultMap - installDefaultMap - ( Q3SqlPropertyMap * map ) - - - property - property - ( QWidget * widget ) - - - remove - remove - ( const QString & classname ) - - - setProperty - setProperty - ( QWidget * widget, const QVariant & value ) - - - - Q3SqlRecordInfo - q3sqlrecordinfo.html - - Q3SqlRecordInfo - Q3SqlRecordInfo - () - - - Q3SqlRecordInfo - Q3SqlRecordInfo-2 - ( const Q3SqlFieldInfoList & other ) - - - Q3SqlRecordInfo - Q3SqlRecordInfo-3 - ( const QSqlRecord & other ) - - - contains - contains - ( const QString & fieldName ) - - - find - find - ( const QString & fieldName ) - - - toRecord - toRecord - () - - - - Q3SqlSelectCursor - q3sqlselectcursor.html - - Q3SqlSelectCursor - Q3SqlSelectCursor - ( const QString & query = QString() - - - Q3SqlSelectCursor - Q3SqlSelectCursor-2 - ( const Q3SqlSelectCursor & other ) - - - - Q3StoredDrag - q3storeddrag.html - - Q3StoredDrag - Q3StoredDrag - ( const char * mimeType, QWidget * dragSource = 0, const char * name = 0 ) - - - encodedData - encodedData - ( const char * format ) - - - setEncodedData - setEncodedData - ( const QByteArray & data ) - - - - Q3StrIList - q3strilist.html - - Q3StrIList - Q3StrIList - ( bool deepCopies = true ) - - - - Q3StrList - q3strlist.html - - Q3StrList - Q3StrList - ( bool deepCopies = true ) - - - Q3StrList - Q3StrList-2 - ( const Q3StrList & list ) - - - Q3StrList - Q3StrList-3 - ( const QList<QByteArray> & list ) - - - operator - operator-QList-ltQByteArray-gt - QList<QByteArray>() - - - operator= - operator-eq - ( const Q3StrList & list ) - - - operator= - operator-eq-2 - ( const QList<QByteArray> & list ) - - - - Q3StrListIterator - q3strlistiterator.html - - - Q3StyleSheet - q3stylesheet.html - - Q3StyleSheet - Q3StyleSheet - ( QObject * parent = 0, const char * name = 0 ) - - - convertFromPlainText - convertFromPlainText - ( const QString & plain, Q3StyleSheetItem::WhiteSpaceMode mode = Q3StyleSheetItem::WhiteSpacePre ) - - - defaultSheet - defaultSheet - () - - - error - error - ( const QString & msg ) - - - escape - escape - ( const QString & plain ) - - - item - item - ( const QString & name ) - - - item - item-2 - ( const QString & name ) - - - mightBeRichText - mightBeRichText - ( const QString & text ) - - - scaleFont - scaleFont - ( QFont & font, int logicalSize ) - - - setDefaultSheet - setDefaultSheet - ( Q3StyleSheet * sheet ) - - - - Q3StyleSheetItem - q3stylesheetitem.html - - DisplayMode - DisplayMode-enum - - - - ListStyle - ListStyle-enum - - - - Margin - Margin-enum - - - - VerticalAlignment - VerticalAlignment-enum - - - - WhiteSpaceMode - WhiteSpaceMode-enum - - - - Q3StyleSheetItem - Q3StyleSheetItem - ( Q3StyleSheet * parent, const QString & name ) - - - Q3StyleSheetItem - Q3StyleSheetItem-2 - ( const Q3StyleSheetItem & other ) - - - alignment - alignment - () - - - allowedInContext - allowedInContext - ( const Q3StyleSheetItem * s ) - - - color - color - () - - - contexts - contexts - () - - - definesFontItalic - definesFontItalic - () - - - definesFontStrikeOut - definesFontStrikeOut - () - - - definesFontUnderline - definesFontUnderline - () - - - displayMode - displayMode - () - - - fontFamily - fontFamily - () - - - fontItalic - fontItalic - () - - - fontSize - fontSize - () - - - fontStrikeOut - fontStrikeOut - () - - - fontUnderline - fontUnderline - () - - - fontWeight - fontWeight - () - - - isAnchor - isAnchor - () - - - lineSpacing - lineSpacing - () - - - listStyle - listStyle - () - - - logicalFontSize - logicalFontSize - () - - - logicalFontSizeStep - logicalFontSizeStep - () - - - margin - margin - ( Margin m ) - - - name - name - () - - - numberOfColumns - numberOfColumns - () - - - selfNesting - selfNesting - () - - - setAlignment - setAlignment - ( int f ) - - - setAnchor - setAnchor - ( bool anc ) - - - setColor - setColor - ( const QColor & c ) - - - setContexts - setContexts - ( const QString & c ) - - - setDisplayMode - setDisplayMode - ( DisplayMode m ) - - - setFontFamily - setFontFamily - ( const QString & fam ) - - - setFontItalic - setFontItalic - ( bool italic ) - - - setFontSize - setFontSize - ( int s ) - - - setFontStrikeOut - setFontStrikeOut - ( bool strikeOut ) - - - setFontUnderline - setFontUnderline - ( bool underline ) - - - setFontWeight - setFontWeight - ( int w ) - - - setListStyle - setListStyle - ( ListStyle s ) - - - setLogicalFontSize - setLogicalFontSize - ( int s ) - - - setLogicalFontSizeStep - setLogicalFontSizeStep - ( int s ) - - - setMargin - setMargin - ( Margin m, int v ) - - - setNumberOfColumns - setNumberOfColumns - ( int ncols ) - - - setSelfNesting - setSelfNesting - ( bool nesting ) - - - setVerticalAlignment - setVerticalAlignment - ( VerticalAlignment valign ) - - - setWhiteSpaceMode - setWhiteSpaceMode - ( WhiteSpaceMode m ) - - - styleSheet - styleSheet - () - - - styleSheet - styleSheet-2 - () - - - verticalAlignment - verticalAlignment - () - - - whiteSpaceMode - whiteSpaceMode - () - - - operator= - operator-eq - ( const Q3StyleSheetItem & other ) - - - - Q3SyntaxHighlighter - q3syntaxhighlighter.html - - Q3SyntaxHighlighter - Q3SyntaxHighlighter - ( Q3TextEdit * textEdit ) - - - currentParagraph - currentParagraph - () - - - highlightParagraph - highlightParagraph - ( const QString & text, int endStateOfLastPara ) - - - rehighlight - rehighlight - () - - - setFormat - setFormat - ( int start, int count, const QFont & font, const QColor & color ) - - - setFormat - setFormat-2 - ( int start, int count, const QColor & color ) - - - setFormat - setFormat-3 - ( int start, int count, const QFont & font ) - - - textEdit - textEdit - () - - - isTabEnabled - isTabEnabled-2 - ( const char * name ) - - - setTabEnabled - setTabEnabled-2 - ( const char * name, bool enable ) - - - - Q3TabDialog - q3tabdialog.html - - Q3TabDialog - Q3TabDialog - ( QWidget * parent = 0, const char * name = 0, bool modal = false, Qt::WindowFlags f = 0 ) - - - aboutToShow - aboutToShow - () - - - addTab - addTab - ( QWidget * child, const QString & label ) - - - addTab - addTab-2 - ( QWidget * child, const QIcon & iconset, const QString & label ) - - - applyButtonPressed - applyButtonPressed - () - - - cancelButtonPressed - cancelButtonPressed - () - - - changeTab - changeTab - ( QWidget * w, const QIcon & iconset, const QString & label ) - - - changeTab - changeTab-2 - ( QWidget * w, const QString & label ) - - - currentChanged - currentChanged - ( QWidget * widget ) - - - currentPage - currentPage - () - - - defaultButtonPressed - defaultButtonPressed - () - - - hasApplyButton - hasApplyButton - () - - - hasCancelButton - hasCancelButton - () - - - hasDefaultButton - hasDefaultButton - () - - - hasHelpButton - hasHelpButton - () - - - hasOkButton - hasOkButton - () - - - helpButtonPressed - helpButtonPressed - () - - - insertTab - insertTab - ( QWidget * child, const QString & label, int index = -1 ) - - - insertTab - insertTab-2 - ( QWidget * child, const QIcon & iconset, const QString & label, int index = -1 ) - - - isTabEnabled - isTabEnabled - ( QWidget * w ) - - - removePage - removePage - ( QWidget * w ) - - - selected - selected - ( const QString & name ) - - - setApplyButton - setApplyButton - ( const QString & text ) - - - setApplyButton - setApplyButton-2 - () - - - setCancelButton - setCancelButton - ( const QString & text ) - - - setCancelButton - setCancelButton-2 - () - - - setDefaultButton - setDefaultButton - ( const QString & text ) - - - setDefaultButton - setDefaultButton-2 - () - - - setFont - setFont - ( const QFont & font ) - - - setHelpButton - setHelpButton - ( const QString & text ) - - - setHelpButton - setHelpButton-2 - () - - - setOkButton - setOkButton - ( const QString & text ) - - - setOkButton - setOkButton-2 - () - - - setTabBar - setTabBar - ( QTabBar * tb ) - - - setTabEnabled - setTabEnabled - ( QWidget * w, bool enable ) - - - showPage - showPage - ( QWidget * w ) - - - tabBar - tabBar - () - - - tabLabel - tabLabel - ( QWidget * w ) - - - - Q3Table - q3table.html - - EditMode - EditMode-enum - - - - FocusStyle - FocusStyle-enum - - - - SelectionMode - SelectionMode-enum - - - - Q3Table - Q3Table - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3Table - Q3Table-2 - ( int numRows, int numCols, QWidget * parent = 0, const char * name = 0 ) - - - activateNextCell - activateNextCell - () - - - addSelection - addSelection - ( const Q3TableSelection & s ) - - - adjustColumn - adjustColumn - ( int col ) - - - adjustRow - adjustRow - ( int row ) - - - beginEdit - beginEdit - ( int row, int col, bool replace ) - - - cellGeometry - cellGeometry - ( int row, int col ) - - - cellRect - cellRect - ( int row, int col ) - - - cellWidget - cellWidget - ( int row, int col ) - - - clearCell - clearCell - ( int row, int col ) - - - clearCellWidget - clearCellWidget - ( int row, int col ) - - - clearSelection - clearSelection - ( bool repaint = true ) - - - clicked - clicked - ( int row, int col, int button, const QPoint & mousePos ) - - - columnAt - columnAt - ( int x ) - - - columnClicked - columnClicked - ( int col ) - - - columnIndexChanged - columnIndexChanged - ( int section, int fromIndex, int toIndex ) - - - columnPos - columnPos - ( int col ) - - - columnWidth - columnWidth - ( int col ) - - - columnWidthChanged - columnWidthChanged - ( int col ) - - - contentsDragEnterEvent - contentsDragEnterEvent - ( QDragEnterEvent * e ) - - - contentsDragLeaveEvent - contentsDragLeaveEvent - ( QDragLeaveEvent * e ) - - - contentsDragMoveEvent - contentsDragMoveEvent - ( QDragMoveEvent * e ) - - - contentsDropEvent - contentsDropEvent - ( QDropEvent * e ) - - - contextMenuRequested - contextMenuRequested - ( int row, int col, const QPoint & pos ) - - - createEditor - createEditor - ( int row, int col, bool initFromCell ) - - - currEditCol - currEditCol - () - - - currEditRow - currEditRow - () - - - currentChanged - currentChanged - ( int row, int col ) - - - currentColumn - currentColumn - () - - - currentRow - currentRow - () - - - currentSelection - currentSelection - () - - - doubleClicked - doubleClicked - ( int row, int col, int button, const QPoint & mousePos ) - - - dragEnabled - dragEnabled - () - - - dragObject - dragObject - () - - - drawContents - drawContents - ( QPainter * p, int cx, int cy, int cw, int ch ) - - - dropped - dropped - ( QDropEvent * e ) - - - editCell - editCell - ( int row, int col, bool replace = false ) - - - editMode - editMode - () - - - endEdit - endEdit - ( int row, int col, bool accept, bool replace ) - - - ensureCellVisible - ensureCellVisible - ( int row, int col ) - - - hideColumn - hideColumn - ( int col ) - - - hideRow - hideRow - ( int row ) - - - horizontalHeader - horizontalHeader - () - - - indexOf - indexOf - ( int row, int col ) - - - insertColumns - insertColumns - ( int col, int count = 1 ) - - - insertRows - insertRows - ( int row, int count = 1 ) - - - insertWidget - insertWidget - ( int row, int col, QWidget * w ) - - - isColumnHidden - isColumnHidden - ( int col ) - - - isColumnReadOnly - isColumnReadOnly - ( int col ) - - - isColumnSelected - isColumnSelected - ( int col, bool full = false ) - - - isColumnStretchable - isColumnStretchable - ( int col ) - - - isEditing - isEditing - () - - - isRowHidden - isRowHidden - ( int row ) - - - isRowReadOnly - isRowReadOnly - ( int row ) - - - isRowSelected - isRowSelected - ( int row, bool full = false ) - - - isRowStretchable - isRowStretchable - ( int row ) - - - isSelected - isSelected - ( int row, int col ) - - - item - item - ( int row, int col ) - - - paintCell - paintCell - ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg ) - - - paintCell - paintCell-2 - ( QPainter * p, int row, int col, const QRect & cr, bool selected ) - - - paintEmptyArea - paintEmptyArea - ( QPainter * p, int cx, int cy, int cw, int ch ) - - - paintFocus - paintFocus - ( QPainter * p, const QRect & cr ) - - - pixmap - pixmap - ( int row, int col ) - - - pressed - pressed - ( int row, int col, int button, const QPoint & mousePos ) - - - removeColumn - removeColumn - ( int col ) - - - removeColumns - removeColumns - ( const Q3MemArray<int> & cols ) - - - removeRow - removeRow - ( int row ) - - - removeRows - removeRows - ( const Q3MemArray<int> & rows ) - - - removeSelection - removeSelection - ( const Q3TableSelection & s ) - - - removeSelection - removeSelection-2 - ( int num ) - - - repaintSelections - repaintSelections - () - - - resizeData - resizeData - ( int len ) - - - rowAt - rowAt - ( int y ) - - - rowHeight - rowHeight - ( int row ) - - - rowHeightChanged - rowHeightChanged - ( int row ) - - - rowIndexChanged - rowIndexChanged - ( int section, int fromIndex, int toIndex ) - - - rowPos - rowPos - ( int row ) - - - selectCells - selectCells - ( int start_row, int start_col, int end_row, int end_col ) - - - selectColumn - selectColumn - ( int col ) - - - selectRow - selectRow - ( int row ) - - - selection - selection - ( int num ) - - - selectionChanged - selectionChanged - () - - - setCellContentFromEditor - setCellContentFromEditor - ( int row, int col ) - - - setCellWidget - setCellWidget - ( int row, int col, QWidget * e ) - - - setColumnLabels - setColumnLabels - ( const QStringList & labels ) - - - setColumnReadOnly - setColumnReadOnly - ( int col, bool ro ) - - - setColumnStretchable - setColumnStretchable - ( int col, bool stretch ) - - - setColumnWidth - setColumnWidth - ( int col, int w ) - - - setCurrentCell - setCurrentCell - ( int row, int col ) - - - setDragEnabled - setDragEnabled - ( bool b ) - - - setEditMode - setEditMode - ( EditMode mode, int row, int col ) - - - setItem - setItem - ( int row, int col, Q3TableItem * item ) - - - setLeftMargin - setLeftMargin - ( int m ) - - - setPixmap - setPixmap - ( int row, int col, const QPixmap & pix ) - - - setRowHeight - setRowHeight - ( int row, int h ) - - - setRowLabels - setRowLabels - ( const QStringList & labels ) - - - setRowReadOnly - setRowReadOnly - ( int row, bool ro ) - - - setRowStretchable - setRowStretchable - ( int row, bool stretch ) - - - setText - setText - ( int row, int col, const QString & text ) - - - setTopMargin - setTopMargin - ( int m ) - - - showColumn - showColumn - ( int col ) - - - showRow - showRow - ( int row ) - - - sortColumn - sortColumn - ( int col, bool ascending = true, bool wholeRows = false ) - - - startDrag - startDrag - () - - - swapCells - swapCells - ( int row1, int col1, int row2, int col2 ) - - - swapColumns - swapColumns - ( int col1, int col2, bool swapHeader = false ) - - - swapRows - swapRows - ( int row1, int row2, bool swapHeader = false ) - - - takeItem - takeItem - ( Q3TableItem * i ) - - - text - text - ( int row, int col ) - - - updateCell - updateCell - ( int row, int col ) - - - updateHeaderStates - updateHeaderStates - () - - - valueChanged - valueChanged - ( int row, int col ) - - - verticalHeader - verticalHeader - () - - - - Q3TableItem - q3tableitem.html - - EditType - EditType-enum - - - - Q3TableItem - Q3TableItem - ( Q3Table * table, EditType et ) - - - Q3TableItem - Q3TableItem-2 - ( Q3Table * table, EditType et, const QString & text ) - - - Q3TableItem - Q3TableItem-3 - ( Q3Table * table, EditType et, const QString & text, const QPixmap & p ) - - - alignment - alignment - () - - - col - col - () - - - colSpan - colSpan - () - - - createEditor - createEditor - () - - - editType - editType - () - - - isEnabled - isEnabled - () - - - isReplaceable - isReplaceable - () - - - key - key - () - - - paint - paint - ( QPainter * p, const QColorGroup & cg, const QRect & cr, bool selected ) - - - pixmap - pixmap - () - - - row - row - () - - - rowSpan - rowSpan - () - - - rtti - rtti - () - - - setCol - setCol - ( int c ) - - - setContentFromEditor - setContentFromEditor - ( QWidget * w ) - - - setEnabled - setEnabled - ( bool b ) - - - setPixmap - setPixmap - ( const QPixmap & p ) - - - setReplaceable - setReplaceable - ( bool b ) - - - setRow - setRow - ( int r ) - - - setSpan - setSpan - ( int rs, int cs ) - - - setText - setText - ( const QString & str ) - - - setWordWrap - setWordWrap - ( bool b ) - - - sizeHint - sizeHint - () - - - table - table - () - - - text - text - () - - - wordWrap - wordWrap - () - - - - Q3TableSelection - q3tableselection.html - - Q3TableSelection - Q3TableSelection - () - - - Q3TableSelection - Q3TableSelection-2 - ( int start_row, int start_col, int end_row, int end_col ) - - - anchorCol - anchorCol - () - - - anchorRow - anchorRow - () - - - bottomRow - bottomRow - () - - - expandTo - expandTo - ( int row, int col ) - - - init - init - ( int row, int col ) - - - isActive - isActive - () - - - isEmpty - isEmpty - () - - - leftCol - leftCol - () - - - numCols - numCols - () - - - numRows - numRows - () - - - rightCol - rightCol - () - - - topRow - topRow - () - - - operator!= - operator-not-eq - ( const Q3TableSelection & s ) - - - operator== - operator-eq-eq - ( const Q3TableSelection & s ) - - - - Q3TextBrowser - q3textbrowser.html - - Q3TextBrowser - Q3TextBrowser - ( QWidget * parent = 0, const char * name = 0 ) - - - anchorClicked - anchorClicked - ( const QString & name, const QString & link ) - - - backward - backward - () - - - backwardAvailable - backwardAvailable - ( bool available ) - - - forward - forward - () - - - forwardAvailable - forwardAvailable - ( bool available ) - - - highlighted - highlighted - ( const QString & link ) - - - home - home - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * e ) - - - linkClicked - linkClicked - ( const QString & link ) - - - reload - reload - () - - - setText - setText - ( const QString & txt ) - - - sourceChanged - sourceChanged - ( const QString & src ) - - - - Q3TextDrag - q3textdrag.html - - Q3TextDrag - Q3TextDrag - ( const QString & text, QWidget * dragSource = 0, const char * name = 0 ) - - - Q3TextDrag - Q3TextDrag-2 - ( QWidget * dragSource = 0, const char * name = 0 ) - - - canDecode - canDecode - ( const QMimeSource * source ) - - - decode - decode - ( const QMimeSource * source, QString & string ) - - - decode - decode-2 - ( const QMimeSource * source, QString & string, QString & subtype ) - - - setSubtype - setSubtype - ( const QString & subtype ) - - - setText - setText - ( const QString & text ) - - - - Q3TextEdit - q3textedit.html - - CursorAction - CursorAction-enum - - - - KeyboardAction - KeyboardAction-enum - - - - VerticalAlignment - VerticalAlignment-enum - - - - WordWrap - WordWrap-enum - - - - WrapPolicy - WrapPolicy-enum - - - - TextFormat - textFormat-prop - - - - Q3TextEdit - Q3TextEdit - ( const QString & text, const QString & context = QString() - - - Q3TextEdit - Q3TextEdit-2 - ( QWidget * parent = 0, const char * name = 0 ) - - - alignment - alignment - () - - - anchorAt - anchorAt - ( const QPoint & pos, Qt::AnchorAttribute attr = Qt::AnchorHref ) - - - append - append - ( const QString & text ) - - - bold - bold - () - - - charAt - charAt - ( const QPoint & pos, int * para ) - - - clear - clear - () - - - clearParagraphBackground - clearParagraphBackground - ( int para ) - - - clicked - clicked - ( int para, int pos ) - - - color - color - () - - - context - context - () - - - copy - copy - () - - - copyAvailable - copyAvailable - ( bool yes ) - - - createPopupMenu - createPopupMenu - ( const QPoint & pos ) - - - createPopupMenu - createPopupMenu-2 - () - - - currentAlignmentChanged - currentAlignmentChanged - ( int a ) - - - currentColorChanged - currentColorChanged - ( const QColor & c ) - - - currentFont - currentFont - () - - - currentFontChanged - currentFontChanged - ( const QFont & f ) - - - currentVerticalAlignmentChanged - currentVerticalAlignmentChanged - ( Q3TextEdit::VerticalAlignment a ) - - - cursorPositionChanged - cursorPositionChanged - ( int para, int pos ) - - - cut - cut - () - - - del - del - () - - - doKeyboardAction - doKeyboardAction - ( Q3TextEdit::KeyboardAction action ) - - - doubleClicked - doubleClicked - ( int para, int pos ) - - - ensureCursorVisible - ensureCursorVisible - () - - - family - family - () - - - find - find - ( const QString & expr, bool cs, bool wo, bool forward = true, int * para = 0, int * index = 0 ) - - - focusNextPrevChild - focusNextPrevChild - ( bool n ) - - - font - font - () - - - getCursorPosition - getCursorPosition - ( int * para, int * index ) - - - getSelection - getSelection - ( int * paraFrom, int * indexFrom, int * paraTo, int * indexTo, int selNum = 0 ) - - - heightForWidth - heightForWidth - ( int w ) - - - insert - insert - ( const QString & text, uint insertionFlags = CheckNewLines | RemoveSelected ) - - - insert - insert-2 - ( const QString & text, bool indent, bool checkNewLine = true, bool removeSelected = true ) - - - insertAt - insertAt - ( const QString & text, int para, int index ) - - - insertParagraph - insertParagraph - ( const QString & text, int para ) - - - isRedoAvailable - isRedoAvailable - () - - - isUndoAvailable - isUndoAvailable - () - - - italic - italic - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * e ) - - - lineOfChar - lineOfChar - ( int para, int index ) - - - lines - lines - () - - - linesOfParagraph - linesOfParagraph - ( int para ) - - - mimeSourceFactory - mimeSourceFactory - () - - - modificationChanged - modificationChanged - ( bool m ) - - - moveCursor - moveCursor - ( Q3TextEdit::CursorAction action, bool select ) - - - paragraphAt - paragraphAt - ( const QPoint & pos ) - - - paragraphBackgroundColor - paragraphBackgroundColor - ( int para ) - - - paragraphLength - paragraphLength - ( int para ) - - - paragraphRect - paragraphRect - ( int para ) - - - paragraphs - paragraphs - () - - - paste - paste - () - - - pasteSubType - pasteSubType - ( const QByteArray & subtype ) - - - placeCursor - placeCursor - ( const QPoint & pos, Q3TextCursor * c = 0 ) - - - pointSize - pointSize - () - - - redo - redo - () - - - redoAvailable - redoAvailable - ( bool yes ) - - - removeParagraph - removeParagraph - ( int para ) - - - removeSelectedText - removeSelectedText - ( int selNum = 0 ) - - - removeSelection - removeSelection - ( int selNum = 0 ) - - - repaintChanged - repaintChanged - () - - - returnPressed - returnPressed - () - - - scrollToAnchor - scrollToAnchor - ( const QString & name ) - - - scrollToBottom - scrollToBottom - () - - - selectAll - selectAll - ( bool select = true ) - - - selectionChanged - selectionChanged - () - - - setAlignment - setAlignment - ( int a ) - - - setBold - setBold - ( bool b ) - - - setColor - setColor - ( const QColor & c ) - - - setCurrentFont - setCurrentFont - ( const QFont & f ) - - - setCursorPosition - setCursorPosition - ( int para, int index ) - - - setFamily - setFamily - ( const QString & fontFamily ) - - - setItalic - setItalic - ( bool b ) - - - setMimeSourceFactory - setMimeSourceFactory - ( Q3MimeSourceFactory * factory ) - - - setParagraphBackgroundColor - setParagraphBackgroundColor - ( int para, const QColor & bg ) - - - setPointSize - setPointSize - ( int s ) - - - setSelection - setSelection - ( int paraFrom, int indexFrom, int paraTo, int indexTo, int selNum = 0 ) - - - setSelectionAttributes - setSelectionAttributes - ( int selNum, const QColor & back, bool invertText ) - - - setStyleSheet - setStyleSheet - ( Q3StyleSheet * styleSheet ) - - - setUnderline - setUnderline - ( bool b ) - - - setVerticalAlignment - setVerticalAlignment - ( Q3TextEdit::VerticalAlignment a ) - - - styleSheet - styleSheet - () - - - sync - sync - () - - - syntaxHighlighter - syntaxHighlighter - () - - - textChanged - textChanged - () - - - textCursor - textCursor - () - - - underline - underline - () - - - undo - undo - () - - - undoAvailable - undoAvailable - ( bool yes ) - - - verticalAlignment - verticalAlignment - () - - - zoomIn - zoomIn - ( int range ) - - - zoomIn - zoomIn-2 - () - - - zoomOut - zoomOut - ( int range ) - - - zoomOut - zoomOut-2 - () - - - zoomTo - zoomTo - ( int size ) - - - Q3TextStream - Q3TextStream-4 - ( QString & str, int filemode ) - - - eof - eof - () - - - - Q3TextStream - q3textstream.html - - Encoding - Encoding-enum - - - - Q3TextStream - Q3TextStream - () - - - Q3TextStream - Q3TextStream-2 - ( QIODevice * iod ) - - - Q3TextStream - Q3TextStream-3 - ( QString * str, int filemode ) - - - Q3TextStream - Q3TextStream-5 - ( QByteArray & a, int mode ) - - - Q3TextStream - Q3TextStream-6 - ( FILE * fh, int mode ) - - - atEnd - atEnd - () - - - codec - codec - () - - - device - device - () - - - fill - fill - () - - - fill - fill-2 - ( int f ) - - - flags - flags - () - - - flags - flags-2 - ( int f ) - - - precision - precision - () - - - precision - precision-2 - ( int p ) - - - read - read - () - - - readLine - readLine - () - - - readRawBytes - readRawBytes - ( char * s, uint len ) - - - reset - reset - () - - - setCodec - setCodec - ( QTextCodec * codec ) - - - setDevice - setDevice - ( QIODevice * iod ) - - - setEncoding - setEncoding - ( Encoding e ) - - - setf - setf - ( int bits ) - - - setf - setf-2 - ( int bits, int mask ) - - - skipWhiteSpace - skipWhiteSpace - () - - - unsetDevice - unsetDevice - () - - - unsetf - unsetf - ( int bits ) - - - width - width - () - - - width - width-2 - ( int w ) - - - writeRawBytes - writeRawBytes - ( const char * s, uint len ) - - - operator<< - operator-lt-lt - ( QChar c ) - - - operator<< - operator-lt-lt-2 - ( char c ) - - - operator<< - operator-lt-lt-3 - ( signed short i ) - - - operator<< - operator-lt-lt-4 - ( unsigned short i ) - - - operator<< - operator-lt-lt-5 - ( signed int i ) - - - operator<< - operator-lt-lt-6 - ( unsigned int i ) - - - operator<< - operator-lt-lt-7 - ( signed long i ) - - - operator<< - operator-lt-lt-8 - ( unsigned long i ) - - - operator<< - operator-lt-lt-9 - ( float f ) - - - operator<< - operator-lt-lt-10 - ( double f ) - - - operator<< - operator-lt-lt-11 - ( const char * s ) - - - operator<< - operator-lt-lt-12 - ( const Q3CString & s ) - - - operator<< - operator-lt-lt-13 - ( const QString & s ) - - - operator<< - operator-lt-lt-14 - ( void * ptr ) - - - operator>> - operator-gt-gt - ( QChar & c ) - - - operator>> - operator-gt-gt-2 - ( char & c ) - - - operator>> - operator-gt-gt-3 - ( signed short & i ) - - - operator>> - operator-gt-gt-4 - ( unsigned short & i ) - - - operator>> - operator-gt-gt-5 - ( signed int & i ) - - - operator>> - operator-gt-gt-6 - ( unsigned int & i ) - - - operator>> - operator-gt-gt-7 - ( signed long & i ) - - - operator>> - operator-gt-gt-8 - ( unsigned long & i ) - - - operator>> - operator-gt-gt-9 - ( float & f ) - - - operator>> - operator-gt-gt-10 - ( double & f ) - - - operator>> - operator-gt-gt-11 - ( char * s ) - - - operator>> - operator-gt-gt-12 - ( QString & str ) - - - operator>> - operator-gt-gt-13 - ( Q3CString & str ) - - - - Q3TextView - q3textview.html - - - Q3TimeEdit - q3timeedit.html - - Display - Display-enum - - - - Q3TimeEdit - Q3TimeEdit - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3TimeEdit - Q3TimeEdit-2 - ( const QTime & time, QWidget * parent = 0, const char * name = 0 ) - - - sectionFormattedText - sectionFormattedText - ( int sec ) - - - separator - separator - () - - - setHour - setHour - ( int h ) - - - setMinute - setMinute - ( int m ) - - - setRange - setRange - ( const QTime & min, const QTime & max ) - - - setSecond - setSecond - ( int s ) - - - setSeparator - setSeparator - ( const QString & s ) - - - valueChanged - valueChanged - ( const QTime & time ) - - - - Q3ToolBar - q3toolbar.html - - Q3ToolBar - Q3ToolBar - ( const QString & label, Q3MainWindow * parent, Qt::ToolBarDock dock = Qt::DockTop, bool newLine = false, const char * name = 0 ) - - - Q3ToolBar - Q3ToolBar-2 - ( const QString & label, Q3MainWindow * mainWindow, QWidget * parent, bool newLine = false, const char * name = 0, Qt::WindowFlags f = 0 ) - - - Q3ToolBar - Q3ToolBar-3 - ( Q3MainWindow * parent = 0, const char * name = 0 ) - - - addSeparator - addSeparator - () - - - clear - clear - () - - - mainWindow - mainWindow - () - - - setStretchableWidget - setStretchableWidget - ( QWidget * w ) - - - setFilenames - setFilenames-2x - ( const QStringList & list ) - - - - Q3UriDrag - q3uridrag.html - - Q3UriDrag - Q3UriDrag - ( const Q3StrList & uris, QWidget * dragSource = 0, const char * name = 0 ) - - - Q3UriDrag - Q3UriDrag-2 - ( QWidget * dragSource = 0, const char * name = 0 ) - - - canDecode - canDecode - ( const QMimeSource * source ) - - - decode - decode - ( const QMimeSource * source, Q3StrList & list ) - - - decodeLocalFiles - decodeLocalFiles - ( const QMimeSource * source, QStringList & list ) - - - decodeToUnicodeUris - decodeToUnicodeUris - ( const QMimeSource * source, QStringList & list ) - - - localFileToUri - localFileToUri - ( const QString & filename ) - - - setFileNames - setFileNames - ( const QStringList & filenames ) - - - setFileNames - setFileNames-2 - ( const QString & name ) - - - setFilenames - setFilenamesx - ( const QString & name ) - - - setUnicodeUris - setUnicodeUris - ( const QStringList & list ) - - - setUris - setUris - ( const QList<QByteArray> & list ) - - - unicodeUriToUri - unicodeUriToUri - ( const QString & string ) - - - uriToLocalFile - uriToLocalFile - ( const char * string ) - - - uriToUnicodeUri - uriToUnicodeUri - ( const char * string ) - - - - Q3Url - q3url.html - - Q3Url - Q3Url - () - - - Q3Url - Q3Url-2 - ( const QString & url ) - - - Q3Url - Q3Url-3 - ( const Q3Url & url ) - - - Q3Url - Q3Url-4 - ( const Q3Url & url, const QString & relUrl, bool checkSlash = false ) - - - addPath - addPath - ( const QString & pa ) - - - cdUp - cdUp - () - - - decode - decode - ( QString & url ) - - - dirPath - dirPath - () - - - encode - encode - ( QString & url ) - - - encodedPathAndQuery - encodedPathAndQuery - () - - - fileName - fileName - () - - - hasHost - hasHost - () - - - hasPassword - hasPassword - () - - - hasPath - hasPath - () - - - hasPort - hasPort - () - - - hasRef - hasRef - () - - - hasUser - hasUser - () - - - host - host - () - - - isLocalFile - isLocalFile - () - - - isRelativeUrl - isRelativeUrl - ( const QString & url ) - - - isValid - isValid - () - - - parse - parse - ( const QString & url ) - - - password - password - () - - - path - path - ( bool correct = true ) - - - port - port - () - - - protocol - protocol - () - - - query - query - () - - - ref - ref - () - - - reset - reset - () - - - setEncodedPathAndQuery - setEncodedPathAndQuery - ( const QString & pathAndQuery ) - - - setFileName - setFileName - ( const QString & name ) - - - setHost - setHost - ( const QString & host ) - - - setPassword - setPassword - ( const QString & pass ) - - - setPath - setPath - ( const QString & path ) - - - setPort - setPort - ( int port ) - - - setProtocol - setProtocol - ( const QString & protocol ) - - - setQuery - setQuery - ( const QString & txt ) - - - setRef - setRef - ( const QString & txt ) - - - setUser - setUser - ( const QString & user ) - - - toString - toString - ( bool encodedPath = false, bool forcePrependProtocol = true ) - - - user - user - () - - - operator - operator-QString - QString() - - - operator= - operator-eq - ( const Q3Url & url ) - - - operator= - operator-eq-2 - ( const QString & url ) - - - operator== - operator-eq-eq - ( const Q3Url & url ) - - - operator== - operator-eq-eq-2 - ( const QString & url ) - - - - Q3UrlOperator - q3urloperator.html - - Q3UrlOperator - Q3UrlOperator - () - - - Q3UrlOperator - Q3UrlOperator-2 - ( const QString & url ) - - - Q3UrlOperator - Q3UrlOperator-3 - ( const Q3UrlOperator & url ) - - - Q3UrlOperator - Q3UrlOperator-4 - ( const Q3UrlOperator & url, const QString & relUrl, bool checkSlash = false ) - - - clearEntries - clearEntries - () - - - connectionStateChanged - connectionStateChanged - ( int state, const QString & data ) - - - copy - copy - ( const QString & from, const QString & to, bool move = false, bool toPath = true ) - - - copy - copy-2 - ( const QStringList & files, const QString & dest, bool move = false ) - - - createdDirectory - createdDirectory - ( const QUrlInfo & i, Q3NetworkOperation * op ) - - - data - data - ( const QByteArray & data, Q3NetworkOperation * op ) - - - dataTransferProgress - dataTransferProgress - ( int bytesDone, int bytesTotal, Q3NetworkOperation * op ) - - - deleteNetworkProtocol - deleteNetworkProtocol - () - - - finished - finished - ( Q3NetworkOperation * op ) - - - get - get - ( const QString & location = QString() - - - getNetworkProtocol - getNetworkProtocol - () - - - info - info - ( const QString & entry ) - - - isDir - isDir - ( bool * ok = 0 ) - - - itemChanged - itemChanged - ( Q3NetworkOperation * op ) - - - listChildren - listChildren - () - - - mkdir - mkdir - ( const QString & dirname ) - - - nameFilter - nameFilter - () - - - newChildren - newChildren - ( const Q3ValueList<QUrlInfo> & i, Q3NetworkOperation * op ) - - - put - put - ( const QByteArray & data, const QString & location = QString() - - - remove - remove - ( const QString & filename ) - - - removed - removed - ( Q3NetworkOperation * op ) - - - rename - rename - ( const QString & oldname, const QString & newname ) - - - setNameFilter - setNameFilter - ( const QString & nameFilter ) - - - start - start - ( Q3NetworkOperation * op ) - - - startedNextCopy - startedNextCopy - ( const Q3PtrList<Q3NetworkOperation> & lst ) - - - stop - stop - () - - - operator= - operator-eq - ( const Q3UrlOperator & url ) - - - operator= - operator-eq-2 - ( const QString & url ) - - - - Q3ValueList - q3valuelist.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - const_iterator - const_iterator-typedef - - - - const_pointer - const_pointer-typedef - - - - const_reference - const_reference-typedef - - - - iterator - iterator-typedefx - - - - pointer - pointer-typedef - - - - reference - reference-typedef - - - - size_type - size_type-typedef - - - - value_type - value_type-typedef - - - - Q3ValueList - Q3ValueList - () - - - Q3ValueList - Q3ValueList-2 - ( const Q3ValueList<T> & l ) - - - Q3ValueList - Q3ValueList-3 - ( const QLinkedList<T> & l ) - - - Q3ValueList - Q3ValueList-4 - ( const QList<T> & l ) - - - Q3ValueList - Q3ValueList-5 - ( const std::list<T> & l ) - - - append - append - ( const T & x ) - - - at - at - ( Q3ValueList<T>::size_type i ) - - - at - at-2 - ( Q3ValueList<T>::size_type i ) - - - contains - contains - ( const T & x ) - - - fromLast - fromLast - () - - - fromLast - fromLast-2 - () - - - insert - insert - ( Q3ValueList<T>::Iterator it, const T & x ) - - - insert - insert-2 - ( Q3ValueList<T>::Iterator pos, Q3ValueList<T>::size_type n, const T & x ) - - - prepend - prepend - ( const T & x ) - - - remove - remove - ( Q3ValueList<T>::Iterator it ) - - - remove - remove-2 - ( const T & x ) - - - operator - operator-QList-ltT-gt - QList<T>() - - - operator!= - operator-not-eq - ( const Q3ValueList<T> & l ) - - - operator+ - operator-2b - ( const Q3ValueList<T> & l ) - - - operator+= - operator-2b-eq - ( const Q3ValueList<T> & l ) - - - operator+= - operator-2b-eq-2 - ( const T & x ) - - - operator<< - operator-lt-lt - ( const T & x ) - - - operator= - operator-eq - ( const Q3ValueList<T> & l ) - - - operator= - operator-eq-2 - ( const QList<T> & l ) - - - operator= - operator-eq-3 - ( const std::list<T> & l ) - - - operator== - operator-eq-eq - ( const Q3ValueList<T> & l ) - - - operator== - operator-eq-eq-2 - ( const std::list<T> & l ) - - - operator[] - operator-5b-5d - ( Q3ValueList<T>::size_type i ) - - - operator[] - operator-5b-5d-2 - ( Q3ValueList<T>::size_type i ) - - - - Q3ValueListConstIterator - q3valuelistconstiterator.html - - Q3ValueListConstIterator - Q3ValueListConstIterator - () - - - Q3ValueListConstIterator - Q3ValueListConstIterator-2 - ( const Q3ValueListConstIterator & o ) - - - Q3ValueListConstIterator - Q3ValueListConstIterator-3 - ( const QLinkedList<T>::const_iterator & o ) - - - Q3ValueListConstIterator - Q3ValueListConstIterator-4 - ( const QLinkedList<T>::iterator & o ) - - - - Q3ValueListIterator - q3valuelistiterator.html - - Q3ValueListIterator - Q3ValueListIterator - () - - - Q3ValueListIterator - Q3ValueListIterator-2 - ( const Q3ValueListIterator & o ) - - - Q3ValueListIterator - Q3ValueListIterator-3 - ( const QLinkedList<T>::iterator & o ) - - - - Q3ValueStack - q3valuestack.html - - Q3ValueStack - Q3ValueStack - () - - - pop - pop - () - - - push - push - ( const T & d ) - - - top - top - () - - - top - top-2 - () - - - - Q3ValueVector - q3valuevector.html - - Q3ValueVector - Q3ValueVector - () - - - Q3ValueVector - Q3ValueVector-2 - ( const Q3ValueVector<T> & v ) - - - Q3ValueVector - Q3ValueVector-3 - ( QVector<T>::size_type n, const T & val = T() - - - Q3ValueVector - Q3ValueVector-4 - ( const std::vector<T> & v ) - - - at - at - ( int i, bool * ok = 0 ) - - - at - at-2 - ( int i, bool * ok = 0 ) - - - resize - resize - ( int n, const T & val = T() - - - operator= - operator-eq - ( const Q3ValueVector<T> & v ) - - - operator= - operator-eq-2 - ( const std::vector<T> & v ) - - - - Q3VBox - q3vbox.html - - Q3VBox - Q3VBox - ( QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - - Q3VButtonGroup - q3vbuttongroup.html - - Q3VButtonGroup - Q3VButtonGroup - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3VButtonGroup - Q3VButtonGroup-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - - Q3VGroupBox - q3vgroupbox.html - - Q3VGroupBox - Q3VGroupBox - ( QWidget * parent = 0, const char * name = 0 ) - - - Q3VGroupBox - Q3VGroupBox-2 - ( const QString & title, QWidget * parent = 0, const char * name = 0 ) - - - - Q3WhatsThis - q3whatsthis.html - - Q3WhatsThis - Q3WhatsThis - ( QWidget * widget ) - - - add - add - ( QWidget * widget, const QString & text ) - - - clicked - clicked - ( const QString & href ) - - - display - display - ( const QString & text, const QPoint & pos = QCursor::pos() - - - enterWhatsThisMode - enterWhatsThisMode - () - - - inWhatsThisMode - inWhatsThisMode - () - - - leaveWhatsThisMode - leaveWhatsThisMode - ( const QString & text = QString() - - - remove - remove - ( QWidget * widget ) - - - text - text - ( const QPoint & pos ) - - - whatsThisButton - whatsThisButton - ( QWidget * parent ) - - - - Q3WidgetStack - q3widgetstack.html - - Q3WidgetStack - Q3WidgetStack - ( QWidget * parent, const char * name = 0, Qt::WindowFlags f = 0 ) - - - aboutToShow - aboutToShow - ( int id ) - - - aboutToShow - aboutToShow-2 - ( QWidget * widget ) - - - addWidget - addWidget - ( QWidget * w, int id = -1 ) - - - id - id - ( QWidget * widget ) - - - raiseWidget - raiseWidget - ( int id ) - - - raiseWidget - raiseWidget-2 - ( QWidget * w ) - - - removeWidget - removeWidget - ( QWidget * w ) - - - setChildGeometries - setChildGeometries - () - - - visibleWidget - visibleWidget - () - - - widget - widget - ( int id ) - - - setFinish - setFinish - ( QWidget * widget, bool finish ) - - - - Q3Wizard - q3wizard.html - - Q3Wizard - Q3Wizard - ( QWidget * parent = 0, const char * name = 0, bool modal = false, Qt::WindowFlags f = 0 ) - - - addPage - addPage - ( QWidget * page, const QString & title ) - - - appropriate - appropriate - ( QWidget * page ) - - - back - back - () - - - backButton - backButton - () - - - cancelButton - cancelButton - () - - - currentPage - currentPage - () - - - finishButton - finishButton - () - - - help - help - () - - - helpButton - helpButton - () - - - helpClicked - helpClicked - () - - - indexOf - indexOf - ( QWidget * page ) - - - insertPage - insertPage - ( QWidget * page, const QString & title, int index ) - - - layOutButtonRow - layOutButtonRow - ( QHBoxLayout * layout ) - - - layOutTitleRow - layOutTitleRow - ( QHBoxLayout * layout, const QString & title ) - - - next - next - () - - - nextButton - nextButton - () - - - page - page - ( int index ) - - - pageCount - pageCount - () - - - removePage - removePage - ( QWidget * page ) - - - selected - selected - ( const QString & title ) - - - setAppropriate - setAppropriate - ( QWidget * page, bool appropriate ) - - - setBackEnabled - setBackEnabled - ( QWidget * page, bool enable ) - - - setFinishEnabled - setFinishEnabled - ( QWidget * page, bool enable ) - - - setHelpEnabled - setHelpEnabled - ( QWidget * page, bool enable ) - - - setNextEnabled - setNextEnabled - ( QWidget * page, bool enable ) - - - setTitle - setTitle - ( QWidget * page, const QString & title ) - - - showPage - showPage - ( QWidget * page ) - - - title - title - ( QWidget * page ) - - - QAbstractButton - QAbstractButton-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - accel - accel - () - - - iconSet - iconSet - () - - - isOn - isOn - () - - - isToggleButton - isToggleButton - () - - - pixmap - pixmap - () - - - setAccel - setAccel - ( const QKeySequence & key ) - - - setIconSet - setIconSet - ( const QIcon & icon ) - - - setOn - setOn - ( bool b ) - - - setPixmap - setPixmap - ( const QPixmap & p ) - - - setToggleButton - setToggleButton - ( bool b ) - - - - QAbstractButton - qabstractbutton.html - - QAbstractButton - QAbstractButton - ( QWidget * parent = 0 ) - - - animateClick - animateClick - ( int msec = 100 ) - - - checkStateSet - checkStateSet - () - - - click - click - () - - - clicked - clicked - ( bool checked = false ) - - - group - group - () - - - hitButton - hitButton - ( const QPoint & pos ) - - - nextCheckState - nextCheckState - () - - - pressed - pressed - () - - - released - released - () - - - toggle - toggle - () - - - toggled - toggled - ( bool checked ) - - - QAbstractButton - QAbstractButton-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - accel - accel - () - - - iconSet - iconSet - () - - - isOn - isOn - () - - - isToggleButton - isToggleButton - () - - - pixmap - pixmap - () - - - setAccel - setAccel - ( const QKeySequence & key ) - - - setIconSet - setIconSet - ( const QIcon & icon ) - - - setOn - setOn - ( bool b ) - - - setPixmap - setPixmap - ( const QPixmap & p ) - - - setToggleButton - setToggleButton - ( bool b ) - - - - QAbstractEventDispatcher - qabstracteventdispatcher.html - - EventFilter - EventFilter-typedef - - - - TimerInfo - TimerInfo-typedef - - - - QAbstractEventDispatcher - QAbstractEventDispatcher - ( QObject * parent = 0 ) - - - aboutToBlock - aboutToBlock - () - - - awake - awake - () - - - filterEvent - filterEvent - ( void * message ) - - - flush - flush - () - - - hasPendingEvents - hasPendingEvents - () - - - instance - instance - ( QThread * thread = 0 ) - - - interrupt - interrupt - () - - - processEvents - processEvents - ( QEventLoop::ProcessEventsFlags flags ) - - - registerSocketNotifier - registerSocketNotifier - ( QSocketNotifier * notifier ) - - - registerTimer - registerTimer - ( int interval, QObject * object ) - - - registerTimer - registerTimer-2 - ( int timerId, int interval, QObject * object ) - - - registeredTimers - registeredTimers - ( QObject * object ) - - - setEventFilter - setEventFilter - ( EventFilter filter ) - - - unregisterSocketNotifier - unregisterSocketNotifier - ( QSocketNotifier * notifier ) - - - unregisterTimer - unregisterTimer - ( int timerId ) - - - unregisterTimers - unregisterTimers - ( QObject * object ) - - - wakeUp - wakeUp - () - - - - QAbstractExtensionFactory - qabstractextensionfactory.html - - extension - extension - ( QObject * object, const QString & iid ) - - - - QAbstractExtensionManager - qabstractextensionmanager.html - - extension - extension - ( QObject * object, const QString & iid ) - - - registerExtensions - registerExtensions - ( QAbstractExtensionFactory * factory, const QString & iid ) - - - unregisterExtensions - unregisterExtensions - ( QAbstractExtensionFactory * factory, const QString & iid ) - - - - QAbstractFileEngine::ExtensionOption - qabstractfileengine-extensionoption.html - - - QAbstractFileEngine::ExtensionReturn - qabstractfileengine-extensionreturn.html - - - QAbstractFileEngine - qabstractfileengine.html - - Extension - Extension-enum - - - - FileName - FileName-enum - - - - FileOwner - FileOwner-enum - - - - FileTime - FileTime-enum - - - - Iterator - Iterator-typedef - - - - QAbstractFileEngine - QAbstractFileEngine - () - - - atEnd - atEnd - () - - - beginEntryList - beginEntryList - ( QDir::Filters filters, const QStringList & filterNames ) - - - caseSensitive - caseSensitive - () - - - close - close - () - - - copy - copy - ( const QString & newName ) - - - create - create - ( const QString & fileName ) - - - entryList - entryList - ( QDir::Filters filters, const QStringList & filterNames ) - - - FileError - error - QAbstractFileEngine::error() - - - errorString - errorString - () - - - extension - extension - ( Extension extension, const ExtensionOption * option = 0, ExtensionReturn * output = 0 ) - - - fileFlags - fileFlags - ( FileFlags type = FileInfoAll ) - - - fileName - fileName - ( FileName file = DefaultName ) - - - fileTime - fileTime - ( FileTime time ) - - - flush - flush - () - - - handle - handle - () - - - isRelativePath - isRelativePath - () - - - isSequential - isSequential - () - - - link - link - ( const QString & newName ) - - - mkdir - mkdir - ( const QString & dirName, bool createParentDirectories ) - - - open - open - ( QIODevice::OpenMode mode ) - - - owner - owner - ( FileOwner owner ) - - - ownerId - ownerId - ( FileOwner owner ) - - - pos - pos - () - - - read - read - ( char * data, qint64 maxlen ) - - - readLine - readLine - ( char * data, qint64 maxlen ) - - - remove - remove - () - - - rename - rename - ( const QString & newName ) - - - rmdir - rmdir - ( const QString & dirName, bool recurseParentDirectories ) - - - seek - seek - ( qint64 offset ) - - - setError - setError - ( QFile::FileError error, const QString & errorString ) - - - setFileName - setFileName - ( const QString & file ) - - - setPermissions - setPermissions - ( uint perms ) - - - setSize - setSize - ( qint64 size ) - - - size - size - () - - - supportsExtension - supportsExtension - ( Extension extension ) - - - write - write - ( const char * data, qint64 len ) - - - Iterator - Iterator-typedef - - - - - QAbstractFileEngineHandler - qabstractfileenginehandler.html - - QAbstractFileEngineHandler - QAbstractFileEngineHandler - () - - - create - create - ( const QString & fileName ) - - - - QAbstractFileEngineIterator - qabstractfileengineiterator.html - - QAbstractFileEngineIterator - QAbstractFileEngineIterator - ( QDir::Filters filters, const QStringList & nameFilters ) - - - currentFileInfo - currentFileInfo - () - - - currentFileName - currentFileName - () - - - currentFilePath - currentFilePath - () - - - Filters - filters - QAbstractFileEngineIterator::filters() - - - hasNext - hasNext - () - - - nameFilters - nameFilters - () - - - next - next - () - - - path - path - () - - - - QAbstractFontEngine::FixedPoint - qabstractfontengine-fixedpoint.html - - x - x-var - - - - y - y-var - - - - - QAbstractFontEngine::GlyphMetrics - qabstractfontengine-glyphmetrics.html - - GlyphMetrics - GlyphMetricsx - () - - - advance - advance-var - - - - height - height-var - - - - width - width-var - - - - x - x-var - - - - y - y-var - - - - - QAbstractFontEngine - qabstractfontengine.html - - Fixed - Fixed-typedef - - - - FontProperty - FontProperty-enum - - - - QAbstractFontEngine - QAbstractFontEngine - ( QObject * parent = 0 ) - - - addGlyphOutlinesToPath - addGlyphOutlinesToPath - ( uint * glyphs, int numGlyphs, FixedPoint * positions, QPainterPath * path ) - - - capabilities - capabilities - () - - - convertStringToGlyphIndices - convertStringToGlyphIndices - ( const QChar * string, int length, uint * glyphs, int * numGlyphs, TextShapingFlags flags ) - - - fontProperty - fontProperty - ( FontProperty property ) - - - getGlyphAdvances - getGlyphAdvances - ( const uint * glyphs, int numGlyphs, Fixed * advances, TextShapingFlags flags ) - - - glyphMetrics - glyphMetrics - ( uint glyph ) - - - renderGlyph - renderGlyph - ( uint glyph, int depth, int bytesPerLine, int height, uchar * buffer ) - - - - QAbstractFormBuilder - qabstractformbuilder.html - - QAbstractFormBuilder - QAbstractFormBuilder - () - - - load - load - ( QIODevice * device, QWidget * parent = 0 ) - - - save - save - ( QIODevice * device, QWidget * widget ) - - - setWorkingDirectory - setWorkingDirectory - ( const QDir & directory ) - - - workingDirectory - workingDirectory - () - - - - QAbstractGraphicsShapeItem - qabstractgraphicsshapeitem.html - - QAbstractGraphicsShapeItem - QAbstractGraphicsShapeItem - ( QGraphicsItem * parent = 0 ) - - - brush - brush - () - - - pen - pen - () - - - setBrush - setBrush - ( const QBrush & brush ) - - - setPen - setPen - ( const QPen & pen ) - - - elidedText - elidedText - ( const QFontMetrics & fontMetrics, int width, Qt::TextElideMode mode, const QString & text ) - - - - QAbstractItemDelegate - qabstractitemdelegate.html - - EndEditHint - EndEditHint-enum - - - - QAbstractItemDelegate - QAbstractItemDelegate - ( QObject * parent = 0 ) - - - closeEditor - closeEditor - ( QWidget * editor, QAbstractItemDelegate::EndEditHint hint = NoHint ) - - - commitData - commitData - ( QWidget * editor ) - - - createEditor - createEditor - ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - editorEvent - editorEvent - ( QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - helpEvent - helpEvent - ( QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - paint - paint - ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - setEditorData - setEditorData - ( QWidget * editor, const QModelIndex & index ) - - - setModelData - setModelData - ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) - - - sizeHint - sizeHint - ( const QStyleOptionViewItem & option, const QModelIndex & index ) - - - updateEditorGeometry - updateEditorGeometry - ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - createIndex - createIndex-2 - ( int row, int column, int id ) - - - - QAbstractItemModel - qabstractitemmodel.html - - QAbstractItemModel - QAbstractItemModel - ( QObject * parent = 0 ) - - - beginInsertColumns - beginInsertColumns - ( const QModelIndex & parent, int first, int last ) - - - beginInsertRows - beginInsertRows - ( const QModelIndex & parent, int first, int last ) - - - beginRemoveColumns - beginRemoveColumns - ( const QModelIndex & parent, int first, int last ) - - - beginRemoveRows - beginRemoveRows - ( const QModelIndex & parent, int first, int last ) - - - buddy - buddy - ( const QModelIndex & index ) - - - canFetchMore - canFetchMore - ( const QModelIndex & parent ) - - - changePersistentIndex - changePersistentIndex - ( const QModelIndex & from, const QModelIndex & to ) - - - changePersistentIndexList - changePersistentIndexList - ( const QModelIndexList & from, const QModelIndexList & to ) - - - columnCount - columnCount - ( const QModelIndex & parent = QModelIndex() - - - columnsAboutToBeInserted - columnsAboutToBeInserted - ( const QModelIndex & parent, int start, int end ) - - - columnsAboutToBeRemoved - columnsAboutToBeRemoved - ( const QModelIndex & parent, int start, int end ) - - - columnsInserted - columnsInserted - ( const QModelIndex & parent, int start, int end ) - - - columnsRemoved - columnsRemoved - ( const QModelIndex & parent, int start, int end ) - - - createIndex - createIndex - ( int row, int column, void * ptr = 0 ) - - - createIndex - createIndex-3 - ( int row, int column, quint32 id ) - - - data - data - ( const QModelIndex & index, int role = Qt::DisplayRole ) - - - dataChanged - dataChanged - ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - - - dropMimeData - dropMimeData - ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - - - endInsertColumns - endInsertColumns - () - - - endInsertRows - endInsertRows - () - - - endRemoveColumns - endRemoveColumns - () - - - endRemoveRows - endRemoveRows - () - - - fetchMore - fetchMore - ( const QModelIndex & parent ) - - - ItemFlags - flags - QAbstractItemModel::flags( const QModelIndex & index ) - - - hasChildren - hasChildren - ( const QModelIndex & parent = QModelIndex() - - - hasIndex - hasIndex - ( int row, int column, const QModelIndex & parent = QModelIndex() - - - headerData - headerData - ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) - - - headerDataChanged - headerDataChanged - ( Qt::Orientation orientation, int first, int last ) - - - index - index - ( int row, int column, const QModelIndex & parent = QModelIndex() - - - insertColumn - insertColumn - ( int column, const QModelIndex & parent = QModelIndex() - - - insertColumns - insertColumns - ( int column, int count, const QModelIndex & parent = QModelIndex() - - - insertRow - insertRow - ( int row, const QModelIndex & parent = QModelIndex() - - - insertRows - insertRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - itemData - itemData - ( const QModelIndex & index ) - - - layoutAboutToBeChanged - layoutAboutToBeChanged - () - - - layoutChanged - layoutChanged - () - - - match - match - ( const QModelIndex & start, int role, const QVariant & value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap ) - - - mimeData - mimeData - ( const QModelIndexList & indexes ) - - - mimeTypes - mimeTypes - () - - - modelAboutToBeReset - modelAboutToBeReset - () - - - modelReset - modelReset - () - - - parent - parent - ( const QModelIndex & index ) - - - persistentIndexList - persistentIndexList - () - - - removeColumn - removeColumn - ( int column, const QModelIndex & parent = QModelIndex() - - - removeColumns - removeColumns - ( int column, int count, const QModelIndex & parent = QModelIndex() - - - removeRow - removeRow - ( int row, const QModelIndex & parent = QModelIndex() - - - removeRows - removeRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - reset - reset - () - - - revert - revert - () - - - rowCount - rowCount - ( const QModelIndex & parent = QModelIndex() - - - rowsAboutToBeInserted - rowsAboutToBeInserted - ( const QModelIndex & parent, int start, int end ) - - - rowsAboutToBeRemoved - rowsAboutToBeRemoved - ( const QModelIndex & parent, int start, int end ) - - - rowsInserted - rowsInserted - ( const QModelIndex & parent, int start, int end ) - - - rowsRemoved - rowsRemoved - ( const QModelIndex & parent, int start, int end ) - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - - - setHeaderData - setHeaderData - ( int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole ) - - - setItemData - setItemData - ( const QModelIndex & index, const QMap<int, QVariant> & roles ) - - - setSupportedDragActions - setSupportedDragActions - ( Qt::DropActions actions ) - - - sibling - sibling - ( int row, int column, const QModelIndex & index ) - - - sort - sort - ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - - - span - span - ( const QModelIndex & index ) - - - submit - submit - () - - - DropActions - supportedDragActions - QAbstractItemModel::supportedDragActions() - - - DropActions - supportedDropActions - QAbstractItemModel::supportedDropActions() - - - horizontalStepsPerItem - horizontalStepsPerItem - () - - - setHorizontalStepsPerItem - setHorizontalStepsPerItem - ( int steps ) - - - setVerticalStepsPerItem - setVerticalStepsPerItem - ( int steps ) - - - verticalStepsPerItem - verticalStepsPerItem - () - - - - QAbstractItemView - qabstractitemview.html - - CursorAction - CursorAction-enum - - - - DragDropMode - DragDropMode-enum - - - - DropIndicatorPosition - DropIndicatorPosition-enum - - - - ScrollHint - ScrollHint-enum - - - - ScrollMode - ScrollMode-enum - - - - SelectionBehavior - SelectionBehavior-enum - - - - SelectionMode - SelectionMode-enum - - - - State - State-enum - - - - TextElideMode - textElideMode-prop - - - - QAbstractItemView - QAbstractItemView - ( QWidget * parent = 0 ) - - - activated - activated - ( const QModelIndex & index ) - - - clearSelection - clearSelection - () - - - clicked - clicked - ( const QModelIndex & index ) - - - closeEditor - closeEditor - ( QWidget * editor, QAbstractItemDelegate::EndEditHint hint ) - - - closePersistentEditor - closePersistentEditor - ( const QModelIndex & index ) - - - commitData - commitData - ( QWidget * editor ) - - - currentChanged - currentChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - currentIndex - currentIndex - () - - - dataChanged - dataChanged - ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - - - dirtyRegionOffset - dirtyRegionOffset - () - - - doubleClicked - doubleClicked - ( const QModelIndex & index ) - - - dragEnterEvent - dragEnterEvent - ( QDragEnterEvent * event ) - - - dragLeaveEvent - dragLeaveEvent - ( QDragLeaveEvent * event ) - - - dragMoveEvent - dragMoveEvent - ( QDragMoveEvent * event ) - - - dropEvent - dropEvent - ( QDropEvent * event ) - - - dropIndicatorPosition - dropIndicatorPosition - () - - - edit - edit - ( const QModelIndex & index ) - - - edit - edit-2 - ( const QModelIndex & index, EditTrigger trigger, QEvent * event ) - - - editorDestroyed - editorDestroyed - ( QObject * editor ) - - - entered - entered - ( const QModelIndex & index ) - - - executeDelayedItemsLayout - executeDelayedItemsLayout - () - - - focusInEvent - focusInEvent - ( QFocusEvent * event ) - - - focusOutEvent - focusOutEvent - ( QFocusEvent * event ) - - - horizontalOffset - horizontalOffset - () - - - indexAt - indexAt - ( const QPoint & point ) - - - indexWidget - indexWidget - ( const QModelIndex & index ) - - - isIndexHidden - isIndexHidden - ( const QModelIndex & index ) - - - itemDelegate - itemDelegate - () - - - itemDelegate - itemDelegate-2 - ( const QModelIndex & index ) - - - itemDelegateForColumn - itemDelegateForColumn - ( int column ) - - - itemDelegateForRow - itemDelegateForRow - ( int row ) - - - keyPressEvent - keyPressEvent - ( QKeyEvent * event ) - - - keyboardSearch - keyboardSearch - ( const QString & search ) - - - model - model - () - - - mouseDoubleClickEvent - mouseDoubleClickEvent - ( QMouseEvent * event ) - - - mouseMoveEvent - mouseMoveEvent - ( QMouseEvent * event ) - - - mousePressEvent - mousePressEvent - ( QMouseEvent * event ) - - - mouseReleaseEvent - mouseReleaseEvent - ( QMouseEvent * event ) - - - moveCursor - moveCursor - ( CursorAction cursorAction, Qt::KeyboardModifiers modifiers ) - - - openPersistentEditor - openPersistentEditor - ( const QModelIndex & index ) - - - pressed - pressed - ( const QModelIndex & index ) - - - reset - reset - () - - - resizeEvent - resizeEvent - ( QResizeEvent * event ) - - - rootIndex - rootIndex - () - - - rowsAboutToBeRemoved - rowsAboutToBeRemoved - ( const QModelIndex & parent, int start, int end ) - - - rowsInserted - rowsInserted - ( const QModelIndex & parent, int start, int end ) - - - scheduleDelayedItemsLayout - scheduleDelayedItemsLayout - () - - - scrollDirtyRegion - scrollDirtyRegion - ( int dx, int dy ) - - - scrollTo - scrollTo - ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) - - - scrollToBottom - scrollToBottom - () - - - scrollToTop - scrollToTop - () - - - selectAll - selectAll - () - - - selectedIndexes - selectedIndexes - () - - - selectionChanged - selectionChanged - ( const QItemSelection & selected, const QItemSelection & deselected ) - - - SelectionFlags - selectionCommand - QAbstractItemView::selectionCommand( const QModelIndex & index, const QEvent * event = 0 ) - - - selectionModel - selectionModel - () - - - setCurrentIndex - setCurrentIndex - ( const QModelIndex & index ) - - - setDirtyRegion - setDirtyRegion - ( const QRegion & region ) - - - setIndexWidget - setIndexWidget - ( const QModelIndex & index, QWidget * widget ) - - - setItemDelegate - setItemDelegate - ( QAbstractItemDelegate * delegate ) - - - setItemDelegateForColumn - setItemDelegateForColumn - ( int column, QAbstractItemDelegate * delegate ) - - - setItemDelegateForRow - setItemDelegateForRow - ( int row, QAbstractItemDelegate * delegate ) - - - setModel - setModel - ( QAbstractItemModel * model ) - - - setRootIndex - setRootIndex - ( const QModelIndex & index ) - - - setSelection - setSelection - ( const QRect & rect, QItemSelectionModel::SelectionFlags flags ) - - - setSelectionModel - setSelectionModel - ( QItemSelectionModel * selectionModel ) - - - setState - setState - ( State state ) - - - sizeHintForColumn - sizeHintForColumn - ( int column ) - - - sizeHintForIndex - sizeHintForIndex - ( const QModelIndex & index ) - - - sizeHintForRow - sizeHintForRow - ( int row ) - - - startDrag - startDrag - ( Qt::DropActions supportedActions ) - - - state - state - () - - - timerEvent - timerEvent - ( QTimerEvent * event ) - - - update - update - ( const QModelIndex & index ) - - - verticalOffset - verticalOffset - () - - - viewOptions - viewOptions - () - - - viewportEntered - viewportEntered - () - - - viewportEvent - viewportEvent - ( QEvent * event ) - - - visualRect - visualRect - ( const QModelIndex & index ) - - - visualRegionForSelection - visualRegionForSelection - ( const QItemSelection & selection ) - - - - QAbstractListModel - qabstractlistmodel.html - - QAbstractListModel - QAbstractListModel - ( QObject * parent = 0 ) - - - index - index - ( int row, int column = 0, const QModelIndex & parent = QModelIndex() - - - - QAbstractPrintDialog - qabstractprintdialog.html - - PrintRange - PrintRange-enum - - - - QAbstractPrintDialog - QAbstractPrintDialog - ( QPrinter * printer, QWidget * parent = 0 ) - - - addEnabledOption - addEnabledOption - ( PrintDialogOption option ) - - - enabledOptions - enabledOptions - () - - - exec - exec - () - - - fromPage - fromPage - () - - - isOptionEnabled - isOptionEnabled - ( PrintDialogOption option ) - - - maxPage - maxPage - () - - - minPage - minPage - () - - - printRange - printRange - () - - - printer - printer - () - - - setEnabledOptions - setEnabledOptions - ( PrintDialogOptions options ) - - - setFromTo - setFromTo - ( int from, int to ) - - - setMinMax - setMinMax - ( int min, int max ) - - - setPrintRange - setPrintRange - ( PrintRange range ) - - - toPage - toPage - () - - - - QAbstractProxyModel - qabstractproxymodel.html - - QAbstractProxyModel - QAbstractProxyModel - ( QObject * parent = 0 ) - - - mapFromSource - mapFromSource - ( const QModelIndex & sourceIndex ) - - - mapSelectionFromSource - mapSelectionFromSource - ( const QItemSelection & sourceSelection ) - - - mapSelectionToSource - mapSelectionToSource - ( const QItemSelection & proxySelection ) - - - mapToSource - mapToSource - ( const QModelIndex & proxyIndex ) - - - setSourceModel - setSourceModel - ( QAbstractItemModel * sourceModel ) - - - sourceModel - sourceModel - () - - - - QAbstractScrollArea - qabstractscrollarea.html - - ScrollBarPolicy - horizontalScrollBarPolicy-prop - - - - ScrollBarPolicy - verticalScrollBarPolicy-prop - - - - QAbstractScrollArea - QAbstractScrollArea - ( QWidget * parent = 0 ) - - - addScrollBarWidget - addScrollBarWidget - ( QWidget * widget, Qt::Alignment alignment ) - - - contextMenuEvent - contextMenuEvent - ( QContextMenuEvent * e ) - - - cornerWidget - cornerWidget - () - - - dragEnterEvent - dragEnterEvent - ( QDragEnterEvent * event ) - - - dragLeaveEvent - dragLeaveEvent - ( QDragLeaveEvent * event ) - - - dragMoveEvent - dragMoveEvent - ( QDragMoveEvent * event ) - - - dropEvent - dropEvent - ( QDropEvent * event ) - - - horizontalScrollBar - horizontalScrollBar - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * e ) - - - maximumViewportSize - maximumViewportSize - () - - - mouseDoubleClickEvent - mouseDoubleClickEvent - ( QMouseEvent * e ) - - - mouseMoveEvent - mouseMoveEvent - ( QMouseEvent * e ) - - - mousePressEvent - mousePressEvent - ( QMouseEvent * e ) - - - mouseReleaseEvent - mouseReleaseEvent - ( QMouseEvent * e ) - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - resizeEvent - resizeEvent - ( QResizeEvent * event ) - - - scrollBarWidgets - scrollBarWidgets - ( Qt::Alignment alignment ) - - - scrollContentsBy - scrollContentsBy - ( int dx, int dy ) - - - setCornerWidget - setCornerWidget - ( QWidget * widget ) - - - setHorizontalScrollBar - setHorizontalScrollBar - ( QScrollBar * scrollBar ) - - - setVerticalScrollBar - setVerticalScrollBar - ( QScrollBar * scrollBar ) - - - setViewport - setViewport - ( QWidget * widget ) - - - setViewportMargins - setViewportMargins - ( int left, int top, int right, int bottom ) - - - setupViewport - setupViewport - ( QWidget * viewport ) - - - verticalScrollBar - verticalScrollBar - () - - - viewport - viewport - () - - - viewportEvent - viewportEvent - ( QEvent * event ) - - - wheelEvent - wheelEvent - ( QWheelEvent * e ) - - - addLine - addLine - () - - - addPage - addPage - () - - - lineStep - lineStepx - () - - - maxValue - maxValue - () - - - minValue - minValue - () - - - setLineStep - setLineStep - ( int v ) - - - setMaxValue - setMaxValue - ( int v ) - - - setMinValue - setMinValue - ( int v ) - - - setSteps - setSteps - ( int single, int page ) - - - subtractLine - subtractLine - () - - - subtractPage - subtractPage - () - - - - QAbstractSlider - qabstractslider.html - - SliderAction - SliderAction-enum - - - - SliderChange - SliderChange-enum - - - - Orientation - orientation-prop - - - - QAbstractSlider - QAbstractSlider - ( QWidget * parent = 0 ) - - - actionTriggered - actionTriggered - ( int action ) - - - rangeChanged - rangeChanged - ( int min, int max ) - - - repeatAction - repeatAction - () - - - setRange - setRange - ( int min, int max ) - - - setRepeatAction - setRepeatAction - ( SliderAction action, int thresholdTime = 500, int repeatTime = 50 ) - - - sliderChange - sliderChange - ( SliderChange change ) - - - sliderMoved - sliderMoved - ( int value ) - - - sliderPressed - sliderPressed - () - - - sliderReleased - sliderReleased - () - - - triggerAction - triggerAction - ( SliderAction action ) - - - valueChanged - valueChanged - ( int value ) - - - addLine - addLine - () - - - addPage - addPage - () - - - lineStep - lineStepx - () - - - maxValue - maxValue - () - - - minValue - minValue - () - - - setLineStep - setLineStep - ( int v ) - - - setMaxValue - setMaxValue - ( int v ) - - - setMinValue - setMinValue - ( int v ) - - - setSteps - setSteps - ( int single, int page ) - - - subtractLine - subtractLine - () - - - subtractPage - subtractPage - () - - - Error - Error-enum - - - - State - State-typedef - - - - connectionClosed - connectionClosed - () - - - delayedCloseFinished - delayedCloseFinished - () - - - setSocket - setSocket - ( int socket ) - - - socket - socket - () - - - waitForMore - waitForMore - ( int msecs, bool * timeout = 0 ) - - - - QAbstractSocket - qabstractsocket.html - - NetworkLayerProtocol - NetworkLayerProtocol-enum - - - - SocketError - SocketError-enum - - - - SocketState - SocketState-enum - - - - SocketType - SocketType-enum - - - - QAbstractSocket - QAbstractSocket - ( SocketType socketType, QObject * parent ) - - - abort - abort - () - - - bytesAvailable - bytesAvailable - () - - - bytesToWrite - bytesToWrite - () - - - canReadLine - canReadLine - () - - - close - close - () - - - connectToHost - connectToHost - ( const QString & hostName, quint16 port, OpenMode openMode = ReadWrite ) - - - connectToHost - connectToHost-2 - ( const QHostAddress & address, quint16 port, OpenMode openMode = ReadWrite ) - - - connectToHostImplementation - connectToHostImplementation - ( const QString & hostName, quint16 port, OpenMode openMode = ReadWrite ) - - - connected - connected - () - - - disconnectFromHost - disconnectFromHost - () - - - disconnectFromHostImplementation - disconnectFromHostImplementation - () - - - disconnected - disconnected - () - - - error - error - () - - - error - error-2 - ( QAbstractSocket::SocketError socketError ) - - - flush - flush - () - - - hostFound - hostFound - () - - - isValid - isValid - () - - - localAddress - localAddress - () - - - localPort - localPort - () - - - peerAddress - peerAddress - () - - - peerName - peerName - () - - - peerPort - peerPort - () - - - proxy - proxy - () - - - proxyAuthenticationRequired - proxyAuthenticationRequired - ( const QNetworkProxy & proxy, QAuthenticator * authenticator ) - - - readBufferSize - readBufferSize - () - - - setLocalAddress - setLocalAddress - ( const QHostAddress & address ) - - - setLocalPort - setLocalPort - ( quint16 port ) - - - setPeerAddress - setPeerAddress - ( const QHostAddress & address ) - - - setPeerName - setPeerName - ( const QString & name ) - - - setPeerPort - setPeerPort - ( quint16 port ) - - - setProxy - setProxy - ( const QNetworkProxy & networkProxy ) - - - setReadBufferSize - setReadBufferSize - ( qint64 size ) - - - setSocketDescriptor - setSocketDescriptor - ( int socketDescriptor, SocketState socketState = ConnectedState, OpenMode openMode = ReadWrite ) - - - setSocketError - setSocketError - ( SocketError socketError ) - - - setSocketState - setSocketState - ( SocketState state ) - - - socketDescriptor - socketDescriptor - () - - - socketType - socketType - () - - - state - state - () - - - stateChanged - stateChanged - ( QAbstractSocket::SocketState socketState ) - - - waitForConnected - waitForConnected - ( int msecs = 30000 ) - - - waitForDisconnected - waitForDisconnected - ( int msecs = 30000 ) - - - waitForReadyRead - waitForReadyRead - ( int msecs = 30000 ) - - - Error - Error-enum - - - - State - State-typedef - - - - connectionClosed - connectionClosed - () - - - delayedCloseFinished - delayedCloseFinished - () - - - setSocket - setSocket - ( int socket ) - - - socket - socket - () - - - waitForMore - waitForMore - ( int msecs, bool * timeout = 0 ) - - - - QAbstractSpinBox - qabstractspinbox.html - - ButtonSymbols - ButtonSymbols-enum - - - - CorrectionMode - CorrectionMode-enum - - - - Alignment - alignment-prop - - - - QAbstractSpinBox - QAbstractSpinBox - ( QWidget * parent = 0 ) - - - clear - clear - () - - - editingFinished - editingFinished - () - - - fixup - fixup - ( QString & input ) - - - initStyleOption - initStyleOption - ( QStyleOptionSpinBox * option ) - - - interpretText - interpretText - () - - - lineEdit - lineEdit - () - - - selectAll - selectAll - () - - - setLineEdit - setLineEdit - ( QLineEdit * lineEdit ) - - - stepBy - stepBy - ( int steps ) - - - stepDown - stepDown - () - - - stepEnabled - stepEnabled - () - - - stepUp - stepUp - () - - - State - validate - QAbstractSpinBox::validate( QString & input, int & pos ) - - - - QAbstractTableModel - qabstracttablemodel.html - - QAbstractTableModel - QAbstractTableModel - ( QObject * parent = 0 ) - - - index - index - ( int row, int column, const QModelIndex & parent = QModelIndex() - - - - QAbstractTextDocumentLayout::PaintContext - qabstracttextdocumentlayout-paintcontext.html - - clip - clip-var - - - - cursorPosition - cursorPosition-var - - - - palette - palette-var - - - - selections - selections-var - - - - - QAbstractTextDocumentLayout::Selection - qabstracttextdocumentlayout-selection.html - - cursor - cursor-var - - - - format - format-var - - - - - QAbstractTextDocumentLayout - qabstracttextdocumentlayout.html - - QAbstractTextDocumentLayout - QAbstractTextDocumentLayout - ( QTextDocument * document ) - - - anchorAt - anchorAt - ( const QPointF & position ) - - - blockBoundingRect - blockBoundingRect - ( const QTextBlock & block ) - - - document - document - () - - - documentChanged - documentChanged - ( int position, int charsRemoved, int charsAdded ) - - - documentSize - documentSize - () - - - documentSizeChanged - documentSizeChanged - ( const QSizeF & newSize ) - - - draw - draw - ( QPainter * painter, const PaintContext & context ) - - - drawInlineObject - drawInlineObject - ( QPainter * painter, const QRectF & rect, QTextInlineObject object, int posInDocument, const QTextFormat & format ) - - - format - format - ( int position ) - - - frameBoundingRect - frameBoundingRect - ( QTextFrame * frame ) - - - handlerForObject - handlerForObject - ( int objectType ) - - - hitTest - hitTest - ( const QPointF & point, Qt::HitTestAccuracy accuracy ) - - - pageCount - pageCount - () - - - pageCountChanged - pageCountChanged - ( int newPages ) - - - paintDevice - paintDevice - () - - - positionInlineObject - positionInlineObject - ( QTextInlineObject item, int posInDocument, const QTextFormat & format ) - - - registerHandler - registerHandler - ( int formatType, QObject * component ) - - - resizeInlineObject - resizeInlineObject - ( QTextInlineObject item, int posInDocument, const QTextFormat & format ) - - - setPaintDevice - setPaintDevice - ( QPaintDevice * device ) - - - update - update - ( const QRectF & rect = QRectF( 0., 0., 1000000000., 1000000000. ) - - - - QAccessible - qaccessible.html - - Action - Action-enum - - - - Event - Event-enum - - - - InterfaceFactory - InterfaceFactory-typedef - - - - Method - Method-enum - - - - Role - Role-enum - - - - Text - Text-enum - - - - installFactory - installFactory - ( InterfaceFactory factory ) - - - installRootObjectHandler - installRootObjectHandler - ( RootObjectHandler handler ) - - - isActive - isActive - () - - - queryAccessibleInterface - queryAccessibleInterface - ( QObject * object ) - - - removeFactory - removeFactory - ( InterfaceFactory factory ) - - - updateAccessibility - updateAccessibility - ( QObject * object, int child, Event reason ) - - - - QAccessibleBridge - qaccessiblebridge.html - - notifyAccessibilityUpdate - notifyAccessibilityUpdate - ( int reason, QAccessibleInterface * interface, int child ) - - - setRootObject - setRootObject - ( QAccessibleInterface * object ) - - - - QAccessibleBridgePlugin - qaccessiblebridgeplugin.html - - QAccessibleBridgePlugin - QAccessibleBridgePlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QAccessibleEvent - qaccessibleevent.html - - QAccessibleEvent - QAccessibleEvent - ( Type type, int child ) - - - child - child - () - - - setValue - setValue - ( const QString & text ) - - - value - value - () - - - - QAccessibleInterface - qaccessibleinterface.html - - actionText - actionText - ( int action, Text t, int child ) - - - childAt - childAt - ( int x, int y ) - - - childCount - childCount - () - - - doAction - doAction - ( int action, int child, const QVariantList & params = QVariantList() - - - indexOfChild - indexOfChild - ( const QAccessibleInterface * child ) - - - invokeMethod - invokeMethod - ( Method method, int child = 0, const QVariantList & params = QVariantList() - - - isValid - isValid - () - - - navigate - navigate - ( RelationFlag relation, int entry, QAccessibleInterface ** target ) - - - object - object - () - - - rect - rect - ( int child ) - - - relationTo - relationTo - ( int child, const QAccessibleInterface * other, int otherChild ) - - - role - role - ( int child ) - - - setText - setText - ( Text t, int child, const QString & text ) - - - state - state - ( int child ) - - - supportedMethods - supportedMethods - () - - - text - text - ( Text t, int child ) - - - userActionCount - userActionCount - ( int child ) - - - - QAccessibleObject - qaccessibleobject.html - - QAccessibleObject - QAccessibleObject - ( QObject * object ) - - - - QAccessiblePlugin - qaccessibleplugin.html - - QAccessiblePlugin - QAccessiblePlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key, QObject * object ) - - - keys - keys - () - - - - QAccessibleWidget - qaccessiblewidget.html - - QAccessibleWidget - QAccessibleWidget - ( QWidget * w, Role role = Client, const QString & name = QString() - - - addControllingSignal - addControllingSignal - ( const QString & signal ) - - - parentObject - parentObject - () - - - setAccelerator - setAccelerator - ( const QString & accel ) - - - setDescription - setDescription - ( const QString & desc ) - - - setHelp - setHelp - ( const QString & help ) - - - setValue - setValue - ( const QString & value ) - - - widget - widget - () - - - QAction - QAction-4 - ( QObject * parent, const char * name ) - - - QAction - QAction-5 - ( const QString & text, const QKeySequence & shortcut, QObject * parent, const char * name ) - - - QAction - QAction-6 - ( const QIcon & icon, const QString & text, const QKeySequence & shortcut, QObject * parent, const char * name ) - - - accel - accel - () - - - activated - activated - ( int i = 0 ) - - - addTo - addTo - ( QWidget * w ) - - - iconSet - iconSet - () - - - isOn - isOn - () - - - isToggleAction - isToggleAction - () - - - menuText - menuText - () - - - removeFrom - removeFrom - ( QWidget * w ) - - - setAccel - setAccel - ( const QKeySequence & shortcut ) - - - setIconSet - setIconSet - ( const QIcon & i ) - - - setMenuText - setMenuText - ( const QString & text ) - - - setOn - setOn - ( bool b ) - - - setToggleAction - setToggleAction - ( bool b ) - - - - QAction - qaction.html - - ActionEvent - ActionEvent-enum - - - - MenuRole - MenuRole-enum - - - - ShortcutContext - shortcutContext-prop - - - - QAction - QAction - ( QObject * parent ) - - - QAction - QAction-2 - ( const QString & text, QObject * parent ) - - - QAction - QAction-3 - ( const QIcon & icon, const QString & text, QObject * parent ) - - - actionGroup - actionGroup - () - - - activate - activate - ( ActionEvent event ) - - - associatedWidgets - associatedWidgets - () - - - changed - changed - () - - - data - data - () - - - hover - hover - () - - - hovered - hovered - () - - - isSeparator - isSeparator - () - - - menu - menu - () - - - parentWidget - parentWidget - () - - - setActionGroup - setActionGroup - ( QActionGroup * group ) - - - setData - setData - ( const QVariant & userData ) - - - setDisabled - setDisabled - ( bool b ) - - - setMenu - setMenu - ( QMenu * menu ) - - - setSeparator - setSeparator - ( bool b ) - - - setShortcuts - setShortcuts - ( const QList<QKeySequence> & shortcuts ) - - - setShortcuts - setShortcuts-2 - ( QKeySequence::StandardKey key ) - - - shortcuts - shortcuts - () - - - showStatusText - showStatusText - ( QWidget * widget = 0 ) - - - toggle - toggle - () - - - toggled - toggled - ( bool checked ) - - - trigger - trigger - () - - - triggered - triggered - ( bool checked = false ) - - - QAction - QAction-4 - ( QObject * parent, const char * name ) - - - QAction - QAction-5 - ( const QString & text, const QKeySequence & shortcut, QObject * parent, const char * name ) - - - QAction - QAction-6 - ( const QIcon & icon, const QString & text, const QKeySequence & shortcut, QObject * parent, const char * name ) - - - accel - accel - () - - - activated - activated - ( int i = 0 ) - - - addTo - addTo - ( QWidget * w ) - - - iconSet - iconSet - () - - - isOn - isOn - () - - - isToggleAction - isToggleAction - () - - - menuText - menuText - () - - - removeFrom - removeFrom - ( QWidget * w ) - - - setAccel - setAccel - ( const QKeySequence & shortcut ) - - - setIconSet - setIconSet - ( const QIcon & i ) - - - setMenuText - setMenuText - ( const QString & text ) - - - setOn - setOn - ( bool b ) - - - setToggleAction - setToggleAction - ( bool b ) - - - - QActionEvent - qactionevent.html - - QActionEvent - QActionEvent - ( int type, QAction * action, QAction * before = 0 ) - - - action - action - () - - - before - before - () - - - add - add - ( QAction * a ) - - - addSeparator - addSeparator - () - - - addTo - addTo - ( QWidget * widget ) - - - selected - selected - ( QAction * action ) - - - - QActionGroup - qactiongroup.html - - QActionGroup - QActionGroup - ( QObject * parent ) - - - actions - actions - () - - - addAction - addAction - ( QAction * action ) - - - addAction - addAction-2 - ( const QString & text ) - - - addAction - addAction-3 - ( const QIcon & icon, const QString & text ) - - - checkedAction - checkedAction - () - - - hovered - hovered - ( QAction * action ) - - - removeAction - removeAction - ( QAction * action ) - - - setDisabled - setDisabled - ( bool b ) - - - triggered - triggered - ( QAction * action ) - - - add - add - ( QAction * a ) - - - addSeparator - addSeparator - () - - - addTo - addTo - ( QWidget * widget ) - - - selected - selected - ( QAction * action ) - - - ColorMode - ColorMode-typedef - - - - colorMode - colorMode - () - - - flushX - flushX - () - - - hasGlobalMouseTracking - hasGlobalMouseTracking - () - - - Alignment - horizontalAlignment - QApplication::horizontalAlignment( Qt::Alignment align ) - - - MacintoshVersion - macVersion - QApplication::macVersion() - - - mainWidget - mainWidget - () - - - reverseLayout - reverseLayout - () - - - setColorMode - setColorMode - ( ColorMode mode ) - - - setFont - setFont-2 - ( const QFont & font, bool b, const char * className = 0 ) - - - setGlobalMouseTracking - setGlobalMouseTracking - ( bool dummy ) - - - setMainWidget - setMainWidget - ( QWidget * mainWidget ) - - - setOverrideCursor - setOverrideCursor-2 - ( const QCursor & cursor, bool replace ) - - - setPalette - setPalette-2 - ( const QPalette & pal, bool b, const char * className = 0 ) - - - setReverseLayout - setReverseLayout - ( bool reverse ) - - - setWinStyleHighlightColor - setWinStyleHighlightColor - ( const QColor & c ) - - - widgetAt - widgetAt-2 - ( int x, int y, bool child ) - - - widgetAt - widgetAt-3 - ( const QPoint & point, bool child ) - - - winStyleHighlightColor - winStyleHighlightColor - () - - - WindowsVersion - winVersion - QApplication::winVersion() - - - CustomColors - CustomColors-var - - - - NormalColors - NormalColors-var - - - - - QApplication - qapplication.html - - ColorSpec - ColorSpec-enum - - - - Type - Type-enum - - - - LayoutDirection - layoutDirection-prop - - - - QApplication - QApplication - ( int & argc, char ** argv ) - - - QApplication - QApplication-2 - ( int & argc, char ** argv, bool GUIenabled ) - - - QApplication - QApplication-3 - ( int & argc, char ** argv, Type type ) - - - QApplication - QApplication-4 - ( Display * display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - - - QApplication - QApplication-5 - ( Display * display, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 ) - - - aboutQt - aboutQt - () - - - activeModalWidget - activeModalWidget - () - - - activePopupWidget - activePopupWidget - () - - - activeWindow - activeWindow - () - - - alert - alert - ( QWidget * widget, int msec = 0 ) - - - allWidgets - allWidgets - () - - - beep - beep - () - - - changeOverrideCursor - changeOverrideCursor - ( const QCursor & cursor ) - - - clipboard - clipboard - () - - - closeAllWindows - closeAllWindows - () - - - colorSpec - colorSpec - () - - - commitData - commitData - ( QSessionManager & manager ) - - - commitDataRequest - commitDataRequest - ( QSessionManager & manager ) - - - desktop - desktop - () - - - desktopSettingsAware - desktopSettingsAware - () - - - exec - exec - () - - - focusChanged - focusChanged - ( QWidget * old, QWidget * now ) - - - focusWidget - focusWidget - () - - - font - font - () - - - font - font-2 - ( const QWidget * widget ) - - - font - font-3 - ( const char * className ) - - - fontMetrics - fontMetrics - () - - - inputContext - inputContext - () - - - isEffectEnabled - isEffectEnabled - ( Qt::UIEffect effect ) - - - isLeftToRight - isLeftToRight - () - - - isRightToLeft - isRightToLeft - () - - - isSessionRestored - isSessionRestored - () - - - LayoutDirection - keyboardInputDirection - QApplication::keyboardInputDirection() - - - keyboardInputLocale - keyboardInputLocale - () - - - KeyboardModifiers - keyboardModifiers - QApplication::keyboardModifiers() - - - keypadNavigationEnabled - keypadNavigationEnabled - () - - - lastWindowClosed - lastWindowClosed - () - - - macEventFilter - macEventFilter - ( EventHandlerCallRef caller, EventRef event ) - - - MouseButtons - mouseButtons - QApplication::mouseButtons() - - - overrideCursor - overrideCursor - () - - - palette - palette - () - - - palette - palette-2 - ( const QWidget * widget ) - - - palette - palette-3 - ( const char * className ) - - - qwsDecoration - qwsDecoration - () - - - qwsEventFilter - qwsEventFilter - ( QWSEvent * event ) - - - qwsSetCustomColors - qwsSetCustomColors - ( QRgb * colorTable, int start, int numColors ) - - - qwsSetDecoration - qwsSetDecoration - ( QDecoration * decoration ) - - - qwsSetDecoration - qwsSetDecoration-2 - ( const QString & decoration ) - - - restoreOverrideCursor - restoreOverrideCursor - () - - - saveState - saveState - ( QSessionManager & manager ) - - - saveStateRequest - saveStateRequest - ( QSessionManager & manager ) - - - sessionId - sessionId - () - - - sessionKey - sessionKey - () - - - setActiveWindow - setActiveWindow - ( QWidget * active ) - - - setColorSpec - setColorSpec - ( int spec ) - - - setDesktopSettingsAware - setDesktopSettingsAware - ( bool on ) - - - setEffectEnabled - setEffectEnabled - ( Qt::UIEffect effect, bool enable = true ) - - - setFont - setFont - ( const QFont & font, const char * className = 0 ) - - - setInputContext - setInputContext - ( QInputContext * inputContext ) - - - setKeypadNavigationEnabled - setKeypadNavigationEnabled - ( bool enable ) - - - setOverrideCursor - setOverrideCursor - ( const QCursor & cursor ) - - - setPalette - setPalette - ( const QPalette & palette, const char * className = 0 ) - - - setStyle - setStyle - ( QStyle * style ) - - - setStyle - setStyle-2 - ( const QString & style ) - - - style - style - () - - - syncX - syncX - () - - - topLevelAt - topLevelAt - ( const QPoint & point ) - - - topLevelAt - topLevelAt-2 - ( int x, int y ) - - - topLevelWidgets - topLevelWidgets - () - - - type - type - () - - - widgetAt - widgetAt - ( const QPoint & point ) - - - widgetAt - widgetAt-4 - ( int x, int y ) - - - x11EventFilter - x11EventFilter - ( XEvent * event ) - - - x11ProcessEvent - x11ProcessEvent - ( XEvent * event ) - - - ColorMode - ColorMode-typedef - - - - colorMode - colorMode - () - - - flushX - flushX - () - - - hasGlobalMouseTracking - hasGlobalMouseTracking - () - - - Alignment - horizontalAlignment - QApplication::horizontalAlignment( Qt::Alignment align ) - - - MacintoshVersion - macVersion - QApplication::macVersion() - - - mainWidget - mainWidget - () - - - reverseLayout - reverseLayout - () - - - setColorMode - setColorMode - ( ColorMode mode ) - - - setFont - setFont-2 - ( const QFont & font, bool b, const char * className = 0 ) - - - setGlobalMouseTracking - setGlobalMouseTracking - ( bool dummy ) - - - setMainWidget - setMainWidget - ( QWidget * mainWidget ) - - - setOverrideCursor - setOverrideCursor-2 - ( const QCursor & cursor, bool replace ) - - - setPalette - setPalette-2 - ( const QPalette & pal, bool b, const char * className = 0 ) - - - setReverseLayout - setReverseLayout - ( bool reverse ) - - - setWinStyleHighlightColor - setWinStyleHighlightColor - ( const QColor & c ) - - - widgetAt - widgetAt-2 - ( int x, int y, bool child ) - - - widgetAt - widgetAt-3 - ( const QPoint & point, bool child ) - - - winStyleHighlightColor - winStyleHighlightColor - () - - - WindowsVersion - winVersion - QApplication::winVersion() - - - CustomColors - CustomColors-var - - - - NormalColors - NormalColors-var - - - - - QAssistantClient - qassistantclient.html - - QAssistantClient - QAssistantClient - ( const QString & path, QObject * parent = 0 ) - - - assistantClosed - assistantClosed - () - - - assistantOpened - assistantOpened - () - - - closeAssistant - closeAssistant - () - - - error - error - ( const QString & message ) - - - openAssistant - openAssistant - () - - - setArguments - setArguments - ( const QStringList & arguments ) - - - showPage - showPage - ( const QString & page ) - - - - QAuthenticator - qauthenticator.html - - QAuthenticator - QAuthenticator - () - - - QAuthenticator - QAuthenticator-2 - ( const QAuthenticator & other ) - - - isNull - isNull - () - - - password - password - () - - - realm - realm - () - - - setPassword - setPassword - ( const QString & password ) - - - setUser - setUser - ( const QString & user ) - - - user - user - () - - - operator!= - operator-not-eq - ( const QAuthenticator & other ) - - - operator= - operator-eq - ( const QAuthenticator & other ) - - - operator== - operator-eq-eq - ( const QAuthenticator & other ) - - - - QAxAggregated - qaxaggregated.html - - controllingUnknown - controllingUnknown - () - - - object - object - () - - - queryInterface - queryInterface - ( const QUuid & iid, void ** iface ) - - - widget - widget - () - - - - QAxBase - qaxbase.html - - PropertyBag - PropertyBag-typedef - - - - QAxBase - QAxBase - ( IUnknown * iface = 0 ) - - - asVariant - asVariant - () - - - clear - clear - () - - - disableClassInfo - disableClassInfo - () - - - disableEventSink - disableEventSink - () - - - disableMetaObject - disableMetaObject - () - - - dynamicCall - dynamicCall - ( const char * function, const QVariant & var1 = QVariant() - - - dynamicCall - dynamicCall-2 - ( const char * function, QList<QVariant> & vars ) - - - exception - exception - ( int code, const QString & source, const QString & desc, const QString & help ) - - - generateDocumentation - generateDocumentation - () - - - initialize - initialize - ( IUnknown ** ptr ) - - - initializeActive - initializeActive - ( IUnknown ** ptr ) - - - initializeFromFile - initializeFromFile - ( IUnknown ** ptr ) - - - initializeLicensed - initializeLicensed - ( IUnknown ** ptr ) - - - initializeRemote - initializeRemote - ( IUnknown ** ptr ) - - - isNull - isNull - () - - - propertyBag - propertyBag - () - - - propertyChanged - propertyChanged - ( const QString & name ) - - - propertyWritable - propertyWritable - ( const char * prop ) - - - queryInterface - queryInterface - ( const QUuid & uuid, void ** iface ) - - - querySubObject - querySubObject - ( const char * name, const QVariant & var1 = QVariant() - - - querySubObject - querySubObject-2 - ( const char * name, QList<QVariant> & vars ) - - - setPropertyBag - setPropertyBag - ( const PropertyBag & bag ) - - - setPropertyWritable - setPropertyWritable - ( const char * prop, bool ok ) - - - signal - signal - ( const QString & name, int argc, void * argv ) - - - verbs - verbs - () - - - - QAxBindable - qaxbindable.html - - QAxBindable - QAxBindable - () - - - clientSite - clientSite - () - - - createAggregate - createAggregate - () - - - propertyChanged - propertyChanged - ( const char * property ) - - - readData - readData - ( QIODevice * source, const QString & format ) - - - reportError - reportError - ( int code, const QString & src, const QString & desc, const QString & context = QString() - - - requestPropertyChange - requestPropertyChange - ( const char * property ) - - - writeData - writeData - ( QIODevice * sink ) - - - - QAxFactory - qaxfactory.html - - ServerType - ServerType-enum - - - - QAxFactory - QAxFactory - ( const QUuid & libid, const QUuid & appid ) - - - appID - appID - () - - - classID - classID - ( const QString & key ) - - - createObject - createObject - ( const QString & key ) - - - createObjectWrapper - createObjectWrapper - ( QObject * object, IDispatch ** wrapper ) - - - eventsID - eventsID - ( const QString & key ) - - - exposeToSuperClass - exposeToSuperClass - ( const QString & key ) - - - featureList - featureList - () - - - hasStockEvents - hasStockEvents - ( const QString & key ) - - - interfaceID - interfaceID - ( const QString & key ) - - - isServer - isServer - () - - - isService - isService - () - - - metaObject - metaObject - ( const QString & key ) - - - registerActiveObject - registerActiveObject - ( QObject * object ) - - - registerClass - registerClass - ( const QString & key, QSettings * settings ) - - - serverDirPath - serverDirPath - () - - - serverFilePath - serverFilePath - () - - - startServer - startServer - ( ServerType type = MultipleInstances ) - - - stayTopLevel - stayTopLevel - ( const QString & key ) - - - stopServer - stopServer - () - - - typeLibID - typeLibID - () - - - unregisterClass - unregisterClass - ( const QString & key, QSettings * settings ) - - - validateLicenseKey - validateLicenseKey - ( const QString & key, const QString & licenseKey ) - - - - QAxObject - qaxobject.html - - QAxObject - QAxObject - ( QObject * parent = 0 ) - - - QAxObject - QAxObject-2 - ( const QString & c, QObject * parent = 0 ) - - - QAxObject - QAxObject-3 - ( IUnknown * iface, QObject * parent = 0 ) - - - doVerb - doVerb - ( const QString & verb ) - - - - QAxScript - qaxscript.html - - FunctionFlags - FunctionFlags-enum - - - - QAxScript - QAxScript - ( const QString & name, QAxScriptManager * manager ) - - - call - call - ( const QString & function, const QVariant & var1 = QVariant() - - - call - call-2 - ( const QString & function, QList<QVariant> & arguments ) - - - entered - entered - () - - - error - error - ( int code, const QString & description, int sourcePosition, const QString & sourceText ) - - - finished - finished - () - - - finished - finished-2 - ( const QVariant & result ) - - - finished - finished-3 - ( int code, const QString & source, const QString & description, const QString & help ) - - - functions - functions - ( FunctionFlags flags = FunctionNames ) - - - load - load - ( const QString & code, const QString & language = QString() - - - scriptCode - scriptCode - () - - - scriptEngine - scriptEngine - () - - - scriptName - scriptName - () - - - stateChanged - stateChanged - ( int state ) - - - - QAxScriptEngine - qaxscriptengine.html - - State - State-enum - - - - QAxScriptEngine - QAxScriptEngine - ( const QString & language, QAxScript * script ) - - - addItem - addItem - ( const QString & name ) - - - hasIntrospection - hasIntrospection - () - - - isValid - isValid - () - - - queryInterface - queryInterface - ( const QUuid & uuid, void ** iface ) - - - scriptLanguage - scriptLanguage - () - - - setState - setState - ( State st ) - - - state - state - () - - - - QAxScriptManager - qaxscriptmanager.html - - QAxScriptManager - QAxScriptManager - ( QObject * parent = 0 ) - - - addObject - addObject - ( QAxBase * object ) - - - addObject - addObject-2 - ( QObject * object ) - - - call - call - ( const QString & function, const QVariant & var1 = QVariant() - - - call - call-2 - ( const QString & function, QList<QVariant> & arguments ) - - - error - error - ( QAxScript * script, int code, const QString & description, int sourcePosition, const QString & sourceText ) - - - functions - functions - ( QAxScript::FunctionFlags flags = QAxScript::FunctionNames ) - - - load - load - ( const QString & code, const QString & name, const QString & language ) - - - load - load-2 - ( const QString & file, const QString & name ) - - - registerEngine - registerEngine - ( const QString & name, const QString & extension, const QString & code = QString() - - - script - script - ( const QString & name ) - - - scriptFileFilter - scriptFileFilter - () - - - scriptNames - scriptNames - () - - - - QAxWidget - qaxwidget.html - - QAxWidget - QAxWidget - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - QAxWidget - QAxWidget-2 - ( const QString & c, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - QAxWidget - QAxWidget-3 - ( IUnknown * iface, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - createAggregate - createAggregate - () - - - createHostWindow - createHostWindow - ( bool initialized ) - - - doVerb - doVerb - ( const QString & verb ) - - - initialize - initialize - ( IUnknown ** ptr ) - - - translateKeyEvent - translateKeyEvent - ( int message, int keycode ) - - - - QBasicTimer - qbasictimer.html - - QBasicTimer - QBasicTimer - () - - - isActive - isActive - () - - - start - start - ( int msec, QObject * object ) - - - stop - stop - () - - - timerId - timerId - () - - - - QBitArray - qbitarray.html - - DataPtr - DataPtr-typedef - - - - QBitArray - QBitArray - () - - - QBitArray - QBitArray-2 - ( int size, bool value = false ) - - - QBitArray - QBitArray-3 - ( const QBitArray & other ) - - - at - at - ( int i ) - - - clear - clear - () - - - clearBit - clearBit - ( int i ) - - - count - count - () - - - count - count-2 - ( bool on ) - - - data_ptr - data_ptr - () - - - fill - fill - ( bool value, int size = -1 ) - - - fill - fill-2 - ( bool value, int begin, int end ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - resize - resize - ( int size ) - - - setBit - setBit - ( int i ) - - - setBit - setBit-2 - ( int i, bool value ) - - - size - size - () - - - testBit - testBit - ( int i ) - - - toggleBit - toggleBit - ( int i ) - - - truncate - truncate - ( int pos ) - - - operator!= - operator-not-eq - ( const QBitArray & other ) - - - operator& - operator-and-eq - amp;=( const QBitArray & other ) - - - operator= - operator-eq - ( const QBitArray & other ) - - - operator== - operator-eq-eq - ( const QBitArray & other ) - - - operator[] - operator-5b-5d - ( int i ) - - - operator[] - operator-5b-5d-2 - ( int i ) - - - operator[] - operator-5b-5d-3 - ( uint i ) - - - operator[] - operator-5b-5d-4 - ( uint i ) - - - operator^= - operator-5e-eq - ( const QBitArray & other ) - - - operator|= - operator-7c-eq - ( const QBitArray & other ) - - - operator~ - operator-7e - () - - - QBitmap - QBitmap-6 - ( int width, int height, bool clear ) - - - QBitmap - QBitmap-7 - ( const QSize & size, bool clear ) - - - QBitmap - QBitmap-8 - ( int width, int height, const uchar * bits, bool isXbitmap = false ) - - - QBitmap - QBitmap-9 - ( const QImage & image ) - - - QBitmap - QBitmap-10 - ( const QSize & size, const uchar * bits, bool isXbitmap = false ) - - - xForm - xForm - ( const QMatrix & matrix ) - - - operator= - operator-eq-2 - ( const QImage & image ) - - - - QBitmap - qbitmap.html - - QBitmap - QBitmap - () - - - QBitmap - QBitmap-2 - ( const QPixmap & pixmap ) - - - QBitmap - QBitmap-3 - ( int width, int height ) - - - QBitmap - QBitmap-4 - ( const QSize & size ) - - - QBitmap - QBitmap-5 - ( const QString & fileName, const char * format = 0 ) - - - clear - clear - () - - - fromData - fromData - ( const QSize & size, const uchar * bits, QImage::Format monoFormat = QImage::Format_MonoLSB ) - - - fromImage - fromImage - ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - transformed - transformed - ( const QMatrix & matrix ) - - - transformed - transformed-2 - ( const QTransform & matrix ) - - - operator - operator-QVariant - QVariant() - - - operator= - operator-eq - ( const QPixmap & pixmap ) - - - QBitmap - QBitmap-6 - ( int width, int height, bool clear ) - - - QBitmap - QBitmap-7 - ( const QSize & size, bool clear ) - - - QBitmap - QBitmap-8 - ( int width, int height, const uchar * bits, bool isXbitmap = false ) - - - QBitmap - QBitmap-9 - ( const QImage & image ) - - - QBitmap - QBitmap-10 - ( const QSize & size, const uchar * bits, bool isXbitmap = false ) - - - xForm - xForm - ( const QMatrix & matrix ) - - - operator= - operator-eq-2 - ( const QImage & image ) - - - QBoxLayout - QBoxLayout-2 - ( QWidget * parent, Direction dir, int margin = 0, int spacing = -1, const char * name = 0 ) - - - QBoxLayout - QBoxLayout-3 - ( QLayout * parentLayout, Direction dir, int spacing = -1, const char * name = 0 ) - - - QBoxLayout - QBoxLayout-4 - ( Direction dir, int spacing, const char * name = 0 ) - - - findWidget - findWidget - ( QWidget * widget ) - - - - QBoxLayout - qboxlayout.html - - Direction - Direction-enum - - - - QBoxLayout - QBoxLayout - ( Direction dir, QWidget * parent = 0 ) - - - addLayout - addLayout - ( QLayout * layout, int stretch = 0 ) - - - addSpacing - addSpacing - ( int size ) - - - addStretch - addStretch - ( int stretch = 0 ) - - - addStrut - addStrut - ( int size ) - - - addWidget - addWidget - ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) - - - direction - direction - () - - - insertItem - insertItem - ( int index, QLayoutItem * item ) - - - insertLayout - insertLayout - ( int index, QLayout * layout, int stretch = 0 ) - - - insertSpacing - insertSpacing - ( int index, int size ) - - - insertStretch - insertStretch - ( int index, int stretch = 0 ) - - - insertWidget - insertWidget - ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 ) - - - invalidate - invalidate - () - - - setDirection - setDirection - ( Direction direction ) - - - setSpacing - setSpacing - ( int spacing ) - - - setStretchFactor - setStretchFactor - ( QWidget * widget, int stretch ) - - - setStretchFactor - setStretchFactor-2 - ( QLayout * layout, int stretch ) - - - spacing - spacing - () - - - QBoxLayout - QBoxLayout-2 - ( QWidget * parent, Direction dir, int margin = 0, int spacing = -1, const char * name = 0 ) - - - QBoxLayout - QBoxLayout-3 - ( QLayout * parentLayout, Direction dir, int spacing = -1, const char * name = 0 ) - - - QBoxLayout - QBoxLayout-4 - ( Direction dir, int spacing, const char * name = 0 ) - - - findWidget - findWidget - ( QWidget * widget ) - - - pixmap - pixmap - () - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - operator - operator-const-QColor--and - const QColor &() - - - - QBrush - qbrush.html - - DataPtr - DataPtr-typedef - - - - QBrush - QBrush - () - - - QBrush - QBrush-2 - ( Qt::BrushStyle style ) - - - QBrush - QBrush-3 - ( const QColor & color, Qt::BrushStyle style = Qt::SolidPattern ) - - - QBrush - QBrush-4 - ( Qt::GlobalColor color, Qt::BrushStyle style = Qt::SolidPattern ) - - - QBrush - QBrush-5 - ( const QColor & color, const QPixmap & pixmap ) - - - QBrush - QBrush-6 - ( Qt::GlobalColor color, const QPixmap & pixmap ) - - - QBrush - QBrush-7 - ( const QPixmap & pixmap ) - - - QBrush - QBrush-8 - ( const QImage & image ) - - - QBrush - QBrush-9 - ( const QBrush & other ) - - - QBrush - QBrush-10 - ( const QGradient & gradient ) - - - color - color - () - - - data_ptr - data_ptr - () - - - gradient - gradient - () - - - isDetached - isDetached - () - - - isOpaque - isOpaque - () - - - matrix - matrix - () - - - setColor - setColor - ( const QColor & color ) - - - setColor - setColor-2 - ( Qt::GlobalColor color ) - - - setMatrix - setMatrix - ( const QMatrix & matrix ) - - - setStyle - setStyle - ( Qt::BrushStyle style ) - - - setTexture - setTexture - ( const QPixmap & pixmap ) - - - setTextureImage - setTextureImage - ( const QImage & image ) - - - setTransform - setTransform - ( const QTransform & ) - - - BrushStyle - style - QBrush::style() - - - texture - texture - () - - - textureImage - textureImage - () - - - transform - transform - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QBrush & brush ) - - - operator= - operator-eq - ( const QBrush & brush ) - - - operator== - operator-eq-eq - ( const QBrush & brush ) - - - pixmap - pixmap - () - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - operator - operator-const-QColor--and - const QColor &() - - - - QBuffer - qbuffer.html - - QBuffer - QBuffer - ( QObject * parent = 0 ) - - - QBuffer - QBuffer-2 - ( QByteArray * byteArray, QObject * parent = 0 ) - - - buffer - buffer - () - - - buffer - buffer-2 - () - - - data - data - () - - - setBuffer - setBuffer - ( QByteArray * byteArray ) - - - setData - setData - ( const QByteArray & data ) - - - setData - setData-2 - ( const char * data, int size ) - - - insert - insert - ( QAbstractButton * b ) - - - remove - remove - ( QAbstractButton * b ) - - - - QButtonGroup - qbuttongroup.html - - QButtonGroup - QButtonGroup - ( QObject * parent = 0 ) - - - addButton - addButton - ( QAbstractButton * button ) - - - addButton - addButton-2 - ( QAbstractButton * button, int id ) - - - button - button - ( int id ) - - - buttonClicked - buttonClicked - ( QAbstractButton * button ) - - - buttonClicked - buttonClicked-2 - ( int id ) - - - buttonPressed - buttonPressed - ( QAbstractButton * button ) - - - buttonPressed - buttonPressed-2 - ( int id ) - - - buttonReleased - buttonReleased - ( QAbstractButton * button ) - - - buttonReleased - buttonReleased-2 - ( int id ) - - - buttons - buttons - () - - - checkedButton - checkedButton - () - - - checkedId - checkedId - () - - - id - id - ( QAbstractButton * button ) - - - removeButton - removeButton - ( QAbstractButton * button ) - - - setId - setId - ( QAbstractButton * button, int id ) - - - insert - insert - ( QAbstractButton * b ) - - - remove - remove - ( QAbstractButton * b ) - - - QByteArray - QByteArray-6 - ( int size ) - - - duplicate - duplicate - ( const QByteArray & a ) - - - duplicate - duplicate-2 - ( const char * a, uint n ) - - - find - find - ( char c, int from = 0 ) - - - find - find-2 - ( const char * c, int from = 0 ) - - - find - find-3 - ( const QByteArray & ba, int from = 0 ) - - - find - find-4 - ( const QString & s, int from = 0 ) - - - findRev - findRev - ( char c, int from = -1 ) - - - findRev - findRev-2 - ( const char * c, int from = -1 ) - - - findRev - findRev-3 - ( const QByteArray & ba, int from = -1 ) - - - findRev - findRev-4 - ( const QString & s, int from = -1 ) - - - leftJustify - leftJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - lower - lower - () - - - resetRawData - resetRawData - ( const char * data, uint n ) - - - rightJustify - rightJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - setRawData - setRawData - ( const char * a, uint n ) - - - simplifyWhiteSpace - simplifyWhiteSpace - () - - - stripWhiteSpace - stripWhiteSpace - () - - - upper - upper - () - - - - QByteArray - qbytearray.html - - DataPtr - DataPtr-typedef - - - - QByteArray - QByteArray - () - - - QByteArray - QByteArray-2 - ( const char * str ) - - - QByteArray - QByteArray-3 - ( const char * data, int size ) - - - QByteArray - QByteArray-4 - ( int size, char ch ) - - - QByteArray - QByteArray-5 - ( const QByteArray & other ) - - - append - append - ( const QByteArray & ba ) - - - append - append-2 - ( const QString & str ) - - - append - append-3 - ( const char * str ) - - - append - append-4 - ( char ch ) - - - at - at - ( int i ) - - - capacity - capacity - () - - - chop - chop - ( int n ) - - - clear - clear - () - - - constData - constData - () - - - contains - contains - ( const QByteArray & ba ) - - - contains - contains-2 - ( const char * str ) - - - contains - contains-3 - ( char ch ) - - - count - count - ( const QByteArray & ba ) - - - count - count-2 - ( const char * str ) - - - count - count-3 - ( char ch ) - - - count - count-4 - () - - - data - data - () - - - data - data-2 - () - - - data_ptr - data_ptr - () - - - endsWith - endsWith - ( const QByteArray & ba ) - - - endsWith - endsWith-2 - ( const char * str ) - - - endsWith - endsWith-3 - ( char ch ) - - - fill - fill - ( char ch, int size = -1 ) - - - fromBase64 - fromBase64 - ( const QByteArray & base64 ) - - - fromHex - fromHex - ( const QByteArray & hexEncoded ) - - - fromRawData - fromRawData - ( const char * data, int size ) - - - indexOf - indexOf - ( const QByteArray & ba, int from = 0 ) - - - indexOf - indexOf-2 - ( const QString & str, int from = 0 ) - - - indexOf - indexOf-3 - ( const char * str, int from = 0 ) - - - indexOf - indexOf-4 - ( char ch, int from = 0 ) - - - insert - insert - ( int i, const QByteArray & ba ) - - - insert - insert-2 - ( int i, const QString & str ) - - - insert - insert-3 - ( int i, const char * str ) - - - insert - insert-4 - ( int i, char ch ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - lastIndexOf - lastIndexOf - ( const QByteArray & ba, int from = -1 ) - - - lastIndexOf - lastIndexOf-2 - ( const QString & str, int from = -1 ) - - - lastIndexOf - lastIndexOf-3 - ( const char * str, int from = -1 ) - - - lastIndexOf - lastIndexOf-4 - ( char ch, int from = -1 ) - - - left - left - ( int len ) - - - leftJustified - leftJustified - ( int width, char fill = ' ', bool truncate = false ) - - - length - length - () - - - mid - mid - ( int pos, int len = -1 ) - - - number - number - ( int n, int base = 10 ) - - - number - number-2 - ( uint n, int base = 10 ) - - - number - number-3 - ( qlonglong n, int base = 10 ) - - - number - number-4 - ( qulonglong n, int base = 10 ) - - - number - number-5 - ( double n, char f = 'g', int prec = 6 ) - - - prepend - prepend - ( const QByteArray & ba ) - - - prepend - prepend-2 - ( const char * str ) - - - prepend - prepend-3 - ( char ch ) - - - push_back - push_back - ( const QByteArray & other ) - - - push_back - push_back-2 - ( const char * str ) - - - push_back - push_back-3 - ( char ch ) - - - push_front - push_front - ( const QByteArray & other ) - - - push_front - push_front-2 - ( const char * str ) - - - push_front - push_front-3 - ( char ch ) - - - remove - remove - ( int pos, int len ) - - - replace - replace - ( int pos, int len, const QByteArray & after ) - - - replace - replace-2 - ( int pos, int len, const char * after ) - - - replace - replace-3 - ( const QByteArray & before, const QByteArray & after ) - - - replace - replace-4 - ( const char * before, const QByteArray & after ) - - - replace - replace-5 - ( const QByteArray & before, const char * after ) - - - replace - replace-6 - ( const QString & before, const QByteArray & after ) - - - replace - replace-7 - ( const QString & before, const char * after ) - - - replace - replace-8 - ( const char * before, const char * after ) - - - replace - replace-9 - ( char before, const QByteArray & after ) - - - replace - replace-10 - ( char before, const QString & after ) - - - replace - replace-11 - ( char before, const char * after ) - - - replace - replace-12 - ( char before, char after ) - - - reserve - reserve - ( int size ) - - - resize - resize - ( int size ) - - - right - right - ( int len ) - - - rightJustified - rightJustified - ( int width, char fill = ' ', bool truncate = false ) - - - setNum - setNum - ( int n, int base = 10 ) - - - setNum - setNum-2 - ( uint n, int base = 10 ) - - - setNum - setNum-3 - ( short n, int base = 10 ) - - - setNum - setNum-4 - ( ushort n, int base = 10 ) - - - setNum - setNum-5 - ( qlonglong n, int base = 10 ) - - - setNum - setNum-6 - ( qulonglong n, int base = 10 ) - - - setNum - setNum-7 - ( double n, char f = 'g', int prec = 6 ) - - - setNum - setNum-8 - ( float n, char f = 'g', int prec = 6 ) - - - simplified - simplified - () - - - size - size - () - - - split - split - ( char sep ) - - - squeeze - squeeze - () - - - startsWith - startsWith - ( const QByteArray & ba ) - - - startsWith - startsWith-2 - ( const char * str ) - - - startsWith - startsWith-3 - ( char ch ) - - - toBase64 - toBase64 - () - - - toDouble - toDouble - ( bool * ok = 0 ) - - - toFloat - toFloat - ( bool * ok = 0 ) - - - toHex - toHex - () - - - toInt - toInt - ( bool * ok = 0, int base = 10 ) - - - toLong - toLong - ( bool * ok = 0, int base = 10 ) - - - toLongLong - toLongLong - ( bool * ok = 0, int base = 10 ) - - - toLower - toLower - () - - - toShort - toShort - ( bool * ok = 0, int base = 10 ) - - - toUInt - toUInt - ( bool * ok = 0, int base = 10 ) - - - toULong - toULong - ( bool * ok = 0, int base = 10 ) - - - toULongLong - toULongLong - ( bool * ok = 0, int base = 10 ) - - - toUShort - toUShort - ( bool * ok = 0, int base = 10 ) - - - toUpper - toUpper - () - - - trimmed - trimmed - () - - - truncate - truncate - ( int pos ) - - - operator - operator-const-char--2a - const char *() - - - operator - operator-const-void--2a - const void *() - - - operator!= - operator-not-eq - ( const QString & str ) - - - operator+= - operator-2b-eq - ( const QByteArray & ba ) - - - operator+= - operator-2b-eq-2 - ( const QString & str ) - - - operator+= - operator-2b-eq-3 - ( const char * str ) - - - operator+= - operator-2b-eq-4 - ( char ch ) - - - operator< - operator-lt - ( const QString & str ) - - - operator<= - operator-lt-eq - ( const QString & str ) - - - operator= - operator-eq - ( const QByteArray & other ) - - - operator= - operator-eq-2 - ( const char * str ) - - - operator== - operator-eq-eq - ( const QString & str ) - - - operator> - operator-gt - ( const QString & str ) - - - operator>= - operator-gt-eq - ( const QString & str ) - - - operator[] - operator-5b-5d - ( int i ) - - - operator[] - operator-5b-5d-2 - ( int i ) - - - operator[] - operator-5b-5d-3 - ( uint i ) - - - operator[] - operator-5b-5d-4 - ( uint i ) - - - QByteArray - QByteArray-6 - ( int size ) - - - duplicate - duplicate - ( const QByteArray & a ) - - - duplicate - duplicate-2 - ( const char * a, uint n ) - - - find - find - ( char c, int from = 0 ) - - - find - find-2 - ( const char * c, int from = 0 ) - - - find - find-3 - ( const QByteArray & ba, int from = 0 ) - - - find - find-4 - ( const QString & s, int from = 0 ) - - - findRev - findRev - ( char c, int from = -1 ) - - - findRev - findRev-2 - ( const char * c, int from = -1 ) - - - findRev - findRev-3 - ( const QByteArray & ba, int from = -1 ) - - - findRev - findRev-4 - ( const QString & s, int from = -1 ) - - - leftJustify - leftJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - lower - lower - () - - - resetRawData - resetRawData - ( const char * data, uint n ) - - - rightJustify - rightJustify - ( uint width, char fill = ' ', bool truncate = false ) - - - setRawData - setRawData - ( const char * a, uint n ) - - - simplifyWhiteSpace - simplifyWhiteSpace - () - - - stripWhiteSpace - stripWhiteSpace - () - - - upper - upper - () - - - - QByteArrayMatcher - qbytearraymatcher.html - - QByteArrayMatcher - QByteArrayMatcher - () - - - QByteArrayMatcher - QByteArrayMatcher-2 - ( const QByteArray & pattern ) - - - QByteArrayMatcher - QByteArrayMatcher-3 - ( const QByteArrayMatcher & other ) - - - indexIn - indexIn - ( const QByteArray & ba, int from = 0 ) - - - pattern - pattern - () - - - setPattern - setPattern - ( const QByteArray & pattern ) - - - operator= - operator-eq - ( const QByteArrayMatcher & other ) - - - QCache - QCache-2 - ( int maxCost, int dummy ) - - - - QCache - qcache.html - - QCache - QCache - ( int maxCost = 100 ) - - - clear - clear - () - - - contains - contains - ( const Key & key ) - - - count - count - () - - - insert - insert - ( const Key & key, T * object, int cost = 1 ) - - - isEmpty - isEmpty - () - - - keys - keys - () - - - maxCost - maxCost - () - - - object - object - ( const Key & key ) - - - remove - remove - ( const Key & key ) - - - setMaxCost - setMaxCost - ( int cost ) - - - size - size - () - - - take - take - ( const Key & key ) - - - totalCost - totalCost - () - - - operator[] - operator-5b-5d - ( const Key & key ) - - - QCache - QCache-2 - ( int maxCost, int dummy ) - - - - QCalendarWidget - qcalendarwidget.html - - HorizontalHeaderFormat - HorizontalHeaderFormat-enum - - - - SelectionMode - SelectionMode-enum - - - - VerticalHeaderFormat - VerticalHeaderFormat-enum - - - - DayOfWeek - firstDayOfWeek-prop - - - - QCalendarWidget - QCalendarWidget - ( QWidget * parent = 0 ) - - - activated - activated - ( const QDate & date ) - - - clicked - clicked - ( const QDate & date ) - - - currentPageChanged - currentPageChanged - ( int year, int month ) - - - dateTextFormat - dateTextFormat - () - - - dateTextFormat - dateTextFormat-2 - ( const QDate & date ) - - - headerTextFormat - headerTextFormat - () - - - monthShown - monthShown - () - - - paintCell - paintCell - ( QPainter * painter, const QRect & rect, const QDate & date ) - - - selectionChanged - selectionChanged - () - - - setCurrentPage - setCurrentPage - ( int year, int month ) - - - setDateRange - setDateRange - ( const QDate & min, const QDate & max ) - - - setDateTextFormat - setDateTextFormat - ( const QDate & date, const QTextCharFormat & format ) - - - setHeaderTextFormat - setHeaderTextFormat - ( const QTextCharFormat & format ) - - - setWeekdayTextFormat - setWeekdayTextFormat - ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format ) - - - showNextMonth - showNextMonth - () - - - showNextYear - showNextYear - () - - - showPreviousMonth - showPreviousMonth - () - - - showPreviousYear - showPreviousYear - () - - - showSelectedDate - showSelectedDate - () - - - showToday - showToday - () - - - weekdayTextFormat - weekdayTextFormat - ( Qt::DayOfWeek dayOfWeek ) - - - yearShown - yearShown - () - - - - QCDEStyle - qcdestyle.html - - QCDEStyle - QCDEStyle - ( bool useHighlightCols = false ) - - - ascii - ascii - () - - - latin1 - latin1 - () - - - lower - lower - () - - - mirrored - mirrored - () - - - networkOrdered - networkOrdered - () - - - upper - upper - () - - - - QChar - qchar.html - - Category - Category-enum - - - - Decomposition - Decomposition-enum - - - - Direction - Direction-enum - - - - Joining - Joining-enum - - - - SpecialCharacter - SpecialCharacter-enum - - - - UnicodeVersion - UnicodeVersion-enum - - - - QChar - QChar - () - - - QChar - QChar-2 - ( char ch ) - - - QChar - QChar-3 - ( uchar ch ) - - - QChar - QChar-4 - ( QLatin1Char ch ) - - - QChar - QChar-5 - ( uchar cell, uchar row ) - - - QChar - QChar-6 - ( ushort code ) - - - QChar - QChar-7 - ( short code ) - - - QChar - QChar-8 - ( uint code ) - - - QChar - QChar-9 - ( int code ) - - - QChar - QChar-10 - ( SpecialCharacter ch ) - - - category - category - () - - - category - category-2 - ( uint ucs4 ) - - - category - category-3 - ( ushort ucs2 ) - - - cell - cell - () - - - combiningClass - combiningClass - () - - - combiningClass - combiningClass-2 - ( uint ucs4 ) - - - combiningClass - combiningClass-3 - ( ushort ucs2 ) - - - decomposition - decomposition - () - - - decomposition - decomposition-2 - ( uint ucs4 ) - - - decompositionTag - decompositionTag - () - - - decompositionTag - decompositionTag-2 - ( uint ucs4 ) - - - digitValue - digitValue - () - - - digitValue - digitValue-2 - ( ushort ucs2 ) - - - digitValue - digitValue-3 - ( uint ucs4 ) - - - direction - direction - () - - - direction - direction-2 - ( uint ucs4 ) - - - direction - direction-3 - ( ushort ucs2 ) - - - fromAscii - fromAscii - ( char c ) - - - fromLatin1 - fromLatin1 - ( char c ) - - - hasMirrored - hasMirrored - () - - - highSurrogate - highSurrogate - ( uint ucs4 ) - - - isDigit - isDigit - () - - - isHighSurrogate - isHighSurrogate - () - - - isLetter - isLetter - () - - - isLetterOrNumber - isLetterOrNumber - () - - - isLowSurrogate - isLowSurrogate - () - - - isLower - isLower - () - - - isMark - isMark - () - - - isNull - isNull - () - - - isNumber - isNumber - () - - - isPrint - isPrint - () - - - isPunct - isPunct - () - - - isSpace - isSpace - () - - - isSymbol - isSymbol - () - - - isTitleCase - isTitleCase - () - - - isUpper - isUpper - () - - - joining - joining - () - - - joining - joining-2 - ( uint ucs4 ) - - - joining - joining-3 - ( ushort ucs2 ) - - - lowSurrogate - lowSurrogate - ( uint ucs4 ) - - - mirroredChar - mirroredChar - () - - - mirroredChar - mirroredChar-2 - ( uint ucs4 ) - - - mirroredChar - mirroredChar-3 - ( ushort ucs2 ) - - - row - row - () - - - surrogateToUcs4 - surrogateToUcs4 - ( ushort high, ushort low ) - - - surrogateToUcs4 - surrogateToUcs4-2 - ( QChar high, QChar low ) - - - toAscii - toAscii - () - - - toCaseFolded - toCaseFolded - () - - - toCaseFolded - toCaseFolded-2 - ( uint ucs4 ) - - - toCaseFolded - toCaseFolded-3 - ( ushort ucs2 ) - - - toLatin1 - toLatin1 - () - - - toLower - toLower - () - - - toLower - toLower-2 - ( uint ucs4 ) - - - toLower - toLower-3 - ( ushort ucs2 ) - - - toTitleCase - toTitleCase - () - - - toTitleCase - toTitleCase-2 - ( uint ucs4 ) - - - toTitleCase - toTitleCase-3 - ( ushort ucs2 ) - - - toUpper - toUpper - () - - - toUpper - toUpper-2 - ( uint ucs4 ) - - - toUpper - toUpper-3 - ( ushort ucs2 ) - - - unicode - unicode - () - - - unicode - unicode-2 - () - - - unicodeVersion - unicodeVersion - () - - - unicodeVersion - unicodeVersion-2 - ( uint ucs4 ) - - - unicodeVersion - unicodeVersion-3 - ( ushort ucs2 ) - - - ascii - ascii - () - - - latin1 - latin1 - () - - - lower - lower - () - - - mirrored - mirrored - () - - - networkOrdered - networkOrdered - () - - - upper - upper - () - - - ToggleState - ToggleState-enum - - - - QCheckBox - QCheckBox-3 - ( QWidget * parent, const char * name ) - - - QCheckBox - QCheckBox-4 - ( const QString & text, QWidget * parent, const char * name ) - - - setNoChange - setNoChange - () - - - setState - setState - ( ToggleState state ) - - - state - state - () - - - - QCheckBox - qcheckbox.html - - QCheckBox - QCheckBox - ( QWidget * parent = 0 ) - - - QCheckBox - QCheckBox-2 - ( const QString & text, QWidget * parent = 0 ) - - - CheckState - checkState - QCheckBox::checkState() - - - initStyleOption - initStyleOption - ( QStyleOptionButton * option ) - - - setCheckState - setCheckState - ( Qt::CheckState state ) - - - stateChanged - stateChanged - ( int state ) - - - ToggleState - ToggleState-enum - - - - QCheckBox - QCheckBox-3 - ( QWidget * parent, const char * name ) - - - QCheckBox - QCheckBox-4 - ( const QString & text, QWidget * parent, const char * name ) - - - setNoChange - setNoChange - () - - - setState - setState - ( ToggleState state ) - - - state - state - () - - - inserted - inserted - () - - - - QChildEvent - qchildevent.html - - QChildEvent - QChildEvent - ( Type type, QObject * child ) - - - added - added - () - - - child - child - () - - - polished - polished - () - - - removed - removed - () - - - inserted - inserted - () - - - - QCleanlooksStyle - qcleanlooksstyle.html - - QCleanlooksStyle - QCleanlooksStyle - () - - - drawItemText - drawItemText - ( QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) - - - data - data - ( Mode mode = Clipboard ) - - - setData - setData - ( QMimeSource * src, Mode mode = Clipboard ) - - - - QClipboard - qclipboard.html - - Mode - Mode-enum - - - - changed - changed - ( QClipboard::Mode mode ) - - - clear - clear - ( Mode mode = Clipboard ) - - - dataChanged - dataChanged - () - - - findBufferChanged - findBufferChanged - () - - - image - image - ( Mode mode = Clipboard ) - - - mimeData - mimeData - ( Mode mode = Clipboard ) - - - ownsClipboard - ownsClipboard - () - - - ownsFindBuffer - ownsFindBuffer - () - - - ownsSelection - ownsSelection - () - - - pixmap - pixmap - ( Mode mode = Clipboard ) - - - selectionChanged - selectionChanged - () - - - setImage - setImage - ( const QImage & image, Mode mode = Clipboard ) - - - setMimeData - setMimeData - ( QMimeData * src, Mode mode = Clipboard ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap, Mode mode = Clipboard ) - - - setText - setText - ( const QString & text, Mode mode = Clipboard ) - - - supportsFindBuffer - supportsFindBuffer - () - - - supportsSelection - supportsSelection - () - - - text - text - ( Mode mode = Clipboard ) - - - text - text-2 - ( QString & subtype, Mode mode = Clipboard ) - - - data - data - ( Mode mode = Clipboard ) - - - setData - setData - ( QMimeSource * src, Mode mode = Clipboard ) - - - - QCloseEvent - qcloseevent.html - - QCloseEvent - QCloseEvent - () - - - dark - dark - ( int factor = 200 ) - - - light - light - ( int factor = 150 ) - - - QColor - QColor-8 - ( int x, int y, int z, Spec colorSpec ) - - - getRgba - getRgba - ( int * r, int * g, int * b, int * a ) - - - hsv - hsv - ( int * h, int * s, int * v ) - - - pixel - pixel - ( int screen = -1 ) - - - rgb - rgb-2 - ( int * r, int * g, int * b ) - - - setRgba - setRgba-2 - ( int r, int g, int b, int a ) - - - - QColor - qcolor.html - - Spec - Spec-enum - - - - QColor - QColor - () - - - QColor - QColor-2 - ( int r, int g, int b, int a = 255 ) - - - QColor - QColor-3 - ( QRgb color ) - - - QColor - QColor-4 - ( const QString & name ) - - - QColor - QColor-5 - ( const char * name ) - - - QColor - QColor-6 - ( const QColor & color ) - - - QColor - QColor-9 - ( Qt::GlobalColor color ) - - - allowX11ColorNames - allowX11ColorNames - () - - - alpha - alpha - () - - - alphaF - alphaF - () - - - black - black - () - - - blackF - blackF - () - - - blue - blue - () - - - blueF - blueF - () - - - colorNames - colorNames - () - - - convertTo - convertTo - ( Spec colorSpec ) - - - cyan - cyan - () - - - cyanF - cyanF - () - - - darker - darker - ( int factor = 200 ) - - - fromCmyk - fromCmyk - ( int c, int m, int y, int k, int a = 255 ) - - - fromCmykF - fromCmykF - ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) - - - fromHsv - fromHsv - ( int h, int s, int v, int a = 255 ) - - - fromHsvF - fromHsvF - ( qreal h, qreal s, qreal v, qreal a = 1.0 ) - - - fromRgb - fromRgb - ( QRgb rgb ) - - - fromRgb - fromRgb-2 - ( int r, int g, int b, int a = 255 ) - - - fromRgbF - fromRgbF - ( qreal r, qreal g, qreal b, qreal a = 1.0 ) - - - fromRgba - fromRgba - ( QRgb rgba ) - - - getCmyk - getCmyk - ( int * c, int * m, int * y, int * k, int * a = 0 ) - - - getCmykF - getCmykF - ( qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0 ) - - - getHsv - getHsv - ( int * h, int * s, int * v, int * a = 0 ) - - - getHsvF - getHsvF - ( qreal * h, qreal * s, qreal * v, qreal * a = 0 ) - - - getRgb - getRgb - ( int * r, int * g, int * b, int * a = 0 ) - - - getRgbF - getRgbF - ( qreal * r, qreal * g, qreal * b, qreal * a = 0 ) - - - green - green - () - - - greenF - greenF - () - - - hue - hue - () - - - hueF - hueF - () - - - isValid - isValid - () - - - lighter - lighter - ( int factor = 150 ) - - - magenta - magenta - () - - - magentaF - magentaF - () - - - name - name - () - - - red - red - () - - - redF - redF - () - - - rgb - rgb - () - - - rgba - rgba - () - - - saturation - saturation - () - - - saturationF - saturationF - () - - - setAllowX11ColorNames - setAllowX11ColorNames - ( bool enabled ) - - - setAlpha - setAlpha - ( int alpha ) - - - setAlphaF - setAlphaF - ( qreal alpha ) - - - setBlue - setBlue - ( int blue ) - - - setBlueF - setBlueF - ( qreal blue ) - - - setCmyk - setCmyk - ( int c, int m, int y, int k, int a = 255 ) - - - setCmykF - setCmykF - ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 ) - - - setGreen - setGreen - ( int green ) - - - setGreenF - setGreenF - ( qreal green ) - - - setHsv - setHsv - ( int h, int s, int v, int a = 255 ) - - - setHsvF - setHsvF - ( qreal h, qreal s, qreal v, qreal a = 1.0 ) - - - setNamedColor - setNamedColor - ( const QString & name ) - - - setRed - setRed - ( int red ) - - - setRedF - setRedF - ( qreal red ) - - - setRgb - setRgb - ( int r, int g, int b, int a = 255 ) - - - setRgb - setRgb-2 - ( QRgb rgb ) - - - setRgbF - setRgbF - ( qreal r, qreal g, qreal b, qreal a = 1.0 ) - - - setRgba - setRgba - ( QRgb rgba ) - - - spec - spec - () - - - toCmyk - toCmyk - () - - - toHsv - toHsv - () - - - toRgb - toRgb - () - - - value - value - () - - - valueF - valueF - () - - - yellow - yellow - () - - - yellowF - yellowF - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QColor & color ) - - - operator= - operator-eq - ( const QColor & color ) - - - operator= - operator-eq-2 - ( Qt::GlobalColor color ) - - - operator== - operator-eq-eq - ( const QColor & color ) - - - QColor - QColor-8 - ( int x, int y, int z, Spec colorSpec ) - - - getRgba - getRgba - ( int * r, int * g, int * b, int * a ) - - - hsv - hsv - ( int * h, int * s, int * v ) - - - pixel - pixel - ( int screen = -1 ) - - - rgb - rgb-2 - ( int * r, int * g, int * b ) - - - setRgba - setRgba-2 - ( int r, int g, int b, int a ) - - - getColor - getColor-2 - ( const QColor & init, QWidget * parent, const char * name ) - - - getRgba - getRgba-2 - ( QRgb rgba, bool * ok, QWidget * parent, const char * name ) - - - - QColorDialog - qcolordialog.html - - changeEvent - changeEvent - ( QEvent * e ) - - - customColor - customColor - ( int i ) - - - customCount - customCount - () - - - getColor - getColor - ( const QColor & initial = Qt::white, QWidget * parent = 0 ) - - - getRgba - getRgba - ( QRgb initial = 0xffffffff, bool * ok = 0, QWidget * parent = 0 ) - - - setCustomColor - setCustomColor - ( int number, QRgb color ) - - - setStandardColor - setStandardColor - ( int number, QRgb color ) - - - getColor - getColor-2 - ( const QColor & init, QWidget * parent, const char * name ) - - - getRgba - getRgba-2 - ( QRgb rgba, bool * ok, QWidget * parent, const char * name ) - - - background - background - () - - - base - base - () - - - brightText - brightText - () - - - button - button - () - - - buttonText - buttonText - () - - - dark - dark - () - - - foreground - foreground - () - - - highlight - highlight - () - - - highlightedText - highlightedText - () - - - light - light - () - - - link - link - () - - - linkVisited - linkVisited - () - - - mid - mid - () - - - midlight - midlight - () - - - shadow - shadow - () - - - text - text - () - - - - QColorGroup - qcolorgroup.html - - QColorGroup - QColorGroup - () - - - QColorGroup - QColorGroup-2 - ( 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 - QColorGroup-3 - ( const QColor & foreground, const QColor & background, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base ) - - - QColorGroup - QColorGroup-4 - ( const QColorGroup & other ) - - - QColorGroup - QColorGroup-5 - ( const QPalette & pal ) - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QColorGroup & other ) - - - operator== - operator-eq-eq - ( const QColorGroup & other ) - - - background - background - () - - - base - base - () - - - brightText - brightText - () - - - button - button - () - - - buttonText - buttonText - () - - - dark - dark - () - - - foreground - foreground - () - - - highlight - highlight - () - - - highlightedText - highlightedText - () - - - light - light - () - - - link - link - () - - - linkVisited - linkVisited - () - - - mid - mid - () - - - midlight - midlight - () - - - shadow - shadow - () - - - text - text - () - - - - QColormap - qcolormap.html - - Mode - Mode-enum - - - - QColormap - QColormap - ( const QColormap & colormap ) - - - colorAt - colorAt - ( uint pixel ) - - - colormap - colormap - () - - - depth - depth - () - - - hPal - hPal - () - - - instance - instance - ( int screen = -1 ) - - - mode - mode - () - - - pixel - pixel - ( const QColor & color ) - - - size - size - () - - - operator= - operator-eq - ( const QColormap & colormap ) - - - - QColumnView - qcolumnview.html - - QColumnView - QColumnView - ( QWidget * parent = 0 ) - - - columnWidths - columnWidths - () - - - createColumn - createColumn - ( const QModelIndex & index ) - - - previewWidget - previewWidget - () - - - setColumnWidths - setColumnWidths - ( const QList<int> & list ) - - - setPreviewWidget - setPreviewWidget - ( QWidget * widget ) - - - updatePreviewWidget - updatePreviewWidget - ( const QModelIndex & index ) - - - CaseSensitivity - autoCompletionCaseSensitivity-prop - - - - Policy - Policy-typedef - - - - QComboBox - QComboBox-2 - ( QWidget * parent, const char * name ) - - - QComboBox - QComboBox-3 - ( bool rw, QWidget * parent, const char * name = 0 ) - - - changeItem - changeItem - ( const QString & text, int index ) - - - changeItem - changeItem-2 - ( const QPixmap & pixmap, int index ) - - - changeItem - changeItem-3 - ( const QPixmap & pixmap, const QString & text, int index ) - - - clearEdit - clearEdit - () - - - clearValidator - clearValidator - () - - - currentItem - currentItem - () - - - editable - editable - () - - - insertItem - insertItem-3 - ( const QString & text, int index = -1 ) - - - insertItem - insertItem-4 - ( const QPixmap & pixmap, int index = -1 ) - - - insertItem - insertItem-5 - ( const QPixmap & pixmap, const QString & text, int index = -1 ) - - - insertStringList - insertStringList - ( const QStringList & list, int index = -1 ) - - - insertionPolicy - insertionPolicy - () - - - pixmap - pixmap - ( int index ) - - - popup - popup - () - - - setCurrentItem - setCurrentItem - ( int index ) - - - setCurrentText - setCurrentText - ( const QString & text ) - - - setInsertionPolicy - setInsertionPolicy - ( InsertPolicy policy ) - - - text - text - ( int index ) - - - textChanged - textChanged - ( const QString & text ) - - - - QComboBox - qcombobox.html - - InsertPolicy - InsertPolicy-enum - - - - SizeAdjustPolicy - SizeAdjustPolicy-enum - - - - QComboBox - QComboBox - ( QWidget * parent = 0 ) - - - activated - activated - ( int index ) - - - activated - activated-2 - ( const QString & text ) - - - addItem - addItem - ( const QString & text, const QVariant & userData = QVariant() - - - addItem - addItem-2 - ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() - - - addItems - addItems - ( const QStringList & texts ) - - - clear - clear - () - - - clearEditText - clearEditText - () - - - completer - completer - () - - - currentIndexChanged - currentIndexChanged - ( int index ) - - - currentIndexChanged - currentIndexChanged-2 - ( const QString & text ) - - - editTextChanged - editTextChanged - ( const QString & text ) - - - findData - findData - ( const QVariant & data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) - - - findText - findText - ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly | Qt::MatchCaseSensitive ) - - - hidePopup - hidePopup - () - - - highlighted - highlighted - ( int index ) - - - highlighted - highlighted-2 - ( const QString & text ) - - - initStyleOption - initStyleOption - ( QStyleOptionComboBox * option ) - - - insertItem - insertItem - ( int index, const QString & text, const QVariant & userData = QVariant() - - - insertItem - insertItem-2 - ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() - - - insertItems - insertItems - ( int index, const QStringList & list ) - - - itemData - itemData - ( int index, int role = Qt::UserRole ) - - - itemDelegate - itemDelegate - () - - - itemIcon - itemIcon - ( int index ) - - - itemText - itemText - ( int index ) - - - lineEdit - lineEdit - () - - - model - model - () - - - removeItem - removeItem - ( int index ) - - - rootModelIndex - rootModelIndex - () - - - setCompleter - setCompleter - ( QCompleter * completer ) - - - setEditText - setEditText - ( const QString & text ) - - - setItemData - setItemData - ( int index, const QVariant & value, int role = Qt::UserRole ) - - - setItemDelegate - setItemDelegate - ( QAbstractItemDelegate * delegate ) - - - setItemIcon - setItemIcon - ( int index, const QIcon & icon ) - - - setItemText - setItemText - ( int index, const QString & text ) - - - setLineEdit - setLineEdit - ( QLineEdit * edit ) - - - setModel - setModel - ( QAbstractItemModel * model ) - - - setRootModelIndex - setRootModelIndex - ( const QModelIndex & index ) - - - setValidator - setValidator - ( const QValidator * validator ) - - - setView - setView - ( QAbstractItemView * itemView ) - - - showPopup - showPopup - () - - - validator - validator - () - - - view - view - () - - - Policy - Policy-typedef - - - - QComboBox - QComboBox-2 - ( QWidget * parent, const char * name ) - - - QComboBox - QComboBox-3 - ( bool rw, QWidget * parent, const char * name = 0 ) - - - changeItem - changeItem - ( const QString & text, int index ) - - - changeItem - changeItem-2 - ( const QPixmap & pixmap, int index ) - - - changeItem - changeItem-3 - ( const QPixmap & pixmap, const QString & text, int index ) - - - clearEdit - clearEdit - () - - - clearValidator - clearValidator - () - - - currentItem - currentItem - () - - - editable - editable - () - - - insertItem - insertItem-3 - ( const QString & text, int index = -1 ) - - - insertItem - insertItem-4 - ( const QPixmap & pixmap, int index = -1 ) - - - insertItem - insertItem-5 - ( const QPixmap & pixmap, const QString & text, int index = -1 ) - - - insertStringList - insertStringList - ( const QStringList & list, int index = -1 ) - - - insertionPolicy - insertionPolicy - () - - - pixmap - pixmap - ( int index ) - - - popup - popup - () - - - setCurrentItem - setCurrentItem - ( int index ) - - - setCurrentText - setCurrentText - ( const QString & text ) - - - setInsertionPolicy - setInsertionPolicy - ( InsertPolicy policy ) - - - text - text - ( int index ) - - - textChanged - textChanged - ( const QString & text ) - - - - QCommonStyle - qcommonstyle.html - - QCommonStyle - QCommonStyle - () - - - - QCompleter - qcompleter.html - - CompletionMode - CompletionMode-enum - - - - ModelSorting - ModelSorting-enum - - - - CaseSensitivity - caseSensitivity-prop - - - - QCompleter - QCompleter - ( QObject * parent = 0 ) - - - QCompleter - QCompleter-2 - ( QAbstractItemModel * model, QObject * parent = 0 ) - - - QCompleter - QCompleter-3 - ( const QStringList & list, QObject * parent = 0 ) - - - activated - activated - ( const QString & text ) - - - activated - activated-2 - ( const QModelIndex & index ) - - - complete - complete - ( const QRect & rect = QRect() - - - completionCount - completionCount - () - - - completionModel - completionModel - () - - - currentCompletion - currentCompletion - () - - - currentIndex - currentIndex - () - - - currentRow - currentRow - () - - - highlighted - highlighted - ( const QString & text ) - - - highlighted - highlighted-2 - ( const QModelIndex & index ) - - - model - model - () - - - pathFromIndex - pathFromIndex - ( const QModelIndex & index ) - - - popup - popup - () - - - setCurrentRow - setCurrentRow - ( int row ) - - - setModel - setModel - ( QAbstractItemModel * model ) - - - setPopup - setPopup - ( QAbstractItemView * popup ) - - - setWidget - setWidget - ( QWidget * widget ) - - - splitPath - splitPath - ( const QString & path ) - - - widget - widget - () - - - - QConicalGradient - qconicalgradient.html - - QConicalGradient - QConicalGradient - () - - - QConicalGradient - QConicalGradient-2 - ( const QPointF & center, qreal angle ) - - - QConicalGradient - QConicalGradient-3 - ( qreal cx, qreal cy, qreal angle ) - - - angle - angle - () - - - center - center - () - - - setAngle - setAngle - ( qreal angle ) - - - setCenter - setCenter - ( const QPointF & center ) - - - setCenter - setCenter-2 - ( qreal x, qreal y ) - - - QConstString - QConstString - ( const QChar * unicode, int size ) - - - string - string - () - - - - QConstString - qconststring.html - - QConstString - QConstString - ( const QChar * unicode, int size ) - - - string - string - () - - - QContextMenuEvent - QContextMenuEvent-3 - ( Reason reason, const QPoint & pos, const QPoint & globalPos, int dummy ) - - - QContextMenuEvent - QContextMenuEvent-4 - ( Reason reason, const QPoint & pos, int dummy ) - - - ButtonState - state - QContextMenuEvent::state() - - - - QContextMenuEvent - qcontextmenuevent.html - - Reason - Reason-enum - - - - QContextMenuEvent - QContextMenuEvent - ( Reason reason, const QPoint & pos, const QPoint & globalPos ) - - - QContextMenuEvent - QContextMenuEvent-2 - ( Reason reason, const QPoint & pos ) - - - globalPos - globalPos - () - - - globalX - globalX - () - - - globalY - globalY - () - - - pos - pos - () - - - reason - reason - () - - - x - x - () - - - y - y - () - - - QContextMenuEvent - QContextMenuEvent-3 - ( Reason reason, const QPoint & pos, const QPoint & globalPos, int dummy ) - - - QContextMenuEvent - QContextMenuEvent-4 - ( Reason reason, const QPoint & pos, int dummy ) - - - ButtonState - state - QContextMenuEvent::state() - - - QCopChannel - QCopChannel-2 - ( const QString & channel, QObject * parent, const char * name ) - - - - QCopChannel - qcopchannel.html - - QCopChannel - QCopChannel - ( const QString & channel, QObject * parent = 0 ) - - - channel - channel - () - - - flush - flush - () - - - isRegistered - isRegistered - ( const QString & channel ) - - - receive - receive - ( const QString & message, const QByteArray & data ) - - - received - received - ( const QString & message, const QByteArray & data ) - - - send - send - ( const QString & channel, const QString & message, const QByteArray & data ) - - - send - send-2 - ( const QString & channel, const QString & message ) - - - QCopChannel - QCopChannel-2 - ( const QString & channel, QObject * parent, const char * name ) - - - enter_loop - enter_loop - () - - - exit_loop - exit_loop - () - - - lock - lock - () - - - locked - locked - () - - - loopLevel - loopLevel - () - - - processOneEvent - processOneEvent - () - - - tryLock - tryLock - () - - - unlock - unlock - ( bool wakeUpGui = true ) - - - - QCoreApplication - qcoreapplication.html - - Encoding - Encoding-enum - - - - EventFilter - EventFilter-typedef - - - - QCoreApplication - QCoreApplication - ( int & argc, char ** argv ) - - - aboutToQuit - aboutToQuit - () - - - addLibraryPath - addLibraryPath - ( const QString & path ) - - - applicationDirPath - applicationDirPath - () - - - applicationFilePath - applicationFilePath - () - - - arguments - arguments - () - - - closingDown - closingDown - () - - - exec - exec - () - - - exit - exit - ( int returnCode = 0 ) - - - filterEvent - filterEvent - ( void * message, long * result ) - - - flush - flush - () - - - hasPendingEvents - hasPendingEvents - () - - - installTranslator - installTranslator - ( QTranslator * translationFile ) - - - instance - instance - () - - - libraryPaths - libraryPaths - () - - - notify - notify - ( QObject * receiver, QEvent * event ) - - - postEvent - postEvent - ( QObject * receiver, QEvent * event ) - - - postEvent - postEvent-2 - ( QObject * receiver, QEvent * event, int priority ) - - - processEvents - processEvents - ( QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents ) - - - processEvents - processEvents-2 - ( QEventLoop::ProcessEventsFlags flags, int maxtime ) - - - quit - quit - () - - - removeLibraryPath - removeLibraryPath - ( const QString & path ) - - - removePostedEvents - removePostedEvents - ( QObject * receiver ) - - - removePostedEvents - removePostedEvents-2 - ( QObject * receiver, int eventType ) - - - removeTranslator - removeTranslator - ( QTranslator * translationFile ) - - - sendEvent - sendEvent - ( QObject * receiver, QEvent * event ) - - - sendPostedEvents - sendPostedEvents - ( QObject * receiver, int event_type ) - - - sendPostedEvents - sendPostedEvents-2 - () - - - setAttribute - setAttribute - ( Qt::ApplicationAttribute attribute, bool on = true ) - - - setEventFilter - setEventFilter - ( EventFilter filter ) - - - setLibraryPaths - setLibraryPaths - ( const QStringList & paths ) - - - startingUp - startingUp - () - - - testAttribute - testAttribute - ( Qt::ApplicationAttribute attribute ) - - - translate - translate - ( const char * context, const char * sourceText, const char * comment, Encoding encoding, int n ) - - - translate - translate-2 - ( const char * context, const char * sourceText, const char * comment = 0, Encoding encoding = CodecForTr ) - - - winEventFilter - winEventFilter - ( MSG * msg, long * result ) - - - enter_loop - enter_loop - () - - - exit_loop - exit_loop - () - - - lock - lock - () - - - locked - locked - () - - - loopLevel - loopLevel - () - - - processOneEvent - processOneEvent - () - - - tryLock - tryLock - () - - - unlock - unlock - ( bool wakeUpGui = true ) - - - - QCryptographicHash - qcryptographichash.html - - Algorithm - Algorithm-enum - - - - QCryptographicHash - QCryptographicHash - ( Algorithm method ) - - - addData - addData - ( const char * data, int length ) - - - addData - addData-2 - ( const QByteArray & data ) - - - hash - hash - ( const QByteArray & data, Algorithm method ) - - - reset - reset - () - - - result - result - () - - - - QCursor - qcursor.html - - QCursor - QCursor - () - - - QCursor - QCursor-2 - ( Qt::CursorShape shape ) - - - QCursor - QCursor-3 - ( const QBitmap & bitmap, const QBitmap & mask, int hotX = -1, int hotY = -1 ) - - - QCursor - QCursor-4 - ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 ) - - - QCursor - QCursor-5 - ( const QCursor & c ) - - - QCursor - QCursor-6 - ( HCURSOR cursor ) - - - QCursor - QCursor-7 - ( Qt::HANDLE handle ) - - - bitmap - bitmap - () - - - handle - handle - () - - - hotSpot - hotSpot - () - - - mask - mask - () - - - pixmap - pixmap - () - - - pos - pos - () - - - setPos - setPos - ( int x, int y ) - - - setPos - setPos-2 - ( const QPoint & p ) - - - setShape - setShape - ( Qt::CursorShape shape ) - - - CursorShape - shape - QCursor::shape() - - - operator - operator-QVariant - QVariant() - - - operator= - operator-eq - ( const QCursor & c ) - - - QCustomEvent - QCustomEvent - ( int type, void * data = 0 ) - - - data - data - () - - - setData - setData - ( void * data ) - - - - QCustomEvent - qcustomevent.html - - QCustomEvent - QCustomEvent - ( int type, void * data = 0 ) - - - data - data - () - - - setData - setData - ( void * data ) - - - - QCustomRasterPaintDevice - qcustomrasterpaintdevice.html - - QCustomRasterPaintDevice - QCustomRasterPaintDevice - ( QWidget * widget ) - - - bytesPerLine - bytesPerLine - () - - - Format - format - QCustomRasterPaintDevice::format() - - - memory - memory - () - - - QDataStream - QDataStream-3 - ( QByteArray * array, int mode ) - - - eof - eof - () - - - isPrintableData - isPrintableData - () - - - readRawBytes - readRawBytes - ( char * str, uint len ) - - - setPrintableData - setPrintableData - ( bool enable ) - - - writeRawBytes - writeRawBytes - ( const char * str, uint len ) - - - - QDataStream - qdatastream.html - - ByteOrder - ByteOrder-enum - - - - Status - Status-enum - - - - Version - Version-enum - - - - QDataStream - QDataStream - () - - - QDataStream - QDataStream-2 - ( QIODevice * d ) - - - QDataStream - QDataStream-4 - ( QByteArray * a, QIODevice::OpenMode mode ) - - - QDataStream - QDataStream-5 - ( const QByteArray & a ) - - - atEnd - atEnd - () - - - byteOrder - byteOrder - () - - - device - device - () - - - readBytes - readBytes - ( char *& s, uint & l ) - - - readRawData - readRawData - ( char * s, int len ) - - - resetStatus - resetStatus - () - - - setByteOrder - setByteOrder - ( ByteOrder bo ) - - - setDevice - setDevice - ( QIODevice * d ) - - - setStatus - setStatus - ( Status status ) - - - setVersion - setVersion - ( int v ) - - - skipRawData - skipRawData - ( int len ) - - - status - status - () - - - unsetDevice - unsetDevice - () - - - version - version - () - - - writeBytes - writeBytes - ( const char * s, uint len ) - - - writeRawData - writeRawData - ( const char * s, int len ) - - - operator<< - operator-lt-lt - ( qint8 i ) - - - operator<< - operator-lt-lt-2 - ( bool i ) - - - operator<< - operator-lt-lt-3 - ( quint8 i ) - - - operator<< - operator-lt-lt-4 - ( quint16 i ) - - - operator<< - operator-lt-lt-5 - ( qint16 i ) - - - operator<< - operator-lt-lt-6 - ( qint32 i ) - - - operator<< - operator-lt-lt-7 - ( quint64 i ) - - - operator<< - operator-lt-lt-8 - ( qint64 i ) - - - operator<< - operator-lt-lt-9 - ( quint32 i ) - - - operator<< - operator-lt-lt-10 - ( float f ) - - - operator<< - operator-lt-lt-11 - ( double f ) - - - operator<< - operator-lt-lt-12 - ( const char * s ) - - - operator>> - operator-gt-gt - ( qint8 & i ) - - - operator>> - operator-gt-gt-2 - ( bool & i ) - - - operator>> - operator-gt-gt-3 - ( quint8 & i ) - - - operator>> - operator-gt-gt-4 - ( quint16 & i ) - - - operator>> - operator-gt-gt-5 - ( qint16 & i ) - - - operator>> - operator-gt-gt-6 - ( quint32 & i ) - - - operator>> - operator-gt-gt-7 - ( qint32 & i ) - - - operator>> - operator-gt-gt-8 - ( quint64 & i ) - - - operator>> - operator-gt-gt-9 - ( qint64 & i ) - - - operator>> - operator-gt-gt-10 - ( float & f ) - - - operator>> - operator-gt-gt-11 - ( double & f ) - - - operator>> - operator-gt-gt-12 - ( char *& s ) - - - QDataStream - QDataStream-3 - ( QByteArray * array, int mode ) - - - eof - eof - () - - - isPrintableData - isPrintableData - () - - - readRawBytes - readRawBytes - ( char * str, uint len ) - - - setPrintableData - setPrintableData - ( bool enable ) - - - writeRawBytes - writeRawBytes - ( const char * str, uint len ) - - - - QDataWidgetMapper - qdatawidgetmapper.html - - SubmitPolicy - SubmitPolicy-enum - - - - Orientation - orientation-prop - - - - QDataWidgetMapper - QDataWidgetMapper - ( QObject * parent = 0 ) - - - addMapping - addMapping - ( QWidget * widget, int section ) - - - addMapping - addMapping-2 - ( QWidget * widget, int section, const QByteArray & propertyName ) - - - clearMapping - clearMapping - () - - - currentIndexChanged - currentIndexChanged - ( int index ) - - - itemDelegate - itemDelegate - () - - - mappedPropertyName - mappedPropertyName - ( QWidget * widget ) - - - mappedSection - mappedSection - ( QWidget * widget ) - - - mappedWidgetAt - mappedWidgetAt - ( int section ) - - - model - model - () - - - removeMapping - removeMapping - ( QWidget * widget ) - - - revert - revert - () - - - rootIndex - rootIndex - () - - - setCurrentModelIndex - setCurrentModelIndex - ( const QModelIndex & index ) - - - setItemDelegate - setItemDelegate - ( QAbstractItemDelegate * delegate ) - - - setModel - setModel - ( QAbstractItemModel * model ) - - - setRootIndex - setRootIndex - ( const QModelIndex & index ) - - - submit - submit - () - - - toFirst - toFirst - () - - - toLast - toLast - () - - - toNext - toNext - () - - - toPrevious - toPrevious - () - - - setYMD - setYMD - ( int y, int m, int d ) - - - currentDate - currentDate-2 - ( Qt::TimeSpec spec ) - - - dayName - dayName - ( int weekday ) - - - leapYear - leapYear - ( int year ) - - - monthName - monthName - ( int month ) - - - - QDate - qdate.html - - QDate - QDate - () - - - QDate - QDate-2 - ( int y, int m, int d ) - - - addDays - addDays - ( int ndays ) - - - addMonths - addMonths - ( int nmonths ) - - - addYears - addYears - ( int nyears ) - - - currentDate - currentDate - () - - - day - day - () - - - dayOfWeek - dayOfWeek - () - - - dayOfYear - dayOfYear - () - - - daysInMonth - daysInMonth - () - - - daysInYear - daysInYear - () - - - daysTo - daysTo - ( const QDate & d ) - - - fromJulianDay - fromJulianDay - ( int jd ) - - - fromString - fromString - ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - - - fromString - fromString-2 - ( const QString & string, const QString & format ) - - - isLeapYear - isLeapYear - ( int year ) - - - isNull - isNull - () - - - isValid - isValid - () - - - isValid - isValid-2 - ( int year, int month, int day ) - - - longDayName - longDayName - ( int weekday ) - - - longMonthName - longMonthName - ( int month ) - - - month - month - () - - - setDate - setDate - ( int year, int month, int day ) - - - shortDayName - shortDayName - ( int weekday ) - - - shortMonthName - shortMonthName - ( int month ) - - - toJulianDay - toJulianDay - () - - - toString - toString - ( const QString & format ) - - - toString - toString-2 - ( Qt::DateFormat format = Qt::TextDate ) - - - weekNumber - weekNumber - ( int * yearNumber = 0 ) - - - year - year - () - - - operator!= - operator-not-eq - ( const QDate & d ) - - - operator< - operator-lt - ( const QDate & d ) - - - operator<= - operator-lt-eq - ( const QDate & d ) - - - operator== - operator-eq-eq - ( const QDate & d ) - - - operator> - operator-gt - ( const QDate & d ) - - - operator>= - operator-gt-eq - ( const QDate & d ) - - - currentDate - currentDate-2 - ( Qt::TimeSpec spec ) - - - dayName - dayName - ( int weekday ) - - - leapYear - leapYear - ( int year ) - - - monthName - monthName - ( int month ) - - - - QDateEdit - qdateedit.html - - QDateEdit - QDateEdit - ( QWidget * parent = 0 ) - - - QDateEdit - QDateEdit-2 - ( const QDate & date, QWidget * parent = 0 ) - - - currentDateTime - currentDateTime-2 - ( Qt::TimeSpec spec ) - - - setTime_t - setTime_t-2 - ( uint secsSince1Jan1970UTC, Qt::TimeSpec spec ) - - - - QDateTime - qdatetime.html - - QDateTime - QDateTime - () - - - QDateTime - QDateTime-2 - ( const QDate & date ) - - - QDateTime - QDateTime-3 - ( const QDate & date, const QTime & time, Qt::TimeSpec spec = Qt::LocalTime ) - - - QDateTime - QDateTime-4 - ( const QDateTime & other ) - - - addDays - addDays - ( int ndays ) - - - addMSecs - addMSecs - ( qint64 msecs ) - - - addMonths - addMonths - ( int nmonths ) - - - addSecs - addSecs - ( int s ) - - - addYears - addYears - ( int nyears ) - - - currentDateTime - currentDateTime - () - - - date - date - () - - - daysTo - daysTo - ( const QDateTime & other ) - - - fromString - fromString - ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - - - fromString - fromString-2 - ( const QString & string, const QString & format ) - - - fromTime_t - fromTime_t - ( uint seconds ) - - - isNull - isNull - () - - - isValid - isValid - () - - - secsTo - secsTo - ( const QDateTime & other ) - - - setDate - setDate - ( const QDate & date ) - - - setTime - setTime - ( const QTime & time ) - - - setTimeSpec - setTimeSpec - ( Qt::TimeSpec spec ) - - - setTime_t - setTime_t - ( uint seconds ) - - - time - time - () - - - TimeSpec - timeSpec - QDateTime::timeSpec() - - - toLocalTime - toLocalTime - () - - - toString - toString - ( const QString & format ) - - - toString - toString-2 - ( Qt::DateFormat format = Qt::TextDate ) - - - toTimeSpec - toTimeSpec - ( Qt::TimeSpec specification ) - - - toTime_t - toTime_t - () - - - toUTC - toUTC - () - - - operator!= - operator-not-eq - ( const QDateTime & other ) - - - operator< - operator-lt - ( const QDateTime & other ) - - - operator<= - operator-lt-eq - ( const QDateTime & other ) - - - operator= - operator-eq - ( const QDateTime & other ) - - - operator== - operator-eq-eq - ( const QDateTime & other ) - - - operator> - operator-gt - ( const QDateTime & other ) - - - operator>= - operator-gt-eq - ( const QDateTime & other ) - - - currentDateTime - currentDateTime-2 - ( Qt::TimeSpec spec ) - - - setTime_t - setTime_t-2 - ( uint secsSince1Jan1970UTC, Qt::TimeSpec spec ) - - - - QDateTimeEdit - qdatetimeedit.html - - QDateTimeEdit - QDateTimeEdit - ( QWidget * parent = 0 ) - - - QDateTimeEdit - QDateTimeEdit-2 - ( const QDateTime & datetime, QWidget * parent = 0 ) - - - QDateTimeEdit - QDateTimeEdit-3 - ( const QDate & date, QWidget * parent = 0 ) - - - QDateTimeEdit - QDateTimeEdit-4 - ( const QTime & time, QWidget * parent = 0 ) - - - dateChanged - dateChanged - ( const QDate & date ) - - - dateTimeChanged - dateTimeChanged - ( const QDateTime & datetime ) - - - dateTimeFromText - dateTimeFromText - ( const QString & text ) - - - initStyleOption - initStyleOption - ( QStyleOptionSpinBox * option ) - - - sectionAt - sectionAt - ( int index ) - - - sectionText - sectionText - ( Section section ) - - - setDateRange - setDateRange - ( const QDate & min, const QDate & max ) - - - setSelectedSection - setSelectedSection - ( Section section ) - - - setTimeRange - setTimeRange - ( const QTime & min, const QTime & max ) - - - textFromDateTime - textFromDateTime - ( const QDateTime & dateTime ) - - - timeChanged - timeChanged - ( const QTime & time ) - - - CallMode - CallMode-enum - - - - - QDBusAbstractAdaptor - qdbusabstractadaptor.html - - QDBusAbstractAdaptor - QDBusAbstractAdaptor - ( QObject * obj ) - - - autoRelaySignals - autoRelaySignals - () - - - setAutoRelaySignals - setAutoRelaySignals - ( bool enable ) - - - - QDBusAbstractInterface - qdbusabstractinterface.html - - call - call - ( const QString & method, const QVariant & arg1 = QVariant() - - - call - call-2 - ( QDBus::CallMode mode, const QString & method, const QVariant & arg1 = QVariant() - - - callWithArgumentList - callWithArgumentList - ( QDBus::CallMode mode, const QString & method, const QList<QVariant> & args ) - - - callWithCallback - callWithCallback - ( const QString & method, const QList<QVariant> & args, QObject * receiver, const char * returnMethod, const char * errorMethod ) - - - callWithCallback - callWithCallback-2 - ( const QString & method, const QList<QVariant> & args, QObject * receiver, const char * slot ) - - - connection - connection - () - - - interface - interface - () - - - isValid - isValid - () - - - lastError - lastError - () - - - path - path - () - - - service - service - () - - - - QDBusArgument - qdbusargument.html - - QDBusArgument - QDBusArgument - () - - - QDBusArgument - QDBusArgument-2 - ( const QDBusArgument & other ) - - - atEnd - atEnd - () - - - beginArray - beginArray - ( int id ) - - - beginArray - beginArray-2 - () - - - beginMap - beginMap - ( int kid, int vid ) - - - beginMap - beginMap-2 - () - - - beginMapEntry - beginMapEntry - () - - - beginMapEntry - beginMapEntry-2 - () - - - beginStructure - beginStructure - () - - - beginStructure - beginStructure-2 - () - - - endArray - endArray - () - - - endArray - endArray-2 - () - - - endMap - endMap - () - - - endMap - endMap-2 - () - - - endMapEntry - endMapEntry - () - - - endMapEntry - endMapEntry-2 - () - - - endStructure - endStructure - () - - - endStructure - endStructure-2 - () - - - operator<< - operator-lt-lt - ( uchar arg ) - - - operator<< - operator-lt-lt-2 - ( bool arg ) - - - operator<< - operator-lt-lt-3 - ( short arg ) - - - operator<< - operator-lt-lt-4 - ( ushort arg ) - - - operator<< - operator-lt-lt-5 - ( int arg ) - - - operator<< - operator-lt-lt-6 - ( uint arg ) - - - operator<< - operator-lt-lt-7 - ( qlonglong arg ) - - - operator<< - operator-lt-lt-8 - ( qulonglong arg ) - - - operator<< - operator-lt-lt-9 - ( double arg ) - - - operator<< - operator-lt-lt-10 - ( const QString & arg ) - - - operator<< - operator-lt-lt-13 - ( const QDBusVariant & arg ) - - - operator<< - operator-lt-lt-14 - ( const QStringList & arg ) - - - operator<< - operator-lt-lt-15 - ( const QByteArray & arg ) - - - operator= - operator-eq - ( const QDBusArgument & other ) - - - operator>> - operator-gt-gt - ( uchar & arg ) - - - operator>> - operator-gt-gt-2 - ( bool & arg ) - - - operator>> - operator-gt-gt-3 - ( ushort & arg ) - - - operator>> - operator-gt-gt-4 - ( short & arg ) - - - operator>> - operator-gt-gt-5 - ( int & arg ) - - - operator>> - operator-gt-gt-6 - ( uint & arg ) - - - operator>> - operator-gt-gt-7 - ( qlonglong & arg ) - - - operator>> - operator-gt-gt-8 - ( qulonglong & arg ) - - - operator>> - operator-gt-gt-9 - ( double & arg ) - - - operator>> - operator-gt-gt-10 - ( QString & arg ) - - - operator>> - operator-gt-gt-13 - ( QDBusVariant & arg ) - - - operator>> - operator-gt-gt-14 - ( QStringList & arg ) - - - operator>> - operator-gt-gt-15 - ( QByteArray & arg ) - - - - QDBusConnection - qdbusconnection.html - - BusType - BusType-enum - - - - UnregisterMode - UnregisterMode-enum - - - - QDBusConnection - QDBusConnection - ( const QString & name ) - - - QDBusConnection - QDBusConnection-2 - ( const QDBusConnection & other ) - - - baseService - baseService - () - - - call - call - ( const QDBusMessage & message, QDBus::CallMode mode = QDBus::Block, int timeout = -1 ) - - - callWithCallback - callWithCallback - ( const QDBusMessage & message, QObject * receiver, const char * returnMethod, const char * errorMethod, int timeout = -1 ) - - - callWithCallback - callWithCallback-2 - ( const QDBusMessage & message, QObject * receiver, const char * returnMethod, int timeout = -1 ) - - - connect - connect - ( const QString & service, const QString & path, const QString & interface, const QString & name, QObject * receiver, const char * slot ) - - - connect - connect-2 - ( const QString & service, const QString & path, const QString & interface, const QString & name, const QString & signature, QObject * receiver, const char * slot ) - - - connectToBus - connectToBus - ( BusType type, const QString & name ) - - - connectToBus - connectToBus-2 - ( const QString & address, const QString & name ) - - - disconnect - disconnect - ( const QString & service, const QString & path, const QString & interface, const QString & name, QObject * receiver, const char * slot ) - - - disconnect - disconnect-2 - ( const QString & service, const QString & path, const QString & interface, const QString & name, const QString & signature, QObject * receiver, const char * slot ) - - - disconnectFromBus - disconnectFromBus - ( const QString & name ) - - - interface - interface - () - - - isConnected - isConnected - () - - - lastError - lastError - () - - - objectRegisteredAt - objectRegisteredAt - ( const QString & path ) - - - registerObject - registerObject - ( const QString & path, QObject * object, RegisterOptions options = ExportAdaptors ) - - - registerService - registerService - ( const QString & serviceName ) - - - send - send - ( const QDBusMessage & message ) - - - sender - sender - () - - - sessionBus - sessionBus - () - - - systemBus - systemBus - () - - - unregisterObject - unregisterObject - ( const QString & path, UnregisterMode mode = UnregisterNode ) - - - unregisterService - unregisterService - ( const QString & serviceName ) - - - operator= - operator-eq - ( const QDBusConnection & other ) - - - sessionBus - sessionBus - () - - - systemBus - systemBus - () - - - - QDBusConnectionInterface - qdbusconnectioninterface.html - - RegisterServiceReply - RegisterServiceReply-enum - - - - ServiceQueueOptions - ServiceQueueOptions-enum - - - - ServiceReplacementOptions - ServiceReplacementOptions-enum - - - - callWithCallbackFailed - callWithCallbackFailed - ( const QDBusError & error, const QDBusMessage & call ) - - - isServiceRegistered - isServiceRegistered - ( const QString & serviceName ) - - - RegisterServiceReply - registerService - > QDBusConnectionInterface::registerService( const QString & serviceName, ServiceQueueOptions qoption = DontQueueService, ServiceReplacementOptions roption = DontAllowReplacement ) - - - serviceOwner - serviceOwner - ( const QString & name ) - - - serviceOwnerChanged - serviceOwnerChanged - ( const QString & name, const QString & oldOwner, const QString & newOwner ) - - - servicePid - servicePid - ( const QString & serviceName ) - - - serviceRegistered - serviceRegistered - ( const QString & serviceName ) - - - serviceUid - serviceUid - ( const QString & serviceName ) - - - serviceUnregistered - serviceUnregistered - ( const QString & serviceName ) - - - startService - startService - ( const QString & name ) - - - unregisterService - unregisterService - ( const QString & serviceName ) - - - - QDBusContext - qdbuscontext.html - - QDBusContext - QDBusContext - () - - - calledFromDBus - calledFromDBus - () - - - connection - connection - () - - - isDelayedReply - isDelayedReply - () - - - message - message - () - - - sendErrorReply - sendErrorReply - ( const QString & name, const QString & msg = QString() - - - sendErrorReply - sendErrorReply-2 - ( QDBusError::ErrorType type, const QString & msg = QString() - - - setDelayedReply - setDelayedReply - ( bool enable ) - - - - QDBusError - qdbuserror.html - - ErrorType - ErrorType-enum - - - - errorString - errorString - ( ErrorType error ) - - - isValid - isValid - () - - - message - message - () - - - name - name - () - - - type - type - () - - - - QDBusInterface - qdbusinterface.html - - QDBusInterface - QDBusInterface - ( const QString & service, const QString & path, const QString & interface = QString() - - - - QDBusMessage - qdbusmessage.html - - MessageType - MessageType-enum - - - - QDBusMessage - QDBusMessage - () - - - QDBusMessage - QDBusMessage-2 - ( const QDBusMessage & other ) - - - arguments - arguments - () - - - createError - createError - ( const QString & name, const QString & msg ) - - - createError - createError-2 - ( const QDBusError & error ) - - - createError - createError-3 - ( QDBusError::ErrorType type, const QString & msg ) - - - createErrorReply - createErrorReply - ( const QString name, const QString & msg ) - - - createErrorReply - createErrorReply-2 - ( const QDBusError & error ) - - - createErrorReply - createErrorReply-3 - ( QDBusError::ErrorType type, const QString & msg ) - - - createMethodCall - createMethodCall - ( const QString & service, const QString & path, const QString & interface, const QString & method ) - - - createReply - createReply - ( const QList<QVariant> & arguments = QList<QVariant>() - - - createReply - createReply-2 - ( const QVariant & argument ) - - - createSignal - createSignal - ( const QString & path, const QString & interface, const QString & name ) - - - errorMessage - errorMessage - () - - - errorName - errorName - () - - - interface - interface - () - - - isDelayedReply - isDelayedReply - () - - - isReplyRequired - isReplyRequired - () - - - member - member - () - - - path - path - () - - - service - service - () - - - setArguments - setArguments - ( const QList<QVariant> & arguments ) - - - setDelayedReply - setDelayedReply - ( bool enable ) - - - signature - signature - () - - - type - type - () - - - operator<< - operator-lt-lt - ( const QVariant & arg ) - - - operator= - operator-eq - ( const QDBusMessage & other ) - - - - QDBusObjectPath - qdbusobjectpath.html - - QDBusObjectPath - QDBusObjectPath - () - - - QDBusObjectPath - QDBusObjectPath-2 - ( const char * path ) - - - QDBusObjectPath - QDBusObjectPath-3 - ( const QLatin1String & path ) - - - QDBusObjectPath - QDBusObjectPath-4 - ( const QString & path ) - - - path - path - () - - - setPath - setPath - ( const QString & path ) - - - - QDBusReply - qdbusreply.html - - QDBusReply - QDBusReply - ( const QDBusMessage & reply ) - - - QDBusReply - QDBusReply-2 - ( const QDBusError & error = QDBusError() - - - error - error - () - - - isValid - isValid - () - - - value - value - () - - - operator - operator-Type - Type() - - - operator= - operator-eq - ( const QDBusMessage & message ) - - - operator= - operator-eq-2 - ( const QDBusError & error ) - - - operator= - operator-eq-3 - ( const QDBusReply & other ) - - - - QDBusServer - qdbusserver.html - - QDBusServer - QDBusServer - ( const QString & address, QObject * parent = 0 ) - - - address - address - () - - - isConnected - isConnected - () - - - lastError - lastError - () - - - newConnection - newConnection - ( const QDBusConnection & connection ) - - - - QDBusSignature - qdbussignature.html - - QDBusSignature - QDBusSignature - () - - - QDBusSignature - QDBusSignature-2 - ( const char * signature ) - - - QDBusSignature - QDBusSignature-3 - ( const QLatin1String & signature ) - - - QDBusSignature - QDBusSignature-4 - ( const QString & signature ) - - - setSignature - setSignature - ( const QString & signature ) - - - signature - signature - () - - - - QDBusVariant - qdbusvariant.html - - QDBusVariant - QDBusVariant - () - - - QDBusVariant - QDBusVariant-2 - ( const QVariant & variant ) - - - setVariant - setVariant - ( const QVariant & variant ) - - - variant - variant - () - - - - QDecoration - qdecoration.html - - DecorationRegion - DecorationRegion-enum - - - - DecorationState - DecorationState-enum - - - - QDecoration - QDecoration - () - - - buildSysMenu - buildSysMenu - ( QWidget * widget, QMenu * menu ) - - - menuTriggered - menuTriggered - ( QWidget * widget, QAction * action ) - - - paint - paint - ( QPainter * painter, const QWidget * widget, int decorationRegion = All, DecorationState state = Normal ) - - - region - region - ( const QWidget * widget, const QRect & rectangle, int decorationRegion = All ) - - - region - region-2 - ( const QWidget * widget, int decorationRegion = All ) - - - regionAt - regionAt - ( const QWidget * widget, const QPoint & point ) - - - regionClicked - regionClicked - ( QWidget * widget, int region ) - - - regionDoubleClicked - regionDoubleClicked - ( QWidget * widget, int region ) - - - startMove - startMove - ( QWidget * widget ) - - - startResize - startResize - ( QWidget * widget ) - - - - QDecorationFactory - qdecorationfactory.html - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QDecorationPlugin - qdecorationplugin.html - - QDecorationPlugin - QDecorationPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QDesignerActionEditorInterface - qdesigneractioneditorinterface.html - - QDesignerActionEditorInterface - QDesignerActionEditorInterface - ( QWidget * parent, Qt::WindowFlags flags = 0 ) - - - core - core - () - - - manageAction - manageAction - ( QAction * action ) - - - setFormWindow - setFormWindow - ( QDesignerFormWindowInterface * formWindow ) - - - unmanageAction - unmanageAction - ( QAction * action ) - - - - QDesignerContainerExtension - qdesignercontainerextension.html - - addWidget - addWidget - ( QWidget * page ) - - - count - count - () - - - currentIndex - currentIndex - () - - - insertWidget - insertWidget - ( int index, QWidget * page ) - - - remove - remove - ( int index ) - - - setCurrentIndex - setCurrentIndex - ( int index ) - - - widget - widget - ( int index ) - - - - QDesignerCustomWidgetCollectionInterface - qdesignercustomwidgetcollectioninterface.html - - customWidgets - customWidgets - () - - - - QDesignerCustomWidgetInterface - qdesignercustomwidgetinterface.html - - codeTemplate - codeTemplate - () - - - createWidget - createWidget - ( QWidget * parent ) - - - domXml - domXml - () - - - group - group - () - - - icon - icon - () - - - includeFile - includeFile - () - - - initialize - initialize - ( QDesignerFormEditorInterface * formEditor ) - - - isContainer - isContainer - () - - - isInitialized - isInitialized - () - - - name - name - () - - - toolTip - toolTip - () - - - whatsThis - whatsThis - () - - - - QDesignerDynamicPropertySheetExtension - qdesignerdynamicpropertysheetextension.html - - addDynamicProperty - addDynamicProperty - ( const QString & propertyName, const QVariant & value ) - - - canAddDynamicProperty - canAddDynamicProperty - ( const QString & propertyName ) - - - dynamicPropertiesAllowed - dynamicPropertiesAllowed - () - - - isDynamicProperty - isDynamicProperty - ( int index ) - - - removeDynamicProperty - removeDynamicProperty - ( int index ) - - - - QDesignerFormEditorInterface - qdesignerformeditorinterface.html - - QDesignerFormEditorInterface - QDesignerFormEditorInterface - ( QObject * parent = 0 ) - - - actionEditor - actionEditor - () - - - extensionManager - extensionManager - () - - - formWindowManager - formWindowManager - () - - - objectInspector - objectInspector - () - - - propertyEditor - propertyEditor - () - - - setActionEditor - setActionEditor - ( QDesignerActionEditorInterface * actionEditor ) - - - setObjectInspector - setObjectInspector - ( QDesignerObjectInspectorInterface * objectInspector ) - - - setPropertyEditor - setPropertyEditor - ( QDesignerPropertyEditorInterface * propertyEditor ) - - - setWidgetBox - setWidgetBox - ( QDesignerWidgetBoxInterface * widgetBox ) - - - topLevel - topLevel - () - - - widgetBox - widgetBox - () - - - - QDesignerFormWindowCursorInterface - qdesignerformwindowcursorinterface.html - - MoveMode - MoveMode-enum - - - - MoveOperation - MoveOperation-enum - - - - current - current - () - - - formWindow - formWindow - () - - - hasSelection - hasSelection - () - - - isWidgetSelected - isWidgetSelected - ( QWidget * widget ) - - - movePosition - movePosition - ( MoveOperation operation, MoveMode mode = MoveAnchor ) - - - position - position - () - - - resetWidgetProperty - resetWidgetProperty - ( QWidget * widget, const QString & name ) - - - selectedWidget - selectedWidget - ( int index ) - - - selectedWidgetCount - selectedWidgetCount - () - - - setPosition - setPosition - ( int position, MoveMode mode = MoveAnchor ) - - - setProperty - setProperty - ( const QString & name, const QVariant & value ) - - - setWidgetProperty - setWidgetProperty - ( QWidget * widget, const QString & name, const QVariant & value ) - - - widget - widget - ( int index ) - - - widgetCount - widgetCount - () - - - - QDesignerFormWindowInterface - qdesignerformwindowinterface.html - - QDesignerFormWindowInterface - QDesignerFormWindowInterface - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - aboutToUnmanageWidget - aboutToUnmanageWidget - ( QWidget * widget ) - - - absoluteDir - absoluteDir - () - - - activated - activated - ( QWidget * widget ) - - - addResourceFile - addResourceFile - ( const QString & path ) - - - author - author - () - - - changed - changed - () - - - clearSelection - clearSelection - ( bool update = true ) - - - comment - comment - () - - - contents - contents - () - - - core - core - () - - - cursor - cursor - () - - - emitSelectionChanged - emitSelectionChanged - () - - - exportMacro - exportMacro - () - - - featureChanged - featureChanged - ( Feature feature ) - - - features - features - () - - - fileName - fileName - () - - - fileNameChanged - fileNameChanged - ( const QString & fileName ) - - - findFormWindow - findFormWindow - ( QWidget * widget ) - - - geometryChanged - geometryChanged - () - - - grid - grid - () - - - hasFeature - hasFeature - ( Feature feature ) - - - includeHints - includeHints - () - - - isDirty - isDirty - () - - - isManaged - isManaged - ( QWidget * widget ) - - - layoutDefault - layoutDefault - ( int * margin, int * spacing ) - - - layoutFunction - layoutFunction - ( QString * margin, QString * spacing ) - - - mainContainer - mainContainer - () - - - mainContainerChanged - mainContainerChanged - ( QWidget * mainContainer ) - - - manageWidget - manageWidget - ( QWidget * widget ) - - - pixmapFunction - pixmapFunction - () - - - removeResourceFile - removeResourceFile - ( const QString & path ) - - - resourceFiles - resourceFiles - () - - - resourceFilesChanged - resourceFilesChanged - () - - - selectWidget - selectWidget - ( QWidget * widget, bool select = true ) - - - selectionChanged - selectionChanged - () - - - setAuthor - setAuthor - ( const QString & author ) - - - setComment - setComment - ( const QString & comment ) - - - setContents - setContents - ( QIODevice * device ) - - - setContents - setContents-2 - ( const QString & contents ) - - - setDirty - setDirty - ( bool dirty ) - - - setExportMacro - setExportMacro - ( const QString & exportMacro ) - - - setFeatures - setFeatures - ( Feature features ) - - - setFileName - setFileName - ( const QString & fileName ) - - - setGrid - setGrid - ( const QPoint & grid ) - - - setIncludeHints - setIncludeHints - ( const QStringList & includeHints ) - - - setLayoutDefault - setLayoutDefault - ( int margin, int spacing ) - - - setLayoutFunction - setLayoutFunction - ( const QString & margin, const QString & spacing ) - - - setMainContainer - setMainContainer - ( QWidget * mainContainer ) - - - setPixmapFunction - setPixmapFunction - ( const QString & pixmapFunction ) - - - unmanageWidget - unmanageWidget - ( QWidget * widget ) - - - widgetManaged - widgetManaged - ( QWidget * widget ) - - - widgetRemoved - widgetRemoved - ( QWidget * widget ) - - - widgetUnmanaged - widgetUnmanaged - ( QWidget * widget ) - - - - QDesignerFormWindowManagerInterface - qdesignerformwindowmanagerinterface.html - - QDesignerFormWindowManagerInterface - QDesignerFormWindowManagerInterface - ( QObject * parent = 0 ) - - - actionAdjustSize - actionAdjustSize - () - - - actionBreakLayout - actionBreakLayout - () - - - actionCopy - actionCopy - () - - - actionCut - actionCut - () - - - actionDelete - actionDelete - () - - - actionGridLayout - actionGridLayout - () - - - actionHorizontalLayout - actionHorizontalLayout - () - - - actionLower - actionLower - () - - - actionPaste - actionPaste - () - - - actionRaise - actionRaise - () - - - actionRedo - actionRedo - () - - - actionSelectAll - actionSelectAll - () - - - actionSplitHorizontal - actionSplitHorizontal - () - - - actionSplitVertical - actionSplitVertical - () - - - actionUndo - actionUndo - () - - - actionVerticalLayout - actionVerticalLayout - () - - - activeFormWindow - activeFormWindow - () - - - activeFormWindowChanged - activeFormWindowChanged - ( QDesignerFormWindowInterface * formWindow ) - - - addFormWindow - addFormWindow - ( QDesignerFormWindowInterface * formWindow ) - - - core - core - () - - - createFormWindow - createFormWindow - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - formWindow - formWindow - ( int index ) - - - formWindowAdded - formWindowAdded - ( QDesignerFormWindowInterface * formWindow ) - - - formWindowCount - formWindowCount - () - - - formWindowRemoved - formWindowRemoved - ( QDesignerFormWindowInterface * formWindow ) - - - removeFormWindow - removeFormWindow - ( QDesignerFormWindowInterface * formWindow ) - - - setActiveFormWindow - setActiveFormWindow - ( QDesignerFormWindowInterface * formWindow ) - - - - QDesignerMemberSheetExtension - qdesignermembersheetextension.html - - count - count - () - - - declaredInClass - declaredInClass - ( int index ) - - - indexOf - indexOf - ( const QString & name ) - - - inheritedFromWidget - inheritedFromWidget - ( int index ) - - - isSignal - isSignal - ( int index ) - - - isSlot - isSlot - ( int index ) - - - isVisible - isVisible - ( int index ) - - - memberGroup - memberGroup - ( int index ) - - - memberName - memberName - ( int index ) - - - parameterNames - parameterNames - ( int index ) - - - parameterTypes - parameterTypes - ( int index ) - - - setMemberGroup - setMemberGroup - ( int index, const QString & group ) - - - setVisible - setVisible - ( int index, bool visible ) - - - signature - signature - ( int index ) - - - - QDesignerObjectInspectorInterface - qdesignerobjectinspectorinterface.html - - QDesignerObjectInspectorInterface - QDesignerObjectInspectorInterface - ( QWidget * parent, Qt::WindowFlags flags = 0 ) - - - core - core - () - - - setFormWindow - setFormWindow - ( QDesignerFormWindowInterface * formWindow ) - - - - QDesignerPropertyEditorInterface - qdesignerpropertyeditorinterface.html - - QDesignerPropertyEditorInterface - QDesignerPropertyEditorInterface - ( QWidget * parent, Qt::WindowFlags flags = 0 ) - - - core - core - () - - - currentPropertyName - currentPropertyName - () - - - isReadOnly - isReadOnly - () - - - object - object - () - - - propertyChanged - propertyChanged - ( const QString & name, const QVariant & value ) - - - setObject - setObject - ( QObject * object ) - - - setPropertyValue - setPropertyValue - ( const QString & name, const QVariant & value, bool changed = true ) - - - setReadOnly - setReadOnly - ( bool readOnly ) - - - - QDesignerPropertySheetExtension - qdesignerpropertysheetextension.html - - count - count - () - - - hasReset - hasReset - ( int index ) - - - indexOf - indexOf - ( const QString & name ) - - - isAttribute - isAttribute - ( int index ) - - - isChanged - isChanged - ( int index ) - - - isVisible - isVisible - ( int index ) - - - property - property - ( int index ) - - - propertyGroup - propertyGroup - ( int index ) - - - propertyName - propertyName - ( int index ) - - - reset - reset - ( int index ) - - - setAttribute - setAttribute - ( int index, bool attribute ) - - - setChanged - setChanged - ( int index, bool changed ) - - - setProperty - setProperty - ( int index, const QVariant & value ) - - - setPropertyGroup - setPropertyGroup - ( int index, const QString & group ) - - - setVisible - setVisible - ( int index, bool visible ) - - - - QDesignerTaskMenuExtension - qdesignertaskmenuextension.html - - preferredEditAction - preferredEditAction - () - - - taskActions - taskActions - () - - - - QDesignerWidgetBoxInterface - qdesignerwidgetboxinterface.html - - QDesignerWidgetBoxInterface - QDesignerWidgetBoxInterface - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - fileName - fileName - () - - - load - load - () - - - save - save - () - - - setFileName - setFileName - ( const QString & fileName ) - - - - QDesktopServices - qdesktopservices.html - - openUrl - openUrl - ( const QUrl & url ) - - - setUrlHandler - setUrlHandler - ( const QString & scheme, QObject * receiver, const char * method ) - - - unsetUrlHandler - unsetUrlHandler - ( const QString & scheme ) - - - - QDesktopWidget - qdesktopwidget.html - - QDesktopWidget - QDesktopWidget - () - - - availableGeometry - availableGeometry - ( int screen = -1 ) - - - availableGeometry - availableGeometry-2 - ( const QWidget * widget ) - - - availableGeometry - availableGeometry-3 - ( const QPoint & p ) - - - isVirtualDesktop - isVirtualDesktop - () - - - numScreens - numScreens - () - - - primaryScreen - primaryScreen - () - - - resized - resized - ( int screen ) - - - screen - screen - ( int screen = -1 ) - - - screenGeometry - screenGeometry - ( int screen = -1 ) - - - screenGeometry - screenGeometry-2 - ( const QWidget * widget ) - - - screenGeometry - screenGeometry-3 - ( const QPoint & p ) - - - screenNumber - screenNumber - ( const QWidget * widget = 0 ) - - - screenNumber - screenNumber-2 - ( const QPoint & point ) - - - workAreaResized - workAreaResized - ( int screen ) - - - QDial - QDial-2 - ( int minValue, int maxValue, int pageStep, int value, QWidget * parent = 0, const char * name = 0 ) - - - QDial - QDial-3 - ( QWidget * parent, const char * name ) - - - dialMoved - dialMoved - ( int value ) - - - dialPressed - dialPressed - () - - - dialReleased - dialReleased - () - - - - QDial - qdial.html - - QDial - QDial - ( QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionSlider * option ) - - - QDial - QDial-2 - ( int minValue, int maxValue, int pageStep, int value, QWidget * parent = 0, const char * name = 0 ) - - - QDial - QDial-3 - ( QWidget * parent, const char * name ) - - - dialMoved - dialMoved - ( int value ) - - - dialPressed - dialPressed - () - - - dialReleased - dialReleased - () - - - extension - extension - () - - - Orientation - orientation - QDialog::orientation() - - - setExtension - setExtension - ( QWidget * extension ) - - - setOrientation - setOrientation - ( Qt::Orientation orientation ) - - - showExtension - showExtension - ( bool showIt ) - - - QDialog - QDialog-2 - ( QWidget * parent, const char * name, bool modal = false, Qt::WindowFlags f = 0 ) - - - - QDialog - qdialog.html - - DialogCode - DialogCode-enum - - - - QDialog - QDialog - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - accept - accept - () - - - accepted - accepted - () - - - done - done - ( int r ) - - - exec - exec - () - - - finished - finished - ( int result ) - - - reject - reject - () - - - rejected - rejected - () - - - result - result - () - - - setResult - setResult - ( int i ) - - - QDialog - QDialog-2 - ( QWidget * parent, const char * name, bool modal = false, Qt::WindowFlags f = 0 ) - - - - QDialogButtonBox - qdialogbuttonbox.html - - ButtonLayout - ButtonLayout-enum - - - - ButtonRole - ButtonRole-enum - - - - Orientation - orientation-prop - - - - QDialogButtonBox - QDialogButtonBox - ( QWidget * parent = 0 ) - - - QDialogButtonBox - QDialogButtonBox-2 - ( Qt::Orientation orientation, QWidget * parent = 0 ) - - - QDialogButtonBox - QDialogButtonBox-3 - ( StandardButtons buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget * parent = 0 ) - - - accepted - accepted - () - - - addButton - addButton - ( QAbstractButton * button, ButtonRole role ) - - - addButton - addButton-2 - ( const QString & text, ButtonRole role ) - - - addButton - addButton-3 - ( StandardButton button ) - - - button - button - ( StandardButton which ) - - - buttonRole - buttonRole - ( QAbstractButton * button ) - - - buttons - buttons - () - - - clear - clear - () - - - clicked - clicked - ( QAbstractButton * button ) - - - helpRequested - helpRequested - () - - - rejected - rejected - () - - - removeButton - removeButton - ( QAbstractButton * button ) - - - standardButton - standardButton - ( QAbstractButton * button ) - - - addResourceSearchPath - addResourceSearchPath - ( const QString & path ) - - - operator= - operator-eq-2 - ( const QString & path ) - - - absFilePath - absFilePath - ( const QString & fileName, bool acceptAbsPath = true ) - - - absPath - absPath - () - - - cleanDirPath - cleanDirPath - ( const QString & name ) - - - convertToAbs - convertToAbs - () - - - currentDirPath - currentDirPath - () - - - entryInfoList - entryInfoList-3 - ( const QString & nameFilter, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - entryList - entryList-3 - ( const QString & nameFilter, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - homeDirPath - homeDirPath - () - - - matchAllDirs - matchAllDirs - () - - - mkdir - mkdir-2 - ( const QString & dirName, bool acceptAbsPath ) - - - nameFilter - nameFilter - () - - - rmdir - rmdir-2 - ( const QString & dirName, bool acceptAbsPath ) - - - rootDirPath - rootDirPath - () - - - setMatchAllDirs - setMatchAllDirs - ( bool on ) - - - setNameFilter - setNameFilter - ( const QString & nameFilter ) - - - - QDir - qdir.html - - FilterSpec - FilterSpec-typedef - - - - SortSpec - SortSpec-typedef - - - - QDir - QDir - ( const QDir & dir ) - - - QDir - QDir-2 - ( const QString & path = QString() - - - QDir - QDir-3 - ( const QString & path, const QString & nameFilter, SortFlags sort = SortFlags( Name | IgnoreCase ) - - - absoluteFilePath - absoluteFilePath - ( const QString & fileName ) - - - absolutePath - absolutePath - () - - - addSearchPath - addSearchPath - ( const QString & prefix, const QString & path ) - - - canonicalPath - canonicalPath - () - - - cd - cd - ( const QString & dirName ) - - - cdUp - cdUp - () - - - cleanPath - cleanPath - ( const QString & path ) - - - count - count - () - - - current - current - () - - - currentPath - currentPath - () - - - dirName - dirName - () - - - drives - drives - () - - - entryInfoList - entryInfoList - ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - entryInfoList - entryInfoList-2 - ( Filters filters = NoFilter, SortFlags sort = NoSort ) - - - entryList - entryList - ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - entryList - entryList-2 - ( Filters filters = NoFilter, SortFlags sort = NoSort ) - - - exists - exists - ( const QString & name ) - - - exists - exists-2 - () - - - filePath - filePath - ( const QString & fileName ) - - - filter - filter - () - - - fromNativeSeparators - fromNativeSeparators - ( const QString & pathName ) - - - home - home - () - - - homePath - homePath - () - - - isAbsolute - isAbsolute - () - - - isAbsolutePath - isAbsolutePath - ( const QString & path ) - - - isReadable - isReadable - () - - - isRelative - isRelative - () - - - isRelativePath - isRelativePath - ( const QString & path ) - - - isRoot - isRoot - () - - - makeAbsolute - makeAbsolute - () - - - match - match - ( const QString & filter, const QString & fileName ) - - - match - match-2 - ( const QStringList & filters, const QString & fileName ) - - - mkdir - mkdir - ( const QString & dirName ) - - - mkpath - mkpath - ( const QString & dirPath ) - - - nameFilters - nameFilters - () - - - path - path - () - - - refresh - refresh - () - - - relativeFilePath - relativeFilePath - ( const QString & fileName ) - - - remove - remove - ( const QString & fileName ) - - - rename - rename - ( const QString & oldName, const QString & newName ) - - - rmdir - rmdir - ( const QString & dirName ) - - - rmpath - rmpath - ( const QString & dirPath ) - - - root - root - () - - - rootPath - rootPath - () - - - searchPaths - searchPaths - ( const QString & prefix ) - - - separator - separator - () - - - setCurrent - setCurrent - ( const QString & path ) - - - setFilter - setFilter - ( Filters filters ) - - - setNameFilters - setNameFilters - ( const QStringList & nameFilters ) - - - setPath - setPath - ( const QString & path ) - - - setSearchPaths - setSearchPaths - ( const QString & prefix, const QStringList & searchPaths ) - - - setSorting - setSorting - ( SortFlags sort ) - - - sorting - sorting - () - - - temp - temp - () - - - tempPath - tempPath - () - - - toNativeSeparators - toNativeSeparators - ( const QString & pathName ) - - - operator!= - operator-not-eq - ( const QDir & dir ) - - - operator= - operator-eq - ( const QDir & dir ) - - - operator== - operator-eq-eq - ( const QDir & dir ) - - - operator[] - operator-5b-5d - ( int pos ) - - - absFilePath - absFilePath - ( const QString & fileName, bool acceptAbsPath = true ) - - - absPath - absPath - () - - - cleanDirPath - cleanDirPath - ( const QString & name ) - - - convertToAbs - convertToAbs - () - - - currentDirPath - currentDirPath - () - - - entryInfoList - entryInfoList-3 - ( const QString & nameFilter, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - entryList - entryList-3 - ( const QString & nameFilter, Filters filters = NoFilter, SortFlags sort = NoSort ) - - - homeDirPath - homeDirPath - () - - - matchAllDirs - matchAllDirs - () - - - mkdir - mkdir-2 - ( const QString & dirName, bool acceptAbsPath ) - - - nameFilter - nameFilter - () - - - rmdir - rmdir-2 - ( const QString & dirName, bool acceptAbsPath ) - - - rootDirPath - rootDirPath - () - - - setMatchAllDirs - setMatchAllDirs - ( bool on ) - - - setNameFilter - setNameFilter - ( const QString & nameFilter ) - - - region - region - () - - - reserveRegion - reserveRegion - ( const QRegion & region ) - - - reservedRegion - reservedRegion - () - - - - QDirectPainter - qdirectpainter.html - - SurfaceFlag - SurfaceFlag-enum - - - - QDirectPainter - QDirectPainter - ( QObject * parent = 0, SurfaceFlag flag = NonReserved ) - - - allocatedRegion - allocatedRegion - () - - - endPainting - endPainting - () - - - endPainting - endPainting-2 - ( const QRegion & region ) - - - flush - flush - ( const QRegion & region ) - - - frameBuffer - frameBuffer - () - - - geometry - geometry - () - - - linestep - linestep - () - - - lock - lock - () - - - lower - lower - () - - - raise - raise - () - - - regionChanged - regionChanged - ( const QRegion & newRegion ) - - - requestedRegion - requestedRegion - () - - - screenDepth - screenDepth - () - - - screenHeight - screenHeight - () - - - screenWidth - screenWidth - () - - - setGeometry - setGeometry - ( const QRect & rectangle ) - - - setRegion - setRegion - ( const QRegion & region ) - - - startPainting - startPainting - ( bool lockDisplay = false ) - - - unlock - unlock - () - - - winId - winId - () - - - - QDirIterator - qdiriterator.html - - QDirIterator - QDirIterator - ( const QDir & dir, IteratorFlags flags = NoIteratorFlags ) - - - QDirIterator - QDirIterator-2 - ( const QString & path, IteratorFlags flags = NoIteratorFlags ) - - - QDirIterator - QDirIterator-3 - ( const QString & path, QDir::Filters filters, IteratorFlags flags = NoIteratorFlags ) - - - QDirIterator - QDirIterator-4 - ( const QString & path, const QStringList & nameFilters, QDir::Filters filters = QDir::NoFilter, IteratorFlags flags = NoIteratorFlags ) - - - fileInfo - fileInfo - () - - - fileName - fileName - () - - - filePath - filePath - () - - - hasNext - hasNext - () - - - next - next - () - - - path - path - () - - - - QDirModel - qdirmodel.html - - Roles - Roles-enum - - - - QDirModel - QDirModel - ( const QStringList & nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject * parent = 0 ) - - - QDirModel - QDirModel-2 - ( QObject * parent = 0 ) - - - columnCount - columnCount - ( const QModelIndex & parent = QModelIndex() - - - data - data - ( const QModelIndex & index, int role = Qt::DisplayRole ) - - - dropMimeData - dropMimeData - ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - - - fileIcon - fileIcon - ( const QModelIndex & index ) - - - fileInfo - fileInfo - ( const QModelIndex & index ) - - - fileName - fileName - ( const QModelIndex & index ) - - - filePath - filePath - ( const QModelIndex & index ) - - - Filters - filter - QDirModel::filter() - - - ItemFlags - flags - QDirModel::flags( const QModelIndex & index ) - - - hasChildren - hasChildren - ( const QModelIndex & parent = QModelIndex() - - - headerData - headerData - ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) - - - iconProvider - iconProvider - () - - - index - index - ( int row, int column, const QModelIndex & parent = QModelIndex() - - - index - index-2 - ( const QString & path, int column = 0 ) - - - isDir - isDir - ( const QModelIndex & index ) - - - mimeData - mimeData - ( const QModelIndexList & indexes ) - - - mimeTypes - mimeTypes - () - - - mkdir - mkdir - ( const QModelIndex & parent, const QString & name ) - - - nameFilters - nameFilters - () - - - parent - parent - ( const QModelIndex & child ) - - - refresh - refresh - ( const QModelIndex & parent = QModelIndex() - - - remove - remove - ( const QModelIndex & index ) - - - rmdir - rmdir - ( const QModelIndex & index ) - - - rowCount - rowCount - ( const QModelIndex & parent = QModelIndex() - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - - - setFilter - setFilter - ( QDir::Filters filters ) - - - setIconProvider - setIconProvider - ( QFileIconProvider * provider ) - - - setNameFilters - setNameFilters - ( const QStringList & filters ) - - - setSorting - setSorting - ( QDir::SortFlags sort ) - - - sort - sort - ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - - - SortFlags - sorting - QDirModel::sorting() - - - DropActions - supportedDropActions - QDirModel::supportedDropActions() - - - - QDockWidget - qdockwidget.html - - DockWidgetAreas - allowedAreas-prop - - - - QDockWidget - QDockWidget - ( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - QDockWidget - QDockWidget-2 - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - allowedAreasChanged - allowedAreasChanged - ( Qt::DockWidgetAreas allowedAreas ) - - - dockLocationChanged - dockLocationChanged - ( Qt::DockWidgetArea area ) - - - featuresChanged - featuresChanged - ( QDockWidget::DockWidgetFeatures features ) - - - initStyleOption - initStyleOption - ( QStyleOptionDockWidget * option ) - - - isAreaAllowed - isAreaAllowed - ( Qt::DockWidgetArea area ) - - - setTitleBarWidget - setTitleBarWidget - ( QWidget * widget ) - - - setWidget - setWidget - ( QWidget * widget ) - - - titleBarWidget - titleBarWidget - () - - - toggleViewAction - toggleViewAction - () - - - topLevelChanged - topLevelChanged - ( bool topLevel ) - - - visibilityChanged - visibilityChanged - ( bool visible ) - - - widget - widget - () - - - - QDomAttr - qdomattr.html - - QDomAttr - QDomAttr - () - - - QDomAttr - QDomAttr-2 - ( const QDomAttr & x ) - - - name - name - () - - - NodeType - nodeType - QDomAttr::nodeType() - - - ownerElement - ownerElement - () - - - setValue - setValue - ( const QString & v ) - - - specified - specified - () - - - value - value - () - - - operator= - operator-eq - ( const QDomAttr & x ) - - - - QDomCDATASection - qdomcdatasection.html - - QDomCDATASection - QDomCDATASection - () - - - QDomCDATASection - QDomCDATASection-2 - ( const QDomCDATASection & x ) - - - NodeType - nodeType - QDomCDATASection::nodeType() - - - operator= - operator-eq - ( const QDomCDATASection & x ) - - - - QDomCharacterData - qdomcharacterdata.html - - QDomCharacterData - QDomCharacterData - () - - - QDomCharacterData - QDomCharacterData-2 - ( const QDomCharacterData & x ) - - - appendData - appendData - ( const QString & arg ) - - - data - data - () - - - deleteData - deleteData - ( unsigned long offset, unsigned long count ) - - - insertData - insertData - ( unsigned long offset, const QString & arg ) - - - length - length - () - - - NodeType - nodeType - QDomCharacterData::nodeType() - - - replaceData - replaceData - ( unsigned long offset, unsigned long count, const QString & arg ) - - - setData - setData - ( const QString & v ) - - - substringData - substringData - ( unsigned long offset, unsigned long count ) - - - operator= - operator-eq - ( const QDomCharacterData & x ) - - - - QDomComment - qdomcomment.html - - QDomComment - QDomComment - () - - - QDomComment - QDomComment-2 - ( const QDomComment & x ) - - - NodeType - nodeType - QDomComment::nodeType() - - - operator= - operator-eq - ( const QDomComment & x ) - - - - QDomDocument - qdomdocument.html - - QDomDocument - QDomDocument - () - - - QDomDocument - QDomDocument-2 - ( const QString & name ) - - - QDomDocument - QDomDocument-3 - ( const QDomDocumentType & doctype ) - - - QDomDocument - QDomDocument-4 - ( const QDomDocument & x ) - - - createAttribute - createAttribute - ( const QString & name ) - - - createAttributeNS - createAttributeNS - ( const QString & nsURI, const QString & qName ) - - - createCDATASection - createCDATASection - ( const QString & value ) - - - createComment - createComment - ( const QString & value ) - - - createDocumentFragment - createDocumentFragment - () - - - createElement - createElement - ( const QString & tagName ) - - - createElementNS - createElementNS - ( const QString & nsURI, const QString & qName ) - - - createEntityReference - createEntityReference - ( const QString & name ) - - - createProcessingInstruction - createProcessingInstruction - ( const QString & target, const QString & data ) - - - createTextNode - createTextNode - ( const QString & value ) - - - doctype - doctype - () - - - documentElement - documentElement - () - - - elementById - elementById - ( const QString & elementId ) - - - elementsByTagName - elementsByTagName - ( const QString & tagname ) - - - elementsByTagNameNS - elementsByTagNameNS - ( const QString & nsURI, const QString & localName ) - - - implementation - implementation - () - - - importNode - importNode - ( const QDomNode & importedNode, bool deep ) - - - NodeType - nodeType - QDomDocument::nodeType() - - - setContent - setContent - ( const QByteArray & data, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-2 - ( const QString & text, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-3 - ( QIODevice * dev, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-4 - ( const QString & text, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-5 - ( const QByteArray & buffer, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-6 - ( QIODevice * dev, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - setContent - setContent-7 - ( QXmlInputSource * source, QXmlReader * reader, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) - - - toByteArray - toByteArray - ( int indent = 1 ) - - - toString - toString - ( int indent = 1 ) - - - operator= - operator-eq - ( const QDomDocument & x ) - - - - QDomDocumentFragment - qdomdocumentfragment.html - - QDomDocumentFragment - QDomDocumentFragment - () - - - QDomDocumentFragment - QDomDocumentFragment-2 - ( const QDomDocumentFragment & x ) - - - NodeType - nodeType - QDomDocumentFragment::nodeType() - - - operator= - operator-eq - ( const QDomDocumentFragment & x ) - - - - QDomDocumentType - qdomdocumenttype.html - - QDomDocumentType - QDomDocumentType - () - - - QDomDocumentType - QDomDocumentType-2 - ( const QDomDocumentType & n ) - - - entities - entities - () - - - internalSubset - internalSubset - () - - - name - name - () - - - NodeType - nodeType - QDomDocumentType::nodeType() - - - notations - notations - () - - - publicId - publicId - () - - - systemId - systemId - () - - - operator= - operator-eq - ( const QDomDocumentType & n ) - - - - QDomElement - qdomelement.html - - QDomElement - QDomElement - () - - - QDomElement - QDomElement-2 - ( const QDomElement & x ) - - - attribute - attributex - ( const QString & name, const QString & defValue = QString() - - - attributeNS - attributeNS - ( const QString nsURI, const QString & localName, const QString & defValue = QString() - - - attributeNode - attributeNode - ( const QString & name ) - - - attributeNodeNS - attributeNodeNS - ( const QString & nsURI, const QString & localName ) - - - attributes - attributes - () - - - elementsByTagName - elementsByTagName - ( const QString & tagname ) - - - elementsByTagNameNS - elementsByTagNameNS - ( const QString & nsURI, const QString & localName ) - - - hasAttribute - hasAttribute - ( const QString & name ) - - - hasAttributeNS - hasAttributeNS - ( const QString & nsURI, const QString & localName ) - - - NodeType - nodeType - QDomElement::nodeType() - - - removeAttribute - removeAttribute - ( const QString & name ) - - - removeAttributeNS - removeAttributeNS - ( const QString & nsURI, const QString & localName ) - - - removeAttributeNode - removeAttributeNode - ( const QDomAttr & oldAttr ) - - - setAttribute - setAttribute - ( const QString & name, const QString & value ) - - - setAttribute - setAttribute-2 - ( const QString & name, int value ) - - - setAttribute - setAttribute-3 - ( const QString & name, uint value ) - - - setAttribute - setAttribute-4 - ( const QString & name, qlonglong value ) - - - setAttribute - setAttribute-5 - ( const QString & name, qulonglong value ) - - - setAttribute - setAttribute-6 - ( const QString & name, float value ) - - - setAttribute - setAttribute-7 - ( const QString & name, double value ) - - - setAttributeNS - setAttributeNS - ( const QString nsURI, const QString & qName, const QString & value ) - - - setAttributeNS - setAttributeNS-2 - ( const QString nsURI, const QString & qName, int value ) - - - setAttributeNS - setAttributeNS-3 - ( const QString nsURI, const QString & qName, uint value ) - - - setAttributeNS - setAttributeNS-4 - ( const QString nsURI, const QString & qName, qlonglong value ) - - - setAttributeNS - setAttributeNS-5 - ( const QString nsURI, const QString & qName, qulonglong value ) - - - setAttributeNS - setAttributeNS-6 - ( const QString nsURI, const QString & qName, double value ) - - - setAttributeNode - setAttributeNode - ( const QDomAttr & newAttr ) - - - setAttributeNodeNS - setAttributeNodeNS - ( const QDomAttr & newAttr ) - - - setTagName - setTagName - ( const QString & name ) - - - tagName - tagName - () - - - text - text - () - - - operator= - operator-eq - ( const QDomElement & x ) - - - - QDomEntity - qdomentity.html - - QDomEntity - QDomEntity - () - - - QDomEntity - QDomEntity-2 - ( const QDomEntity & x ) - - - NodeType - nodeType - QDomEntity::nodeType() - - - notationName - notationName - () - - - publicId - publicId - () - - - systemId - systemId - () - - - operator= - operator-eq - ( const QDomEntity & x ) - - - - QDomEntityReference - qdomentityreference.html - - QDomEntityReference - QDomEntityReference - () - - - QDomEntityReference - QDomEntityReference-2 - ( const QDomEntityReference & x ) - - - NodeType - nodeType - QDomEntityReference::nodeType() - - - operator= - operator-eq - ( const QDomEntityReference & x ) - - - - QDomImplementation - qdomimplementation.html - - InvalidDataPolicy - InvalidDataPolicy-enum - - - - QDomImplementation - QDomImplementation - () - - - QDomImplementation - QDomImplementation-2 - ( const QDomImplementation & x ) - - - createDocument - createDocument - ( const QString & nsURI, const QString & qName, const QDomDocumentType & doctype ) - - - createDocumentType - createDocumentType - ( const QString & qName, const QString & publicId, const QString & systemId ) - - - hasFeature - hasFeature - ( const QString & feature, const QString & version ) - - - invalidDataPolicy - invalidDataPolicy - () - - - isNull - isNull - () - - - setInvalidDataPolicy - setInvalidDataPolicy - ( InvalidDataPolicy policy ) - - - operator!= - operator-not-eq - ( const QDomImplementation & x ) - - - operator= - operator-eq - ( const QDomImplementation & x ) - - - operator== - operator-eq-eq - ( const QDomImplementation & x ) - - - - QDomNamedNodeMap - qdomnamednodemap.html - - QDomNamedNodeMap - QDomNamedNodeMap - () - - - QDomNamedNodeMap - QDomNamedNodeMap-2 - ( const QDomNamedNodeMap & n ) - - - contains - contains - ( const QString & name ) - - - count - count - () - - - isEmpty - isEmpty - () - - - item - item - ( int index ) - - - length - length - () - - - namedItem - namedItem - ( const QString & name ) - - - namedItemNS - namedItemNS - ( const QString & nsURI, const QString & localName ) - - - removeNamedItem - removeNamedItem - ( const QString & name ) - - - removeNamedItemNS - removeNamedItemNS - ( const QString & nsURI, const QString & localName ) - - - setNamedItem - setNamedItem - ( const QDomNode & newNode ) - - - setNamedItemNS - setNamedItemNS - ( const QDomNode & newNode ) - - - size - size - () - - - operator!= - operator-not-eq - ( const QDomNamedNodeMap & n ) - - - operator= - operator-eq - ( const QDomNamedNodeMap & n ) - - - operator== - operator-eq-eq - ( const QDomNamedNodeMap & n ) - - - - QDomNode - qdomnode.html - - EncodingPolicy - EncodingPolicy-enum - - - - NodeType - NodeType-enum - - - - QDomNode - QDomNode - () - - - QDomNode - QDomNode-2 - ( const QDomNode & n ) - - - appendChild - appendChild - ( const QDomNode & newChild ) - - - attributes - attributes - () - - - childNodes - childNodes - () - - - clear - clear - () - - - cloneNode - cloneNode - ( bool deep = true ) - - - columnNumber - columnNumber - () - - - firstChild - firstChild - () - - - firstChildElement - firstChildElement - ( const QString & tagName = QString() - - - hasAttributes - hasAttributes - () - - - hasChildNodes - hasChildNodes - () - - - insertAfter - insertAfter - ( const QDomNode & newChild, const QDomNode & refChild ) - - - insertBefore - insertBefore - ( const QDomNode & newChild, const QDomNode & refChild ) - - - isAttr - isAttr - () - - - isCDATASection - isCDATASection - () - - - isCharacterData - isCharacterData - () - - - isComment - isComment - () - - - isDocument - isDocument - () - - - isDocumentFragment - isDocumentFragment - () - - - isDocumentType - isDocumentType - () - - - isElement - isElement - () - - - isEntity - isEntity - () - - - isEntityReference - isEntityReference - () - - - isNotation - isNotation - () - - - isNull - isNull - () - - - isProcessingInstruction - isProcessingInstruction - () - - - isSupported - isSupported - ( const QString & feature, const QString & version ) - - - isText - isText - () - - - lastChild - lastChild - () - - - lastChildElement - lastChildElement - ( const QString & tagName = QString() - - - lineNumber - lineNumber - () - - - localName - localName - () - - - namedItem - namedItem - ( const QString & name ) - - - namespaceURI - namespaceURI - () - - - nextSibling - nextSibling - () - - - nextSiblingElement - nextSiblingElement - ( const QString & tagName = QString() - - - nodeName - nodeName - () - - - nodeType - nodeType - () - - - nodeValue - nodeValue - () - - - normalize - normalize - () - - - ownerDocument - ownerDocument - () - - - parentNode - parentNode - () - - - prefix - prefix - () - - - previousSibling - previousSibling - () - - - previousSiblingElement - previousSiblingElement - ( const QString & tagName = QString() - - - removeChild - removeChild - ( const QDomNode & oldChild ) - - - replaceChild - replaceChild - ( const QDomNode & newChild, const QDomNode & oldChild ) - - - save - save - ( QTextStream & str, int indent ) - - - save - save-2 - ( QTextStream & str, int indent, EncodingPolicy encodingPolicy ) - - - setNodeValue - setNodeValue - ( const QString & v ) - - - setPrefix - setPrefix - ( const QString & pre ) - - - toAttr - toAttr - () - - - toCDATASection - toCDATASection - () - - - toCharacterData - toCharacterData - () - - - toComment - toComment - () - - - toDocument - toDocument - () - - - toDocumentFragment - toDocumentFragment - () - - - toDocumentType - toDocumentType - () - - - toElement - toElement - () - - - toEntity - toEntity - () - - - toEntityReference - toEntityReference - () - - - toNotation - toNotation - () - - - toProcessingInstruction - toProcessingInstruction - () - - - toText - toText - () - - - operator!= - operator-not-eq - ( const QDomNode & n ) - - - operator= - operator-eq - ( const QDomNode & n ) - - - operator== - operator-eq-eq - ( const QDomNode & n ) - - - - QDomNodeList - qdomnodelist.html - - QDomNodeList - QDomNodeList - () - - - QDomNodeList - QDomNodeList-2 - ( const QDomNodeList & n ) - - - at - at - ( int index ) - - - count - count - () - - - isEmpty - isEmpty - () - - - item - item - ( int index ) - - - length - length - () - - - size - size - () - - - operator!= - operator-not-eq - ( const QDomNodeList & n ) - - - operator= - operator-eq - ( const QDomNodeList & n ) - - - operator== - operator-eq-eq - ( const QDomNodeList & n ) - - - - QDomNotation - qdomnotation.html - - QDomNotation - QDomNotation - () - - - QDomNotation - QDomNotation-2 - ( const QDomNotation & x ) - - - NodeType - nodeType - QDomNotation::nodeType() - - - publicId - publicId - () - - - systemId - systemId - () - - - operator= - operator-eq - ( const QDomNotation & x ) - - - - QDomProcessingInstruction - qdomprocessinginstruction.html - - QDomProcessingInstruction - QDomProcessingInstruction - () - - - QDomProcessingInstruction - QDomProcessingInstruction-2 - ( const QDomProcessingInstruction & x ) - - - data - data - () - - - NodeType - nodeType - QDomProcessingInstruction::nodeType() - - - setData - setData - ( const QString & d ) - - - target - target - () - - - operator= - operator-eq - ( const QDomProcessingInstruction & x ) - - - - QDomText - qdomtext.html - - QDomText - QDomText - () - - - QDomText - QDomText-2 - ( const QDomText & x ) - - - NodeType - nodeType - QDomText::nodeType() - - - splitText - splitText - ( int offset ) - - - operator= - operator-eq - ( const QDomText & x ) - - - - QDoubleSpinBox - qdoublespinbox.html - - QDoubleSpinBox - QDoubleSpinBox - ( QWidget * parent = 0 ) - - - setRange - setRange - ( double minimum, double maximum ) - - - textFromValue - textFromValue - ( double value ) - - - valueChanged - valueChanged - ( double d ) - - - valueChanged - valueChanged-2 - ( const QString & text ) - - - valueFromText - valueFromText - ( const QString & text ) - - - QDoubleValidator - QDoubleValidator-3 - ( QObject * parent, const char * name ) - - - QDoubleValidator - QDoubleValidator-4 - ( double bottom, double top, int decimals, QObject * parent, const char * name ) - - - - QDoubleValidator - qdoublevalidator.html - - Notation - Notation-enum - - - - QDoubleValidator - QDoubleValidator - ( QObject * parent ) - - - QDoubleValidator - QDoubleValidator-2 - ( double bottom, double top, int decimals, QObject * parent ) - - - setRange - setRange - ( double minimum, double maximum, int decimals = 0 ) - - - State - validate - QDoubleValidator::validate( QString & input, int & pos ) - - - QDoubleValidator - QDoubleValidator-3 - ( QObject * parent, const char * name ) - - - QDoubleValidator - QDoubleValidator-4 - ( double bottom, double top, int decimals, QObject * parent, const char * name ) - - - DropAction - start - QDrag::start( Qt::DropActions request = Qt::CopyAction ) - - - - QDrag - qdrag.html - - QDrag - QDrag - ( QWidget * dragSource ) - - - actionChanged - actionChanged - ( Qt::DropAction action ) - - - DropAction - exec - QDrag::exec( Qt::DropActions supportedActions = Qt::MoveAction ) - - - DropAction - exec-2 - QDrag::exec( Qt::DropActions supportedActions, Qt::DropAction defaultDropAction ) - - - hotSpot - hotSpot - () - - - mimeData - mimeData - () - - - pixmap - pixmap - () - - - setDragCursor - setDragCursor - ( const QPixmap & cursor, Qt::DropAction action ) - - - setHotSpot - setHotSpot - ( const QPoint & hotspot ) - - - setMimeData - setMimeData - ( QMimeData * data ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - source - source - () - - - target - target - () - - - targetChanged - targetChanged - ( QWidget * newTarget ) - - - - QDragEnterEvent - qdragenterevent.html - - QDragEnterEvent - QDragEnterEvent - ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - - - - QDragLeaveEvent - qdragleaveevent.html - - QDragLeaveEvent - QDragLeaveEvent - () - - - accept - accept-2 - ( bool y ) - - - - QDragMoveEvent - qdragmoveevent.html - - QDragMoveEvent - QDragMoveEvent - ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove ) - - - accept - accept - ( const QRect & rectangle ) - - - accept - accept-3 - () - - - answerRect - answerRect - () - - - ignore - ignore - ( const QRect & rectangle ) - - - ignore - ignore-2 - () - - - accept - accept-2 - ( bool y ) - - - Action - Action-enum - - - - accept - accept-2 - ( bool accept ) - - - acceptAction - acceptAction - ( bool accept = true ) - - - action - action - () - - - data - data - ( const char * f ) - - - encodedData - encodedData - ( const char * format ) - - - format - format - ( int n = 0 ) - - - provides - provides - ( const char * mimeType ) - - - setPoint - setPoint - ( const QPoint & point ) - - - - QDropEvent - qdropevent.html - - QDropEvent - QDropEvent - ( const QPoint & pos, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop ) - - - acceptProposedAction - acceptProposedAction - () - - - DropAction - dropAction - QDropEvent::dropAction() - - - KeyboardModifiers - keyboardModifiers - QDropEvent::keyboardModifiers() - - - mimeData - mimeData - () - - - MouseButtons - mouseButtons - QDropEvent::mouseButtons() - - - pos - pos - () - - - DropActions - possibleActions - QDropEvent::possibleActions() - - - DropAction - proposedAction - QDropEvent::proposedAction() - - - setDropAction - setDropAction - ( Qt::DropAction action ) - - - source - source - () - - - Action - Action-enum - - - - accept - accept-2 - ( bool accept ) - - - acceptAction - acceptAction - ( bool accept = true ) - - - action - action - () - - - data - data - ( const char * f ) - - - encodedData - encodedData - ( const char * format ) - - - format - format - ( int n = 0 ) - - - provides - provides - ( const char * mimeType ) - - - setPoint - setPoint - ( const QPoint & point ) - - - - QDynamicPropertyChangeEvent - qdynamicpropertychangeevent.html - - QDynamicPropertyChangeEvent - QDynamicPropertyChangeEvent - ( const QByteArray & name ) - - - propertyName - propertyName - () - - - message - message - ( const QString & message ) - - - - QErrorMessage - qerrormessage.html - - QErrorMessage - QErrorMessage - ( QWidget * parent = 0 ) - - - changeEvent - changeEvent - ( QEvent * e ) - - - qtHandler - qtHandler - () - - - showMessage - showMessage - ( const QString & message ) - - - message - message - ( const QString & message ) - - - - QEvent - qevent.html - - Type - Type-enum - - - - QEvent - QEvent - ( Type type ) - - - accept - accept - () - - - ignore - ignore - () - - - spontaneous - spontaneous - () - - - type - type - () - - - - QEventLoop - qeventloop.html - - QEventLoop - QEventLoop - ( QObject * parent = 0 ) - - - exec - exec - ( ProcessEventsFlags flags = AllEvents ) - - - exit - exit - ( int returnCode = 0 ) - - - isRunning - isRunning - () - - - processEvents - processEvents - ( ProcessEventsFlags flags = AllEvents ) - - - processEvents - processEvents-2 - ( ProcessEventsFlags flags, int maxTime ) - - - quit - quit - () - - - wakeUp - wakeUp - () - - - - QExtensionFactory - qextensionfactory.html - - QExtensionFactory - QExtensionFactory - ( QExtensionManager * parent = 0 ) - - - createExtension - createExtension - ( QObject * object, const QString & iid, QObject * parent ) - - - extension - extension - ( QObject * object, const QString & iid ) - - - extensionManager - extensionManager - () - - - - QExtensionManager - qextensionmanager.html - - QExtensionManager - QExtensionManager - ( QObject * parent = 0 ) - - - extension - extension - ( QObject * object, const QString & iid ) - - - registerExtensions - registerExtensions - ( QAbstractExtensionFactory * factory, const QString & iid = QString() - - - unregisterExtensions - unregisterExtensions - ( QAbstractExtensionFactory * factory, const QString & iid = QString() - - - readLink - readLink - () - - - readLink - readLink-2 - ( const QString & fileName ) - - - name - name - () - - - open - open-2 - ( OpenMode flags, FILE * f ) - - - open - open-3 - ( OpenMode flags, int fd ) - - - setName - setName - ( const QString & name ) - - - - QFile - qfile.html - - DecoderFn - DecoderFn-typedef - - - - EncoderFn - EncoderFn-typedef - - - - FileError - FileError-enum - - - - PermissionSpec - PermissionSpec-typedef - - - - QFile - QFile - ( const QString & name ) - - - QFile - QFile-3 - ( QObject * parent ) - - - QFile - QFile-4 - ( const QString & name, QObject * parent ) - - - atEnd - atEnd - () - - - copy - copy - ( const QString & newName ) - - - copy - copy-2 - ( const QString & fileName, const QString & newName ) - - - decodeName - decodeName - ( const QByteArray & localFileName ) - - - decodeName - decodeName-2 - ( const char * localFileName ) - - - encodeName - encodeName - ( const QString & fileName ) - - - error - error - () - - - exists - exists - ( const QString & fileName ) - - - exists - exists-2 - () - - - fileName - fileName - () - - - flush - flush - () - - - handle - handle - () - - - isSequential - isSequential - () - - - link - link - ( const QString & linkName ) - - - link - link-2 - ( const QString & fileName, const QString & linkName ) - - - open - open - ( OpenMode mode ) - - - open - open-4 - ( FILE * fh, OpenMode mode ) - - - open - open-5 - ( int fd, OpenMode mode ) - - - permissions - permissions - () - - - permissions - permissions-2 - ( const QString & fileName ) - - - remove - remove - () - - - remove - remove-2 - ( const QString & fileName ) - - - rename - rename - ( const QString & newName ) - - - rename - rename-2 - ( const QString & oldName, const QString & newName ) - - - resize - resize - ( qint64 sz ) - - - resize - resize-2 - ( const QString & fileName, qint64 sz ) - - - setDecodingFunction - setDecodingFunction - ( DecoderFn function ) - - - setEncodingFunction - setEncodingFunction - ( EncoderFn function ) - - - setFileName - setFileName - ( const QString & name ) - - - setPermissions - setPermissions - ( Permissions permissions ) - - - setPermissions - setPermissions-2 - ( const QString & fileName, Permissions permissions ) - - - size - size - () - - - symLinkTarget - symLinkTarget - ( const QString & fileName ) - - - symLinkTarget - symLinkTarget-2 - () - - - unsetError - unsetError - () - - - name - name - () - - - open - open-2 - ( OpenMode flags, FILE * f ) - - - open - open-3 - ( OpenMode flags, int fd ) - - - setName - setName - ( const QString & name ) - - - getExistingDirectory - getExistingDirectory-2 - ( const QString & dir, QWidget * parent = 0, const char * name = 0, const QString & caption = QString() - - - getOpenFileName - getOpenFileName-2 - ( const QString & dir, const QString & filter = QString() - - - getOpenFileNames - getOpenFileNames-2 - ( const QString & filter, const QString & dir = QString() - - - getSaveFileName - getSaveFileName-2 - ( const QString & dir, const QString & filter = QString() - - - mode - mode - () - - - selectedFile - selectedFile - () - - - setDir - setDir - ( const QString & directory ) - - - setDir - setDir-2 - ( const QDir & directory ) - - - setMode - setMode - ( FileMode m ) - - - - QFileDialog - qfiledialog.html - - AcceptMode - AcceptMode-enum - - - - DialogLabel - DialogLabel-enum - - - - FileMode - FileMode-enum - - - - Mode - Mode-typedef - - - - ViewMode - ViewMode-enum - - - - QFileDialog - QFileDialog - ( QWidget * parent, Qt::WindowFlags flags ) - - - QFileDialog - QFileDialog-2 - ( QWidget * parent = 0, const QString & caption = QString() - - - currentChanged - currentChanged - ( const QString & path ) - - - directory - directory - () - - - directoryEntered - directoryEntered - ( const QString & directory ) - - - filesSelected - filesSelected - ( const QStringList & selected ) - - - filterSelected - filterSelected - ( const QString & filter ) - - - filters - filters - () - - - getExistingDirectory - getExistingDirectory - ( QWidget * parent = 0, const QString & caption = QString() - - - getOpenFileName - getOpenFileName - ( QWidget * parent = 0, const QString & caption = QString() - - - getOpenFileNames - getOpenFileNames - ( QWidget * parent = 0, const QString & caption = QString() - - - getSaveFileName - getSaveFileName - ( QWidget * parent = 0, const QString & caption = QString() - - - history - history - () - - - iconProvider - iconProvider - () - - - itemDelegate - itemDelegate - () - - - labelText - labelText - ( DialogLabel label ) - - - proxyModel - proxyModel - () - - - restoreState - restoreState - ( const QByteArray & state ) - - - saveState - saveState - () - - - selectFile - selectFile - ( const QString & filename ) - - - selectFilter - selectFilter - ( const QString & filter ) - - - selectedFiles - selectedFiles - () - - - selectedFilter - selectedFilter - () - - - setDirectory - setDirectory - ( const QString & directory ) - - - setDirectory - setDirectory-2 - ( const QDir & directory ) - - - setFilter - setFilter - ( const QString & filter ) - - - setFilters - setFilters - ( const QStringList & filters ) - - - setHistory - setHistory - ( const QStringList & paths ) - - - setIconProvider - setIconProvider - ( QFileIconProvider * provider ) - - - setItemDelegate - setItemDelegate - ( QAbstractItemDelegate * delegate ) - - - setLabelText - setLabelText - ( DialogLabel label, const QString & text ) - - - setProxyModel - setProxyModel - ( QAbstractProxyModel * proxyModel ) - - - setSidebarUrls - setSidebarUrls - ( const QList<QUrl> & urls ) - - - sidebarUrls - sidebarUrls - () - - - getExistingDirectory - getExistingDirectory-2 - ( const QString & dir, QWidget * parent = 0, const char * name = 0, const QString & caption = QString() - - - getOpenFileName - getOpenFileName-2 - ( const QString & dir, const QString & filter = QString() - - - getOpenFileNames - getOpenFileNames-2 - ( const QString & filter, const QString & dir = QString() - - - getSaveFileName - getSaveFileName-2 - ( const QString & dir, const QString & filter = QString() - - - mode - mode - () - - - selectedFile - selectedFile - () - - - setDir - setDir - ( const QString & directory ) - - - setDir - setDir-2 - ( const QDir & directory ) - - - setMode - setMode - ( FileMode m ) - - - - QFileIconProvider - qfileiconprovider.html - - IconType - IconType-enum - - - - QFileIconProvider - QFileIconProvider - () - - - icon - icon - ( IconType type ) - - - icon - icon-2 - ( const QFileInfo & info ) - - - type - type - ( const QFileInfo & info ) - - - readLink - readLink - () - - - absFilePath - absFilePath - () - - - baseName - baseName-2 - ( bool complete ) - - - convertToAbs - convertToAbs - () - - - dir - dir-2 - ( bool absPath ) - - - dirPath - dirPath - ( bool absPath = false ) - - - extension - extension - ( bool complete = true ) - - - permission - permission-2 - ( PermissionSpec permissions ) - - - - QFileInfo - qfileinfo.html - - QFileInfo - QFileInfo - () - - - QFileInfo - QFileInfo-2 - ( const QString & file ) - - - QFileInfo - QFileInfo-3 - ( const QFile & file ) - - - QFileInfo - QFileInfo-4 - ( const QDir & dir, const QString & file ) - - - QFileInfo - QFileInfo-5 - ( const QFileInfo & fileinfo ) - - - absoluteDir - absoluteDir - () - - - absoluteFilePath - absoluteFilePath - () - - - absolutePath - absolutePath - () - - - baseName - baseName - () - - - bundleName - bundleName - () - - - caching - caching - () - - - canonicalFilePath - canonicalFilePath - () - - - canonicalPath - canonicalPath - () - - - completeBaseName - completeBaseName - () - - - completeSuffix - completeSuffix - () - - - created - created - () - - - dir - dir - () - - - exists - exists - () - - - fileName - fileName - () - - - filePath - filePath - () - - - group - group - () - - - groupId - groupId - () - - - isAbsolute - isAbsolute - () - - - isBundle - isBundle - () - - - isDir - isDir - () - - - isExecutable - isExecutable - () - - - isFile - isFile - () - - - isHidden - isHidden - () - - - isReadable - isReadable - () - - - isRelative - isRelative - () - - - isRoot - isRoot - () - - - isSymLink - isSymLink - () - - - isWritable - isWritable - () - - - lastModified - lastModified - () - - - lastRead - lastRead - () - - - makeAbsolute - makeAbsolute - () - - - owner - owner - () - - - ownerId - ownerId - () - - - path - path - () - - - permission - permission - ( QFile::Permissions permissions ) - - - Permissions - permissions - QFileInfo::permissions() - - - refresh - refresh - () - - - setCaching - setCaching - ( bool enable ) - - - setFile - setFile - ( const QString & file ) - - - setFile - setFile-2 - ( const QFile & file ) - - - setFile - setFile-3 - ( const QDir & dir, const QString & file ) - - - size - size - () - - - suffix - suffix - () - - - symLinkTarget - symLinkTarget - () - - - operator!= - operator-not-eq - ( const QFileInfo & fileinfo ) - - - operator!= - operator-not-eq-2 - ( const QFileInfo & fileinfo ) - - - operator= - operator-eq - ( const QFileInfo & fileinfo ) - - - operator== - operator-eq-eq - ( const QFileInfo & fileinfo ) - - - operator== - operator-eq-eq-2 - ( const QFileInfo & fileinfo ) - - - absFilePath - absFilePath - () - - - baseName - baseName-2 - ( bool complete ) - - - convertToAbs - convertToAbs - () - - - dir - dir-2 - ( bool absPath ) - - - dirPath - dirPath - ( bool absPath = false ) - - - extension - extension - ( bool complete = true ) - - - permission - permission-2 - ( PermissionSpec permissions ) - - - - QFileOpenEvent - qfileopenevent.html - - file - file - () - - - - QFileSystemWatcher - qfilesystemwatcher.html - - QFileSystemWatcher - QFileSystemWatcher - ( QObject * parent = 0 ) - - - QFileSystemWatcher - QFileSystemWatcher-2 - ( const QStringList & paths, QObject * parent = 0 ) - - - addPath - addPath - ( const QString & path ) - - - addPaths - addPaths - ( const QStringList & paths ) - - - directories - directories - () - - - directoryChanged - directoryChanged - ( const QString & path ) - - - fileChanged - fileChanged - ( const QString & path ) - - - files - files - () - - - removePath - removePath - ( const QString & path ) - - - removePaths - removePaths - ( const QStringList & paths ) - - - - QFlag - qflag.html - - QFlag - QFlag - ( int value ) - - - operator - operator-int - int() - - - - QFlags - qflags.html - - enum_type - enum_type-typedef - - - - QFlags - QFlags - ( const QFlags & other ) - - - QFlags - QFlags-2 - ( Enum flag ) - - - QFlags - QFlags-3 - ( Zero zero = 0 ) - - - QFlags - QFlags-4 - ( QFlag value ) - - - testFlag - testFlag - ( Enum flag ) - - - operator - operator-int - int() - - - operator! - operator-not - () - - - operator& - operator-and - amp;( int mask ) - - - operator& - operator-and-2 - amp;( uint mask ) - - - operator& - operator-and-3 - amp;( Enum mask ) - - - operator& - operator-and-eq - amp;=( int mask ) - - - operator& - operator-and-eq-2 - amp;=( uint mask ) - - - operator= - operator-eq - ( const QFlags & other ) - - - operator^ - operator-5e - ( QFlags other ) - - - operator^ - operator-5e-2 - ( Enum other ) - - - operator^= - operator-5e-eq - ( QFlags other ) - - - operator^= - operator-5e-eq-2 - ( Enum other ) - - - operator| - operator-7c - ( QFlags other ) - - - operator| - operator-7c-2 - ( Enum other ) - - - operator|= - operator-7c-eq - ( QFlags other ) - - - operator|= - operator-7c-eq-2 - ( Enum other ) - - - operator~ - operator-7e - () - - - Reason - Reason-enum - - - - - QFocusEvent - qfocusevent.html - - QFocusEvent - QFocusEvent - ( Type type, Qt::FocusReason reason = Qt::OtherFocusReason ) - - - gotFocus - gotFocus - () - - - lostFocus - lostFocus - () - - - FocusReason - reason - QFocusEvent::reason() - - - Reason - Reason-enum - - - - - QFocusFrame - qfocusframe.html - - QFocusFrame - QFocusFrame - ( QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOption * option ) - - - setWidget - setWidget - ( QWidget * widget ) - - - widget - widget - () - - - defaultFont - defaultFont - () - - - pointSizeFloat - pointSizeFloat - () - - - setDefaultFont - setDefaultFont - ( const QFont & f ) - - - setPixelSizeFloat - setPixelSizeFloat - ( qreal pixelSize ) - - - setPointSizeFloat - setPointSizeFloat - ( qreal size ) - - - - QFont - qfont.html - - Stretch - Stretch-enum - - - - Style - Style-enum - - - - StyleHint - StyleHint-enum - - - - StyleStrategy - StyleStrategy-enum - - - - Weight - Weight-enum - - - - QFont - QFont - () - - - QFont - QFont-2 - ( const QString & family, int pointSize = -1, int weight = -1, bool italic = false ) - - - QFont - QFont-3 - ( const QFont & font, QPaintDevice * pd ) - - - QFont - QFont-4 - ( const QFont & font ) - - - bold - bold - () - - - defaultFamily - defaultFamily - () - - - exactMatch - exactMatch - () - - - family - family - () - - - fixedPitch - fixedPitch - () - - - freetypeFace - freetypeFace - () - - - fromString - fromString - ( const QString & descrip ) - - - handle - handle - () - - - insertSubstitution - insertSubstitution - ( const QString & familyName, const QString & substituteName ) - - - insertSubstitutions - insertSubstitutions - ( const QString & familyName, const QStringList & substituteNames ) - - - isCopyOf - isCopyOf - ( const QFont & f ) - - - italic - italic - () - - - kerning - kerning - () - - - key - key - () - - - lastResortFamily - lastResortFamily - () - - - lastResortFont - lastResortFont - () - - - macFontID - macFontID - () - - - overline - overline - () - - - pixelSize - pixelSize - () - - - pointSize - pointSize - () - - - pointSizeF - pointSizeF - () - - - rawMode - rawMode - () - - - rawName - rawName - () - - - removeSubstitution - removeSubstitution - ( const QString & familyName ) - - - resolve - resolve - ( const QFont & other ) - - - setBold - setBold - ( bool enable ) - - - setFamily - setFamily - ( const QString & family ) - - - setFixedPitch - setFixedPitch - ( bool enable ) - - - setItalic - setItalic - ( bool enable ) - - - setKerning - setKerning - ( bool enable ) - - - setOverline - setOverline - ( bool enable ) - - - setPixelSize - setPixelSize - ( int pixelSize ) - - - setPointSize - setPointSize - ( int pointSize ) - - - setPointSizeF - setPointSizeF - ( qreal pointSize ) - - - setRawMode - setRawMode - ( bool enable ) - - - setRawName - setRawName - ( const QString & name ) - - - setStretch - setStretch - ( int factor ) - - - setStrikeOut - setStrikeOut - ( bool enable ) - - - setStyle - setStyle - ( Style style ) - - - setStyleHint - setStyleHint - ( StyleHint hint, StyleStrategy strategy = PreferDefault ) - - - setStyleStrategy - setStyleStrategy - ( StyleStrategy s ) - - - setUnderline - setUnderline - ( bool enable ) - - - setWeight - setWeight - ( int weight ) - - - stretch - stretch - () - - - strikeOut - strikeOut - () - - - style - style - () - - - styleHint - styleHint - () - - - styleStrategy - styleStrategy - () - - - substitute - substitute - ( const QString & familyName ) - - - substitutes - substitutes - ( const QString & familyName ) - - - substitutions - substitutions - () - - - toString - toString - () - - - underline - underline - () - - - weight - weight - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QFont & f ) - - - operator< - operator-lt - ( const QFont & f ) - - - operator= - operator-eq - ( const QFont & font ) - - - operator== - operator-eq-eq - ( const QFont & f ) - - - defaultFont - defaultFont - () - - - pointSizeFloat - pointSizeFloat - () - - - setDefaultFont - setDefaultFont - ( const QFont & f ) - - - setPixelSizeFloat - setPixelSizeFloat - ( qreal pixelSize ) - - - setPointSizeFloat - setPointSizeFloat - ( qreal size ) - - - - QFontComboBox - qfontcombobox.html - - WritingSystem - writingSystem-prop - - - - QFontComboBox - QFontComboBox - ( QWidget * parent = 0 ) - - - currentFontChanged - currentFontChanged - ( const QFont & font ) - - - - QFontDatabase - qfontdatabase.html - - WritingSystem - WritingSystem-enum - - - - QFontDatabase - QFontDatabase - () - - - addApplicationFont - addApplicationFont - ( const QString & fileName ) - - - addApplicationFontFromData - addApplicationFontFromData - ( const QByteArray & fontData ) - - - applicationFontFamilies - applicationFontFamilies - ( int id ) - - - bold - bold - ( const QString & family, const QString & style ) - - - families - families - ( WritingSystem writingSystem = Any ) - - - font - font - ( const QString & family, const QString & style, int pointSize ) - - - isBitmapScalable - isBitmapScalable - ( const QString & family, const QString & style = QString() - - - isFixedPitch - isFixedPitch - ( const QString & family, const QString & style = QString() - - - isScalable - isScalable - ( const QString & family, const QString & style = QString() - - - isSmoothlyScalable - isSmoothlyScalable - ( const QString & family, const QString & style = QString() - - - italic - italic - ( const QString & family, const QString & style ) - - - pointSizes - pointSizes - ( const QString & family, const QString & style = QString() - - - removeAllApplicationFonts - removeAllApplicationFonts - () - - - removeApplicationFont - removeApplicationFont - ( int id ) - - - smoothSizes - smoothSizes - ( const QString & family, const QString & style ) - - - standardSizes - standardSizes - () - - - styleString - styleString - ( const QFont & font ) - - - styleString - styleString-2 - ( const QFontInfo & fontInfo ) - - - styles - styles - ( const QString & family ) - - - weight - weight - ( const QString & family, const QString & style ) - - - writingSystemName - writingSystemName - ( WritingSystem writingSystem ) - - - writingSystemSample - writingSystemSample - ( WritingSystem writingSystem ) - - - writingSystems - writingSystems - () - - - writingSystems - writingSystems-2 - ( const QString & family ) - - - - QFontDialog - qfontdialog.html - - changeEvent - changeEvent - ( QEvent * e ) - - - getFont - getFont - ( bool * ok, const QFont & initial, QWidget * parent, const QString & caption ) - - - getFont - getFont-2 - ( bool * ok, const QFont & def, QWidget * parent, const char * name ) - - - getFont - getFont-3 - ( bool * ok, QWidget * parent, const char * name ) - - - getFont - getFont-5 - ( bool * ok, const QFont & initial, QWidget * parent = 0 ) - - - getFont - getFont-6 - ( bool * ok, QWidget * parent = 0 ) - - - - QFontEngineInfo - qfontengineinfo.html - - Style - style-prop - - - - WritingSystem - writingSystems-prop - > - - - QFontEngineInfo - QFontEngineInfo - () - - - QFontEngineInfo - QFontEngineInfo-2 - ( const QString & family ) - - - QFontEngineInfo - QFontEngineInfo-3 - ( const QFontEngineInfo & other ) - - - operator= - operator-eq - ( const QFontEngineInfo & other ) - - - - QFontEnginePlugin - qfontengineplugin.html - - QFontEnginePlugin - QFontEnginePlugin - ( const QString & foundry, QObject * parent = 0 ) - - - availableFontEngines - availableFontEngines - () - - - create - create - ( const QFontEngineInfo & info ) - - - keys - keys - () - - - - QFontInfo - qfontinfo.html - - QFontInfo - QFontInfo - ( const QFont & font ) - - - QFontInfo - QFontInfo-2 - ( const QFontInfo & fi ) - - - bold - bold - () - - - exactMatch - exactMatch - () - - - family - family - () - - - fixedPitch - fixedPitch - () - - - italic - italic - () - - - pixelSize - pixelSize - () - - - pointSize - pointSize - () - - - pointSizeF - pointSizeF - () - - - rawMode - rawMode - () - - - Style - style - QFontInfo::style() - - - StyleHint - styleHint - QFontInfo::styleHint() - - - weight - weight - () - - - operator= - operator-eq - ( const QFontInfo & fi ) - - - boundingRect - boundingRect-3 - ( const QString & text, int len ) - - - boundingRect - boundingRect-4 - ( int x, int y, int w, int h, int flags, const QString & text, int len, int tabStops = 0, int * tabArray = 0 ) - - - size - size-2 - ( int flags, const QString & text, int len, int tabStops = 0, int * tabArray = 0 ) - - - - QFontMetrics - qfontmetrics.html - - QFontMetrics - QFontMetrics - ( const QFont & font ) - - - QFontMetrics - QFontMetrics-2 - ( const QFont & font, QPaintDevice * paintdevice ) - - - QFontMetrics - QFontMetrics-3 - ( const QFontMetrics & fm ) - - - ascent - ascent - () - - - averageCharWidth - averageCharWidth - () - - - boundingRect - boundingRect - ( QChar ch ) - - - boundingRect - boundingRect-2 - ( const QString & text ) - - - boundingRect - boundingRect-5 - ( int x, int y, int width, int height, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) - - - boundingRect - boundingRect-6 - ( const QRect & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) - - - charWidth - charWidth - ( const QString & text, int pos ) - - - descent - descent - () - - - elidedText - elidedText - ( const QString & text, Qt::TextElideMode mode, int width, int flags = 0 ) - - - height - height - () - - - inFont - inFont - ( QChar ch ) - - - leading - leading - () - - - leftBearing - leftBearing - ( QChar ch ) - - - lineSpacing - lineSpacing - () - - - lineWidth - lineWidth - () - - - maxWidth - maxWidth - () - - - minLeftBearing - minLeftBearing - () - - - minRightBearing - minRightBearing - () - - - overlinePos - overlinePos - () - - - rightBearing - rightBearing - ( QChar ch ) - - - size - size - ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) - - - strikeOutPos - strikeOutPos - () - - - tightBoundingRect - tightBoundingRect - ( const QString & text ) - - - underlinePos - underlinePos - () - - - width - width - ( const QString & text, int len = -1 ) - - - width - width-2 - ( QChar ch ) - - - xHeight - xHeight - () - - - operator!= - operator-not-eq - ( const QFontMetrics & other ) - - - operator!= - operator-not-eq-2 - ( const QFontMetrics & other ) - - - operator= - operator-eq - ( const QFontMetrics & fm ) - - - operator== - operator-eq-eq - ( const QFontMetrics & other ) - - - operator== - operator-eq-eq-2 - ( const QFontMetrics & other ) - - - boundingRect - boundingRect-3 - ( const QString & text, int len ) - - - boundingRect - boundingRect-4 - ( int x, int y, int w, int h, int flags, const QString & text, int len, int tabStops = 0, int * tabArray = 0 ) - - - size - size-2 - ( int flags, const QString & text, int len, int tabStops = 0, int * tabArray = 0 ) - - - - QFontMetricsF - qfontmetricsf.html - - QFontMetricsF - QFontMetricsF - ( const QFont & font ) - - - QFontMetricsF - QFontMetricsF-2 - ( const QFont & font, QPaintDevice * paintdevice ) - - - QFontMetricsF - QFontMetricsF-3 - ( const QFontMetrics & fontMetrics ) - - - QFontMetricsF - QFontMetricsF-4 - ( const QFontMetricsF & fm ) - - - ascent - ascent - () - - - averageCharWidth - averageCharWidth - () - - - boundingRect - boundingRect - ( const QString & text ) - - - boundingRect - boundingRect-2 - ( QChar ch ) - - - boundingRect - boundingRect-3 - ( const QRectF & rect, int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) - - - descent - descent - () - - - elidedText - elidedText - ( const QString & text, Qt::TextElideMode mode, qreal width, int flags = 0 ) - - - height - height - () - - - inFont - inFont - ( QChar ch ) - - - leading - leading - () - - - leftBearing - leftBearing - ( QChar ch ) - - - lineSpacing - lineSpacing - () - - - lineWidth - lineWidth - () - - - maxWidth - maxWidth - () - - - minLeftBearing - minLeftBearing - () - - - minRightBearing - minRightBearing - () - - - overlinePos - overlinePos - () - - - rightBearing - rightBearing - ( QChar ch ) - - - size - size - ( int flags, const QString & text, int tabStops = 0, int * tabArray = 0 ) - - - strikeOutPos - strikeOutPos - () - - - tightBoundingRect - tightBoundingRect - ( const QString & text ) - - - underlinePos - underlinePos - () - - - width - width - ( const QString & text ) - - - width - width-2 - ( QChar ch ) - - - xHeight - xHeight - () - - - operator!= - operator-not-eq - ( const QFontMetricsF & other ) - - - operator!= - operator-not-eq-2 - ( const QFontMetricsF & other ) - - - operator= - operator-eq - ( const QFontMetricsF & fm ) - - - operator= - operator-eq-2 - ( const QFontMetrics & other ) - - - operator== - operator-eq-eq - ( const QFontMetricsF & other ) - - - operator== - operator-eq-eq-2 - ( const QFontMetricsF & other ) - - - - QFormBuilder - qformbuilder.html - - QFormBuilder - QFormBuilder - () - - - addPluginPath - addPluginPath - ( const QString & pluginPath ) - - - clearPluginPaths - clearPluginPaths - () - - - customWidgets - customWidgets - () - - - pluginPaths - pluginPaths - () - - - setPluginPath - setPluginPath - ( const QStringList & pluginPaths ) - - - QFrame - QFrame-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - - QFrame - qframe.html - - Shadow - Shadow-enum - - - - Shape - Shape-enum - - - - StyleMask - StyleMask-enum - - - - QFrame - QFrame - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - frameStyle - frameStyle - () - - - setFrameStyle - setFrameStyle - ( int style ) - - - QFrame - QFrame-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - - QFSFileEngine - qfsfileengine.html - - QFSFileEngine - QFSFileEngine - () - - - QFSFileEngine - QFSFileEngine-2 - ( const QString & file ) - - - currentPath - currentPath - ( const QString & fileName = QString() - - - drives - drives - () - - - homePath - homePath - () - - - open - open - ( QIODevice::OpenMode openMode, FILE * fh ) - - - open - open-3 - ( QIODevice::OpenMode openMode, int fd ) - - - rootPath - rootPath - () - - - setCurrentPath - setCurrentPath - ( const QString & path ) - - - tempPath - tempPath - () - - - QFtp - QFtp-2 - ( QObject * parent, const char * name ) - - - readBlock - readBlock - ( char * data, quint64 maxlen ) - - - - QFtp - qftp.html - - Command - Command-enum - - - - Error - Error-enum - - - - State - State-enum - - - - TransferMode - TransferMode-enum - - - - TransferType - TransferType-enum - - - - QFtp - QFtp - ( QObject * parent = 0 ) - - - abort - abort - () - - - bytesAvailable - bytesAvailable - () - - - cd - cd - ( const QString & dir ) - - - clearPendingCommands - clearPendingCommands - () - - - close - close - () - - - commandFinished - commandFinished - ( int id, bool error ) - - - commandStarted - commandStarted - ( int id ) - - - connectToHost - connectToHost - ( const QString & host, quint16 port = 21 ) - - - currentCommand - currentCommand - () - - - currentDevice - currentDevice - () - - - currentId - currentId - () - - - dataTransferProgress - dataTransferProgress - ( qint64 done, qint64 total ) - - - done - done - ( bool error ) - - - error - error - () - - - errorString - errorString - () - - - get - get - ( const QString & file, QIODevice * dev = 0, TransferType type = Binary ) - - - hasPendingCommands - hasPendingCommands - () - - - list - list - ( const QString & dir = QString() - - - listInfo - listInfo - ( const QUrlInfo & i ) - - - login - login - ( const QString & user = QString() - - - mkdir - mkdir - ( const QString & dir ) - - - put - put - ( QIODevice * dev, const QString & file, TransferType type = Binary ) - - - put - put-2 - ( const QByteArray & data, const QString & file, TransferType type = Binary ) - - - rawCommand - rawCommand - ( const QString & command ) - - - rawCommandReply - rawCommandReply - ( int replyCode, const QString & detail ) - - - read - read - ( char * data, qint64 maxlen ) - - - readAll - readAll - () - - - readyRead - readyRead - () - - - remove - remove - ( const QString & file ) - - - rename - rename - ( const QString & oldname, const QString & newname ) - - - rmdir - rmdir - ( const QString & dir ) - - - setProxy - setProxy - ( const QString & host, quint16 port ) - - - setTransferMode - setTransferMode - ( TransferMode mode ) - - - state - state - () - - - stateChanged - stateChanged - ( int state ) - - - QFtp - QFtp-2 - ( QObject * parent, const char * name ) - - - readBlock - readBlock - ( char * data, quint64 maxlen ) - - - - QGenericArgument - qgenericargument.html - - QGenericArgument - QGenericArgument - ( const char * name = 0, const void * data = 0 ) - - - data - data - () - - - name - name - () - - - - QGenericReturnArgument - qgenericreturnargument.html - - QGenericReturnArgument - QGenericReturnArgument - ( const char * name = 0, void * data = 0 ) - - - - QGLColormap - qglcolormap.html - - QGLColormap - QGLColormap - () - - - QGLColormap - QGLColormap-2 - ( const QGLColormap & map ) - - - entryColor - entryColor - ( int idx ) - - - entryRgb - entryRgb - ( int idx ) - - - find - find - ( QRgb color ) - - - findNearest - findNearest - ( QRgb color ) - - - isEmpty - isEmpty - () - - - setEntries - setEntries - ( int count, const QRgb * colors, int base = 0 ) - - - setEntry - setEntry - ( int idx, QRgb color ) - - - setEntry - setEntry-2 - ( int idx, const QColor & color ) - - - size - size - () - - - operator= - operator-eq - ( const QGLColormap & map ) - - - QGLContext - QGLContext-2 - ( const QGLFormat & format, QPaintDevice * device ) - - - generateFontDisplayLists - generateFontDisplayLists - ( const QFont & font, int listBase ) - - - - QGLContext - qglcontext.html - - QGLContext - QGLContext - ( const QGLFormat & format ) - - - bindTexture - bindTexture - ( const QImage & image, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA ) - - - bindTexture - bindTexture-2 - ( const QString & fileName ) - - - bindTexture - bindTexture-3 - ( const QPixmap & pixmap, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA ) - - - chooseContext - chooseContext - ( const QGLContext * shareContext = 0 ) - - - chooseMacVisual - chooseMacVisual - ( GDHandle handle ) - - - choosePixelFormat - choosePixelFormat - ( void * dummyPfd, HDC pdc ) - - - chooseVisual - chooseVisual - () - - - create - create - ( const QGLContext * shareContext = 0 ) - - - currentContext - currentContext - () - - - deleteTexture - deleteTexture - ( GLuint id ) - - - device - device - () - - - deviceIsPixmap - deviceIsPixmap - () - - - doneCurrent - doneCurrent - () - - - format - format - () - - - getProcAddress - getProcAddress - ( const QString & proc ) - - - initialized - initialized - () - - - isSharing - isSharing - () - - - isValid - isValid - () - - - makeCurrent - makeCurrent - () - - - overlayTransparentColor - overlayTransparentColor - () - - - requestedFormat - requestedFormat - () - - - reset - reset - () - - - setFormat - setFormat - ( const QGLFormat & format ) - - - setInitialized - setInitialized - ( bool on ) - - - setTextureCacheLimit - setTextureCacheLimit - ( int size ) - - - setWindowCreated - setWindowCreated - ( bool on ) - - - swapBuffers - swapBuffers - () - - - textureCacheLimit - textureCacheLimit - () - - - windowCreated - windowCreated - () - - - - QGLFormat - qglformat.html - - QGLFormat - QGLFormat - () - - - QGLFormat - QGLFormat-2 - ( QGL::FormatOptions options, int plane = 0 ) - - - QGLFormat - QGLFormat-3 - ( const QGLFormat & other ) - - - accum - accum - () - - - accumBufferSize - accumBufferSize - () - - - alpha - alpha - () - - - alphaBufferSize - alphaBufferSize - () - - - blueBufferSize - blueBufferSize - () - - - defaultFormat - defaultFormat - () - - - defaultOverlayFormat - defaultOverlayFormat - () - - - depth - depth - () - - - depthBufferSize - depthBufferSize - () - - - directRendering - directRendering - () - - - doubleBuffer - doubleBuffer - () - - - greenBufferSize - greenBufferSize - () - - - hasOpenGL - hasOpenGL - () - - - hasOpenGLOverlays - hasOpenGLOverlays - () - - - hasOverlay - hasOverlay - () - - - openGLVersionFlags - openGLVersionFlags - () - - - plane - plane - () - - - redBufferSize - redBufferSize - () - - - rgba - rgba - () - - - sampleBuffers - sampleBuffers - () - - - samples - samples - () - - - setAccum - setAccum - ( bool enable ) - - - setAccumBufferSize - setAccumBufferSize - ( int size ) - - - setAlpha - setAlpha - ( bool enable ) - - - setAlphaBufferSize - setAlphaBufferSize - ( int size ) - - - setBlueBufferSize - setBlueBufferSize - ( int size ) - - - setDefaultFormat - setDefaultFormat - ( const QGLFormat & f ) - - - setDefaultOverlayFormat - setDefaultOverlayFormat - ( const QGLFormat & f ) - - - setDepth - setDepth - ( bool enable ) - - - setDepthBufferSize - setDepthBufferSize - ( int size ) - - - setDirectRendering - setDirectRendering - ( bool enable ) - - - setDoubleBuffer - setDoubleBuffer - ( bool enable ) - - - setGreenBufferSize - setGreenBufferSize - ( int size ) - - - setOption - setOption - ( QGL::FormatOptions opt ) - - - setOverlay - setOverlay - ( bool enable ) - - - setPlane - setPlane - ( int plane ) - - - setRedBufferSize - setRedBufferSize - ( int size ) - - - setRgba - setRgba - ( bool enable ) - - - setSampleBuffers - setSampleBuffers - ( bool enable ) - - - setSamples - setSamples - ( int numSamples ) - - - setStencil - setStencil - ( bool enable ) - - - setStencilBufferSize - setStencilBufferSize - ( int size ) - - - setStereo - setStereo - ( bool enable ) - - - setSwapInterval - setSwapInterval - ( int interval ) - - - stencil - stencil - () - - - stencilBufferSize - stencilBufferSize - () - - - stereo - stereo - () - - - swapInterval - swapInterval - () - - - testOption - testOption - ( QGL::FormatOptions opt ) - - - operator= - operator-eq - ( const QGLFormat & other ) - - - - QGLFramebufferObject - qglframebufferobject.html - - Attachment - Attachment-enum - - - - QGLFramebufferObject - QGLFramebufferObject - ( const QSize & size, GLenum target = GL_TEXTURE_2D ) - - - QGLFramebufferObject - QGLFramebufferObject-2 - ( int width, int height, GLenum target = GL_TEXTURE_2D ) - - - QGLFramebufferObject - QGLFramebufferObject-3 - ( int width, int height, Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internal_format = GL_RGBA8 ) - - - QGLFramebufferObject - QGLFramebufferObject-4 - ( const QSize & size, Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internal_format = GL_RGBA8 ) - - - attachment - attachment - () - - - bind - bind - () - - - handle - handle - () - - - hasOpenGLFramebufferObjects - hasOpenGLFramebufferObjects - () - - - isValid - isValid - () - - - release - release - () - - - size - size - () - - - texture - texture - () - - - toImage - toImage - () - - - - QGLPixelBuffer - qglpixelbuffer.html - - QGLPixelBuffer - QGLPixelBuffer - ( const QSize & size, const QGLFormat & format = QGLFormat::defaultFormat() - - - QGLPixelBuffer - QGLPixelBuffer-2 - ( int width, int height, const QGLFormat & format = QGLFormat::defaultFormat() - - - bindTexture - bindTexture - ( const QImage & image, GLenum target = GL_TEXTURE_2D ) - - - bindTexture - bindTexture-2 - ( const QPixmap & pixmap, GLenum target = GL_TEXTURE_2D ) - - - bindTexture - bindTexture-3 - ( const QString & fileName ) - - - bindToDynamicTexture - bindToDynamicTexture - ( GLuint texture_id ) - - - deleteTexture - deleteTexture - ( GLuint texture_id ) - - - doneCurrent - doneCurrent - () - - - format - format - () - - - generateDynamicTexture - generateDynamicTexture - () - - - HANDLE - handle - QGLPixelBuffer::handle() - - - hasOpenGLPbuffers - hasOpenGLPbuffers - () - - - isValid - isValid - () - - - makeCurrent - makeCurrent - () - - - releaseFromDynamicTexture - releaseFromDynamicTexture - () - - - size - size - () - - - toImage - toImage - () - - - updateDynamicTexture - updateDynamicTexture - ( GLuint texture_id ) - - - fontDisplayListBase - fontDisplayListBase - ( const QFont & font, int listBase = 2000 ) - - - setFormat - setFormat - ( const QGLFormat & format ) - - - QGLWidget - QGLWidget-4 - ( QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-5 - ( const QGLFormat & format, QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-6 - ( QGLContext * context, QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - - QGLWidget - qglwidget.html - - QGLWidget - QGLWidget - ( QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-2 - ( QGLContext * context, QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-3 - ( const QGLFormat & format, QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - autoBufferSwap - autoBufferSwap - () - - - bindTexture - bindTexture - ( const QImage & image, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA ) - - - bindTexture - bindTexture-2 - ( const QPixmap & pixmap, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA ) - - - bindTexture - bindTexture-3 - ( const QString & fileName ) - - - colormap - colormap - () - - - context - context - () - - - convertToGLFormat - convertToGLFormat - ( const QImage & img ) - - - deleteTexture - deleteTexture - ( GLuint id ) - - - doneCurrent - doneCurrent - () - - - doubleBuffer - doubleBuffer - () - - - format - format - () - - - glDraw - glDraw - () - - - glInit - glInit - () - - - grabFrameBuffer - grabFrameBuffer - ( bool withAlpha = false ) - - - initializeGL - initializeGL - () - - - initializeOverlayGL - initializeOverlayGL - () - - - isSharing - isSharing - () - - - isValid - isValid - () - - - makeCurrent - makeCurrent - () - - - makeOverlayCurrent - makeOverlayCurrent - () - - - overlayContext - overlayContext - () - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - paintGL - paintGL - () - - - paintOverlayGL - paintOverlayGL - () - - - qglClearColor - qglClearColor - ( const QColor & c ) - - - qglColor - qglColor - ( const QColor & c ) - - - renderPixmap - renderPixmap - ( int w = 0, int h = 0, bool useContext = false ) - - - renderText - renderText - ( int x, int y, const QString & str, const QFont & font = QFont() - - - renderText - renderText-2 - ( double x, double y, double z, const QString & str, const QFont & font = QFont() - - - resizeEvent - resizeEvent - ( QResizeEvent * event ) - - - resizeGL - resizeGL - ( int width, int height ) - - - resizeOverlayGL - resizeOverlayGL - ( int width, int height ) - - - setAutoBufferSwap - setAutoBufferSwap - ( bool on ) - - - setColormap - setColormap - ( const QGLColormap & cmap ) - - - setMouseTracking - setMouseTracking - ( bool enable ) - - - swapBuffers - swapBuffers - () - - - updateGL - updateGL - () - - - updateOverlayGL - updateOverlayGL - () - - - QGLWidget - QGLWidget-4 - ( QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-5 - ( const QGLFormat & format, QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - QGLWidget - QGLWidget-6 - ( QGLContext * context, QWidget * parent, const char * name, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 ) - - - - QGradient - qgradient.html - - Spread - Spread-enum - - - - Type - Type-enum - - - - setColorAt - setColorAt - ( qreal position, const QColor & color ) - - - setSpread - setSpread - ( Spread method ) - - - setStops - setStops - ( const QGradientStops & stopPoints ) - - - spread - spread - () - - - stops - stops - () - - - type - type - () - - - operator!= - operator-not-eq - ( const QGradient & gradient ) - - - operator== - operator-eq-eq - ( const QGradient & gradient ) - - - - QGraphicsEllipseItem - qgraphicsellipseitem.html - - QGraphicsEllipseItem - QGraphicsEllipseItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsEllipseItem - QGraphicsEllipseItem-2 - ( const QRectF & rect, QGraphicsItem * parent = 0 ) - - - QGraphicsEllipseItem - QGraphicsEllipseItem-3 - ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 ) - - - rect - rect - () - - - setRect - setRect - ( const QRectF & rect ) - - - setRect - setRect-2 - ( qreal x, qreal y, qreal width, qreal height ) - - - setSpanAngle - setSpanAngle - ( int angle ) - - - setStartAngle - setStartAngle - ( int angle ) - - - spanAngle - spanAngle - () - - - startAngle - startAngle - () - - - matrix - matrix - () - - - resetMatrix - resetMatrix - () - - - sceneMatrix - sceneMatrix - () - - - setMatrix - setMatrix - ( const QMatrix & matrix, bool combine = false ) - - - - QGraphicsItem - qgraphicsitem.html - - GraphicsItemChange - GraphicsItemChange-enum - - - - QGraphicsItem - QGraphicsItem - ( QGraphicsItem * parent = 0 ) - - - acceptDrops - acceptDrops - () - - - MouseButtons - acceptedMouseButtons - QGraphicsItem::acceptedMouseButtons() - - - acceptsHoverEvents - acceptsHoverEvents - () - - - advance - advance - ( int phase ) - - - boundingRect - boundingRect - () - - - children - children - () - - - childrenBoundingRect - childrenBoundingRect - () - - - clearFocus - clearFocus - () - - - collidesWithItem - collidesWithItem - ( const QGraphicsItem * other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - collidesWithPath - collidesWithPath - ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - collidingItems - collidingItems - ( Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - contains - contains - ( const QPointF & point ) - - - contextMenuEvent - contextMenuEvent - ( QGraphicsSceneContextMenuEvent * event ) - - - cursor - cursor - () - - - data - data - ( int key ) - - - deviceTransform - deviceTransform - ( const QTransform & viewportTransform ) - - - dragEnterEvent - dragEnterEvent - ( QGraphicsSceneDragDropEvent * event ) - - - dragLeaveEvent - dragLeaveEvent - ( QGraphicsSceneDragDropEvent * event ) - - - dragMoveEvent - dragMoveEvent - ( QGraphicsSceneDragDropEvent * event ) - - - dropEvent - dropEvent - ( QGraphicsSceneDragDropEvent * event ) - - - ensureVisible - ensureVisible - ( const QRectF & rect = QRectF() - - - ensureVisible - ensureVisible-2 - ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - - - flags - flags - () - - - focusInEvent - focusInEvent - ( QFocusEvent * event ) - - - focusOutEvent - focusOutEvent - ( QFocusEvent * event ) - - - group - group - () - - - handlesChildEvents - handlesChildEvents - () - - - hasCursor - hasCursor - () - - - hasFocus - hasFocus - () - - - hide - hide - () - - - hoverEnterEvent - hoverEnterEvent - ( QGraphicsSceneHoverEvent * event ) - - - hoverLeaveEvent - hoverLeaveEvent - ( QGraphicsSceneHoverEvent * event ) - - - hoverMoveEvent - hoverMoveEvent - ( QGraphicsSceneHoverEvent * event ) - - - inputMethodEvent - inputMethodEvent - ( QInputMethodEvent * event ) - - - inputMethodQuery - inputMethodQuery - ( Qt::InputMethodQuery query ) - - - installSceneEventFilter - installSceneEventFilter - ( QGraphicsItem * filterItem ) - - - isAncestorOf - isAncestorOf - ( const QGraphicsItem * child ) - - - isEnabled - isEnabled - () - - - isObscured - isObscured - () - - - isObscured - isObscured-2 - ( qreal x, qreal y, qreal w, qreal h ) - - - isObscured - isObscured-3 - ( const QRectF & rect ) - - - isObscuredBy - isObscuredBy - ( const QGraphicsItem * item ) - - - isSelected - isSelected - () - - - isVisible - isVisible - () - - - itemChange - itemChange - ( GraphicsItemChange change, const QVariant & value ) - - - keyPressEvent - keyPressEvent - ( QKeyEvent * event ) - - - keyReleaseEvent - keyReleaseEvent - ( QKeyEvent * event ) - - - mapFromItem - mapFromItem - ( const QGraphicsItem * item, const QPointF & point ) - - - mapFromItem - mapFromItem-2 - ( const QGraphicsItem * item, const QRectF & rect ) - - - mapFromItem - mapFromItem-3 - ( const QGraphicsItem * item, const QPolygonF & polygon ) - - - mapFromItem - mapFromItem-4 - ( const QGraphicsItem * item, const QPainterPath & path ) - - - mapFromItem - mapFromItem-5 - ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) - - - mapFromItem - mapFromItem-6 - ( const QGraphicsItem * item, qreal x, qreal y ) - - - mapFromParent - mapFromParent - ( const QPointF & point ) - - - mapFromParent - mapFromParent-2 - ( const QRectF & rect ) - - - mapFromParent - mapFromParent-3 - ( const QPolygonF & polygon ) - - - mapFromParent - mapFromParent-4 - ( const QPainterPath & path ) - - - mapFromParent - mapFromParent-5 - ( qreal x, qreal y, qreal w, qreal h ) - - - mapFromParent - mapFromParent-6 - ( qreal x, qreal y ) - - - mapFromScene - mapFromScene - ( const QPointF & point ) - - - mapFromScene - mapFromScene-2 - ( const QRectF & rect ) - - - mapFromScene - mapFromScene-3 - ( const QPolygonF & polygon ) - - - mapFromScene - mapFromScene-4 - ( const QPainterPath & path ) - - - mapFromScene - mapFromScene-5 - ( qreal x, qreal y, qreal w, qreal h ) - - - mapFromScene - mapFromScene-6 - ( qreal x, qreal y ) - - - mapToItem - mapToItem - ( const QGraphicsItem * item, const QPointF & point ) - - - mapToItem - mapToItem-2 - ( const QGraphicsItem * item, const QRectF & rect ) - - - mapToItem - mapToItem-3 - ( const QGraphicsItem * item, const QPolygonF & polygon ) - - - mapToItem - mapToItem-4 - ( const QGraphicsItem * item, const QPainterPath & path ) - - - mapToItem - mapToItem-5 - ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) - - - mapToItem - mapToItem-6 - ( const QGraphicsItem * item, qreal x, qreal y ) - - - mapToParent - mapToParent - ( const QPointF & point ) - - - mapToParent - mapToParent-2 - ( const QRectF & rect ) - - - mapToParent - mapToParent-3 - ( const QPolygonF & polygon ) - - - mapToParent - mapToParent-4 - ( const QPainterPath & path ) - - - mapToParent - mapToParent-5 - ( qreal x, qreal y, qreal w, qreal h ) - - - mapToParent - mapToParent-6 - ( qreal x, qreal y ) - - - mapToScene - mapToScene - ( const QPointF & point ) - - - mapToScene - mapToScene-2 - ( const QRectF & rect ) - - - mapToScene - mapToScene-3 - ( const QPolygonF & polygon ) - - - mapToScene - mapToScene-4 - ( const QPainterPath & path ) - - - mapToScene - mapToScene-5 - ( qreal x, qreal y, qreal w, qreal h ) - - - mapToScene - mapToScene-6 - ( qreal x, qreal y ) - - - mouseDoubleClickEvent - mouseDoubleClickEvent - ( QGraphicsSceneMouseEvent * event ) - - - mouseMoveEvent - mouseMoveEvent - ( QGraphicsSceneMouseEvent * event ) - - - mousePressEvent - mousePressEvent - ( QGraphicsSceneMouseEvent * event ) - - - mouseReleaseEvent - mouseReleaseEvent - ( QGraphicsSceneMouseEvent * event ) - - - moveBy - moveBy - ( qreal dx, qreal dy ) - - - opaqueArea - opaqueArea - () - - - paint - paint - ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) - - - parentItem - parentItem - () - - - pos - pos - () - - - prepareGeometryChange - prepareGeometryChange - () - - - removeSceneEventFilter - removeSceneEventFilter - ( QGraphicsItem * filterItem ) - - - resetTransform - resetTransform - () - - - rotate - rotate - ( qreal angle ) - - - scale - scale - ( qreal sx, qreal sy ) - - - scene - scene - () - - - sceneBoundingRect - sceneBoundingRect - () - - - sceneEvent - sceneEvent - ( QEvent * event ) - - - sceneEventFilter - sceneEventFilter - ( QGraphicsItem * watched, QEvent * event ) - - - scenePos - scenePos - () - - - sceneTransform - sceneTransform - () - - - setAcceptDrops - setAcceptDrops - ( bool on ) - - - setAcceptedMouseButtons - setAcceptedMouseButtons - ( Qt::MouseButtons buttons ) - - - setAcceptsHoverEvents - setAcceptsHoverEvents - ( bool enabled ) - - - setCursor - setCursor - ( const QCursor & cursor ) - - - setData - setData - ( int key, const QVariant & value ) - - - setEnabled - setEnabled - ( bool enabled ) - - - setFlag - setFlag - ( GraphicsItemFlag flag, bool enabled = true ) - - - setFlags - setFlags - ( GraphicsItemFlags flags ) - - - setFocus - setFocus - ( Qt::FocusReason focusReason = Qt::OtherFocusReason ) - - - setGroup - setGroup - ( QGraphicsItemGroup * group ) - - - setHandlesChildEvents - setHandlesChildEvents - ( bool enabled ) - - - setParentItem - setParentItem - ( QGraphicsItem * parent ) - - - setPos - setPos - ( const QPointF & pos ) - - - setPos - setPos-2 - ( qreal x, qreal y ) - - - setSelected - setSelected - ( bool selected ) - - - setToolTip - setToolTip - ( const QString & toolTip ) - - - setTransform - setTransform - ( const QTransform & matrix, bool combine = false ) - - - setVisible - setVisible - ( bool visible ) - - - setZValue - setZValue - ( qreal z ) - - - shape - shape - () - - - shear - shear - ( qreal sh, qreal sv ) - - - show - show - () - - - toolTip - toolTip - () - - - topLevelItem - topLevelItem - () - - - transform - transform - () - - - translate - translate - ( qreal dx, qreal dy ) - - - type - type - () - - - unsetCursor - unsetCursor - () - - - update - update - ( const QRectF & rect = QRectF() - - - update - update-2 - ( qreal x, qreal y, qreal width, qreal height ) - - - wheelEvent - wheelEvent - ( QGraphicsSceneWheelEvent * event ) - - - x - x - () - - - y - y - () - - - zValue - zValue - () - - - UserType - UserType-var - - - - - QGraphicsItemAnimation - qgraphicsitemanimation.html - - QGraphicsItemAnimation - QGraphicsItemAnimation - ( QObject * parent = 0 ) - - - afterAnimationStep - afterAnimationStep - ( qreal step ) - - - beforeAnimationStep - beforeAnimationStep - ( qreal step ) - - - clear - clear - () - - - horizontalScaleAt - horizontalScaleAt - ( qreal step ) - - - horizontalShearAt - horizontalShearAt - ( qreal step ) - - - item - item - () - - - matrixAt - matrixAt - ( qreal step ) - - - posAt - posAt - ( qreal step ) - - - posList - posList - () - - - reset - reset - () - - - rotationAt - rotationAt - ( qreal step ) - - - rotationList - rotationList - () - - - scaleList - scaleList - () - - - setItem - setItem - ( QGraphicsItem * item ) - - - setPosAt - setPosAt - ( qreal step, const QPointF & point ) - - - setRotationAt - setRotationAt - ( qreal step, qreal angle ) - - - setScaleAt - setScaleAt - ( qreal step, qreal sx, qreal sy ) - - - setShearAt - setShearAt - ( qreal step, qreal sh, qreal sv ) - - - setStep - setStep - ( qreal step ) - - - setTimeLine - setTimeLine - ( QTimeLine * timeLine ) - - - setTranslationAt - setTranslationAt - ( qreal step, qreal dx, qreal dy ) - - - shearList - shearList - () - - - timeLine - timeLine - () - - - translationList - translationList - () - - - verticalScaleAt - verticalScaleAt - ( qreal step ) - - - verticalShearAt - verticalShearAt - ( qreal step ) - - - xTranslationAt - xTranslationAt - ( qreal step ) - - - yTranslationAt - yTranslationAt - ( qreal step ) - - - - QGraphicsItemGroup - qgraphicsitemgroup.html - - QGraphicsItemGroup - QGraphicsItemGroup - ( QGraphicsItem * parent = 0 ) - - - addToGroup - addToGroup - ( QGraphicsItem * item ) - - - removeFromGroup - removeFromGroup - ( QGraphicsItem * item ) - - - - QGraphicsLineItem - qgraphicslineitem.html - - QGraphicsLineItem - QGraphicsLineItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsLineItem - QGraphicsLineItem-2 - ( const QLineF & line, QGraphicsItem * parent = 0 ) - - - QGraphicsLineItem - QGraphicsLineItem-3 - ( qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent = 0 ) - - - line - line - () - - - pen - pen - () - - - setLine - setLine - ( const QLineF & line ) - - - setLine - setLine-2 - ( qreal x1, qreal y1, qreal x2, qreal y2 ) - - - setPen - setPen - ( const QPen & pen ) - - - - QGraphicsPathItem - qgraphicspathitem.html - - QGraphicsPathItem - QGraphicsPathItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsPathItem - QGraphicsPathItem-2 - ( const QPainterPath & path, QGraphicsItem * parent = 0 ) - - - path - path - () - - - setPath - setPath - ( const QPainterPath & path ) - - - - QGraphicsPixmapItem - qgraphicspixmapitem.html - - ShapeMode - ShapeMode-enum - - - - QGraphicsPixmapItem - QGraphicsPixmapItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsPixmapItem - QGraphicsPixmapItem-2 - ( const QPixmap & pixmap, QGraphicsItem * parent = 0 ) - - - offset - offset - () - - - pixmap - pixmap - () - - - setOffset - setOffset - ( const QPointF & offset ) - - - setOffset - setOffset-2 - ( qreal x, qreal y ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - setShapeMode - setShapeMode - ( ShapeMode mode ) - - - setTransformationMode - setTransformationMode - ( Qt::TransformationMode mode ) - - - shapeMode - shapeMode - () - - - TransformationMode - transformationMode - QGraphicsPixmapItem::transformationMode() - - - - QGraphicsPolygonItem - qgraphicspolygonitem.html - - QGraphicsPolygonItem - QGraphicsPolygonItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsPolygonItem - QGraphicsPolygonItem-2 - ( const QPolygonF & polygon, QGraphicsItem * parent = 0 ) - - - FillRule - fillRule - QGraphicsPolygonItem::fillRule() - - - polygon - polygon - () - - - setFillRule - setFillRule - ( Qt::FillRule rule ) - - - setPolygon - setPolygon - ( const QPolygonF & polygon ) - - - - QGraphicsRectItem - qgraphicsrectitem.html - - QGraphicsRectItem - QGraphicsRectItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsRectItem - QGraphicsRectItem-2 - ( const QRectF & rect, QGraphicsItem * parent = 0 ) - - - QGraphicsRectItem - QGraphicsRectItem-3 - ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 ) - - - rect - rect - () - - - setRect - setRect - ( const QRectF & rectangle ) - - - setRect - setRect-2 - ( qreal x, qreal y, qreal width, qreal height ) - - - - QGraphicsScene - qgraphicsscene.html - - ItemIndexMethod - ItemIndexMethod-enum - - - - QGraphicsScene - QGraphicsScene - ( QObject * parent = 0 ) - - - QGraphicsScene - QGraphicsScene-2 - ( const QRectF & sceneRect, QObject * parent = 0 ) - - - QGraphicsScene - QGraphicsScene-3 - ( qreal x, qreal y, qreal width, qreal height, QObject * parent = 0 ) - - - addEllipse - addEllipse - ( const QRectF & rect, const QPen & pen = QPen() - - - addEllipse - addEllipse-2 - ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen() - - - addItem - addItem - ( QGraphicsItem * item ) - - - addLine - addLine - ( const QLineF & line, const QPen & pen = QPen() - - - addLine - addLine-2 - ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() - - - addPath - addPath - ( const QPainterPath & path, const QPen & pen = QPen() - - - addPixmap - addPixmap - ( const QPixmap & pixmap ) - - - addPolygon - addPolygon - ( const QPolygonF & polygon, const QPen & pen = QPen() - - - addRect - addRect - ( const QRectF & rect, const QPen & pen = QPen() - - - addRect - addRect-2 - ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen() - - - addSimpleText - addSimpleText - ( const QString & text, const QFont & font = QFont() - - - addText - addText - ( const QString & text, const QFont & font = QFont() - - - advance - advance - () - - - changed - changed - ( const QList<QRectF> & region ) - - - clearFocus - clearFocus - () - - - clearSelection - clearSelection - () - - - collidingItems - collidingItems - ( const QGraphicsItem * item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - contextMenuEvent - contextMenuEvent - ( QGraphicsSceneContextMenuEvent * contextMenuEvent ) - - - createItemGroup - createItemGroup - ( const QList<QGraphicsItem *> & items ) - - - destroyItemGroup - destroyItemGroup - ( QGraphicsItemGroup * group ) - - - dragEnterEvent - dragEnterEvent - ( QGraphicsSceneDragDropEvent * event ) - - - dragLeaveEvent - dragLeaveEvent - ( QGraphicsSceneDragDropEvent * event ) - - - dragMoveEvent - dragMoveEvent - ( QGraphicsSceneDragDropEvent * event ) - - - drawBackground - drawBackground - ( QPainter * painter, const QRectF & rect ) - - - drawForeground - drawForeground - ( QPainter * painter, const QRectF & rect ) - - - drawItems - drawItems - ( QPainter * painter, int numItems, QGraphicsItem *[] items, const QStyleOptionGraphicsItem[] options, QWidget * widget = 0 ) - - - dropEvent - dropEvent - ( QGraphicsSceneDragDropEvent * event ) - - - event - event - ( QEvent * event ) - - - focusInEvent - focusInEvent - ( QFocusEvent * focusEvent ) - - - focusItem - focusItem - () - - - focusOutEvent - focusOutEvent - ( QFocusEvent * focusEvent ) - - - hasFocus - hasFocus - () - - - height - height - () - - - helpEvent - helpEvent - ( QGraphicsSceneHelpEvent * helpEvent ) - - - inputMethodEvent - inputMethodEvent - ( QInputMethodEvent * event ) - - - inputMethodQuery - inputMethodQuery - ( Qt::InputMethodQuery query ) - - - invalidate - invalidate - ( qreal x, qreal y, qreal w, qreal h, SceneLayers layers = AllLayers ) - - - invalidate - invalidate-2 - ( const QRectF & rect = QRectF() - - - itemAt - itemAt - ( const QPointF & position ) - - - itemAt - itemAt-2 - ( qreal x, qreal y ) - - - items - items - () - - - items - items-2 - ( const QPointF & pos ) - - - items - items-3 - ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-4 - ( const QRectF & rectangle, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-5 - ( const QPolygonF & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-6 - ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - itemsBoundingRect - itemsBoundingRect - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * keyEvent ) - - - keyReleaseEvent - keyReleaseEvent - ( QKeyEvent * keyEvent ) - - - mouseDoubleClickEvent - mouseDoubleClickEvent - ( QGraphicsSceneMouseEvent * mouseEvent ) - - - mouseGrabberItem - mouseGrabberItem - () - - - mouseMoveEvent - mouseMoveEvent - ( QGraphicsSceneMouseEvent * mouseEvent ) - - - mousePressEvent - mousePressEvent - ( QGraphicsSceneMouseEvent * mouseEvent ) - - - mouseReleaseEvent - mouseReleaseEvent - ( QGraphicsSceneMouseEvent * mouseEvent ) - - - removeItem - removeItem - ( QGraphicsItem * item ) - - - render - render - ( QPainter * painter, const QRectF & target = QRectF() - - - sceneRectChanged - sceneRectChanged - ( const QRectF & rect ) - - - selectedItems - selectedItems - () - - - selectionArea - selectionArea - () - - - selectionChanged - selectionChanged - () - - - setFocus - setFocus - ( Qt::FocusReason focusReason = Qt::OtherFocusReason ) - - - setFocusItem - setFocusItem - ( QGraphicsItem * item, Qt::FocusReason focusReason = Qt::OtherFocusReason ) - - - setSelectionArea - setSelectionArea - ( const QPainterPath & path ) - - - setSelectionArea - setSelectionArea-2 - ( const QPainterPath & path, Qt::ItemSelectionMode mode ) - - - update - update - ( qreal x, qreal y, qreal w, qreal h ) - - - update - update-2 - ( const QRectF & rect = QRectF() - - - views - views - () - - - wheelEvent - wheelEvent - ( QGraphicsSceneWheelEvent * wheelEvent ) - - - width - width - () - - - - QGraphicsSceneContextMenuEvent - qgraphicsscenecontextmenuevent.html - - Reason - Reason-enum - - - - KeyboardModifiers - modifiers - QGraphicsSceneContextMenuEvent::modifiers() - - - pos - pos - () - - - reason - reason - () - - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - - QGraphicsSceneDragDropEvent - qgraphicsscenedragdropevent.html - - acceptProposedAction - acceptProposedAction - () - - - MouseButtons - buttons - QGraphicsSceneDragDropEvent::buttons() - - - DropAction - dropAction - QGraphicsSceneDragDropEvent::dropAction() - - - mimeData - mimeData - () - - - KeyboardModifiers - modifiers - QGraphicsSceneDragDropEvent::modifiers() - - - pos - pos - () - - - DropActions - possibleActions - QGraphicsSceneDragDropEvent::possibleActions() - - - DropAction - proposedAction - QGraphicsSceneDragDropEvent::proposedAction() - - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - setDropAction - setDropAction - ( Qt::DropAction action ) - - - source - source - () - - - - QGraphicsSceneEvent - qgraphicssceneevent.html - - widget - widget - () - - - - QGraphicsSceneHelpEvent - qgraphicsscenehelpevent.html - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - - QGraphicsSceneHoverEvent - qgraphicsscenehoverevent.html - - pos - pos - () - - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - - QGraphicsSceneMouseEvent - qgraphicsscenemouseevent.html - - MouseButton - button - QGraphicsSceneMouseEvent::button() - - - buttonDownPos - buttonDownPos - ( Qt::MouseButton button ) - - - buttonDownScenePos - buttonDownScenePos - ( Qt::MouseButton button ) - - - buttonDownScreenPos - buttonDownScreenPos - ( Qt::MouseButton button ) - - - MouseButtons - buttons - QGraphicsSceneMouseEvent::buttons() - - - lastPos - lastPos - () - - - lastScenePos - lastScenePos - () - - - lastScreenPos - lastScreenPos - () - - - KeyboardModifiers - modifiers - QGraphicsSceneMouseEvent::modifiers() - - - pos - pos - () - - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - - QGraphicsSceneWheelEvent - qgraphicsscenewheelevent.html - - MouseButtons - buttons - QGraphicsSceneWheelEvent::buttons() - - - delta - delta - () - - - KeyboardModifiers - modifiers - QGraphicsSceneWheelEvent::modifiers() - - - Orientation - orientation - QGraphicsSceneWheelEvent::orientation() - - - pos - pos - () - - - scenePos - scenePos - () - - - screenPos - screenPos - () - - - - QGraphicsSimpleTextItem - qgraphicssimpletextitem.html - - QGraphicsSimpleTextItem - QGraphicsSimpleTextItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsSimpleTextItem - QGraphicsSimpleTextItem-2 - ( const QString & text, QGraphicsItem * parent = 0 ) - - - font - font - () - - - setFont - setFont - ( const QFont & font ) - - - setText - setText - ( const QString & text ) - - - text - text - () - - - - QGraphicsSvgItem - qgraphicssvgitem.html - - QGraphicsSvgItem - QGraphicsSvgItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsSvgItem - QGraphicsSvgItem-2 - ( const QString & fileName, QGraphicsItem * parent = 0 ) - - - boundingRect - boundingRect - () - - - elementId - elementId - () - - - isCachingEnabled - isCachingEnabled - () - - - maximumCacheSize - maximumCacheSize - () - - - renderer - renderer - () - - - setCachingEnabled - setCachingEnabled - ( bool caching ) - - - setElementId - setElementId - ( const QString & id ) - - - setMaximumCacheSize - setMaximumCacheSize - ( const QSize & size ) - - - setSharedRenderer - setSharedRenderer - ( QSvgRenderer * renderer ) - - - - QGraphicsTextItem - qgraphicstextitem.html - - QGraphicsTextItem - QGraphicsTextItem - ( QGraphicsItem * parent = 0 ) - - - QGraphicsTextItem - QGraphicsTextItem-2 - ( const QString & text, QGraphicsItem * parent = 0 ) - - - adjustSize - adjustSize - () - - - defaultTextColor - defaultTextColor - () - - - document - document - () - - - font - font - () - - - linkActivated - linkActivated - ( const QString & link ) - - - linkHovered - linkHovered - ( const QString & link ) - - - setDefaultTextColor - setDefaultTextColor - ( const QColor & col ) - - - setDocument - setDocument - ( QTextDocument * document ) - - - setFont - setFont - ( const QFont & font ) - - - setHtml - setHtml - ( const QString & text ) - - - setPlainText - setPlainText - ( const QString & text ) - - - setTextInteractionFlags - setTextInteractionFlags - ( Qt::TextInteractionFlags flags ) - - - setTextWidth - setTextWidth - ( qreal width ) - - - TextInteractionFlags - textInteractionFlags - QGraphicsTextItem::textInteractionFlags() - - - textWidth - textWidth - () - - - toHtml - toHtml - () - - - toPlainText - toPlainText - () - - - - QGraphicsView - qgraphicsview.html - - DragMode - DragMode-enum - - - - ViewportAnchor - ViewportAnchor-enum - - - - ViewportUpdateMode - ViewportUpdateMode-enum - - - - Alignment - alignment-prop - - - - RenderHints - renderHints-prop - - - - ItemSelectionMode - rubberBandSelectionMode-prop - - - - QGraphicsView - QGraphicsView - ( QWidget * parent = 0 ) - - - QGraphicsView - QGraphicsView-2 - ( QGraphicsScene * scene, QWidget * parent = 0 ) - - - centerOn - centerOn - ( const QPointF & pos ) - - - centerOn - centerOn-2 - ( qreal x, qreal y ) - - - centerOn - centerOn-3 - ( const QGraphicsItem * item ) - - - drawBackground - drawBackground - ( QPainter * painter, const QRectF & rect ) - - - drawForeground - drawForeground - ( QPainter * painter, const QRectF & rect ) - - - drawItems - drawItems - ( QPainter * painter, int numItems, QGraphicsItem *[] items, const QStyleOptionGraphicsItem[] options ) - - - ensureVisible - ensureVisible - ( const QRectF & rect, int xmargin = 50, int ymargin = 50 ) - - - ensureVisible - ensureVisible-2 - ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 ) - - - ensureVisible - ensureVisible-3 - ( const QGraphicsItem * item, int xmargin = 50, int ymargin = 50 ) - - - fitInView - fitInView - ( const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - - - fitInView - fitInView-2 - ( qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - - - fitInView - fitInView-3 - ( const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio ) - - - invalidateScene - invalidateScene - ( const QRectF & rect = QRectF() - - - itemAt - itemAt - ( const QPoint & pos ) - - - itemAt - itemAt-2 - ( int x, int y ) - - - items - items - () - - - items - items-2 - ( const QPoint & pos ) - - - items - items-3 - ( int x, int y ) - - - items - items-4 - ( int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-5 - ( const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-6 - ( const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - items - items-7 - ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) - - - mapFromScene - mapFromScene - ( const QPointF & point ) - - - mapFromScene - mapFromScene-2 - ( const QRectF & rect ) - - - mapFromScene - mapFromScene-3 - ( const QPolygonF & polygon ) - - - mapFromScene - mapFromScene-4 - ( const QPainterPath & path ) - - - mapFromScene - mapFromScene-5 - ( qreal x, qreal y ) - - - mapFromScene - mapFromScene-6 - ( qreal x, qreal y, qreal w, qreal h ) - - - mapToScene - mapToScene - ( const QPoint & point ) - - - mapToScene - mapToScene-2 - ( const QRect & rect ) - - - mapToScene - mapToScene-3 - ( const QPolygon & polygon ) - - - mapToScene - mapToScene-4 - ( const QPainterPath & path ) - - - mapToScene - mapToScene-5 - ( int x, int y ) - - - mapToScene - mapToScene-6 - ( int x, int y, int w, int h ) - - - matrix - matrix - () - - - render - render - ( QPainter * painter, const QRectF & target = QRectF() - - - resetCachedContent - resetCachedContent - () - - - resetMatrix - resetMatrix - () - - - resetTransform - resetTransform - () - - - rotate - rotate - ( qreal angle ) - - - scale - scale - ( qreal sx, qreal sy ) - - - scene - scene - () - - - setMatrix - setMatrix - ( const QMatrix & matrix, bool combine = false ) - - - setOptimizationFlag - setOptimizationFlag - ( OptimizationFlag flag, bool enabled = true ) - - - setRenderHint - setRenderHint - ( QPainter::RenderHint hint, bool enabled = true ) - - - setScene - setScene - ( QGraphicsScene * scene ) - - - setTransform - setTransform - ( const QTransform & matrix, bool combine = false ) - - - setupViewport - setupViewport - ( QWidget * widget ) - - - shear - shear - ( qreal sh, qreal sv ) - - - transform - transform - () - - - translate - translate - ( qreal dx, qreal dy ) - - - updateScene - updateScene - ( const QList<QRectF> & rects ) - - - updateSceneRect - updateSceneRect - ( const QRectF & rect ) - - - viewportTransform - viewportTransform - () - - - QGridLayout - QGridLayout-3 - ( QWidget * parent, int nRows, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 ) - - - QGridLayout - QGridLayout-4 - ( int nRows, int nCols = 1, int spacing = -1, const char * name = 0 ) - - - QGridLayout - QGridLayout-5 - ( QLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 ) - - - addColSpacing - addColSpacing - ( int col, int minsize ) - - - addMultiCell - addMultiCell - ( QLayoutItem * l, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addMultiCellLayout - addMultiCellLayout - ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addMultiCellWidget - addMultiCellWidget - ( QWidget * widget, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addRowSpacing - addRowSpacing - ( int row, int minsize ) - - - cellGeometry - cellGeometry - ( int row, int column ) - - - colSpacing - colSpacing - ( int col ) - - - colStretch - colStretch - ( int col ) - - - expand - expand - ( int nRows, int nCols ) - - - findWidget - findWidget - ( QWidget * w, int * row, int * column ) - - - numCols - numCols - () - - - numRows - numRows - () - - - Corner - origin - QGridLayout::origin() - - - rowSpacing - rowSpacing - ( int row ) - - - setColSpacing - setColSpacing - ( int col, int minSize ) - - - setColStretch - setColStretch - ( int col, int stretch ) - - - setOrigin - setOrigin - ( Qt::Corner corner ) - - - setRowSpacing - setRowSpacing - ( int row, int minSize ) - - - - QGridLayout - qgridlayout.html - - QGridLayout - QGridLayout - ( QWidget * parent ) - - - QGridLayout - QGridLayout-2 - () - - - addItem - addItem - ( QLayoutItem * item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = 0 ) - - - addLayout - addLayout - ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 ) - - - addLayout - addLayout-2 - ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - - - addWidget - addWidget - ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 ) - - - addWidget - addWidget-2 - ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 ) - - - cellRect - cellRect - ( int row, int column ) - - - columnCount - columnCount - () - - - columnMinimumWidth - columnMinimumWidth - ( int column ) - - - columnStretch - columnStretch - ( int column ) - - - getItemPosition - getItemPosition - ( int index, int * row, int * column, int * rowSpan, int * columnSpan ) - - - Corner - originCorner - QGridLayout::originCorner() - - - rowCount - rowCount - () - - - rowMinimumHeight - rowMinimumHeight - ( int row ) - - - rowStretch - rowStretch - ( int row ) - - - setColumnMinimumWidth - setColumnMinimumWidth - ( int column, int minSize ) - - - setColumnStretch - setColumnStretch - ( int column, int stretch ) - - - setOriginCorner - setOriginCorner - ( Qt::Corner corner ) - - - setRowMinimumHeight - setRowMinimumHeight - ( int row, int minSize ) - - - setRowStretch - setRowStretch - ( int row, int stretch ) - - - setSpacing - setSpacing - ( int spacing ) - - - spacing - spacing - () - - - QGridLayout - QGridLayout-3 - ( QWidget * parent, int nRows, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 ) - - - QGridLayout - QGridLayout-4 - ( int nRows, int nCols = 1, int spacing = -1, const char * name = 0 ) - - - QGridLayout - QGridLayout-5 - ( QLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 ) - - - addColSpacing - addColSpacing - ( int col, int minsize ) - - - addMultiCell - addMultiCell - ( QLayoutItem * l, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addMultiCellLayout - addMultiCellLayout - ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addMultiCellWidget - addMultiCellWidget - ( QWidget * widget, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 ) - - - addRowSpacing - addRowSpacing - ( int row, int minsize ) - - - cellGeometry - cellGeometry - ( int row, int column ) - - - colSpacing - colSpacing - ( int col ) - - - colStretch - colStretch - ( int col ) - - - expand - expand - ( int nRows, int nCols ) - - - findWidget - findWidget - ( QWidget * w, int * row, int * column ) - - - numCols - numCols - () - - - numRows - numRows - () - - - Corner - origin - QGridLayout::origin() - - - rowSpacing - rowSpacing - ( int row ) - - - setColSpacing - setColSpacing - ( int col, int minSize ) - - - setColStretch - setColStretch - ( int col, int stretch ) - - - setOrigin - setOrigin - ( Qt::Corner corner ) - - - setRowSpacing - setRowSpacing - ( int row, int minSize ) - - - QGroupBox - QGroupBox-3 - ( QWidget * parent, const char * name ) - - - QGroupBox - QGroupBox-4 - ( const QString & title, QWidget * parent, const char * name ) - - - - QGroupBox - qgroupbox.html - - Alignment - alignment-prop - - - - QGroupBox - QGroupBox - ( QWidget * parent = 0 ) - - - QGroupBox - QGroupBox-2 - ( const QString & title, QWidget * parent = 0 ) - - - clicked - clicked - ( bool checked = false ) - - - initStyleOption - initStyleOption - ( QStyleOptionGroupBox * option ) - - - toggled - toggled - ( bool on ) - - - QGroupBox - QGroupBox-3 - ( QWidget * parent, const char * name ) - - - QGroupBox - QGroupBox-4 - ( const QString & title, QWidget * parent, const char * name ) - - - - QHash::const_iterator - qhash-const-iterator.html - - const_iterator - const_iterator - () - - - const_iterator - const_iterator-3 - ( const iterator & other ) - - - key - key - () - - - value - value - () - - - operator!= - operator-not-eq - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator== - operator-eq-eq - ( const const_iterator & other ) - - - - QHash::iterator - qhash-iterator.html - - iterator - iterator - () - - - key - key - () - - - value - value - () - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator!= - operator-not-eq-2 - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator== - operator-eq-eq - ( const iterator & other ) - - - operator== - operator-eq-eq-2 - ( const const_iterator & other ) - - - - QHash - qhash.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - difference_type - difference_type-typedef - - - - key_type - key_type-typedef - - - - mapped_type - mapped_type-typedef - - - - size_type - size_type-typedef - - - - QHash - QHash - () - - - QHash - QHash-2 - ( const QHash<Key, T> & other ) - - - begin - begin - () - - - begin - begin-2 - () - - - capacity - capacity - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constEnd - constEnd - () - - - constFind - constFind - ( const Key & key ) - - - contains - contains - ( const Key & key ) - - - count - count - ( const Key & key ) - - - count - count-2 - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - find - find - ( const Key & key ) - - - find - find-2 - ( const Key & key ) - - - insert - insert - ( const Key & key, const T & value ) - - - insertMulti - insertMulti - ( const Key & key, const T & value ) - - - isEmpty - isEmpty - () - - - key - key - ( const T & value ) - - - key - key-2 - ( const T & value, const Key & defaultKey ) - - - keys - keys - () - - - keys - keys-2 - ( const T & value ) - - - remove - remove - ( const Key & key ) - - - reserve - reserve - ( int size ) - - - size - size - () - - - squeeze - squeeze - () - - - take - take - ( const Key & key ) - - - uniqueKeys - uniqueKeys - () - - - unite - unite - ( const QHash<Key, T> & other ) - - - value - value - ( const Key & key ) - - - value - value-2 - ( const Key & key, const T & defaultValue ) - - - values - values - () - - - values - values-2 - ( const Key & key ) - - - operator!= - operator-not-eq - ( const QHash<Key, T> & other ) - - - operator= - operator-eq - ( const QHash<Key, T> & other ) - - - operator== - operator-eq-eq - ( const QHash<Key, T> & other ) - - - operator[] - operator-5b-5d - ( const Key & key ) - - - operator[] - operator-5b-5d-2 - ( const Key & key ) - - - - QHashIterator - qhashiterator.html - - QHashIterator - QHashIterator - ( const QHash<Key, T> & hash ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - key - key - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - operator= - operator-eq - ( const QHash<Key, T> & hash ) - - - QHBoxLayout - QHBoxLayout-3 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QHBoxLayout - QHBoxLayout-4 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QHBoxLayout - QHBoxLayout-5 - ( int spacing, const char * name = 0 ) - - - - QHBoxLayout - qhboxlayout.html - - QHBoxLayout - QHBoxLayout - () - - - QHBoxLayout - QHBoxLayout-2 - ( QWidget * parent ) - - - QHBoxLayout - QHBoxLayout-3 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QHBoxLayout - QHBoxLayout-4 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QHBoxLayout - QHBoxLayout-5 - ( int spacing, const char * name = 0 ) - - - - QHeaderView - qheaderview.html - - ResizeMode - ResizeMode-enum - - - - Alignment - defaultAlignment-prop - - - - QHeaderView - QHeaderView - ( Qt::Orientation orientation, QWidget * parent = 0 ) - - - count - count - () - - - geometriesChanged - geometriesChanged - () - - - headerDataChanged - headerDataChanged - ( Qt::Orientation orientation, int logicalFirst, int logicalLast ) - - - hiddenSectionCount - hiddenSectionCount - () - - - hideSection - hideSection - ( int logicalIndex ) - - - horizontalOffset - horizontalOffset - () - - - initStyleOption - initStyleOption - ( QStyleOptionHeader * option ) - - - isClickable - isClickable - () - - - isMovable - isMovable - () - - - isSectionHidden - isSectionHidden - ( int logicalIndex ) - - - length - length - () - - - logicalIndex - logicalIndex - ( int visualIndex ) - - - logicalIndexAt - logicalIndexAt - ( int position ) - - - logicalIndexAt - logicalIndexAt-2 - ( int x, int y ) - - - logicalIndexAt - logicalIndexAt-3 - ( const QPoint & pos ) - - - moveSection - moveSection - ( int from, int to ) - - - offset - offset - () - - - Orientation - orientation - QHeaderView::orientation() - - - paintSection - paintSection - ( QPainter * painter, const QRect & rect, int logicalIndex ) - - - resizeMode - resizeMode - ( int logicalIndex ) - - - resizeSection - resizeSection - ( int logicalIndex, int size ) - - - resizeSections - resizeSections - ( QHeaderView::ResizeMode mode ) - - - resizeSections - resizeSections-2 - () - - - restoreState - restoreState - ( const QByteArray & state ) - - - saveState - saveState - () - - - sectionAutoResize - sectionAutoResize - ( int logicalIndex, QHeaderView::ResizeMode mode ) - - - sectionClicked - sectionClicked - ( int logicalIndex ) - - - sectionCountChanged - sectionCountChanged - ( int oldCount, int newCount ) - - - sectionDoubleClicked - sectionDoubleClicked - ( int logicalIndex ) - - - sectionEntered - sectionEntered - ( int logicalIndex ) - - - sectionHandleDoubleClicked - sectionHandleDoubleClicked - ( int logicalIndex ) - - - sectionMoved - sectionMoved - ( int logicalIndex, int oldVisualIndex, int newVisualIndex ) - - - sectionPosition - sectionPosition - ( int logicalIndex ) - - - sectionPressed - sectionPressed - ( int logicalIndex ) - - - sectionResized - sectionResized - ( int logicalIndex, int oldSize, int newSize ) - - - sectionSize - sectionSize - ( int logicalIndex ) - - - sectionSizeFromContents - sectionSizeFromContents - ( int logicalIndex ) - - - sectionSizeHint - sectionSizeHint - ( int logicalIndex ) - - - sectionViewportPosition - sectionViewportPosition - ( int logicalIndex ) - - - sectionsAboutToBeRemoved - sectionsAboutToBeRemoved - ( const QModelIndex & parent, int logicalFirst, int logicalLast ) - - - sectionsHidden - sectionsHidden - () - - - sectionsInserted - sectionsInserted - ( const QModelIndex & parent, int logicalFirst, int logicalLast ) - - - sectionsMoved - sectionsMoved - () - - - setClickable - setClickable - ( bool clickable ) - - - setMovable - setMovable - ( bool movable ) - - - setOffset - setOffset - ( int offset ) - - - setOffsetToLastSection - setOffsetToLastSection - () - - - setOffsetToSectionPosition - setOffsetToSectionPosition - ( int visualIndex ) - - - setResizeMode - setResizeMode - ( ResizeMode mode ) - - - setResizeMode - setResizeMode-2 - ( int logicalIndex, ResizeMode mode ) - - - setSectionHidden - setSectionHidden - ( int logicalIndex, bool hide ) - - - setSortIndicator - setSortIndicator - ( int logicalIndex, Qt::SortOrder order ) - - - showSection - showSection - ( int logicalIndex ) - - - sizeHint - sizeHint - () - - - sortIndicatorChanged - sortIndicatorChanged - ( int logicalIndex, Qt::SortOrder order ) - - - SortOrder - sortIndicatorOrder - QHeaderView::sortIndicatorOrder() - - - sortIndicatorSection - sortIndicatorSection - () - - - stretchSectionCount - stretchSectionCount - () - - - swapSections - swapSections - ( int first, int second ) - - - verticalOffset - verticalOffset - () - - - visualIndex - visualIndex - ( int logicalIndex ) - - - visualIndexAt - visualIndexAt - ( int position ) - - - - QHelpEvent - qhelpevent.html - - QHelpEvent - QHelpEvent - ( Type type, const QPoint & pos, const QPoint & globalPos ) - - - globalPos - globalPos - () - - - globalX - globalX - () - - - globalY - globalY - () - - - pos - pos - () - - - x - x - () - - - y - y - () - - - - QHideEvent - qhideevent.html - - QHideEvent - QHideEvent - () - - - ip4Addr - ip4Addr - () - - - isIPv4Address - isIPv4Address - () - - - isIPv6Address - isIPv6Address - () - - - isIp4Addr - isIp4Addr - () - - - - QHostAddress - qhostaddress.html - - SpecialAddress - SpecialAddress-enum - - - - QHostAddress - QHostAddress - () - - - QHostAddress - QHostAddress-2 - ( quint32 ip4Addr ) - - - QHostAddress - QHostAddress-3 - ( quint8 * ip6Addr ) - - - QHostAddress - QHostAddress-4 - ( const Q_IPV6ADDR & ip6Addr ) - - - QHostAddress - QHostAddress-5 - ( const sockaddr * sockaddr ) - - - QHostAddress - QHostAddress-6 - ( const QString & address ) - - - QHostAddress - QHostAddress-7 - ( const QHostAddress & address ) - - - QHostAddress - QHostAddress-8 - ( SpecialAddress address ) - - - clear - clear - () - - - isNull - isNull - () - - - NetworkLayerProtocol - protocol - QHostAddress::protocol() - - - scopeId - scopeId - () - - - setAddress - setAddress - ( quint32 ip4Addr ) - - - setAddress - setAddress-2 - ( quint8 * ip6Addr ) - - - setAddress - setAddress-3 - ( const Q_IPV6ADDR & ip6Addr ) - - - setAddress - setAddress-4 - ( const QString & address ) - - - setAddress - setAddress-5 - ( const sockaddr * sockaddr ) - - - setScopeId - setScopeId - ( const QString & id ) - - - toIPv4Address - toIPv4Address - () - - - toIPv6Address - toIPv6Address - () - - - toString - toString - () - - - operator!= - operator-not-eq - ( const QHostAddress & other ) - - - operator!= - operator-not-eq-2 - ( SpecialAddress other ) - - - operator= - operator-eq - ( const QHostAddress & address ) - - - operator= - operator-eq-2 - ( const QString & address ) - - - operator== - operator-eq-eq - ( const QHostAddress & other ) - - - operator== - operator-eq-eq-2 - ( SpecialAddress other ) - - - ip4Addr - ip4Addr - () - - - isIPv4Address - isIPv4Address - () - - - isIPv6Address - isIPv6Address - () - - - isIp4Addr - isIp4Addr - () - - - - QHostInfo - qhostinfo.html - - HostInfoError - HostInfoError-enum - - - - QHostInfo - QHostInfo - ( int id = -1 ) - - - QHostInfo - QHostInfo-2 - ( const QHostInfo & other ) - - - abortHostLookup - abortHostLookup - ( int id ) - - - addresses - addresses - () - - - error - error - () - - - errorString - errorString - () - - - fromName - fromName - ( const QString & name ) - - - hostName - hostName - () - - - localHostName - localHostName - () - - - lookupHost - lookupHost - ( const QString & name, QObject * receiver, const char * member ) - - - lookupId - lookupId - () - - - setAddresses - setAddresses - ( const QList<QHostAddress> & addresses ) - - - setError - setError - ( HostInfoError error ) - - - setErrorString - setErrorString - ( const QString & str ) - - - setHostName - setHostName - ( const QString & hostName ) - - - setLookupId - setLookupId - ( int id ) - - - operator= - operator-eq - ( const QHostInfo & other ) - - - - QHoverEvent - qhoverevent.html - - QHoverEvent - QHoverEvent - ( Type type, const QPoint & pos, const QPoint & oldPos ) - - - oldPos - oldPos - () - - - pos - pos - () - - - closeConnection - closeConnection - () - - - readBlock - readBlock - ( char * data, quint64 maxlen ) - - - - QHttp - qhttp.html - - ConnectionMode - ConnectionMode-enum - - - - Error - Error-enum - - - - State - State-enum - - - - QHttp - QHttp - ( QObject * parent = 0 ) - - - QHttp - QHttp-2 - ( const QString & hostName, quint16 port = 80, QObject * parent = 0 ) - - - QHttp - QHttp-3 - ( const QString & hostName, ConnectionMode mode, quint16 port = 0, QObject * parent = 0 ) - - - abort - abort - () - - - authenticationRequired - authenticationRequired - ( const QString & hostname, quint16 port, QAuthenticator * authenticator ) - - - bytesAvailable - bytesAvailable - () - - - clearPendingRequests - clearPendingRequests - () - - - close - close - () - - - currentDestinationDevice - currentDestinationDevice - () - - - currentId - currentId - () - - - currentRequest - currentRequest - () - - - currentSourceDevice - currentSourceDevice - () - - - dataReadProgress - dataReadProgress - ( int done, int total ) - - - dataSendProgress - dataSendProgress - ( int done, int total ) - - - done - done - ( bool error ) - - - error - error - () - - - errorString - errorString - () - - - get - get - ( const QString & path, QIODevice * to = 0 ) - - - hasPendingRequests - hasPendingRequests - () - - - head - head - ( const QString & path ) - - - ignoreSslErrors - ignoreSslErrors - () - - - lastResponse - lastResponse - () - - - post - post - ( const QString & path, QIODevice * data, QIODevice * to = 0 ) - - - post - post-2 - ( const QString & path, const QByteArray & data, QIODevice * to = 0 ) - - - proxyAuthenticationRequired - proxyAuthenticationRequired - ( const QNetworkProxy & proxy, QAuthenticator * authenticator ) - - - read - read - ( char * data, qint64 maxlen ) - - - readAll - readAll - () - - - readyRead - readyRead - ( const QHttpResponseHeader & resp ) - - - request - request - ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 ) - - - request - request-2 - ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 ) - - - requestFinished - requestFinished - ( int id, bool error ) - - - requestStarted - requestStarted - ( int id ) - - - responseHeaderReceived - responseHeaderReceived - ( const QHttpResponseHeader & resp ) - - - setHost - setHost - ( const QString & hostName, quint16 port = 80 ) - - - setHost - setHost-2 - ( const QString & hostName, ConnectionMode mode, quint16 port = 0 ) - - - setProxy - setProxy - ( const QString & host, int port, const QString & username = QString() - - - setProxy - setProxy-2 - ( const QNetworkProxy & proxy ) - - - setSocket - setSocket - ( QTcpSocket * socket ) - - - setUser - setUser - ( const QString & userName, const QString & password = QString() - - - sslErrors - sslErrors - ( const QList<QSslError> & errors ) - - - state - state - () - - - stateChanged - stateChanged - ( int state ) - - - readBlock - readBlock - ( char * data, quint64 maxlen ) - - - - QHttpHeader - qhttpheader.html - - QHttpHeader - QHttpHeader - () - - - QHttpHeader - QHttpHeader-2 - ( const QHttpHeader & header ) - - - QHttpHeader - QHttpHeader-3 - ( const QString & str ) - - - addValue - addValue - ( const QString & key, const QString & value ) - - - allValues - allValues - ( const QString & key ) - - - contentLength - contentLength - () - - - contentType - contentType - () - - - hasContentLength - hasContentLength - () - - - hasContentType - hasContentType - () - - - hasKey - hasKey - ( const QString & key ) - - - isValid - isValid - () - - - keys - keys - () - - - majorVersion - majorVersion - () - - - minorVersion - minorVersion - () - - - removeAllValues - removeAllValues - ( const QString & key ) - - - removeValue - removeValue - ( const QString & key ) - - - setContentLength - setContentLength - ( int len ) - - - setContentType - setContentType - ( const QString & type ) - - - setValue - setValue - ( const QString & key, const QString & value ) - - - setValues - setValues - ( const QList<QPair<QString, QString> > & values ) - - - toString - toString - () - - - value - value - ( const QString & key ) - - - values - values - () - - - operator= - operator-eq - ( const QHttpHeader & h ) - - - - QHttpRequestHeader - qhttprequestheader.html - - QHttpRequestHeader - QHttpRequestHeader - () - - - QHttpRequestHeader - QHttpRequestHeader-2 - ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - - - QHttpRequestHeader - QHttpRequestHeader-3 - ( const QHttpRequestHeader & header ) - - - QHttpRequestHeader - QHttpRequestHeader-4 - ( const QString & str ) - - - majorVersion - majorVersion - () - - - method - method - () - - - minorVersion - minorVersion - () - - - path - path - () - - - setRequest - setRequest - ( const QString & method, const QString & path, int majorVer = 1, int minorVer = 1 ) - - - operator= - operator-eq - ( const QHttpRequestHeader & header ) - - - - QHttpResponseHeader - qhttpresponseheader.html - - QHttpResponseHeader - QHttpResponseHeader - () - - - QHttpResponseHeader - QHttpResponseHeader-2 - ( const QHttpResponseHeader & header ) - - - QHttpResponseHeader - QHttpResponseHeader-3 - ( const QString & str ) - - - QHttpResponseHeader - QHttpResponseHeader-4 - ( int code, const QString & text = QString() - - - majorVersion - majorVersion - () - - - minorVersion - minorVersion - () - - - reasonPhrase - reasonPhrase - () - - - setStatusLine - setStatusLine - ( int code, const QString & text = QString() - - - statusCode - statusCode - () - - - operator= - operator-eq - ( const QHttpResponseHeader & header ) - - - serialNumber - serialNumber - () - - - Size - Size-enum - - - - pixmap - pixmap-2 - ( Size size, Mode mode, State state = Off ) - - - pixmap - pixmap-3 - ( Size size, bool enabled, State state = Off ) - - - pixmap - pixmap-4 - () - - - pixmapSize - pixmapSize - ( Size which ) - - - reset - reset - ( const QPixmap & pixmap, Size size ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off ) - - - setPixmap - setPixmap-2 - ( const QString & fileName, Size size, Mode mode = Normal, State state = Off ) - - - setPixmapSize - setPixmapSize - ( Size which, const QSize & size ) - - - - QIcon - qicon.html - - DataPtr - DataPtr-typedef - - - - Mode - Mode-enum - - - - State - State-enum - - - - QIcon - QIcon - () - - - QIcon - QIcon-2 - ( const QPixmap & pixmap ) - - - QIcon - QIcon-3 - ( const QIcon & other ) - - - QIcon - QIcon-4 - ( const QString & fileName ) - - - QIcon - QIcon-5 - ( QIconEngine * engine ) - - - QIcon - QIcon-6 - ( QIconEngineV2 * engine ) - - - actualSize - actualSize - ( const QSize & size, Mode mode = Normal, State state = Off ) - - - addFile - addFile - ( const QString & fileName, const QSize & size = QSize() - - - addPixmap - addPixmap - ( const QPixmap & pixmap, Mode mode = Normal, State state = Off ) - - - cacheKey - cacheKey - () - - - data_ptr - data_ptr - () - - - isNull - isNull - () - - - paint - paint - ( QPainter * painter, const QRect & rect, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) - - - paint - paint-2 - ( QPainter * painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, Mode mode = Normal, State state = Off ) - - - pixmap - pixmap - ( const QSize & size, Mode mode = Normal, State state = Off ) - - - pixmap - pixmap-5 - ( int w, int h, Mode mode = Normal, State state = Off ) - - - pixmap - pixmap-6 - ( int extent, Mode mode = Normal, State state = Off ) - - - operator - operator-QVariant - QVariant() - - - operator= - operator-eq - ( const QIcon & other ) - - - Size - Size-enum - - - - pixmap - pixmap-2 - ( Size size, Mode mode, State state = Off ) - - - pixmap - pixmap-3 - ( Size size, bool enabled, State state = Off ) - - - pixmap - pixmap-4 - () - - - pixmapSize - pixmapSize - ( Size which ) - - - reset - reset - ( const QPixmap & pixmap, Size size ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off ) - - - setPixmap - setPixmap-2 - ( const QString & fileName, Size size, Mode mode = Normal, State state = Off ) - - - setPixmapSize - setPixmapSize - ( Size which, const QSize & size ) - - - - QIconDragEvent - qicondragevent.html - - QIconDragEvent - QIconDragEvent - () - - - - QIconEngine - qiconengine.html - - actualSize - actualSize - ( const QSize & size, QIcon::Mode mode, QIcon::State state ) - - - addFile - addFile - ( const QString & fileName, const QSize & size, QIcon::Mode mode, QIcon::State state ) - - - addPixmap - addPixmap - ( const QPixmap & pixmap, QIcon::Mode mode, QIcon::State state ) - - - paint - paint - ( QPainter * painter, const QRect & rect, QIcon::Mode mode, QIcon::State state ) - - - pixmap - pixmap - ( const QSize & size, QIcon::Mode mode, QIcon::State state ) - - - - QIconEnginePlugin - qiconengineplugin.html - - QIconEnginePlugin - QIconEnginePlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & filename ) - - - keys - keys - () - - - - QIconEnginePluginV2 - qiconenginepluginv2.html - - QIconEnginePluginV2 - QIconEnginePluginV2 - ( QObject * parent = 0 ) - - - create - create - ( const QString & filename = QString() - - - keys - keys - () - - - - QIconEngineV2 - qiconenginev2.html - - clone - clone - () - - - key - key - () - - - read - read - ( QDataStream & in ) - - - write - write - ( QDataStream & out ) - - - serialNumber - serialNumber - () - - - setText - setText-2 - ( const char * key, const char * language, const QString & text ) - - - text - text-2 - ( const char * key, const char * language = 0 ) - - - text - text-3 - ( const QImageTextKeyLang & keywordAndLanguage ) - - - textLanguages - textLanguages - () - - - textList - textList - () - - - Endian - Endian-enum - - - - QImage - QImage-12 - ( int width, int height, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - QImage - QImage-13 - ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - QImage - QImage-14 - ( uchar * data, int width, int height, int depth, const QRgb * colortable, int numColors, Endian bitOrder ) - - - QImage - QImage-15 - ( uchar * data, int width, int height, int depth, int bytesPerLine, const QRgb * colortable, int numColors, Endian bitOrder ) - - - QImage - QImage-16 - ( const QByteArray & data ) - - - bitOrder - bitOrder - () - - - convertBitOrder - convertBitOrder - ( Endian bitOrder ) - - - convertDepth - convertDepth - ( int depth, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - convertDepthWithPalette - convertDepthWithPalette - ( int depth, QRgb * palette, int palette_count, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - copy - copy-2 - ( int x, int y, int w, int h, Qt::ImageConversionFlags flags ) - - - copy - copy-3 - ( const QRect & rect, Qt::ImageConversionFlags flags ) - - - create - create - ( int width, int height, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - create - create-2 - ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - hasAlphaBuffer - hasAlphaBuffer - () - - - invertPixels - invertPixels-2 - ( bool invertAlpha ) - - - jumpTable - jumpTable - () - - - jumpTable - jumpTable-2 - () - - - mirror - mirror - ( bool horizontal = false, bool vertical = true ) - - - reset - reset - () - - - scaleHeight - scaleHeight - ( int h ) - - - scaleWidth - scaleWidth - ( int w ) - - - setAlphaBuffer - setAlphaBuffer - ( bool enable ) - - - smoothScale - smoothScale - ( int width, int height, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio ) - - - smoothScale - smoothScale-2 - ( const QSize & size, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio ) - - - swapRGB - swapRGB - () - - - systemBitOrder - systemBitOrder - () - - - systemByteOrder - systemByteOrder - () - - - xForm - xForm - ( const QMatrix & matrix ) - - - ImageConversionFlags - bitBlt - flags = Qt::AutoColor ) - - - - QImage - qimage.html - - DataPtr - DataPtr-typedef - - - - Format - Format-enum - - - - InvertMode - InvertMode-enum - - - - QImage - QImage - () - - - QImage - QImage-2 - ( const QSize & size, Format format ) - - - QImage - QImage-3 - ( int width, int height, Format format ) - - - QImage - QImage-4 - ( uchar * data, int width, int height, Format format ) - - - QImage - QImage-5 - ( const uchar * data, int width, int height, Format format ) - - - QImage - QImage-6 - ( uchar * data, int width, int height, int bytesPerLine, Format format ) - - - QImage - QImage-7 - ( const uchar * data, int width, int height, int bytesPerLine, Format format ) - - - QImage - QImage-8 - ( const char * const[] xpm ) - - - QImage - QImage-9 - ( const QString & fileName, const char * format = 0 ) - - - QImage - QImage-10 - ( const char * fileName, const char * format = 0 ) - - - QImage - QImage-11 - ( const QImage & image ) - - - allGray - allGray - () - - - alphaChannel - alphaChannel - () - - - bits - bits - () - - - bits - bits-2 - () - - - bytesPerLine - bytesPerLine - () - - - cacheKey - cacheKey - () - - - color - color - ( int i ) - - - colorTable - colorTable - () - - - convertToFormat - convertToFormat - ( Format format, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - convertToFormat - convertToFormat-2 - ( Format format, const QVector<QRgb> & colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - copy - copy - ( const QRect & rectangle = QRect() - - - copy - copy-4 - ( int x, int y, int width, int height ) - - - createAlphaMask - createAlphaMask - ( Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - createHeuristicMask - createHeuristicMask - ( bool clipTight = true ) - - - createMaskFromColor - createMaskFromColor - ( QRgb color, Qt::MaskMode mode = Qt::MaskInColor ) - - - data_ptr - data_ptr - () - - - depth - depth - () - - - dotsPerMeterX - dotsPerMeterX - () - - - dotsPerMeterY - dotsPerMeterY - () - - - fill - fill - ( uint pixelValue ) - - - format - format - () - - - fromData - fromData - ( const uchar * data, int size, const char * format = 0 ) - - - fromData - fromData-2 - ( const QByteArray & data, const char * format = 0 ) - - - hasAlphaChannel - hasAlphaChannel - () - - - height - height - () - - - invertPixels - invertPixels - ( InvertMode mode = InvertRgb ) - - - isGrayscale - isGrayscale - () - - - isNull - isNull - () - - - load - load - ( const QString & fileName, const char * format = 0 ) - - - load - load-2 - ( QIODevice * device, const char * format ) - - - loadFromData - loadFromData - ( const uchar * data, int len, const char * format = 0 ) - - - loadFromData - loadFromData-2 - ( const QByteArray & data, const char * format = 0 ) - - - mirrored - mirrored - ( bool horizontal = false, bool vertical = true ) - - - numBytes - numBytes - () - - - numColors - numColors - () - - - offset - offset - () - - - pixel - pixel - ( const QPoint & position ) - - - pixel - pixel-2 - ( int x, int y ) - - - pixelIndex - pixelIndex - ( const QPoint & position ) - - - pixelIndex - pixelIndex-2 - ( int x, int y ) - - - rect - rect - () - - - rgbSwapped - rgbSwapped - () - - - save - save - ( const QString & fileName, const char * format = 0, int quality = -1 ) - - - save - save-2 - ( QIODevice * device, const char * format = 0, int quality = -1 ) - - - scaled - scaled - ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) - - - scaled - scaled-2 - ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) - - - scaledToHeight - scaledToHeight - ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) - - - scaledToWidth - scaledToWidth - ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) - - - scanLine - scanLine - ( int i ) - - - scanLine - scanLine-2 - ( int i ) - - - setAlphaChannel - setAlphaChannel - ( const QImage & alphaChannel ) - - - setColor - setColor - ( int index, QRgb colorValue ) - - - setColorTable - setColorTable - ( const QVector<QRgb> colors ) - - - setDotsPerMeterX - setDotsPerMeterX - ( int x ) - - - setDotsPerMeterY - setDotsPerMeterY - ( int y ) - - - setNumColors - setNumColors - ( int numColors ) - - - setOffset - setOffset - ( const QPoint & offset ) - - - setPixel - setPixel - ( const QPoint & position, uint index_or_rgb ) - - - setPixel - setPixel-2 - ( int x, int y, uint index_or_rgb ) - - - setText - setText - ( const QString & key, const QString & text ) - - - size - size - () - - - text - text - ( const QString & key = QString() - - - textKeys - textKeys - () - - - transformed - transformed - ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) - - - transformed - transformed-2 - ( const QTransform & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) - - - trueMatrix - trueMatrix - ( const QMatrix & matrix, int width, int height ) - - - trueMatrix - trueMatrix-2 - ( const QTransform &, int w, int h ) - - - valid - valid - ( const QPoint & pos ) - - - valid - valid-2 - ( int x, int y ) - - - width - width - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QImage & image ) - - - operator= - operator-eq - ( const QImage & image ) - - - operator== - operator-eq-eq - ( const QImage & image ) - - - Endian - Endian-enum - - - - QImage - QImage-12 - ( int width, int height, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - QImage - QImage-13 - ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - QImage - QImage-14 - ( uchar * data, int width, int height, int depth, const QRgb * colortable, int numColors, Endian bitOrder ) - - - QImage - QImage-15 - ( uchar * data, int width, int height, int depth, int bytesPerLine, const QRgb * colortable, int numColors, Endian bitOrder ) - - - QImage - QImage-16 - ( const QByteArray & data ) - - - bitOrder - bitOrder - () - - - convertBitOrder - convertBitOrder - ( Endian bitOrder ) - - - convertDepth - convertDepth - ( int depth, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - convertDepthWithPalette - convertDepthWithPalette - ( int depth, QRgb * palette, int palette_count, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - copy - copy-2 - ( int x, int y, int w, int h, Qt::ImageConversionFlags flags ) - - - copy - copy-3 - ( const QRect & rect, Qt::ImageConversionFlags flags ) - - - create - create - ( int width, int height, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - create - create-2 - ( const QSize & size, int depth, int numColors = 0, Endian bitOrder = IgnoreEndian ) - - - hasAlphaBuffer - hasAlphaBuffer - () - - - invertPixels - invertPixels-2 - ( bool invertAlpha ) - - - jumpTable - jumpTable - () - - - jumpTable - jumpTable-2 - () - - - mirror - mirror - ( bool horizontal = false, bool vertical = true ) - - - reset - reset - () - - - scaleHeight - scaleHeight - ( int h ) - - - scaleWidth - scaleWidth - ( int w ) - - - setAlphaBuffer - setAlphaBuffer - ( bool enable ) - - - smoothScale - smoothScale - ( int width, int height, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio ) - - - smoothScale - smoothScale-2 - ( const QSize & size, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio ) - - - swapRGB - swapRGB - () - - - systemBitOrder - systemBitOrder - () - - - systemByteOrder - systemByteOrder - () - - - xForm - xForm - ( const QMatrix & matrix ) - - - ImageConversionFlags - bitBlt - flags = Qt::AutoColor ) - - - name - name - () - - - - QImageIOHandler - qimageiohandler.html - - ImageOption - ImageOption-enum - - - - QImageIOHandler - QImageIOHandler - () - - - canRead - canRead - () - - - currentImageNumber - currentImageNumber - () - - - currentImageRect - currentImageRect - () - - - device - device - () - - - format - format - () - - - imageCount - imageCount - () - - - jumpToImage - jumpToImage - ( int imageNumber ) - - - jumpToNextImage - jumpToNextImage - () - - - loopCount - loopCount - () - - - nextImageDelay - nextImageDelay - () - - - option - option - ( ImageOption option ) - - - read - read - ( QImage * image ) - - - setDevice - setDevice - ( QIODevice * device ) - - - setFormat - setFormat - ( const QByteArray & format ) - - - setFormat - setFormat-2 - ( const QByteArray & format ) - - - setOption - setOption - ( ImageOption option, const QVariant & value ) - - - supportsOption - supportsOption - ( ImageOption option ) - - - write - write - ( const QImage & image ) - - - - QImageIOPlugin - qimageioplugin.html - - QImageIOPlugin - QImageIOPlugin - ( QObject * parent = 0 ) - - - capabilities - capabilities - ( QIODevice * device, const QByteArray & format ) - - - create - create - ( QIODevice * device, const QByteArray & format = QByteArray() - - - keys - keys - () - - - - QImageReader - qimagereader.html - - ImageReaderError - ImageReaderError-enum - - - - QImageReader - QImageReader - () - - - QImageReader - QImageReader-2 - ( QIODevice * device, const QByteArray & format = QByteArray() - - - QImageReader - QImageReader-3 - ( const QString & fileName, const QByteArray & format = QByteArray() - - - backgroundColor - backgroundColor - () - - - canRead - canRead - () - - - clipRect - clipRect - () - - - currentImageNumber - currentImageNumber - () - - - currentImageRect - currentImageRect - () - - - device - device - () - - - error - error - () - - - errorString - errorString - () - - - fileName - fileName - () - - - format - format - () - - - imageCount - imageCount - () - - - imageFormat - imageFormat - ( const QString & fileName ) - - - imageFormat - imageFormat-2 - ( QIODevice * device ) - - - jumpToImage - jumpToImage - ( int imageNumber ) - - - jumpToNextImage - jumpToNextImage - () - - - loopCount - loopCount - () - - - nextImageDelay - nextImageDelay - () - - - quality - quality - () - - - read - read - () - - - read - read-2 - ( QImage * image ) - - - scaledClipRect - scaledClipRect - () - - - scaledSize - scaledSize - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setClipRect - setClipRect - ( const QRect & rect ) - - - setDevice - setDevice - ( QIODevice * device ) - - - setFileName - setFileName - ( const QString & fileName ) - - - setFormat - setFormat - ( const QByteArray & format ) - - - setQuality - setQuality - ( int quality ) - - - setScaledClipRect - setScaledClipRect - ( const QRect & rect ) - - - setScaledSize - setScaledSize - ( const QSize & size ) - - - size - size - () - - - supportedImageFormats - supportedImageFormats - () - - - supportsAnimation - supportsAnimation - () - - - supportsOption - supportsOption - ( QImageIOHandler::ImageOption option ) - - - text - text - ( const QString & key ) - - - textKeys - textKeys - () - - - description - description - () - - - setDescription - setDescription - ( const QString & description ) - - - - QImageWriter - qimagewriter.html - - ImageWriterError - ImageWriterError-enum - - - - QImageWriter - QImageWriter - () - - - QImageWriter - QImageWriter-2 - ( QIODevice * device, const QByteArray & format ) - - - QImageWriter - QImageWriter-3 - ( const QString & fileName, const QByteArray & format = QByteArray() - - - canWrite - canWrite - () - - - compression - compression - () - - - device - device - () - - - error - error - () - - - errorString - errorString - () - - - fileName - fileName - () - - - format - format - () - - - gamma - gamma - () - - - quality - quality - () - - - setCompression - setCompression - ( int compression ) - - - setDevice - setDevice - ( QIODevice * device ) - - - setFileName - setFileName - ( const QString & fileName ) - - - setFormat - setFormat - ( const QByteArray & format ) - - - setGamma - setGamma - ( float gamma ) - - - setQuality - setQuality - ( int quality ) - - - setText - setText - ( const QString & key, const QString & text ) - - - supportedImageFormats - supportedImageFormats - () - - - supportsOption - supportsOption - ( QImageIOHandler::ImageOption option ) - - - write - write - ( const QImage & image ) - - - - QInputContext - qinputcontext.html - - StandardFormat - StandardFormat-enum - - - - QInputContext - QInputContext - ( QObject * parent = 0 ) - - - actions - actions - () - - - filterEvent - filterEvent - ( const QEvent * event ) - - - font - font - () - - - identifierName - identifierName - () - - - isComposing - isComposing - () - - - language - language - () - - - mouseHandler - mouseHandler - ( int x, QMouseEvent * event ) - - - reset - reset - () - - - sendEvent - sendEvent - ( const QInputMethodEvent & event ) - - - standardFormat - standardFormat - ( StandardFormat s ) - - - update - update - () - - - widgetDestroyed - widgetDestroyed - ( QWidget * widget ) - - - x11FilterEvent - x11FilterEvent - ( QWidget * keywidget, XEvent * event ) - - - - QInputContextFactory - qinputcontextfactory.html - - create - create - ( const QString & key, QObject * parent ) - - - description - description - ( const QString & key ) - - - displayName - displayName - ( const QString & key ) - - - keys - keys - () - - - languages - languages - ( const QString & key ) - - - - QInputContextPlugin - qinputcontextplugin.html - - QInputContextPlugin - QInputContextPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key ) - - - description - description - ( const QString & key ) - - - displayName - displayName - ( const QString & key ) - - - keys - keys - () - - - languages - languages - ( const QString & key ) - - - getDouble - getDouble-2 - ( const QString & title, const QString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getInteger - getInteger-2 - ( const QString & title, const QString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getItem - getItem-2 - ( const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getText - getText-2 - ( const QString & title, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString() - - - - QInputDialog - qinputdialog.html - - getDouble - getDouble - ( QWidget * parent, const QString & title, const QString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, Qt::WindowFlags f = 0 ) - - - getInteger - getInteger - ( QWidget * parent, const QString & title, const QString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, Qt::WindowFlags f = 0 ) - - - getItem - getItem - ( QWidget * parent, const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, Qt::WindowFlags f = 0 ) - - - getText - getText - ( QWidget * parent, const QString & title, const QString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const QString & text = QString() - - - getDouble - getDouble-2 - ( const QString & title, const QString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getInteger - getInteger-2 - ( const QString & title, const QString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getItem - getItem-2 - ( const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - getText - getText-2 - ( const QString & title, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString() - - - - QInputEvent - qinputevent.html - - KeyboardModifiers - modifiers - QInputEvent::modifiers() - - - - QInputMethodEvent::Attribute - qinputmethodevent-attribute.html - - Attribute - Attribute - ( AttributeType type, int start, int length, QVariant value ) - - - - QInputMethodEvent - qinputmethodevent.html - - AttributeType - AttributeType-enum - - - - QInputMethodEvent - QInputMethodEvent - () - - - QInputMethodEvent - QInputMethodEvent-2 - ( const QString & preeditText, const QList<Attribute> & attributes ) - - - QInputMethodEvent - QInputMethodEvent-3 - ( const QInputMethodEvent & other ) - - - attributes - attributes - () - - - commitString - commitString - () - - - preeditString - preeditString - () - - - replacementLength - replacementLength - () - - - replacementStart - replacementStart - () - - - setCommitString - setCommitString - ( const QString & commitString, int replaceFrom = 0, int replaceLength = 0 ) - - - QIntValidator - QIntValidator-3 - ( QObject * parent, const char * name ) - - - QIntValidator - QIntValidator-4 - ( int minimum, int maximum, QObject * parent, const char * name ) - - - - QIntValidator - qintvalidator.html - - QIntValidator - QIntValidator - ( QObject * parent ) - - - QIntValidator - QIntValidator-2 - ( int minimum, int maximum, QObject * parent ) - - - setRange - setRange - ( int bottom, int top ) - - - State - validate - QIntValidator::validate( QString & input, int & pos ) - - - QIntValidator - QIntValidator-3 - ( QObject * parent, const char * name ) - - - QIntValidator - QIntValidator-4 - ( int minimum, int maximum, QObject * parent, const char * name ) - - - Offset - Offset-typedef - - - - Status - Status-typedef - - - - at - at - () - - - at - at-2 - ( Offset offset ) - - - flags - flags - () - - - getch - getch - () - - - isAsynchronous - isAsynchronous - () - - - isBuffered - isBuffered - () - - - isCombinedAccess - isCombinedAccess - () - - - isDirectAccess - isDirectAccess - () - - - isInactive - isInactive - () - - - isRaw - isRaw - () - - - isSequentialAccess - isSequentialAccess - () - - - isSynchronous - isSynchronous - () - - - isTranslated - isTranslated - () - - - mode - mode - () - - - putch - putch - ( int ch ) - - - readBlock - readBlock - ( char * data, quint64 size ) - - - resetStatus - resetStatus - () - - - state - state - () - - - status - status - () - - - ungetch - ungetch - ( int ch ) - - - writeBlock - writeBlock - ( const char * data, quint64 size ) - - - writeBlock - writeBlock-2 - ( const QByteArray & data ) - - - - QIODevice - qiodevice.html - - QIODevice - QIODevice - () - - - QIODevice - QIODevice-2 - ( QObject * parent ) - - - aboutToClose - aboutToClose - () - - - atEnd - atEnd - () - - - bytesAvailable - bytesAvailable - () - - - bytesToWrite - bytesToWrite - () - - - bytesWritten - bytesWritten - ( qint64 bytes ) - - - canReadLine - canReadLine - () - - - close - close - () - - - errorString - errorString - () - - - getChar - getChar - ( char * c ) - - - isOpen - isOpen - () - - - isReadable - isReadable - () - - - isSequential - isSequential - () - - - isTextModeEnabled - isTextModeEnabled - () - - - isWritable - isWritable - () - - - open - open - ( OpenMode mode ) - - - openMode - openMode - () - - - peek - peek - ( char * data, qint64 maxSize ) - - - peek - peek-2 - ( qint64 maxSize ) - - - pos - pos - () - - - putChar - putChar - ( char c ) - - - read - read - ( char * data, qint64 maxSize ) - - - read - read-2 - ( qint64 maxSize ) - - - readAll - readAll - () - - - readData - readData - ( char * data, qint64 maxSize ) - - - readLine - readLine - ( char * data, qint64 maxSize ) - - - readLine - readLine-2 - ( qint64 maxSize = 0 ) - - - readLineData - readLineData - ( char * data, qint64 maxSize ) - - - readyRead - readyRead - () - - - reset - reset - () - - - seek - seek - ( qint64 pos ) - - - setErrorString - setErrorString - ( const QString & str ) - - - setOpenMode - setOpenMode - ( OpenMode openMode ) - - - setTextModeEnabled - setTextModeEnabled - ( bool enabled ) - - - size - size - () - - - ungetChar - ungetChar - ( char c ) - - - waitForBytesWritten - waitForBytesWritten - ( int msecs ) - - - waitForReadyRead - waitForReadyRead - ( int msecs ) - - - write - write - ( const char * data, qint64 maxSize ) - - - write - write-2 - ( const QByteArray & byteArray ) - - - writeData - writeData - ( const char * data, qint64 maxSize ) - - - Offset - Offset-typedef - - - - Status - Status-typedef - - - - at - at - () - - - at - at-2 - ( Offset offset ) - - - flags - flags - () - - - getch - getch - () - - - isAsynchronous - isAsynchronous - () - - - isBuffered - isBuffered - () - - - isCombinedAccess - isCombinedAccess - () - - - isDirectAccess - isDirectAccess - () - - - isInactive - isInactive - () - - - isRaw - isRaw - () - - - isSequentialAccess - isSequentialAccess - () - - - isSynchronous - isSynchronous - () - - - isTranslated - isTranslated - () - - - mode - mode - () - - - putch - putch - ( int ch ) - - - readBlock - readBlock - ( char * data, quint64 size ) - - - resetStatus - resetStatus - () - - - state - state - () - - - status - status - () - - - ungetch - ungetch - ( int ch ) - - - writeBlock - writeBlock - ( const char * data, quint64 size ) - - - writeBlock - writeBlock-2 - ( const QByteArray & data ) - - - - QItemDelegate - qitemdelegate.html - - QItemDelegate - QItemDelegate - ( QObject * parent = 0 ) - - - createEditor - createEditor - ( QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - drawBackground - drawBackground - ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - drawCheck - drawCheck - ( QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, Qt::CheckState state ) - - - drawDecoration - drawDecoration - ( QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QPixmap & pixmap ) - - - drawDisplay - drawDisplay - ( QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QString & text ) - - - drawFocus - drawFocus - ( QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect ) - - - eventFilter - eventFilter - ( QObject * editor, QEvent * event ) - - - itemEditorFactory - itemEditorFactory - () - - - paint - paint - ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - setEditorData - setEditorData - ( QWidget * editor, const QModelIndex & index ) - - - setItemEditorFactory - setItemEditorFactory - ( QItemEditorFactory * factory ) - - - setModelData - setModelData - ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) - - - sizeHint - sizeHint - ( const QStyleOptionViewItem & option, const QModelIndex & index ) - - - updateEditorGeometry - updateEditorGeometry - ( QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - - QItemEditorCreator - qitemeditorcreator.html - - QItemEditorCreator - QItemEditorCreator - ( const QByteArray & valuePropertyName ) - - - - QItemEditorCreatorBase - qitemeditorcreatorbase.html - - createWidget - createWidget - ( QWidget * parent ) - - - valuePropertyName - valuePropertyName - () - - - - QItemEditorFactory - qitemeditorfactory.html - - QItemEditorFactory - QItemEditorFactory - () - - - createEditor - createEditor - ( QVariant::Type type, QWidget * parent ) - - - defaultFactory - defaultFactory - () - - - registerEditor - registerEditor - ( QVariant::Type type, QItemEditorCreatorBase * creator ) - - - setDefaultFactory - setDefaultFactory - ( QItemEditorFactory * factory ) - - - valuePropertyName - valuePropertyName - ( QVariant::Type type ) - - - - QItemSelection - qitemselection.html - - QItemSelection - QItemSelection - () - - - QItemSelection - QItemSelection-2 - ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - - - contains - contains - ( const QModelIndex & index ) - - - indexes - indexes - () - - - merge - merge - ( const QItemSelection & other, QItemSelectionModel::SelectionFlags command ) - - - select - select - ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - - - split - split - ( const QItemSelectionRange & range, const QItemSelectionRange & other, QItemSelection * result ) - - - - QItemSelectionModel - qitemselectionmodel.html - - QItemSelectionModel - QItemSelectionModel - ( QAbstractItemModel * model ) - - - QItemSelectionModel - QItemSelectionModel-2 - ( QAbstractItemModel * model, QObject * parent ) - - - clear - clear - () - - - clearSelection - clearSelection - () - - - columnIntersectsSelection - columnIntersectsSelection - ( int column, const QModelIndex & parent ) - - - currentChanged - currentChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - currentColumnChanged - currentColumnChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - currentIndex - currentIndex - () - - - currentRowChanged - currentRowChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - emitSelectionChanged - emitSelectionChanged - ( const QItemSelection & newSelection, const QItemSelection & oldSelection ) - - - hasSelection - hasSelection - () - - - isColumnSelected - isColumnSelected - ( int column, const QModelIndex & parent ) - - - isRowSelected - isRowSelected - ( int row, const QModelIndex & parent ) - - - isSelected - isSelected - ( const QModelIndex & index ) - - - model - model - () - - - reset - reset - () - - - rowIntersectsSelection - rowIntersectsSelection - ( int row, const QModelIndex & parent ) - - - select - select - ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) - - - select - select-2 - ( const QItemSelection & selection, QItemSelectionModel::SelectionFlags command ) - - - selectedColumns - selectedColumns - ( int row = 0 ) - - - selectedIndexes - selectedIndexes - () - - - selectedRows - selectedRows - ( int column = 0 ) - - - selection - selection - () - - - selectionChanged - selectionChanged - ( const QItemSelection & selected, const QItemSelection & deselected ) - - - setCurrentIndex - setCurrentIndex - ( const QModelIndex & index, QItemSelectionModel::SelectionFlags command ) - - - intersect - intersect - ( const QItemSelectionRange & other ) - - - - QItemSelectionRange - qitemselectionrange.html - - QItemSelectionRange - QItemSelectionRange - () - - - QItemSelectionRange - QItemSelectionRange-2 - ( const QItemSelectionRange & other ) - - - QItemSelectionRange - QItemSelectionRange-3 - ( const QModelIndex & topLeft, const QModelIndex & bottomRight ) - - - QItemSelectionRange - QItemSelectionRange-4 - ( const QModelIndex & index ) - - - bottom - bottom - () - - - bottomRight - bottomRight - () - - - contains - contains - ( const QModelIndex & index ) - - - contains - contains-2 - ( int row, int column, const QModelIndex & parentIndex ) - - - height - height - () - - - indexes - indexes - () - - - intersected - intersected - ( const QItemSelectionRange & other ) - - - intersects - intersects - ( const QItemSelectionRange & other ) - - - isValid - isValid - () - - - left - left - () - - - model - model - () - - - parent - parent - () - - - right - right - () - - - top - top - () - - - topLeft - topLeft - () - - - width - width - () - - - operator!= - operator-not-eq - ( const QItemSelectionRange & other ) - - - operator== - operator-eq-eq - ( const QItemSelectionRange & other ) - - - - QKbdDriverFactory - qkbddriverfactory.html - - create - create - ( const QString & key, const QString & device ) - - - keys - keys - () - - - - QKbdDriverPlugin - qkbddriverplugin.html - - QKbdDriverPlugin - QKbdDriverPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key, const QString & device ) - - - keys - keys - () - - - QKeyEvent - QKeyEvent-2 - ( Type type, int key, int ascii, int modifiers, const QString & text = QString() - - - ascii - ascii - () - - - ButtonState - state - QKeyEvent::state() - - - ButtonState - stateAfter - QKeyEvent::stateAfter() - - - - QKeyEvent - qkeyevent.html - - QKeyEvent - QKeyEvent - ( Type type, int key, Qt::KeyboardModifiers modifiers, const QString & text = QString() - - - count - count - () - - - isAutoRepeat - isAutoRepeat - () - - - key - key - () - - - matches - matches - ( QKeySequence::StandardKey key ) - - - KeyboardModifiers - modifiers - QKeyEvent::modifiers() - - - nativeModifiers - nativeModifiers - () - - - nativeScanCode - nativeScanCode - () - - - nativeVirtualKey - nativeVirtualKey - () - - - text - text - () - - - StandardKey - operator-eq-eq-46 - key ) - - - StandardKey - operator-eq-eq-47 - key, QKeyEvent * e ) - - - QKeyEvent - QKeyEvent-2 - ( Type type, int key, int ascii, int modifiers, const QString & text = QString() - - - ascii - ascii - () - - - ButtonState - state - QKeyEvent::state() - - - ButtonState - stateAfter - QKeyEvent::stateAfter() - - - operator - operator-QString - QString() - - - operator - operator-int - int() - - - - QKeySequence - qkeysequence.html - - DataPtr - DataPtr-typedef - - - - SequenceFormat - SequenceFormat-enum - - - - SequenceMatch - SequenceMatch-enum - - - - StandardKey - StandardKey-enum - - - - QKeySequence - QKeySequence - () - - - QKeySequence - QKeySequence-2 - ( const QString & key ) - - - QKeySequence - QKeySequence-3 - ( int k1, int k2 = 0, int k3 = 0, int k4 = 0 ) - - - QKeySequence - QKeySequence-4 - ( const QKeySequence & keysequence ) - - - QKeySequence - QKeySequence-5 - ( StandardKey key ) - - - count - count - () - - - data_ptr - data_ptr - () - - - fromString - fromString - ( const QString & str, SequenceFormat format = PortableText ) - - - isEmpty - isEmpty - () - - - keyBindings - keyBindings - ( StandardKey key ) - - - matches - matches - ( const QKeySequence & seq ) - - - mnemonic - mnemonic - ( const QString & text ) - - - toString - toString - ( SequenceFormat format = PortableText ) - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QKeySequence & other ) - - - operator< - operator-lt - ( const QKeySequence & other ) - - - operator<= - operator-lt-eq - ( const QKeySequence & other ) - - - operator= - operator-eq - ( const QKeySequence & other ) - - - operator== - operator-eq-eq - ( const QKeySequence & other ) - - - operator> - operator-gt - ( const QKeySequence & other ) - - - operator>= - operator-gt-eq - ( const QKeySequence & other ) - - - operator[] - operator-5b-5d - ( uint index ) - - - QLabel - QLabel-3 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - QLabel - QLabel-4 - ( const QString & text, QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - QLabel - QLabel-5 - ( QWidget * buddy, const QString & text, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - setAlignment - setAlignment-2 - ( int alignment ) - - - - QLabel - qlabel.html - - Alignment - alignment-prop - - - - TextFormat - textFormat-prop - - - - TextInteractionFlags - textInteractionFlags-prop - - - - QLabel - QLabel - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - QLabel - QLabel-2 - ( const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - buddy - buddy - () - - - clear - clear - () - - - linkActivated - linkActivated - ( const QString & link ) - - - linkHovered - linkHovered - ( const QString & link ) - - - movie - movie - () - - - picture - picture - () - - - setBuddy - setBuddy - ( QWidget * buddy ) - - - setMovie - setMovie - ( QMovie * movie ) - - - setNum - setNum - ( int num ) - - - setNum - setNum-2 - ( double num ) - - - setPicture - setPicture - ( const QPicture & picture ) - - - QLabel - QLabel-3 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - QLabel - QLabel-4 - ( const QString & text, QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - QLabel - QLabel-5 - ( QWidget * buddy, const QString & text, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) - - - setAlignment - setAlignment-2 - ( int alignment ) - - - - QLatin1Char - qlatin1char.html - - QLatin1Char - QLatin1Char - ( char c ) - - - toLatin1 - toLatin1 - () - - - unicode - unicode - () - - - - QLatin1String - qlatin1string.html - - QLatin1String - QLatin1String - ( const char * str ) - - - latin1 - latin1 - () - - - operator!= - operator-not-eq - ( const QString & other ) - - - operator!= - operator-not-eq-2 - ( const char * other ) - - - operator< - operator-lt - ( const QString & other ) - - - operator< - operator-lt-2 - ( const char * other ) - - - operator<= - operator-lt-eq - ( const QString & other ) - - - operator<= - operator-lt-eq-2 - ( const char * other ) - - - operator= - operator-eq - ( const QLatin1String & other ) - - - operator== - operator-eq-eq - ( const QString & other ) - - - operator== - operator-eq-eq-2 - ( const char * other ) - - - operator> - operator-gt - ( const QString & other ) - - - operator> - operator-gt-2 - ( const char * other ) - - - operator>= - operator-gt-eq - ( const QString & other ) - - - operator>= - operator-gt-eq-2 - ( const char * other ) - - - QLayout - QLayout-4 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QLayout - QLayout-5 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QLayout - QLayout-6 - ( int spacing, const char * name = 0 ) - - - add - add - ( QWidget * widget ) - - - autoAdd - autoAdd - () - - - defaultBorder - defaultBorder - () - - - deleteAllItems - deleteAllItems - () - - - freeze - freeze - ( int w = 0, int h = 0 ) - - - isTopLevel - isTopLevel - () - - - iterator - iterator - () - - - mainWidget - mainWidget - () - - - remove - remove - ( QWidget * widget ) - - - resizeMode - resizeMode - () - - - setAutoAdd - setAutoAdd - ( bool a ) - - - setResizeMode - setResizeMode - ( SizeConstraint constraint ) - - - - QLayout - qlayout.html - - SizeConstraint - SizeConstraint-enum - - - - QLayout - QLayout - ( QWidget * parent ) - - - QLayout - QLayout-2 - () - - - activate - activate - () - - - addChildLayout - addChildLayout - ( QLayout * l ) - - - addChildWidget - addChildWidget - ( QWidget * w ) - - - addItem - addItem - ( QLayoutItem * item ) - - - addWidget - addWidget - ( QWidget * w ) - - - alignmentRect - alignmentRect - ( const QRect & r ) - - - closestAcceptableSize - closestAcceptableSize - ( const QWidget * widget, const QSize & size ) - - - contentsRect - contentsRect - () - - - count - count - () - - - Orientations - expandingDirections - QLayout::expandingDirections() - - - getContentsMargins - getContentsMargins - ( int * left, int * top, int * right, int * bottom ) - - - indexOf - indexOf - ( QWidget * widget ) - - - isEnabled - isEnabled - () - - - itemAt - itemAt - ( int index ) - - - maximumSize - maximumSize - () - - - menuBar - menuBar - () - - - minimumSize - minimumSize - () - - - parentWidget - parentWidget - () - - - removeItem - removeItem - ( QLayoutItem * item ) - - - removeWidget - removeWidget - ( QWidget * widget ) - - - setAlignment - setAlignment - ( QWidget * w, Qt::Alignment alignment ) - - - setAlignment - setAlignment-2 - ( QLayout * l, Qt::Alignment alignment ) - - - setContentsMargins - setContentsMargins - ( int left, int top, int right, int bottom ) - - - setEnabled - setEnabled - ( bool enable ) - - - setMenuBar - setMenuBar - ( QWidget * widget ) - - - takeAt - takeAt - ( int index ) - - - update - update - () - - - QLayout - QLayout-4 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QLayout - QLayout-5 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QLayout - QLayout-6 - ( int spacing, const char * name = 0 ) - - - add - add - ( QWidget * widget ) - - - autoAdd - autoAdd - () - - - defaultBorder - defaultBorder - () - - - deleteAllItems - deleteAllItems - () - - - freeze - freeze - ( int w = 0, int h = 0 ) - - - isTopLevel - isTopLevel - () - - - iterator - iterator - () - - - mainWidget - mainWidget - () - - - remove - remove - ( QWidget * widget ) - - - resizeMode - resizeMode - () - - - setAutoAdd - setAutoAdd - ( bool a ) - - - setResizeMode - setResizeMode - ( SizeConstraint constraint ) - - - - QLayoutItem - qlayoutitem.html - - QLayoutItem - QLayoutItem - ( Qt::Alignment alignment = 0 ) - - - Alignment - alignment - QLayoutItem::alignment() - - - ControlTypes - controlTypes - QLayoutItem::controlTypes() - - - Orientations - expandingDirections - QLayoutItem::expandingDirections() - - - geometry - geometry - () - - - hasHeightForWidth - hasHeightForWidth - () - - - heightForWidth - heightForWidth - ( int w ) - - - invalidate - invalidate - () - - - isEmpty - isEmpty - () - - - layout - layout - () - - - maximumSize - maximumSize - () - - - minimumHeightForWidth - minimumHeightForWidth - ( int w ) - - - minimumSize - minimumSize - () - - - setAlignment - setAlignment - ( Qt::Alignment alignment ) - - - setGeometry - setGeometry - ( const QRect & r ) - - - sizeHint - sizeHint - () - - - spacerItem - spacerItem - () - - - widget - widget - () - - - QLCDNumber - QLCDNumber-3 - ( QWidget * parent, const char * name ) - - - QLCDNumber - QLCDNumber-4 - ( uint numDigits, QWidget * parent, const char * name ) - - - margin - margin - () - - - setMargin - setMargin - ( int margin ) - - - - QLCDNumber - qlcdnumber.html - - Mode - Mode-enum - - - - SegmentStyle - SegmentStyle-enum - - - - QLCDNumber - QLCDNumber - ( QWidget * parent = 0 ) - - - QLCDNumber - QLCDNumber-2 - ( uint numDigits, QWidget * parent = 0 ) - - - checkOverflow - checkOverflow - ( double num ) - - - checkOverflow - checkOverflow-2 - ( int num ) - - - overflow - overflow - () - - - setBinMode - setBinMode - () - - - setDecMode - setDecMode - () - - - setHexMode - setHexMode - () - - - setOctMode - setOctMode - () - - - QLCDNumber - QLCDNumber-3 - ( QWidget * parent, const char * name ) - - - QLCDNumber - QLCDNumber-4 - ( uint numDigits, QWidget * parent, const char * name ) - - - margin - margin - () - - - setMargin - setMargin - ( int margin ) - - - library - library - () - - - setAutoUnload - setAutoUnload - ( bool b ) - - - - QLibrary - qlibrary.html - - QLibrary - QLibrary - ( QObject * parent = 0 ) - - - QLibrary - QLibrary-2 - ( const QString & fileName, QObject * parent = 0 ) - - - QLibrary - QLibrary-3 - ( const QString & fileName, int verNum, QObject * parent = 0 ) - - - errorString - errorString - () - - - isLibrary - isLibrary - ( const QString & fileName ) - - - isLoaded - isLoaded - () - - - load - load - () - - - resolve - resolve - ( const char * symbol ) - - - resolve - resolve-2 - ( const QString & fileName, const char * symbol ) - - - resolve - resolve-3 - ( const QString & fileName, int verNum, const char * symbol ) - - - setFileNameAndVersion - setFileNameAndVersion - ( const QString & fileName, int versionNumber ) - - - unload - unload - () - - - library - library - () - - - setAutoUnload - setAutoUnload - ( bool b ) - - - - QLibraryInfo - qlibraryinfo.html - - LibraryLocation - LibraryLocation-enum - - - - buildKey - buildKey - () - - - licensedProducts - licensedProducts - () - - - licensee - licensee - () - - - location - location - ( LibraryLocation loc ) - - - - QLine - qline.html - - QLine - QLine - () - - - QLine - QLine-2 - ( const QPoint & p1, const QPoint & p2 ) - - - QLine - QLine-3 - ( int x1, int y1, int x2, int y2 ) - - - p1 - p1 - () - - - p2 - p2 - () - - - x1 - x1 - () - - - x2 - x2 - () - - - y1 - y1 - () - - - y2 - y2 - () - - - dx - dx - () - - - dy - dy - () - - - isNull - isNull - () - - - translate - translate - ( const QPoint & offset ) - - - translate - translate-2 - ( int dx, int dy ) - - - operator!= - operator-not-eq - ( const QLine & line ) - - - operator== - operator-eq-eq - ( const QLine & line ) - - - - QLinearGradient - qlineargradient.html - - QLinearGradient - QLinearGradient - () - - - QLinearGradient - QLinearGradient-2 - ( const QPointF & start, const QPointF & finalStop ) - - - QLinearGradient - QLinearGradient-3 - ( qreal x1, qreal y1, qreal x2, qreal y2 ) - - - finalStop - finalStop - () - - - setFinalStop - setFinalStop - ( const QPointF & stop ) - - - setFinalStop - setFinalStop-2 - ( qreal x, qreal y ) - - - setStart - setStart - ( const QPointF & start ) - - - setStart - setStart-2 - ( qreal x, qreal y ) - - - start - start - () - - - QLineEdit - QLineEdit-3 - ( QWidget * parent, const char * name ) - - - QLineEdit - QLineEdit-4 - ( const QString & contents, QWidget * parent, const char * name ) - - - QLineEdit - QLineEdit-5 - ( const QString & contents, const QString & inputMask, QWidget * parent = 0, const char * name = 0 ) - - - characterAt - characterAt - ( int xpos, QChar * chr ) - - - clearModified - clearModified - () - - - clearValidator - clearValidator - () - - - cursorLeft - cursorLeft - ( bool mark, int steps = 1 ) - - - cursorRight - cursorRight - ( bool mark, int steps = 1 ) - - - edited - edited - () - - - frame - frame - () - - - getSelection - getSelection - ( int * start, int * end ) - - - hasMarkedText - hasMarkedText - () - - - lostFocus - lostFocus - () - - - margin - margin - () - - - markedText - markedText - () - - - repaintArea - repaintArea - ( int a, int b ) - - - setEdited - setEdited - ( bool on ) - - - setMargin - setMargin - ( int margin ) - - - validateAndSet - validateAndSet - ( const QString & newText, int newPos, int newMarkAnchor, int newMarkDrag ) - - - - QLineEdit - qlineedit.html - - EchoMode - EchoMode-enum - - - - Alignment - alignment-prop - - - - QLineEdit - QLineEdit - ( QWidget * parent = 0 ) - - - QLineEdit - QLineEdit-2 - ( const QString & contents, QWidget * parent = 0 ) - - - backspace - backspace - () - - - clear - clear - () - - - completer - completer - () - - - contextMenuEvent - contextMenuEvent - ( QContextMenuEvent * event ) - - - copy - copy - () - - - createStandardContextMenu - createStandardContextMenu - () - - - cursorBackward - cursorBackward - ( bool mark, int steps = 1 ) - - - cursorForward - cursorForward - ( bool mark, int steps = 1 ) - - - cursorPositionAt - cursorPositionAt - ( const QPoint & pos ) - - - cursorPositionChanged - cursorPositionChanged - ( int old, int new ) - - - cursorWordBackward - cursorWordBackward - ( bool mark ) - - - cursorWordForward - cursorWordForward - ( bool mark ) - - - cut - cut - () - - - del - del - () - - - deselect - deselect - () - - - editingFinished - editingFinished - () - - - end - end - ( bool mark ) - - - home - home - ( bool mark ) - - - initStyleOption - initStyleOption - ( QStyleOptionFrame * option ) - - - insert - insert - ( const QString & newText ) - - - keyPressEvent - keyPressEvent - ( QKeyEvent * event ) - - - minimumSizeHint - minimumSizeHint - () - - - paste - paste - () - - - redo - redo - () - - - returnPressed - returnPressed - () - - - selectAll - selectAll - () - - - selectionChanged - selectionChanged - () - - - selectionStart - selectionStart - () - - - setCompleter - setCompleter - ( QCompleter * c ) - - - setSelection - setSelection - ( int start, int length ) - - - setValidator - setValidator - ( const QValidator * v ) - - - sizeHint - sizeHint - () - - - textChanged - textChanged - ( const QString & text ) - - - textEdited - textEdited - ( const QString & text ) - - - undo - undo - () - - - validator - validator - () - - - QLineEdit - QLineEdit-3 - ( QWidget * parent, const char * name ) - - - QLineEdit - QLineEdit-4 - ( const QString & contents, QWidget * parent, const char * name ) - - - QLineEdit - QLineEdit-5 - ( const QString & contents, const QString & inputMask, QWidget * parent = 0, const char * name = 0 ) - - - characterAt - characterAt - ( int xpos, QChar * chr ) - - - clearModified - clearModified - () - - - clearValidator - clearValidator - () - - - cursorLeft - cursorLeft - ( bool mark, int steps = 1 ) - - - cursorRight - cursorRight - ( bool mark, int steps = 1 ) - - - edited - edited - () - - - frame - frame - () - - - getSelection - getSelection - ( int * start, int * end ) - - - hasMarkedText - hasMarkedText - () - - - lostFocus - lostFocus - () - - - margin - margin - () - - - markedText - markedText - () - - - repaintArea - repaintArea - ( int a, int b ) - - - setEdited - setEdited - ( bool on ) - - - setMargin - setMargin - ( int margin ) - - - validateAndSet - validateAndSet - ( const QString & newText, int newPos, int newMarkAnchor, int newMarkDrag ) - - - - QLineF - qlinef.html - - IntersectType - IntersectType-enum - - - - QLineF - QLineF - () - - - QLineF - QLineF-2 - ( const QPointF & p1, const QPointF & p2 ) - - - QLineF - QLineF-3 - ( qreal x1, qreal y1, qreal x2, qreal y2 ) - - - QLineF - QLineF-4 - ( const QLine & line ) - - - p1 - p1 - () - - - p2 - p2 - () - - - x1 - x1 - () - - - x2 - x2 - () - - - y1 - y1 - () - - - y2 - y2 - () - - - angle - angle - ( const QLineF & line ) - - - dx - dx - () - - - dy - dy - () - - - intersect - intersect - ( const QLineF & line, QPointF * intersectionPoint ) - - - isNull - isNull - () - - - length - length - () - - - normalVector - normalVector - () - - - pointAt - pointAt - ( qreal t ) - - - setLength - setLength - ( qreal length ) - - - toLine - toLine - () - - - translate - translate - ( const QPointF & offset ) - - - translate - translate-2 - ( qreal dx, qreal dy ) - - - unitVector - unitVector - () - - - operator!= - operator-not-eq - ( const QLineF & line ) - - - operator== - operator-eq-eq - ( const QLineF & line ) - - - - QLinkedList::const_iterator - qlinkedlist-const-iterator.html - - const_iterator - const_iterator - () - - - const_iterator - const_iterator-3 - ( const const_iterator & other ) - - - const_iterator - const_iterator-4 - ( iterator other ) - - - operator!= - operator-not-eq - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator= - operator-eq - ( const const_iterator & other ) - - - operator== - operator-eq-eq - ( const const_iterator & other ) - - - - QLinkedList::iterator - qlinkedlist-iterator.html - - iterator - iterator - () - - - iterator - iterator-3 - ( const iterator & other ) - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator!= - operator-not-eq-2 - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator= - operator-eq - ( const iterator & other ) - - - operator== - operator-eq-eq - ( const iterator & other ) - - - operator== - operator-eq-eq-2 - ( const const_iterator & other ) - - - find - find - ( iterator from, const T & t ) - - - find - find-2 - ( const T & t ) - - - find - find-3 - ( const_iterator from, const T & t ) - - - find - find-4 - ( const T & t ) - - - findIndex - findIndex - ( const T & t ) - - - remove - remove - ( iterator pos ) - - - - QLinkedList - qlinkedlist.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - const_pointer - const_pointer-typedef - - - - const_reference - const_reference-typedef - - - - difference_type - difference_type-typedef - - - - pointer - pointer-typedef - - - - reference - reference-typedef - - - - size_type - size_type-typedef - - - - value_type - value_type-typedef - - - - QLinkedList - QLinkedList - () - - - QLinkedList - QLinkedList-2 - ( const QLinkedList<T> & other ) - - - append - append - ( const T & value ) - - - back - back - () - - - back - back-2 - () - - - begin - begin - () - - - begin - begin-2 - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constEnd - constEnd - () - - - contains - contains - ( const T & value ) - - - count - count - ( const T & value ) - - - count - count-2 - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - erase - erase-2 - ( iterator begin, iterator end ) - - - first - first - () - - - first - first-2 - () - - - fromStdList - fromStdList - ( const std::list<T> & list ) - - - front - front - () - - - front - front-2 - () - - - insert - insert - ( iterator before, const T & value ) - - - isEmpty - isEmpty - () - - - last - last - () - - - last - last-2 - () - - - pop_back - pop_back - () - - - pop_front - pop_front - () - - - prepend - prepend - ( const T & value ) - - - push_back - push_back - ( const T & value ) - - - push_front - push_front - ( const T & value ) - - - removeAll - removeAll - ( const T & value ) - - - removeFirst - removeFirst - () - - - removeLast - removeLast - () - - - size - size - () - - - takeFirst - takeFirst - () - - - takeLast - takeLast - () - - - list - toStdList - <T> QLinkedList::toStdList() - - - operator!= - operator-not-eq - ( const QLinkedList<T> & other ) - - - operator+ - operator-2b - ( const QLinkedList<T> & other ) - - - operator+= - operator-2b-eq - ( const QLinkedList<T> & other ) - - - operator+= - operator-2b-eq-2 - ( const T & value ) - - - operator<< - operator-lt-lt - ( const QLinkedList<T> & other ) - - - operator<< - operator-lt-lt-2 - ( const T & value ) - - - operator= - operator-eq - ( const QLinkedList<T> & other ) - - - operator== - operator-eq-eq - ( const QLinkedList<T> & other ) - - - find - find - ( iterator from, const T & t ) - - - find - find-2 - ( const T & t ) - - - find - find-3 - ( const_iterator from, const T & t ) - - - find - find-4 - ( const T & t ) - - - findIndex - findIndex - ( const T & t ) - - - remove - remove - ( iterator pos ) - - - - QLinkedListIterator - qlinkedlistiterator.html - - QLinkedListIterator - QLinkedListIterator - ( const QLinkedList<T> & list ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - operator= - operator-eq - ( const QLinkedList<T> & list ) - - - - QList::const_iterator - qlist-const-iterator.html - - const_iterator - const_iterator - () - - - const_iterator - const_iterator-3 - ( const const_iterator & other ) - - - const_iterator - const_iterator-4 - ( const iterator & other ) - - - operator!= - operator-not-eq - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator- - operator--2 - ( const_iterator other ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator< - operator-lt - ( const const_iterator & other ) - - - operator<= - operator-lt-eq - ( const const_iterator & other ) - - - operator== - operator-eq-eq - ( const const_iterator & other ) - - - operator> - operator-gt - ( const const_iterator & other ) - - - operator>= - operator-gt-eq - ( const const_iterator & other ) - - - operator[] - operator-5b-5d - ( int j ) - - - - QList::iterator - qlist-iterator.html - - iterator - iterator - () - - - iterator - iterator-3 - ( const iterator & other ) - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator!= - operator-not-eq-2 - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator- - operator--2 - ( iterator other ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator< - operator-lt - ( const iterator & other ) - - - operator< - operator-lt-2 - ( const const_iterator & other ) - - - operator<= - operator-lt-eq - ( const iterator & other ) - - - operator<= - operator-lt-eq-2 - ( const const_iterator & other ) - - - operator== - operator-eq-eq - ( const iterator & other ) - - - operator== - operator-eq-eq-2 - ( const const_iterator & other ) - - - operator> - operator-gt - ( const iterator & other ) - - - operator> - operator-gt-2 - ( const const_iterator & other ) - - - operator>= - operator-gt-eq - ( const iterator & other ) - - - operator>= - operator-gt-eq-2 - ( const const_iterator & other ) - - - operator[] - operator-5b-5d - ( int j ) - - - find - find - ( const T & t ) - - - find - find-2 - ( const T & t ) - - - find - find-3 - ( iterator from, const T & t ) - - - find - find-4 - ( const_iterator from, const T & t ) - - - findIndex - findIndex - ( const T & t ) - - - remove - remove - ( iterator pos ) - - - remove - remove-2 - ( const T & t ) - - - - QList - qlist.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - const_pointer - const_pointer-typedef - - - - const_reference - const_reference-typedef - - - - difference_type - difference_type-typedef - - - - pointer - pointer-typedef - - - - reference - reference-typedef - - - - size_type - size_type-typedef - - - - value_type - value_type-typedef - - - - QList - QList - () - - - QList - QList-2 - ( const QList<T> & other ) - - - append - append - ( const T & value ) - - - at - at - ( int i ) - - - back - back - () - - - back - back-2 - () - - - begin - begin - () - - - begin - begin-2 - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constEnd - constEnd - () - - - contains - contains - ( const T & value ) - - - count - count - ( const T & value ) - - - count - count-2 - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - erase - erase-2 - ( iterator begin, iterator end ) - - - first - first - () - - - first - first-2 - () - - - fromSet - fromSet - ( const QSet<T> & set ) - - - fromStdList - fromStdList - ( const std::list<T> & list ) - - - fromVector - fromVector - ( const QVector<T> & vector ) - - - front - front - () - - - front - front-2 - () - - - indexOf - indexOf - ( const T & value, int from = 0 ) - - - insert - insert - ( int i, const T & value ) - - - insert - insert-2 - ( iterator before, const T & value ) - - - isEmpty - isEmpty - () - - - last - last - () - - - last - last-2 - () - - - lastIndexOf - lastIndexOf - ( const T & value, int from = -1 ) - - - mid - mid - ( int pos, int length = -1 ) - - - move - move - ( int from, int to ) - - - pop_back - pop_back - () - - - pop_front - pop_front - () - - - prepend - prepend - ( const T & value ) - - - push_back - push_back - ( const T & value ) - - - push_front - push_front - ( const T & value ) - - - removeAll - removeAll - ( const T & value ) - - - removeAt - removeAt - ( int i ) - - - removeFirst - removeFirst - () - - - removeLast - removeLast - () - - - replace - replace - ( int i, const T & value ) - - - size - size - () - - - swap - swap - ( int i, int j ) - - - takeAt - takeAt - ( int i ) - - - takeFirst - takeFirst - () - - - takeLast - takeLast - () - - - toSet - toSet - () - - - list - toStdList - <T> QList::toStdList() - - - toVector - toVector - () - - - value - value - ( int i ) - - - value - value-2 - ( int i, const T & defaultValue ) - - - operator!= - operator-not-eq - ( const QList<T> & other ) - - - operator+ - operator-2b - ( const QList<T> & other ) - - - operator+= - operator-2b-eq - ( const QList<T> & other ) - - - operator+= - operator-2b-eq-2 - ( const T & value ) - - - operator<< - operator-lt-lt - ( const QList<T> & other ) - - - operator<< - operator-lt-lt-2 - ( const T & value ) - - - operator= - operator-eq - ( const QList<T> & other ) - - - operator== - operator-eq-eq - ( const QList<T> & other ) - - - operator[] - operator-5b-5d - ( int i ) - - - operator[] - operator-5b-5d-2 - ( int i ) - - - find - find - ( const T & t ) - - - find - find-2 - ( const T & t ) - - - find - find-3 - ( iterator from, const T & t ) - - - find - find-4 - ( const_iterator from, const T & t ) - - - findIndex - findIndex - ( const T & t ) - - - remove - remove - ( iterator pos ) - - - remove - remove-2 - ( const T & t ) - - - - QListIterator - qlistiterator.html - - QListIterator - QListIterator - ( const QList<T> & list ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - operator= - operator-eq - ( const QList<T> & list ) - - - - QListView - qlistview.html - - Flow - Flow-enum - - - - LayoutMode - LayoutMode-enum - - - - Movement - Movement-enum - - - - ResizeMode - ResizeMode-enum - - - - ViewMode - ViewMode-enum - - - - QListView - QListView - ( QWidget * parent = 0 ) - - - clearPropertyFlags - clearPropertyFlags - () - - - currentChanged - currentChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - indexesMoved - indexesMoved - ( const QModelIndexList & indexes ) - - - isRowHidden - isRowHidden - ( int row ) - - - rectForIndex - rectForIndex - ( const QModelIndex & index ) - - - selectionChanged - selectionChanged - ( const QItemSelection & selected, const QItemSelection & deselected ) - - - setPositionForIndex - setPositionForIndex - ( const QPoint & position, const QModelIndex & index ) - - - setRowHidden - setRowHidden - ( int row, bool hide ) - - - isItemHidden - isItemHidden - ( const QListWidgetItem * item ) - - - isItemSelected - isItemSelected - ( const QListWidgetItem * item ) - - - setItemHidden - setItemHidden - ( const QListWidgetItem * item, bool hide ) - - - setItemSelected - setItemSelected - ( const QListWidgetItem * item, bool select ) - - - - QListWidget - qlistwidget.html - - QListWidget - QListWidget - ( QWidget * parent = 0 ) - - - addItem - addItem - ( const QString & label ) - - - addItem - addItem-2 - ( QListWidgetItem * item ) - - - addItems - addItems - ( const QStringList & labels ) - - - clear - clear - () - - - closePersistentEditor - closePersistentEditor - ( QListWidgetItem * item ) - - - currentItem - currentItem - () - - - currentItemChanged - currentItemChanged - ( QListWidgetItem * current, QListWidgetItem * previous ) - - - currentRowChanged - currentRowChanged - ( int currentRow ) - - - currentTextChanged - currentTextChanged - ( const QString & currentText ) - - - dropMimeData - dropMimeData - ( int index, const QMimeData * data, Qt::DropAction action ) - - - editItem - editItem - ( QListWidgetItem * item ) - - - findItems - findItems - ( const QString & text, Qt::MatchFlags flags ) - - - indexFromItem - indexFromItem - ( QListWidgetItem * item ) - - - insertItem - insertItem - ( int row, QListWidgetItem * item ) - - - insertItem - insertItem-2 - ( int row, const QString & label ) - - - insertItems - insertItems - ( int row, const QStringList & labels ) - - - item - item - ( int row ) - - - itemActivated - itemActivated - ( QListWidgetItem * item ) - - - itemAt - itemAt - ( const QPoint & p ) - - - itemAt - itemAt-2 - ( int x, int y ) - - - itemChanged - itemChanged - ( QListWidgetItem * item ) - - - itemClicked - itemClicked - ( QListWidgetItem * item ) - - - itemDoubleClicked - itemDoubleClicked - ( QListWidgetItem * item ) - - - itemEntered - itemEntered - ( QListWidgetItem * item ) - - - itemFromIndex - itemFromIndex - ( const QModelIndex & index ) - - - itemPressed - itemPressed - ( QListWidgetItem * item ) - - - itemSelectionChanged - itemSelectionChanged - () - - - itemWidget - itemWidget - ( QListWidgetItem * item ) - - - items - items - ( const QMimeData * data ) - - - mimeData - mimeData - ( const QList<QListWidgetItem *> items ) - - - mimeTypes - mimeTypes - () - - - openPersistentEditor - openPersistentEditor - ( QListWidgetItem * item ) - - - removeItemWidget - removeItemWidget - ( QListWidgetItem * item ) - - - row - row - ( const QListWidgetItem * item ) - - - scrollToItem - scrollToItem - ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - selectedItems - selectedItems - () - - - setCurrentItem - setCurrentItem - ( QListWidgetItem * item ) - - - setItemWidget - setItemWidget - ( QListWidgetItem * item, QWidget * widget ) - - - sortItems - sortItems - ( Qt::SortOrder order = Qt::AscendingOrder ) - - - DropActions - supportedDropActions - QListWidget::supportedDropActions() - - - takeItem - takeItem - ( int row ) - - - visualItemRect - visualItemRect - ( const QListWidgetItem * item ) - - - backgroundColor - backgroundColor - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setTextColor - setTextColor - ( const QColor & color ) - - - textColor - textColor - () - - - - QListWidgetItem - qlistwidgetitem.html - - ItemType - ItemType-enum - - - - QListWidgetItem - QListWidgetItem - ( QListWidget * parent = 0, int type = Type ) - - - QListWidgetItem - QListWidgetItem-2 - ( const QString & text, QListWidget * parent = 0, int type = Type ) - - - QListWidgetItem - QListWidgetItem-3 - ( const QIcon & icon, const QString & text, QListWidget * parent = 0, int type = Type ) - - - QListWidgetItem - QListWidgetItem-4 - ( const QListWidgetItem & other ) - - - background - background - () - - - CheckState - checkState - QListWidgetItem::checkState() - - - clone - clone - () - - - data - data - ( int role ) - - - ItemFlags - flags - QListWidgetItem::flags() - - - font - font - () - - - foreground - foreground - () - - - icon - icon - () - - - isHidden - isHidden - () - - - isSelected - isSelected - () - - - listWidget - listWidget - () - - - read - read - ( QDataStream & in ) - - - setBackground - setBackground - ( const QBrush & brush ) - - - setCheckState - setCheckState - ( Qt::CheckState state ) - - - setData - setData - ( int role, const QVariant & value ) - - - setFlags - setFlags - ( Qt::ItemFlags flags ) - - - setFont - setFont - ( const QFont & font ) - - - setForeground - setForeground - ( const QBrush & brush ) - - - setHidden - setHidden - ( bool hide ) - - - setIcon - setIcon - ( const QIcon & icon ) - - - setSelected - setSelected - ( bool select ) - - - setSizeHint - setSizeHint - ( const QSize & size ) - - - setStatusTip - setStatusTip - ( const QString & statusTip ) - - - setText - setText - ( const QString & text ) - - - setTextAlignment - setTextAlignment - ( int alignment ) - - - setToolTip - setToolTip - ( const QString & toolTip ) - - - setWhatsThis - setWhatsThis - ( const QString & whatsThis ) - - - sizeHint - sizeHint - () - - - statusTip - statusTip - () - - - text - text - () - - - textAlignment - textAlignment - () - - - toolTip - toolTip - () - - - type - type - () - - - whatsThis - whatsThis - () - - - write - write - ( QDataStream & out ) - - - operator< - operator-lt - ( const QListWidgetItem & other ) - - - operator= - operator-eq - ( const QListWidgetItem & other ) - - - - QLocale - qlocale.html - - Country - Country-enum - - - - FormatType - FormatType-enum - - - - Language - Language-enum - - - - QLocale - QLocale - () - - - QLocale - QLocale-2 - ( const QString & name ) - - - QLocale - QLocale-3 - ( Language language, Country country = AnyCountry ) - - - QLocale - QLocale-4 - ( const QLocale & other ) - - - c - c - () - - - countriesForLanguage - countriesForLanguage - ( Language language ) - - - country - country - () - - - countryToString - countryToString - ( Country country ) - - - dateFormat - dateFormat - ( FormatType format = LongFormat ) - - - dayName - dayName - ( int day, FormatType type = LongFormat ) - - - decimalPoint - decimalPoint - () - - - exponential - exponential - () - - - groupSeparator - groupSeparator - () - - - language - language - () - - - languageToString - languageToString - ( Language language ) - - - monthName - monthName - ( int month, FormatType type = LongFormat ) - - - name - name - () - - - negativeSign - negativeSign - () - - - numberOptions - numberOptions - () - - - percent - percent - () - - - setDefault - setDefault - ( const QLocale & locale ) - - - setNumberOptions - setNumberOptions - ( NumberOptions options ) - - - system - system - () - - - timeFormat - timeFormat - ( FormatType format = LongFormat ) - - - toDouble - toDouble - ( const QString & s, bool * ok = 0 ) - - - toFloat - toFloat - ( const QString & s, bool * ok = 0 ) - - - toInt - toInt - ( const QString & s, bool * ok = 0, int base = 0 ) - - - toLongLong - toLongLong - ( const QString & s, bool * ok = 0, int base = 0 ) - - - toShort - toShort - ( const QString & s, bool * ok = 0, int base = 0 ) - - - toString - toString - ( qlonglong i ) - - - toString - toString-2 - ( const QDate & date, const QString & format ) - - - toString - toString-3 - ( const QDate & date, FormatType format = LongFormat ) - - - toString - toString-4 - ( const QTime & time, const QString & format ) - - - toString - toString-5 - ( const QTime & time, FormatType format = LongFormat ) - - - toString - toString-6 - ( qulonglong i ) - - - toString - toString-7 - ( double i, char f = 'g', int prec = 6 ) - - - toString - toString-8 - ( short i ) - - - toString - toString-9 - ( ushort i ) - - - toString - toString-10 - ( int i ) - - - toString - toString-11 - ( uint i ) - - - toString - toString-12 - ( float i, char f = 'g', int prec = 6 ) - - - toUInt - toUInt - ( const QString & s, bool * ok = 0, int base = 0 ) - - - toULongLong - toULongLong - ( const QString & s, bool * ok = 0, int base = 0 ) - - - toUShort - toUShort - ( const QString & s, bool * ok = 0, int base = 0 ) - - - zeroDigit - zeroDigit - () - - - operator!= - operator-not-eq - ( const QLocale & other ) - - - operator= - operator-eq - ( const QLocale & other ) - - - operator== - operator-eq-eq - ( const QLocale & other ) - - - - QMacPasteboardMime - qmacpasteboardmime.html - - QMacPasteboardMime - QMacPasteboardMime - ( char t ) - - - all - all - ( uchar t ) - - - canConvert - canConvert - ( const QString & mime, QString flav ) - - - convertFromMime - convertFromMime - ( const QString & mime, QVariant data, QString flav ) - - - convertToMime - convertToMime - ( const QString & mime, QList<QByteArray> data, QString flav ) - - - convertor - convertor - ( uchar t, const QString & mime, QString flav ) - - - convertorName - convertorName - () - - - flavorFor - flavorFor - ( const QString & mime ) - - - flavorToMime - flavorToMime - ( uchar t, QString flav ) - - - mimeFor - mimeFor - ( QString flav ) - - - focusRectPolicy - focusRectPolicy - ( const QWidget * w ) - - - setFocusRectPolicy - setFocusRectPolicy - ( QWidget * w, FocusRectPolicy policy ) - - - setWidgetSizePolicy - setWidgetSizePolicy - ( const QWidget * widget, WidgetSizePolicy policy ) - - - widgetSizePolicy - widgetSizePolicy - ( const QWidget * widget ) - - - - QMacStyle - qmacstyle.html - - FocusRectPolicy - FocusRectPolicy-enum - - - - WidgetSizePolicy - WidgetSizePolicy-enum - - - - QMacStyle - QMacStyle - () - - - QMainWindow - QMainWindow-2 - ( QWidget * parent, const char * name, Qt::WindowFlags flags = 0 ) - - - - QMainWindow - qmainwindow.html - - ToolButtonStyle - toolButtonStyle-prop - - - - QMainWindow - QMainWindow - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - addDockWidget - addDockWidget - ( Qt::DockWidgetArea area, QDockWidget * dockwidget ) - - - addDockWidget - addDockWidget-2 - ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation ) - - - addToolBar - addToolBar - ( Qt::ToolBarArea area, QToolBar * toolbar ) - - - addToolBar - addToolBar-2 - ( QToolBar * toolbar ) - - - addToolBar - addToolBar-3 - ( const QString & title ) - - - addToolBarBreak - addToolBarBreak - ( Qt::ToolBarArea area = Qt::TopToolBarArea ) - - - centralWidget - centralWidget - () - - - DockWidgetArea - corner - QMainWindow::corner( Qt::Corner corner ) - - - createPopupMenu - createPopupMenu - () - - - DockWidgetArea - dockWidgetArea - QMainWindow::dockWidgetArea( QDockWidget * dockwidget ) - - - iconSizeChanged - iconSizeChanged - ( const QSize & iconSize ) - - - insertToolBar - insertToolBar - ( QToolBar * before, QToolBar * toolbar ) - - - insertToolBarBreak - insertToolBarBreak - ( QToolBar * before ) - - - menuBar - menuBar - () - - - menuWidget - menuWidget - () - - - removeDockWidget - removeDockWidget - ( QDockWidget * dockwidget ) - - - removeToolBar - removeToolBar - ( QToolBar * toolbar ) - - - removeToolBarBreak - removeToolBarBreak - ( QToolBar * before ) - - - restoreState - restoreState - ( const QByteArray & state, int version = 0 ) - - - saveState - saveState - ( int version = 0 ) - - - setCentralWidget - setCentralWidget - ( QWidget * widget ) - - - setCorner - setCorner - ( Qt::Corner corner, Qt::DockWidgetArea area ) - - - setMenuBar - setMenuBar - ( QMenuBar * menuBar ) - - - setMenuWidget - setMenuWidget - ( QWidget * menuBar ) - - - setStatusBar - setStatusBar - ( QStatusBar * statusbar ) - - - splitDockWidget - splitDockWidget - ( QDockWidget * first, QDockWidget * second, Qt::Orientation orientation ) - - - statusBar - statusBar - () - - - tabifyDockWidget - tabifyDockWidget - ( QDockWidget * first, QDockWidget * second ) - - - ToolBarArea - toolBarArea - QMainWindow::toolBarArea( QToolBar * toolbar ) - - - toolBarBreak - toolBarBreak - ( QToolBar * toolbar ) - - - toolButtonStyleChanged - toolButtonStyleChanged - ( Qt::ToolButtonStyle toolButtonStyle ) - - - QMainWindow - QMainWindow-2 - ( QWidget * parent, const char * name, Qt::WindowFlags flags = 0 ) - - - data - data - () - - - - QMap::const_iterator - qmap-const-iterator.html - - const_iterator - const_iterator - () - - - const_iterator - const_iterator-3 - ( const iterator & other ) - - - key - key - () - - - value - value - () - - - operator!= - operator-not-eq - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator== - operator-eq-eq - ( const const_iterator & other ) - - - data - data - () - - - data - data - () - - - - QMap::iterator - qmap-iterator.html - - iterator - iterator - () - - - key - key - () - - - value - value - () - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator!= - operator-not-eq-2 - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator== - operator-eq-eq - ( const iterator & other ) - - - operator== - operator-eq-eq-2 - ( const const_iterator & other ) - - - data - data - () - - - erase - erase-2 - ( const Key & key ) - - - insert - insert-2 - ( const Key & key, const T & value, bool overwrite ) - - - remove - remove-2 - ( iterator it ) - - - replace - replace - ( const Key & key, const T & value ) - - - - QMap - qmap.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - difference_type - difference_type-typedef - - - - key_type - key_type-typedef - - - - mapped_type - mapped_type-typedef - - - - size_type - size_type-typedef - - - - QMap - QMap - () - - - QMap - QMap-2 - ( const QMap<Key, T> & other ) - - - QMap - QMap-3 - ( const std::map<Key, T> & other ) - - - begin - begin - () - - - begin - begin-2 - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constEnd - constEnd - () - - - constFind - constFind - ( const Key & key ) - - - contains - contains - ( const Key & key ) - - - count - count - ( const Key & key ) - - - count - count-2 - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - find - find - ( const Key & key ) - - - find - find-2 - ( const Key & key ) - - - insert - insert - ( const Key & key, const T & value ) - - - insertMulti - insertMulti - ( const Key & key, const T & value ) - - - isEmpty - isEmpty - () - - - key - key - ( const T & value ) - - - key - key-2 - ( const T & value, const Key & defaultKey ) - - - keys - keys - () - - - keys - keys-2 - ( const T & value ) - - - lowerBound - lowerBound - ( const Key & key ) - - - lowerBound - lowerBound-2 - ( const Key & key ) - - - remove - remove - ( const Key & key ) - - - size - size - () - - - take - take - ( const Key & key ) - - - map - toStdMap - <Key, T> QMap::toStdMap() - - - uniqueKeys - uniqueKeys - () - - - unite - unite - ( const QMap<Key, T> & other ) - - - upperBound - upperBound - ( const Key & key ) - - - upperBound - upperBound-2 - ( const Key & key ) - - - value - value - ( const Key & key ) - - - value - value-2 - ( const Key & key, const T & defaultValue ) - - - values - values - () - - - values - values-2 - ( const Key & key ) - - - operator!= - operator-not-eq - ( const QMap<Key, T> & other ) - - - operator= - operator-eq - ( const QMap<Key, T> & other ) - - - operator== - operator-eq-eq - ( const QMap<Key, T> & other ) - - - operator[] - operator-5b-5d - ( const Key & key ) - - - operator[] - operator-5b-5d-2 - ( const Key & key ) - - - erase - erase-2 - ( const Key & key ) - - - insert - insert-2 - ( const Key & key, const T & value, bool overwrite ) - - - remove - remove-2 - ( iterator it ) - - - replace - replace - ( const Key & key, const T & value ) - - - - QMapIterator - qmapiterator.html - - QMapIterator - QMapIterator - ( const QMap<Key, T> & map ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - key - key - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - operator= - operator-eq - ( const QMap<Key, T> & map ) - - - invert - invert - ( bool * invertible = 0 ) - - - map - map-2 - ( const QRect & rect ) - - - mapToRegion - mapToRegion - ( const QRect & rectangle ) - - - - QMatrix - qmatrix.html - - QMatrix - QMatrix - () - - - QMatrix - QMatrix-2 - ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - - - QMatrix - QMatrix-3 - ( const QMatrix & matrix ) - - - m11 - m11 - () - - - m12 - m12 - () - - - m21 - m21 - () - - - m22 - m22 - () - - - det - det - () - - - dx - dx - () - - - dy - dy - () - - - inverted - inverted - ( bool * invertible = 0 ) - - - isIdentity - isIdentity - () - - - isInvertible - isInvertible - () - - - map - map - ( qreal x, qreal y, qreal * tx, qreal * ty ) - - - map - map-3 - ( int x, int y, int * tx, int * ty ) - - - map - map-4 - ( const QPointF & point ) - - - map - map-5 - ( const QPoint & point ) - - - map - map-6 - ( const QLineF & line ) - - - map - map-7 - ( const QLine & line ) - - - map - map-8 - ( const QPolygonF & polygon ) - - - map - map-9 - ( const QPolygon & polygon ) - - - map - map-10 - ( const QRegion & region ) - - - map - map-11 - ( const QPainterPath & path ) - - - mapRect - mapRect - ( const QRectF & rectangle ) - - - mapRect - mapRect-2 - ( const QRect & rectangle ) - - - mapToPolygon - mapToPolygon - ( const QRect & rectangle ) - - - reset - reset - () - - - rotate - rotate - ( qreal degrees ) - - - scale - scale - ( qreal sx, qreal sy ) - - - setMatrix - setMatrix - ( qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy ) - - - shear - shear - ( qreal sh, qreal sv ) - - - translate - translate - ( qreal dx, qreal dy ) - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QMatrix & matrix ) - - - operator* - operator-2a - ( const QMatrix & matrix ) - - - operator*= - operator-2a-eq - ( const QMatrix & matrix ) - - - operator= - operator-eq - ( const QMatrix & matrix ) - - - operator== - operator-eq-eq - ( const QMatrix & matrix ) - - - invert - invert - ( bool * invertible = 0 ) - - - map - map-2 - ( const QRect & rect ) - - - mapToRegion - mapToRegion - ( const QRect & rectangle ) - - - - QMdiArea - qmdiarea.html - - WindowOrder - WindowOrder-enum - - - - QMdiArea - QMdiArea - ( QWidget * parent = 0 ) - - - activateNextSubWindow - activateNextSubWindow - () - - - activatePreviousSubWindow - activatePreviousSubWindow - () - - - activeSubWindow - activeSubWindow - () - - - addSubWindow - addSubWindow - ( QWidget * widget, Qt::WindowFlags windowFlags = 0 ) - - - cascadeSubWindows - cascadeSubWindows - () - - - closeActiveSubWindow - closeActiveSubWindow - () - - - closeAllSubWindows - closeAllSubWindows - () - - - currentSubWindow - currentSubWindow - () - - - removeSubWindow - removeSubWindow - ( QWidget * widget ) - - - setActiveSubWindow - setActiveSubWindow - ( QMdiSubWindow * window ) - - - setOption - setOption - ( AreaOption option, bool on = true ) - - - setupViewport - setupViewport - ( QWidget * viewport ) - - - subWindowActivated - subWindowActivated - ( QMdiSubWindow * window ) - - - subWindowList - subWindowList - ( WindowOrder order = CreationOrder ) - - - testOption - testOption - ( AreaOption option ) - - - tileSubWindows - tileSubWindows - () - - - - QMdiSubWindow - qmdisubwindow.html - - QMdiSubWindow - QMdiSubWindow - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - aboutToActivate - aboutToActivate - () - - - isShaded - isShaded - () - - - setOption - setOption - ( SubWindowOption option, bool on = true ) - - - setSystemMenu - setSystemMenu - ( QMenu * systemMenu ) - - - setWidget - setWidget - ( QWidget * widget ) - - - showShaded - showShaded - () - - - showSystemMenu - showSystemMenu - () - - - systemMenu - systemMenu - () - - - testOption - testOption - ( SubWindowOption option ) - - - widget - widget - () - - - windowStateChanged - windowStateChanged - ( Qt::WindowStates oldState, Qt::WindowStates newState ) - - - accel - accel - ( int id ) - - - activateItemAt - activateItemAt - ( int index ) - - - activated - activated - ( int itemId ) - - - changeItem - changeItem - ( int id, const QString & text ) - - - changeItem - changeItem-2 - ( int id, const QPixmap & pixmap ) - - - changeItem - changeItem-3 - ( int id, const QIcon & icon, const QString & text ) - - - columns - columns - () - - - connectItem - connectItem - ( int id, const QObject * receiver, const char * member ) - - - count - count - () - - - disconnectItem - disconnectItem - ( int id, const QObject * receiver, const char * member ) - - - findItem - findItem - ( int id ) - - - findPopup - findPopup - ( QMenu * popup, int * index ) - - - frameWidth - frameWidth - () - - - highlighted - highlighted - ( int itemId ) - - - iconSet - iconSet - ( int id ) - - - idAt - idAt - ( int index ) - - - indexOf - indexOf - ( int id ) - - - insertItem - insertItem - ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-2 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-3 - ( const QPixmap & pixmap, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-4 - ( const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-5 - ( const QIcon & icon, const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-6 - ( const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-7 - ( const QIcon & icon, const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-8 - ( const QPixmap & pixmap, int id = -1, int index = -1 ) - - - insertItem - insertItem-9 - ( const QPixmap & pixmap, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-10 - ( QMenuItem * item, int id = -1, int index = -1 ) - - - insertSeparator - insertSeparator-2 - ( int index = -1 ) - - - insertTearOffHandle - insertTearOffHandle - ( int a = 0, int b = 0 ) - - - isCheckable - isCheckable - () - - - isItemActive - isItemActive - ( int id ) - - - isItemChecked - isItemChecked - ( int id ) - - - isItemEnabled - isItemEnabled - ( int id ) - - - isItemVisible - isItemVisible - ( int id ) - - - itemAtPos - itemAtPos - ( const QPoint & p, bool ignoreSeparator = true ) - - - itemFont - itemFont - ( int id ) - - - itemGeometry - itemGeometry - ( int index ) - - - itemHeight - itemHeight - ( int index ) - - - itemHeight - itemHeight-2 - ( QMenuItem * mi ) - - - itemParameter - itemParameter - ( int id ) - - - pixmap - pixmap - ( int id ) - - - popup - popup-2 - ( const QPoint & pos, int indexAtPoint ) - - - removeItem - removeItem - ( int id ) - - - removeItemAt - removeItemAt - ( int index ) - - - setAccel - setAccel - ( const QKeySequence & key, int id ) - - - setActiveItem - setActiveItem - ( int id ) - - - setCheckable - setCheckable - ( bool checkable ) - - - setId - setId - ( int index, int id ) - - - setItemChecked - setItemChecked - ( int id, bool check ) - - - setItemEnabled - setItemEnabled - ( int id, bool enable ) - - - setItemFont - setItemFont - ( int id, const QFont & font ) - - - setItemParameter - setItemParameter - ( int id, int param ) - - - setItemVisible - setItemVisible - ( int id, bool visible ) - - - setWhatsThis - setWhatsThis - ( int id, const QString & w ) - - - text - text - ( int id ) - - - whatsThis - whatsThis - ( int id ) - - - - QMenu - qmenu.html - - QMenu - QMenu - ( QWidget * parent = 0 ) - - - QMenu - QMenu-2 - ( const QString & title, QWidget * parent = 0 ) - - - aboutToHide - aboutToHide - () - - - aboutToShow - aboutToShow - () - - - actionAt - actionAt - ( const QPoint & pt ) - - - actionGeometry - actionGeometry - ( QAction * act ) - - - activeAction - activeAction - () - - - addAction - addAction - ( const QString & text ) - - - addAction - addAction-2 - ( const QIcon & icon, const QString & text ) - - - addAction - addAction-3 - ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - - - addAction - addAction-4 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0 ) - - - addMenu - addMenu - ( QMenu * menu ) - - - addMenu - addMenu-2 - ( const QString & title ) - - - addMenu - addMenu-3 - ( const QIcon & icon, const QString & title ) - - - addSeparator - addSeparator - () - - - clear - clear - () - - - columnCount - columnCount - () - - - defaultAction - defaultAction - () - - - exec - exec - () - - - exec - exec-2 - ( const QPoint & p, QAction * action = 0 ) - - - exec - exec-3 - ( QList<QAction *> actions, const QPoint & pos, QAction * at = 0 ) - - - hideTearOffMenu - hideTearOffMenu - () - - - hovered - hovered - ( QAction * action ) - - - initStyleOption - initStyleOption - ( QStyleOptionMenuItem * option, const QAction * action ) - - - insertMenu - insertMenu - ( QAction * before, QMenu * menu ) - - - insertSeparator - insertSeparator - ( QAction * before ) - - - isEmpty - isEmpty - () - - - isTearOffMenuVisible - isTearOffMenuVisible - () - - - menuAction - menuAction - () - - - popup - popup - ( const QPoint & p, QAction * atAction = 0 ) - - - setActiveAction - setActiveAction - ( QAction * act ) - - - setDefaultAction - setDefaultAction - ( QAction * act ) - - - triggered - triggered - ( QAction * action ) - - - accel - accel - ( int id ) - - - activateItemAt - activateItemAt - ( int index ) - - - activated - activated - ( int itemId ) - - - changeItem - changeItem - ( int id, const QString & text ) - - - changeItem - changeItem-2 - ( int id, const QPixmap & pixmap ) - - - changeItem - changeItem-3 - ( int id, const QIcon & icon, const QString & text ) - - - columns - columns - () - - - connectItem - connectItem - ( int id, const QObject * receiver, const char * member ) - - - count - count - () - - - disconnectItem - disconnectItem - ( int id, const QObject * receiver, const char * member ) - - - findItem - findItem - ( int id ) - - - findPopup - findPopup - ( QMenu * popup, int * index ) - - - frameWidth - frameWidth - () - - - highlighted - highlighted - ( int itemId ) - - - iconSet - iconSet - ( int id ) - - - idAt - idAt - ( int index ) - - - indexOf - indexOf - ( int id ) - - - insertItem - insertItem - ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-2 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-3 - ( const QPixmap & pixmap, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-4 - ( const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-5 - ( const QIcon & icon, const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-6 - ( const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-7 - ( const QIcon & icon, const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-8 - ( const QPixmap & pixmap, int id = -1, int index = -1 ) - - - insertItem - insertItem-9 - ( const QPixmap & pixmap, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-10 - ( QMenuItem * item, int id = -1, int index = -1 ) - - - insertSeparator - insertSeparator-2 - ( int index = -1 ) - - - insertTearOffHandle - insertTearOffHandle - ( int a = 0, int b = 0 ) - - - isCheckable - isCheckable - () - - - isItemActive - isItemActive - ( int id ) - - - isItemChecked - isItemChecked - ( int id ) - - - isItemEnabled - isItemEnabled - ( int id ) - - - isItemVisible - isItemVisible - ( int id ) - - - itemAtPos - itemAtPos - ( const QPoint & p, bool ignoreSeparator = true ) - - - itemFont - itemFont - ( int id ) - - - itemGeometry - itemGeometry - ( int index ) - - - itemHeight - itemHeight - ( int index ) - - - itemHeight - itemHeight-2 - ( QMenuItem * mi ) - - - itemParameter - itemParameter - ( int id ) - - - pixmap - pixmap - ( int id ) - - - popup - popup-2 - ( const QPoint & pos, int indexAtPoint ) - - - removeItem - removeItem - ( int id ) - - - removeItemAt - removeItemAt - ( int index ) - - - setAccel - setAccel - ( const QKeySequence & key, int id ) - - - setActiveItem - setActiveItem - ( int id ) - - - setCheckable - setCheckable - ( bool checkable ) - - - setId - setId - ( int index, int id ) - - - setItemChecked - setItemChecked - ( int id, bool check ) - - - setItemEnabled - setItemEnabled - ( int id, bool enable ) - - - setItemFont - setItemFont - ( int id, const QFont & font ) - - - setItemParameter - setItemParameter - ( int id, int param ) - - - setItemVisible - setItemVisible - ( int id, bool visible ) - - - setWhatsThis - setWhatsThis - ( int id, const QString & w ) - - - text - text - ( int id ) - - - whatsThis - whatsThis - ( int id ) - - - Separator - Separator-enum - - - - QMenuBar - QMenuBar-2 - ( QWidget * parent, const char * name ) - - - accel - accel - ( int id ) - - - activateItemAt - activateItemAt - ( int index ) - - - activated - activated - ( int itemId ) - - - autoGeometry - autoGeometry - () - - - changeItem - changeItem - ( int id, const QString & text ) - - - changeItem - changeItem-2 - ( int id, const QPixmap & pixmap ) - - - changeItem - changeItem-3 - ( int id, const QIcon & icon, const QString & text ) - - - connectItem - connectItem - ( int id, const QObject * receiver, const char * member ) - - - count - count - () - - - disconnectItem - disconnectItem - ( int id, const QObject * receiver, const char * member ) - - - findItem - findItem - ( int id ) - - - frameWidth - frameWidth - () - - - highlighted - highlighted - ( int itemId ) - - - iconSet - iconSet - ( int id ) - - - idAt - idAt - ( int index ) - - - indexOf - indexOf - ( int id ) - - - insertItem - insertItem - ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-2 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-3 - ( const QPixmap & pixmap, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-4 - ( const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-5 - ( const QIcon & icon, const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-6 - ( const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-7 - ( const QIcon & icon, const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-8 - ( const QPixmap & pixmap, int id = -1, int index = -1 ) - - - insertItem - insertItem-9 - ( const QPixmap & pixmap, QMenu * popup, int id = -1, int index = -1 ) - - - insertSeparator - insertSeparator-2 - ( int index = -1 ) - - - isItemActive - isItemActive - ( int id ) - - - isItemChecked - isItemChecked - ( int id ) - - - isItemEnabled - isItemEnabled - ( int id ) - - - isItemVisible - isItemVisible - ( int id ) - - - itemAtPos - itemAtPos - ( const QPoint & p ) - - - itemParameter - itemParameter - ( int id ) - - - itemRect - itemRect - ( int index ) - - - margin - margin - () - - - pixmap - pixmap - ( int id ) - - - removeItem - removeItem - ( int id ) - - - removeItemAt - removeItemAt - ( int index ) - - - separator - separator - () - - - setAccel - setAccel - ( const QKeySequence & key, int id ) - - - setAutoGeometry - setAutoGeometry - ( bool b ) - - - setItemChecked - setItemChecked - ( int id, bool check ) - - - setItemEnabled - setItemEnabled - ( int id, bool enable ) - - - setItemParameter - setItemParameter - ( int id, int param ) - - - setItemVisible - setItemVisible - ( int id, bool visible ) - - - setMargin - setMargin - ( int margin ) - - - setSeparator - setSeparator - ( Separator sep ) - - - setWhatsThis - setWhatsThis - ( int id, const QString & w ) - - - text - text - ( int id ) - - - whatsThis - whatsThis - ( int id ) - - - - QMenuBar - qmenubar.html - - QMenuBar - QMenuBar - ( QWidget * parent = 0 ) - - - activeAction - activeAction - () - - - addAction - addAction - ( const QString & text ) - - - addAction - addAction-2 - ( const QString & text, const QObject * receiver, const char * member ) - - - addMenu - addMenu - ( QMenu * menu ) - - - addMenu - addMenu-2 - ( const QString & title ) - - - addMenu - addMenu-3 - ( const QIcon & icon, const QString & title ) - - - addSeparator - addSeparator - () - - - clear - clear - () - - - hovered - hovered - ( QAction * action ) - - - initStyleOption - initStyleOption - ( QStyleOptionMenuItem * option, const QAction * action ) - - - insertMenu - insertMenu - ( QAction * before, QMenu * menu ) - - - insertSeparator - insertSeparator - ( QAction * before ) - - - setActiveAction - setActiveAction - ( QAction * act ) - - - triggered - triggered - ( QAction * action ) - - - Separator - Separator-enum - - - - QMenuBar - QMenuBar-2 - ( QWidget * parent, const char * name ) - - - accel - accel - ( int id ) - - - activateItemAt - activateItemAt - ( int index ) - - - activated - activated - ( int itemId ) - - - autoGeometry - autoGeometry - () - - - changeItem - changeItem - ( int id, const QString & text ) - - - changeItem - changeItem-2 - ( int id, const QPixmap & pixmap ) - - - changeItem - changeItem-3 - ( int id, const QIcon & icon, const QString & text ) - - - connectItem - connectItem - ( int id, const QObject * receiver, const char * member ) - - - count - count - () - - - disconnectItem - disconnectItem - ( int id, const QObject * receiver, const char * member ) - - - findItem - findItem - ( int id ) - - - frameWidth - frameWidth - () - - - highlighted - highlighted - ( int itemId ) - - - iconSet - iconSet - ( int id ) - - - idAt - idAt - ( int index ) - - - indexOf - indexOf - ( int id ) - - - insertItem - insertItem - ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-2 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-3 - ( const QPixmap & pixmap, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) - - - insertItem - insertItem-4 - ( const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-5 - ( const QIcon & icon, const QString & text, int id = -1, int index = -1 ) - - - insertItem - insertItem-6 - ( const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-7 - ( const QIcon & icon, const QString & text, QMenu * popup, int id = -1, int index = -1 ) - - - insertItem - insertItem-8 - ( const QPixmap & pixmap, int id = -1, int index = -1 ) - - - insertItem - insertItem-9 - ( const QPixmap & pixmap, QMenu * popup, int id = -1, int index = -1 ) - - - insertSeparator - insertSeparator-2 - ( int index = -1 ) - - - isItemActive - isItemActive - ( int id ) - - - isItemChecked - isItemChecked - ( int id ) - - - isItemEnabled - isItemEnabled - ( int id ) - - - isItemVisible - isItemVisible - ( int id ) - - - itemAtPos - itemAtPos - ( const QPoint & p ) - - - itemParameter - itemParameter - ( int id ) - - - itemRect - itemRect - ( int index ) - - - margin - margin - () - - - pixmap - pixmap - ( int id ) - - - removeItem - removeItem - ( int id ) - - - removeItemAt - removeItemAt - ( int index ) - - - separator - separator - () - - - setAccel - setAccel - ( const QKeySequence & key, int id ) - - - setAutoGeometry - setAutoGeometry - ( bool b ) - - - setItemChecked - setItemChecked - ( int id, bool check ) - - - setItemEnabled - setItemEnabled - ( int id, bool enable ) - - - setItemParameter - setItemParameter - ( int id, int param ) - - - setItemVisible - setItemVisible - ( int id, bool visible ) - - - setMargin - setMargin - ( int margin ) - - - setSeparator - setSeparator - ( Separator sep ) - - - setWhatsThis - setWhatsThis - ( int id, const QString & w ) - - - text - text - ( int id ) - - - whatsThis - whatsThis - ( int id ) - - - QMenuItem - QMenuItem - () - - - id - id - () - - - signalValue - signalValue - () - - - - QMenuItem - qmenuitem.html - - QMenuItem - QMenuItem - () - - - id - id - () - - - signalValue - signalValue - () - - - Button - Button-typedef - - - - QMessageBox - QMessageBox-3 - ( const QString & title, const QString & text, Icon icon, int button0, int button1, int button2, QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - - - buttonText - buttonText - ( int button ) - - - critical - critical-2 - ( QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0 ) - - - critical - critical-4 - ( QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString() - - - information - information-2 - ( QWidget * parent, const QString & title, const QString & text, int button0, int button1 = 0, int button2 = 0 ) - - - information - information-4 - ( QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString() - - - question - question-2 - ( QWidget * parent, const QString & title, const QString & text, int button0, int button1 = 0, int button2 = 0 ) - - - question - question-4 - ( QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString() - - - setButtonText - setButtonText - ( int button, const QString & text ) - - - standardIcon - standardIcon-2 - ( Icon icon ) - - - warning - warning-2 - ( QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0 ) - - - warning - warning-4 - ( QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString() - - - QMessageBox - QMessageBox-4 - ( const QString & title, const QString & text, Icon icon, int button0, int button1, int button2, QWidget * parent, const char * name, bool modal, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - - - QMessageBox - QMessageBox-5 - ( QWidget * parent, const char * name ) - - - message - message - ( const QString & title, const QString & text, const QString & buttonText = QString() - - - query - query - ( const QString & caption, const QString & text, const QString & yesButtonText = QString() - - - standardIcon - standardIcon - ( Icon icon, Qt::GUIStyle style ) - - - - QMessageBox - qmessagebox.html - - ButtonRole - ButtonRole-enum - - - - Icon - Icon-enum - - - - TextFormat - textFormat-prop - - - - QMessageBox - QMessageBox - ( QWidget * parent = 0 ) - - - QMessageBox - QMessageBox-2 - ( Icon icon, const QString & title, const QString & text, StandardButtons buttons = NoButton, QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - - - about - about - ( QWidget * parent, const QString & title, const QString & text ) - - - aboutQt - aboutQt - ( QWidget * parent, const QString & title = QString() - - - addButton - addButton - ( QAbstractButton * button, ButtonRole role ) - - - addButton - addButton-2 - ( const QString & text, ButtonRole role ) - - - addButton - addButton-3 - ( StandardButton button ) - - - button - button - ( StandardButton which ) - - - clickedButton - clickedButton - () - - - critical - critical - ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - - - defaultButton - defaultButton - () - - - escapeButton - escapeButton - () - - - exec - exec - () - - - information - information - ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - - - question - question - ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - - - removeButton - removeButton - ( QAbstractButton * button ) - - - setDefaultButton - setDefaultButton - ( QPushButton * button ) - - - setDefaultButton - setDefaultButton-2 - ( StandardButton button ) - - - setEscapeButton - setEscapeButton - ( QAbstractButton * button ) - - - setEscapeButton - setEscapeButton-2 - ( StandardButton button ) - - - setWindowModality - setWindowModality - ( Qt::WindowModality windowModality ) - - - setWindowTitle - setWindowTitle - ( const QString & title ) - - - standardButton - standardButton - ( QAbstractButton * button ) - - - warning - warning - ( QWidget * parent, const QString & title, const QString & text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton ) - - - QMessageBox - QMessageBox-4 - ( const QString & title, const QString & text, Icon icon, int button0, int button1, int button2, QWidget * parent, const char * name, bool modal, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint ) - - - QMessageBox - QMessageBox-5 - ( QWidget * parent, const char * name ) - - - message - message - ( const QString & title, const QString & text, const QString & buttonText = QString() - - - query - query - ( const QString & caption, const QString & text, const QString & yesButtonText = QString() - - - standardIcon - standardIcon - ( Icon icon, Qt::GUIStyle style ) - - - - QMetaClassInfo - qmetaclassinfo.html - - name - name - () - - - value - value - () - - - - QMetaEnum - qmetaenum.html - - isFlag - isFlag - () - - - isValid - isValid - () - - - key - key - ( int index ) - - - keyCount - keyCount - () - - - keyToValue - keyToValue - ( const char * key ) - - - keysToValue - keysToValue - ( const char * keys ) - - - name - name - () - - - scope - scope - () - - - value - value - ( int index ) - - - valueToKey - valueToKey - ( int value ) - - - valueToKeys - valueToKeys - ( int value ) - - - - QMetaMethod - qmetamethod.html - - MethodType - MethodType-enum - - - - access - access - () - - - methodType - methodType - () - - - parameterNames - parameterNames - () - - - parameterTypes - parameterTypes - () - - - signature - signature - () - - - tag - tag - () - - - typeName - typeName - () - - - - QMetaObject - qmetaobject.html - - checkConnectArgs - checkConnectArgs - ( const char * signal, const char * method ) - - - classInfo - classInfo - ( int index ) - - - classInfoCount - classInfoCount - () - - - classInfoOffset - classInfoOffset - () - - - className - className - () - - - connectSlotsByName - connectSlotsByName - ( QObject * object ) - - - enumerator - enumerator - ( int index ) - - - enumeratorCount - enumeratorCount - () - - - enumeratorOffset - enumeratorOffset - () - - - indexOfClassInfo - indexOfClassInfo - ( const char * name ) - - - indexOfEnumerator - indexOfEnumerator - ( const char * name ) - - - indexOfMethod - indexOfMethod - ( const char * method ) - - - indexOfProperty - indexOfProperty - ( const char * name ) - - - indexOfSignal - indexOfSignal - ( const char * signal ) - - - indexOfSlot - indexOfSlot - ( const char * slot ) - - - invokeMethod - invokeMethod - ( QObject * obj, const char * member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0 = QGenericArgument( 0 ) - - - invokeMethod - invokeMethod-2 - ( QObject * obj, const char * member, QGenericReturnArgument ret, QGenericArgument val0 = QGenericArgument( 0 ) - - - invokeMethod - invokeMethod-3 - ( QObject * obj, const char * member, Qt::ConnectionType type, QGenericArgument val0 = QGenericArgument( 0 ) - - - invokeMethod - invokeMethod-4 - ( QObject * obj, const char * member, QGenericArgument val0 = QGenericArgument( 0 ) - - - method - method - ( int index ) - - - methodCount - methodCount - () - - - methodOffset - methodOffset - () - - - normalizedSignature - normalizedSignature - ( const char * method ) - - - normalizedType - normalizedType - ( const char * type ) - - - property - property - ( int index ) - - - propertyCount - propertyCount - () - - - propertyOffset - propertyOffset - () - - - superClass - superClass - () - - - userProperty - userProperty - () - - - isEditable - isEditable - ( const QObject * object = 0 ) - - - - QMetaProperty - qmetaproperty.html - - enumerator - enumerator - () - - - isDesignable - isDesignable - ( const QObject * object = 0 ) - - - isEnumType - isEnumType - () - - - isFlagType - isFlagType - () - - - isReadable - isReadable - () - - - isResettable - isResettable - () - - - isScriptable - isScriptable - ( const QObject * object = 0 ) - - - isStored - isStored - ( const QObject * object = 0 ) - - - isUser - isUser - ( const QObject * object = 0 ) - - - isValid - isValid - () - - - isWritable - isWritable - () - - - name - name - () - - - read - read - ( const QObject * object ) - - - reset - reset - ( QObject * object ) - - - Type - type - QMetaProperty::type() - - - typeName - typeName - () - - - userType - userType - () - - - write - write - ( QObject * object, const QVariant & value ) - - - - QMetaType - qmetatype.html - - Type - Type-enum - - - - construct - construct - ( int type, const void * copy = 0 ) - - - destroy - destroy - ( int type, void * data ) - - - isRegistered - isRegistered - ( int type ) - - - load - load - ( QDataStream & stream, int type, void * data ) - - - save - save - ( QDataStream & stream, int type, const void * data ) - - - type - type - ( const char * typeName ) - - - typeName - typeName - ( int type ) - - - - QMimeData - qmimedata.html - - QMimeData - QMimeData - () - - - clear - clear - () - - - colorData - colorData - () - - - data - data - ( const QString & mimeType ) - - - formats - formats - () - - - hasColor - hasColor - () - - - hasFormat - hasFormat - ( const QString & mimeType ) - - - hasHtml - hasHtml - () - - - hasImage - hasImage - () - - - hasText - hasText - () - - - hasUrls - hasUrls - () - - - html - html - () - - - imageData - imageData - () - - - retrieveData - retrieveData - ( const QString & mimeType, QVariant::Type type ) - - - setColorData - setColorData - ( const QVariant & color ) - - - setData - setData - ( const QString & mimeType, const QByteArray & data ) - - - setHtml - setHtml - ( const QString & html ) - - - setImageData - setImageData - ( const QVariant & image ) - - - setText - setText - ( const QString & text ) - - - setUrls - setUrls - ( const QList<QUrl> & urls ) - - - text - text - () - - - urls - urls - () - - - - QMimeSource - qmimesource.html - - encodedData - encodedData - ( const char * format ) - - - format - format - ( int i = 0 ) - - - provides - provides - ( const char * mimeType ) - - - - QModelIndex - qmodelindex.html - - QModelIndex - QModelIndex - () - - - QModelIndex - QModelIndex-2 - ( const QModelIndex & other ) - - - child - child - ( int row, int column ) - - - column - column - () - - - data - data - ( int role = Qt::DisplayRole ) - - - ItemFlags - flags - QModelIndex::flags() - - - internalId - internalId - () - - - internalPointer - internalPointer - () - - - isValid - isValid - () - - - model - model - () - - - parent - parent - () - - - row - row - () - - - sibling - sibling - ( int row, int column ) - - - operator!= - operator-not-eq - ( const QModelIndex & other ) - - - operator< - operator-lt - ( const QModelIndex & other ) - - - operator== - operator-eq-eq - ( const QModelIndex & other ) - - - - QMotifStyle - qmotifstyle.html - - QMotifStyle - QMotifStyle - ( bool useHighlightCols = false ) - - - setUseHighlightColors - setUseHighlightColors - ( bool arg ) - - - useHighlightColors - useHighlightColors - () - - - - QMouseDriverFactory - qmousedriverfactory.html - - create - create - ( const QString & key, const QString & device ) - - - keys - keys - () - - - - QMouseDriverPlugin - qmousedriverplugin.html - - QMouseDriverPlugin - QMouseDriverPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key, const QString & device ) - - - keys - keys - () - - - QMouseEvent - QMouseEvent-3 - ( Type type, const QPoint & pos, Qt::ButtonState button, int state ) - - - QMouseEvent - QMouseEvent-4 - ( Type type, const QPoint & pos, const QPoint & globalPos, Qt::ButtonState button, int state ) - - - ButtonState - state - QMouseEvent::state() - - - ButtonState - stateAfter - QMouseEvent::stateAfter() - - - - QMouseEvent - qmouseevent.html - - QMouseEvent - QMouseEvent - ( Type type, const QPoint & position, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - - - QMouseEvent - QMouseEvent-2 - ( Type type, const QPoint & pos, const QPoint & globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers ) - - - MouseButton - button - QMouseEvent::button() - - - MouseButtons - buttons - QMouseEvent::buttons() - - - globalPos - globalPos - () - - - globalX - globalX - () - - - globalY - globalY - () - - - pos - pos - () - - - x - x - () - - - y - y - () - - - QMouseEvent - QMouseEvent-3 - ( Type type, const QPoint & pos, Qt::ButtonState button, int state ) - - - QMouseEvent - QMouseEvent-4 - ( Type type, const QPoint & pos, const QPoint & globalPos, Qt::ButtonState button, int state ) - - - ButtonState - state - QMouseEvent::state() - - - ButtonState - stateAfter - QMouseEvent::stateAfter() - - - - QMoveEvent - qmoveevent.html - - QMoveEvent - QMoveEvent - ( const QPoint & pos, const QPoint & oldPos ) - - - oldPos - oldPos - () - - - pos - pos - () - - - finished - finished-2 - () - - - frameImage - frameImage - () - - - frameNumber - frameNumber - () - - - framePixmap - framePixmap - () - - - isNull - isNull - () - - - pause - pause - () - - - paused - paused - () - - - restart - restart - () - - - running - running - () - - - step - step - () - - - unpause - unpause - () - - - - QMovie - qmovie.html - - CacheMode - CacheMode-enum - - - - MovieState - MovieState-enum - - - - QMovie - QMovie - ( QObject * parent = 0 ) - - - QMovie - QMovie-2 - ( QIODevice * device, const QByteArray & format = QByteArray() - - - QMovie - QMovie-3 - ( const QString & fileName, const QByteArray & format = QByteArray() - - - backgroundColor - backgroundColor - () - - - currentFrameNumber - currentFrameNumber - () - - - currentImage - currentImage - () - - - currentPixmap - currentPixmap - () - - - device - device - () - - - error - error - ( QImageReader::ImageReaderError error ) - - - fileName - fileName - () - - - finished - finished - () - - - format - format - () - - - frameChanged - frameChanged - ( int frameNumber ) - - - frameCount - frameCount - () - - - frameRect - frameRect - () - - - isValid - isValid - () - - - jumpToFrame - jumpToFrame - ( int frameNumber ) - - - jumpToNextFrame - jumpToNextFrame - () - - - loopCount - loopCount - () - - - nextFrameDelay - nextFrameDelay - () - - - resized - resized - ( const QSize & size ) - - - scaledSize - scaledSize - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setDevice - setDevice - ( QIODevice * device ) - - - setFileName - setFileName - ( const QString & fileName ) - - - setFormat - setFormat - ( const QByteArray & format ) - - - setPaused - setPaused - ( bool paused ) - - - setScaledSize - setScaledSize - ( const QSize & size ) - - - start - start - () - - - started - started - () - - - state - state - () - - - stateChanged - stateChanged - ( QMovie::MovieState state ) - - - stop - stop - () - - - supportedFormats - supportedFormats - () - - - updated - updated - ( const QRect & rect ) - - - finished - finished-2 - () - - - frameImage - frameImage - () - - - frameNumber - frameNumber - () - - - framePixmap - framePixmap - () - - - isNull - isNull - () - - - pause - pause - () - - - paused - paused - () - - - restart - restart - () - - - running - running - () - - - step - step - () - - - unpause - unpause - () - - - - QMultiHash - qmultihash.html - - QMultiHash - QMultiHash - () - - - QMultiHash - QMultiHash-2 - ( const QHash<Key, T> & other ) - - - constFind - constFind - ( const Key & key, const T & value ) - - - contains - contains - ( const Key & key, const T & value ) - - - count - count - ( const Key & key, const T & value ) - - - find - find - ( const Key & key, const T & value ) - - - find - find-2 - ( const Key & key, const T & value ) - - - insert - insert - ( const Key & key, const T & value ) - - - remove - remove - ( const Key & key, const T & value ) - - - replace - replace - ( const Key & key, const T & value ) - - - operator+ - operator-2b - ( const QMultiHash & other ) - - - operator+= - operator-2b-eq - ( const QMultiHash & other ) - - - - QMultiMap - qmultimap.html - - QMultiMap - QMultiMap - () - - - QMultiMap - QMultiMap-2 - ( const QMap<Key, T> & other ) - - - constFind - constFind - ( const Key & key, const T & value ) - - - contains - contains - ( const Key & key, const T & value ) - - - count - count - ( const Key & key, const T & value ) - - - find - find - ( const Key & key, const T & value ) - - - find - find-2 - ( const Key & key, const T & value ) - - - insert - insert - ( const Key & key, const T & value ) - - - remove - remove - ( const Key & key, const T & value ) - - - replace - replace - ( const Key & key, const T & value ) - - - operator+ - operator-2b - ( const QMultiMap & other ) - - - operator+= - operator-2b-eq - ( const QMultiMap & other ) - - - - QMutableHashIterator - qmutablehashiterator.html - - QMutableHashIterator - QMutableHashIterator - ( QHash<Key, T> & hash ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - key - key - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const T & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - value - value-2 - () - - - operator= - operator-eq - ( QHash<Key, T> & hash ) - - - - QMutableLinkedListIterator - qmutablelinkedlistiterator.html - - QMutableLinkedListIterator - QMutableLinkedListIterator - ( QLinkedList<T> & list ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - insert - insert - ( const T & value ) - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const T & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - value - value-2 - () - - - operator= - operator-eq - ( QLinkedList<T> & list ) - - - - QMutableListIterator - qmutablelistiterator.html - - QMutableListIterator - QMutableListIterator - ( QList<T> & list ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - insert - insert - ( const T & value ) - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const T & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - value - value-2 - () - - - operator= - operator-eq - ( QList<T> & list ) - - - - QMutableMapIterator - qmutablemapiterator.html - - QMutableMapIterator - QMutableMapIterator - ( QMap<Key, T> & map ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - key - key - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const T & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - value - value-2 - () - - - operator= - operator-eq - ( QMap<Key, T> & map ) - - - - QMutableSetIterator - qmutablesetiterator.html - - QMutableSetIterator - QMutableSetIterator - ( QSet<T> & set ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - operator= - operator-eq - ( QSet<T> & set ) - - - - QMutableVectorIterator - qmutablevectoriterator.html - - QMutableVectorIterator - QMutableVectorIterator - ( QVector<T> & vector ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - insert - insert - ( const T & value ) - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const T & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - value - value-2 - () - - - operator= - operator-eq - ( QVector<T> & vector ) - - - QMutex - QMutex-2 - ( bool recursive ) - - - locked - locked - () - - - - QMutex - qmutex.html - - RecursionMode - RecursionMode-enum - - - - QMutex - QMutex - ( RecursionMode mode = NonRecursive ) - - - lock - lock - () - - - tryLock - tryLock - () - - - tryLock - tryLock-2 - ( int timeout ) - - - unlock - unlock - () - - - QMutex - QMutex-2 - ( bool recursive ) - - - locked - locked - () - - - - QMutexLocker - qmutexlocker.html - - QMutexLocker - QMutexLocker - ( QMutex * mutex ) - - - mutex - mutex - () - - - relock - relock - () - - - unlock - unlock - () - - - - QNetworkAddressEntry - qnetworkaddressentry.html - - QNetworkAddressEntry - QNetworkAddressEntry - () - - - QNetworkAddressEntry - QNetworkAddressEntry-2 - ( const QNetworkAddressEntry & other ) - - - broadcast - broadcast - () - - - ip - ip - () - - - netmask - netmask - () - - - setBroadcast - setBroadcast - ( const QHostAddress & newBroadcast ) - - - setIp - setIp - ( const QHostAddress & newIp ) - - - setNetmask - setNetmask - ( const QHostAddress & newNetmask ) - - - operator= - operator-eq - ( const QNetworkAddressEntry & other ) - - - - QNetworkInterface - qnetworkinterface.html - - QNetworkInterface - QNetworkInterface - () - - - QNetworkInterface - QNetworkInterface-2 - ( const QNetworkInterface & other ) - - - addressEntries - addressEntries - () - - - allAddresses - allAddresses - () - - - allInterfaces - allInterfaces - () - - - flags - flags - () - - - hardwareAddress - hardwareAddress - () - - - interfaceFromIndex - interfaceFromIndex - ( int index ) - - - interfaceFromName - interfaceFromName - ( const QString & name ) - - - isValid - isValid - () - - - name - name - () - - - operator= - operator-eq - ( const QNetworkInterface & other ) - - - - QNetworkProxy - qnetworkproxy.html - - ProxyType - ProxyType-enum - - - - QNetworkProxy - QNetworkProxy - () - - - QNetworkProxy - QNetworkProxy-2 - ( ProxyType type, const QString & hostName = QString() - - - QNetworkProxy - QNetworkProxy-3 - ( const QNetworkProxy & other ) - - - applicationProxy - applicationProxy - () - - - hostName - hostName - () - - - password - password - () - - - port - port - () - - - setApplicationProxy - setApplicationProxy - ( const QNetworkProxy & networkProxy ) - - - setHostName - setHostName - ( const QString & hostName ) - - - setPassword - setPassword - ( const QString & password ) - - - setPort - setPort - ( quint16 port ) - - - setType - setType - ( QNetworkProxy::ProxyType type ) - - - setUser - setUser - ( const QString & user ) - - - ProxyType - type - QNetworkProxy::type() - - - user - user - () - - - operator= - operator-eq - ( const QNetworkProxy & other ) - - - QObject - QObject-3 - ( QObject * parent, const char * name ) - - - checkConnectArgs - checkConnectArgs - ( const char * signal, const QObject * object, const char * method ) - - - child - child - ( const char * objName, const char * inheritsClass = 0, bool recursiveSearch = true ) - - - className - className - () - - - insertChild - insertChild - ( QObject * object ) - - - isA - isA - ( const char * className ) - - - name - name - () - - - name - name-2 - ( const char * defaultName ) - - - normalizeSignalSlot - normalizeSignalSlot - ( const char * signalSlot ) - - - removeChild - removeChild - ( QObject * object ) - - - setName - setName - ( const char * name ) - - - - QObject - qobject.html - - QObject - QObject - ( QObject * parent = 0 ) - - - blockSignals - blockSignals - ( bool block ) - - - childEvent - childEvent - ( QChildEvent * event ) - - - children - children - () - - - connect - connect - ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoCompatConnection ) - - - connect - connect-2 - ( const QObject * sender, const char * signal, const char * method, Qt::ConnectionType type = Qt::AutoCompatConnection ) - - - connectNotify - connectNotify - ( const char * signal ) - - - customEvent - customEvent - ( QEvent * event ) - - - deleteLater - deleteLater - () - - - destroyed - destroyed - ( QObject * obj = 0 ) - - - disconnect - disconnect - ( const QObject * sender, const char * signal, const QObject * receiver, const char * method ) - - - disconnect - disconnect-2 - ( const char * signal = 0, const QObject * receiver = 0, const char * method = 0 ) - - - disconnect - disconnect-3 - ( const QObject * receiver, const char * method = 0 ) - - - disconnectNotify - disconnectNotify - ( const char * signal ) - - - dumpObjectInfo - dumpObjectInfo - () - - - dumpObjectTree - dumpObjectTree - () - - - dynamicPropertyNames - dynamicPropertyNames - () - - - event - event - ( QEvent * e ) - - - eventFilter - eventFilter - ( QObject * watched, QEvent * event ) - - - findChild - findChild - ( const QString & name = QString() - - - findChildren - findChildren - ( const QString & name = QString() - - - findChildren - findChildren-2 - ( const QRegExp & regExp ) - - - inherits - inherits - ( const char * className ) - - - installEventFilter - installEventFilter - ( QObject * filterObj ) - - - isWidgetType - isWidgetType - () - - - killTimer - killTimer - ( int id ) - - - metaObject - metaObject - () - - - moveToThread - moveToThread - ( QThread * targetThread ) - - - parent - parent - () - - - property - property - ( const char * name ) - - - receivers - receivers - ( const char * signal ) - - - removeEventFilter - removeEventFilter - ( QObject * obj ) - - - sender - sender - () - - - setParent - setParent - ( QObject * parent ) - - - setProperty - setProperty - ( const char * name, const QVariant & value ) - - - signalsBlocked - signalsBlocked - () - - - startTimer - startTimer - ( int interval ) - - - thread - thread - () - - - timerEvent - timerEvent - ( QTimerEvent * event ) - - - tr - tr - ( const char * sourceText, const char * comment = 0, int n = -1 ) - - - trUtf8 - trUtf8 - ( const char * sourceText, const char * comment = 0, int n = -1 ) - - - staticMetaObject - staticMetaObject-var - - - - QObject - QObject-3 - ( QObject * parent, const char * name ) - - - checkConnectArgs - checkConnectArgs - ( const char * signal, const QObject * object, const char * method ) - - - child - child - ( const char * objName, const char * inheritsClass = 0, bool recursiveSearch = true ) - - - className - className - () - - - insertChild - insertChild - ( QObject * object ) - - - isA - isA - ( const char * className ) - - - name - name - () - - - name - name-2 - ( const char * defaultName ) - - - normalizeSignalSlot - normalizeSignalSlot - ( const char * signalSlot ) - - - removeChild - removeChild - ( QObject * object ) - - - setName - setName - ( const char * name ) - - - - QObjectCleanupHandler - qobjectcleanuphandler.html - - QObjectCleanupHandler - QObjectCleanupHandler - () - - - add - add - ( QObject * object ) - - - clear - clear - () - - - isEmpty - isEmpty - () - - - remove - remove - ( QObject * object ) - - - - QPageSetupDialog - qpagesetupdialog.html - - QPageSetupDialog - QPageSetupDialog - ( QPrinter * printer, QWidget * parent = 0 ) - - - printer - printer - () - - - x11AppCells - x11AppCells - ( int screen = -1 ) - - - HANDLE - x11AppColormap - QPaintDevice::x11AppColormap( int screen = -1 ) - - - x11AppDefaultColormap - x11AppDefaultColormap - ( int screen = -1 ) - - - x11AppDefaultVisual - x11AppDefaultVisual - ( int screen = -1 ) - - - x11AppDepth - x11AppDepth - ( int screen = -1 ) - - - x11AppDisplay - x11AppDisplay - () - - - x11AppDpiX - x11AppDpiX - ( int screen = -1 ) - - - x11AppDpiY - x11AppDpiY - ( int screen = -1 ) - - - HANDLE - x11AppRootWindow - QPaintDevice::x11AppRootWindow( int screen = -1 ) - - - x11AppScreen - x11AppScreen - () - - - x11AppVisual - x11AppVisual - ( int screen = -1 ) - - - x11Cells - x11Cells - () - - - HANDLE - x11Colormap - QPaintDevice::x11Colormap() - - - x11DefaultColormap - x11DefaultColormap - () - - - x11DefaultVisual - x11DefaultVisual - () - - - x11Depth - x11Depth - () - - - x11Display - x11Display - () - - - x11Screen - x11Screen - () - - - x11SetAppDpiX - x11SetAppDpiX - ( int dpi, int screen ) - - - x11SetAppDpiY - x11SetAppDpiY - ( int dpi, int screen ) - - - x11Visual - x11Visual - () - - - - QPaintDevice - qpaintdevice.html - - PaintDeviceMetric - PaintDeviceMetric-enum - - - - QPaintDevice - QPaintDevice - () - - - depth - depth - () - - - height - height - () - - - heightMM - heightMM - () - - - logicalDpiX - logicalDpiX - () - - - logicalDpiY - logicalDpiY - () - - - metric - metric - ( PaintDeviceMetric metric ) - - - numColors - numColors - () - - - paintEngine - paintEngine - () - - - paintingActive - paintingActive - () - - - physicalDpiX - physicalDpiX - () - - - physicalDpiY - physicalDpiY - () - - - width - width - () - - - widthMM - widthMM - () - - - x11AppCells - x11AppCells - ( int screen = -1 ) - - - HANDLE - x11AppColormap - QPaintDevice::x11AppColormap( int screen = -1 ) - - - x11AppDefaultColormap - x11AppDefaultColormap - ( int screen = -1 ) - - - x11AppDefaultVisual - x11AppDefaultVisual - ( int screen = -1 ) - - - x11AppDepth - x11AppDepth - ( int screen = -1 ) - - - x11AppDisplay - x11AppDisplay - () - - - x11AppDpiX - x11AppDpiX - ( int screen = -1 ) - - - x11AppDpiY - x11AppDpiY - ( int screen = -1 ) - - - HANDLE - x11AppRootWindow - QPaintDevice::x11AppRootWindow( int screen = -1 ) - - - x11AppScreen - x11AppScreen - () - - - x11AppVisual - x11AppVisual - ( int screen = -1 ) - - - x11Cells - x11Cells - () - - - HANDLE - x11Colormap - QPaintDevice::x11Colormap() - - - x11DefaultColormap - x11DefaultColormap - () - - - x11DefaultVisual - x11DefaultVisual - () - - - x11Depth - x11Depth - () - - - x11Display - x11Display - () - - - x11Screen - x11Screen - () - - - x11SetAppDpiX - x11SetAppDpiX - ( int dpi, int screen ) - - - x11SetAppDpiY - x11SetAppDpiY - ( int dpi, int screen ) - - - x11Visual - x11Visual - () - - - - QPaintEngine - qpaintengine.html - - PolygonDrawMode - PolygonDrawMode-enum - - - - Type - Type-enum - - - - QPaintEngine - QPaintEngine - ( PaintEngineFeatures caps = 0 ) - - - begin - begin - ( QPaintDevice * pdev ) - - - drawEllipse - drawEllipse - ( const QRectF & rect ) - - - drawEllipse - drawEllipse-2 - ( const QRect & rect ) - - - drawImage - drawImage - ( const QRectF & rectangle, const QImage & image, const QRectF & sr, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawLines - drawLines - ( const QLineF * lines, int lineCount ) - - - drawLines - drawLines-2 - ( const QLine * lines, int lineCount ) - - - drawPath - drawPath - ( const QPainterPath & path ) - - - drawPixmap - drawPixmap - ( const QRectF & r, const QPixmap & pm, const QRectF & sr ) - - - drawPoints - drawPoints - ( const QPointF * points, int pointCount ) - - - drawPoints - drawPoints-2 - ( const QPoint * points, int pointCount ) - - - drawPolygon - drawPolygon - ( const QPointF * points, int pointCount, PolygonDrawMode mode ) - - - drawPolygon - drawPolygon-2 - ( const QPoint * points, int pointCount, PolygonDrawMode mode ) - - - drawRects - drawRects - ( const QRectF * rects, int rectCount ) - - - drawRects - drawRects-2 - ( const QRect * rects, int rectCount ) - - - drawTextItem - drawTextItem - ( const QPointF & p, const QTextItem & textItem ) - - - drawTiledPixmap - drawTiledPixmap - ( const QRectF & rect, const QPixmap & pixmap, const QPointF & p ) - - - end - end - () - - - hasFeature - hasFeature - ( PaintEngineFeatures feature ) - - - isActive - isActive - () - - - paintDevice - paintDevice - () - - - painter - painter - () - - - setActive - setActive - ( bool state ) - - - type - type - () - - - updateState - updateState - ( const QPaintEngineState & state ) - - - - QPaintEngineState - qpaintenginestate.html - - backgroundBrush - backgroundBrush - () - - - BGMode - backgroundMode - QPaintEngineState::backgroundMode() - - - brush - brush - () - - - brushNeedsResolving - brushNeedsResolving - () - - - brushOrigin - brushOrigin - () - - - ClipOperation - clipOperation - QPaintEngineState::clipOperation() - - - clipPath - clipPath - () - - - clipRegion - clipRegion - () - - - CompositionMode - compositionMode - QPaintEngineState::compositionMode() - - - font - font - () - - - isClipEnabled - isClipEnabled - () - - - matrix - matrix - () - - - opacity - opacity - () - - - painter - painter - () - - - pen - pen - () - - - penNeedsResolving - penNeedsResolving - () - - - RenderHints - renderHints - QPaintEngineState::renderHints() - - - DirtyFlags - state - QPaintEngineState::state() - - - transform - transform - () - - - matrix - matrix - () - - - matrixEnabled - matrixEnabled - () - - - setMatrix - setMatrix - ( const QMatrix & matrix, bool combine = false ) - - - setMatrixEnabled - setMatrixEnabled - ( bool enable ) - - - backgroundColor - backgroundColor - () - - - begin - begin-2 - ( QPaintDevice * device, const QWidget * init ) - - - boundingRect - boundingRect-2 - ( const QRect & rectangle, int flags, const QString & text, int length ) - - - boundingRect - boundingRect-3 - ( int x, int y, int width, int height, int flags, const QString & text, int length ) - - - drawConvexPolygon - drawConvexPolygon-5 - ( const QPolygonF & polygon, int index, int count = -1 ) - - - drawConvexPolygon - drawConvexPolygon-6 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawCubicBezier - drawCubicBezier - ( const QPolygon & controlPoints, int index = 0 ) - - - drawLineSegments - drawLineSegments - ( const QPolygon & polygon, int index = 0, int count = -1 ) - - - drawPoints - drawPoints-5 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawPolygon - drawPolygon-3 - ( const QPolygonF & polygon, bool winding, int index = 0, int count = -1 ) - - - drawPolygon - drawPolygon-4 - ( const QPolygon & polygon, bool winding, int index = 0, int count = -1 ) - - - drawPolyline - drawPolyline-3 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawText - drawText-2 - ( int x, int y, const QString & text, int pos, int length ) - - - drawText - drawText-3 - ( const QPoint & point, const QString & text, int pos, int length ) - - - drawText - drawText-4 - ( int x, int y, const QString & text, int length ) - - - drawText - drawText-5 - ( const QPoint & point, const QString & text, int length ) - - - drawText - drawText-6 - ( const QRect & rectangle, int flags, const QString & text, int length, QRect * br = 0 ) - - - drawText - drawText-7 - ( int x, int y, int width, int height, int flags, const QString & text, int length, QRect * br = 0 ) - - - hasViewXForm - hasViewXForm - () - - - hasWorldXForm - hasWorldXForm - () - - - redirect - redirect - ( QPaintDevice * pdev, QPaintDevice * replacement ) - - - redirect - redirect-2 - ( QPaintDevice * pdev ) - - - resetXForm - resetXForm - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setViewXForm - setViewXForm - ( bool enabled ) - - - setWorldXForm - setWorldXForm - ( bool enabled ) - - - translationX - translationX - () - - - translationY - translationY - () - - - xForm - xForm - ( const QPoint & point ) - - - xForm - xForm-2 - ( const QRect & rectangle ) - - - xForm - xForm-3 - ( const QPolygon & polygon ) - - - xForm - xForm-4 - ( const QPolygon & polygon, int index, int count ) - - - xFormDev - xFormDev - ( const QPoint & point ) - - - xFormDev - xFormDev-2 - ( const QRect & rectangle ) - - - xFormDev - xFormDev-3 - ( const QPolygon & polygon ) - - - xFormDev - xFormDev-4 - ( const QPolygon & polygon, int index, int count ) - - - - QPainter - qpainter.html - - CompositionMode - CompositionMode-enum - - - - QPainter - QPainter - () - - - QPainter - QPainter-2 - ( QPaintDevice * device ) - - - background - background - () - - - BGMode - backgroundMode - QPainter::backgroundMode() - - - begin - begin - ( QPaintDevice * device ) - - - boundingRect - boundingRect - ( const QRectF & rectangle, int flags, const QString & text ) - - - boundingRect - boundingRect-4 - ( const QRect & rectangle, int flags, const QString & text ) - - - boundingRect - boundingRect-5 - ( int x, int y, int w, int h, int flags, const QString & text ) - - - boundingRect - boundingRect-6 - ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() - - - brush - brush - () - - - brushOrigin - brushOrigin - () - - - clipPath - clipPath - () - - - clipRegion - clipRegion - () - - - combinedMatrix - combinedMatrix - () - - - combinedTransform - combinedTransform - () - - - compositionMode - compositionMode - () - - - device - device - () - - - deviceMatrix - deviceMatrix - () - - - deviceTransform - deviceTransform - () - - - drawArc - drawArc - ( const QRectF & rectangle, int startAngle, int spanAngle ) - - - drawArc - drawArc-2 - ( const QRect & rectangle, int startAngle, int spanAngle ) - - - drawArc - drawArc-3 - ( int x, int y, int width, int height, int startAngle, int spanAngle ) - - - drawChord - drawChord - ( const QRectF & rectangle, int startAngle, int spanAngle ) - - - drawChord - drawChord-2 - ( const QRect & rectangle, int startAngle, int spanAngle ) - - - drawChord - drawChord-3 - ( int x, int y, int width, int height, int startAngle, int spanAngle ) - - - drawConvexPolygon - drawConvexPolygon - ( const QPointF * points, int pointCount ) - - - drawConvexPolygon - drawConvexPolygon-2 - ( const QPoint * points, int pointCount ) - - - drawConvexPolygon - drawConvexPolygon-3 - ( const QPolygonF & polygon ) - - - drawConvexPolygon - drawConvexPolygon-4 - ( const QPolygon & polygon ) - - - drawEllipse - drawEllipse - ( const QRectF & rectangle ) - - - drawEllipse - drawEllipse-2 - ( const QRect & rectangle ) - - - drawEllipse - drawEllipse-3 - ( int x, int y, int width, int height ) - - - drawImage - drawImage - ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawImage - drawImage-2 - ( const QRect & target, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawImage - drawImage-3 - ( const QPointF & point, const QImage & image ) - - - drawImage - drawImage-4 - ( const QPoint & point, const QImage & image ) - - - drawImage - drawImage-5 - ( const QPointF & point, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawImage - drawImage-6 - ( const QPoint & point, const QImage & image, const QRect & source, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawImage - drawImage-7 - ( const QRectF & rectangle, const QImage & image ) - - - drawImage - drawImage-8 - ( const QRect & rectangle, const QImage & image ) - - - drawImage - drawImage-9 - ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - drawLine - drawLine - ( const QLineF & line ) - - - drawLine - drawLine-2 - ( const QLine & line ) - - - drawLine - drawLine-3 - ( const QPoint & p1, const QPoint & p2 ) - - - drawLine - drawLine-4 - ( const QPointF & p1, const QPointF & p2 ) - - - drawLine - drawLine-5 - ( int x1, int y1, int x2, int y2 ) - - - drawLines - drawLines - ( const QLineF * lines, int lineCount ) - - - drawLines - drawLines-2 - ( const QLine * lines, int lineCount ) - - - drawLines - drawLines-3 - ( const QPointF * pointPairs, int lineCount ) - - - drawLines - drawLines-4 - ( const QPoint * pointPairs, int lineCount ) - - - drawLines - drawLines-5 - ( const QVector<QPointF> & pointPairs ) - - - drawLines - drawLines-6 - ( const QVector<QPoint> & pointPairs ) - - - drawLines - drawLines-7 - ( const QVector<QLineF> & lines ) - - - drawLines - drawLines-8 - ( const QVector<QLine> & lines ) - - - drawPath - drawPath - ( const QPainterPath & path ) - - - drawPicture - drawPicture - ( const QPointF & point, const QPicture & picture ) - - - drawPicture - drawPicture-2 - ( const QPoint & point, const QPicture & picture ) - - - drawPicture - drawPicture-3 - ( int x, int y, const QPicture & picture ) - - - drawPie - drawPie - ( const QRectF & rectangle, int startAngle, int spanAngle ) - - - drawPie - drawPie-2 - ( const QRect & rectangle, int startAngle, int spanAngle ) - - - drawPie - drawPie-3 - ( int x, int y, int width, int height, int startAngle, int spanAngle ) - - - drawPixmap - drawPixmap - ( const QRectF & target, const QPixmap & pixmap, const QRectF & source ) - - - drawPixmap - drawPixmap-2 - ( const QRect & target, const QPixmap & pixmap, const QRect & source ) - - - drawPixmap - drawPixmap-3 - ( const QPointF & point, const QPixmap & pixmap, const QRectF & source ) - - - drawPixmap - drawPixmap-4 - ( const QPoint & point, const QPixmap & pixmap, const QRect & source ) - - - drawPixmap - drawPixmap-5 - ( const QPointF & point, const QPixmap & pixmap ) - - - drawPixmap - drawPixmap-6 - ( const QPoint & point, const QPixmap & pixmap ) - - - drawPixmap - drawPixmap-7 - ( int x, int y, const QPixmap & pixmap ) - - - drawPixmap - drawPixmap-8 - ( const QRect & rectangle, const QPixmap & pixmap ) - - - drawPixmap - drawPixmap-9 - ( int x, int y, int width, int height, const QPixmap & pixmap ) - - - drawPixmap - drawPixmap-10 - ( int x, int y, int w, int h, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - - - drawPixmap - drawPixmap-11 - ( int x, int y, const QPixmap & pixmap, int sx, int sy, int sw, int sh ) - - - drawPoint - drawPoint - ( const QPointF & position ) - - - drawPoint - drawPoint-2 - ( const QPoint & position ) - - - drawPoint - drawPoint-3 - ( int x, int y ) - - - drawPoints - drawPoints - ( const QPointF * points, int pointCount ) - - - drawPoints - drawPoints-2 - ( const QPoint * points, int pointCount ) - - - drawPoints - drawPoints-3 - ( const QPolygonF & points ) - - - drawPoints - drawPoints-4 - ( const QPolygon & points ) - - - drawPolygon - drawPolygon - ( const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - - - drawPolygon - drawPolygon-2 - ( const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill ) - - - drawPolygon - drawPolygon-5 - ( const QPolygonF & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - - - drawPolygon - drawPolygon-6 - ( const QPolygon & points, Qt::FillRule fillRule = Qt::OddEvenFill ) - - - drawPolyline - drawPolyline - ( const QPointF * points, int pointCount ) - - - drawPolyline - drawPolyline-2 - ( const QPoint * points, int pointCount ) - - - drawPolyline - drawPolyline-4 - ( const QPolygonF & points ) - - - drawPolyline - drawPolyline-5 - ( const QPolygon & points ) - - - drawRect - drawRect - ( const QRectF & rectangle ) - - - drawRect - drawRect-2 - ( const QRect & rectangle ) - - - drawRect - drawRect-3 - ( int x, int y, int width, int height ) - - - drawRects - drawRects - ( const QRectF * rectangles, int rectCount ) - - - drawRects - drawRects-2 - ( const QRect * rectangles, int rectCount ) - - - drawRects - drawRects-3 - ( const QVector<QRectF> & rectangles ) - - - drawRects - drawRects-4 - ( const QVector<QRect> & rectangles ) - - - drawRoundRect - drawRoundRect - ( const QRectF & r, int xRnd = 25, int yRnd = 25 ) - - - drawRoundRect - drawRoundRect-2 - ( const QRect & r, int xRnd = 25, int yRnd = 25 ) - - - drawRoundRect - drawRoundRect-3 - ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 ) - - - drawText - drawText - ( const QPointF & position, const QString & text ) - - - drawText - drawText-8 - ( const QPoint & position, const QString & text ) - - - drawText - drawText-9 - ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) - - - drawText - drawText-10 - ( const QRect & rectangle, int flags, const QString & text, QRect * boundingRect = 0 ) - - - drawText - drawText-11 - ( int x, int y, const QString & text ) - - - drawText - drawText-12 - ( int x, int y, int width, int height, int flags, const QString & text, QRect * boundingRect = 0 ) - - - drawText - drawText-13 - ( const QRectF & rectangle, const QString & text, const QTextOption & option = QTextOption() - - - drawTiledPixmap - drawTiledPixmap - ( const QRectF & rectangle, const QPixmap & pixmap, const QPointF & position = QPointF() - - - drawTiledPixmap - drawTiledPixmap-2 - ( const QRect & rectangle, const QPixmap & pixmap, const QPoint & position = QPoint() - - - drawTiledPixmap - drawTiledPixmap-3 - ( int x, int y, int width, int height, const QPixmap & pixmap, int sx = 0, int sy = 0 ) - - - end - end - () - - - eraseRect - eraseRect - ( const QRectF & rectangle ) - - - eraseRect - eraseRect-2 - ( const QRect & rectangle ) - - - eraseRect - eraseRect-3 - ( int x, int y, int width, int height ) - - - fillPath - fillPath - ( const QPainterPath & path, const QBrush & brush ) - - - fillRect - fillRect - ( const QRectF & rectangle, const QBrush & brush ) - - - fillRect - fillRect-2 - ( const QRect & rectangle, const QBrush & brush ) - - - fillRect - fillRect-3 - ( int x, int y, int width, int height, const QBrush & brush ) - - - font - font - () - - - fontInfo - fontInfo - () - - - fontMetrics - fontMetrics - () - - - hasClipping - hasClipping - () - - - initFrom - initFrom - ( const QWidget * widget ) - - - isActive - isActive - () - - - LayoutDirection - layoutDirection - QPainter::layoutDirection() - - - opacity - opacity - () - - - paintEngine - paintEngine - () - - - pen - pen - () - - - redirected - redirected - ( const QPaintDevice * device, QPoint * offset = 0 ) - - - renderHints - renderHints - () - - - resetMatrix - resetMatrix - () - - - resetTransform - resetTransform - () - - - restore - restore - () - - - restoreRedirected - restoreRedirected - ( const QPaintDevice * device ) - - - rotate - rotate - ( qreal angle ) - - - save - save - () - - - scale - scale - ( qreal sx, qreal sy ) - - - setBackground - setBackground - ( const QBrush & brush ) - - - setBackgroundMode - setBackgroundMode - ( Qt::BGMode mode ) - - - setBrush - setBrush - ( const QBrush & brush ) - - - setBrush - setBrush-2 - ( Qt::BrushStyle style ) - - - setBrushOrigin - setBrushOrigin - ( const QPointF & position ) - - - setBrushOrigin - setBrushOrigin-2 - ( const QPoint & position ) - - - setBrushOrigin - setBrushOrigin-3 - ( int x, int y ) - - - setClipPath - setClipPath - ( const QPainterPath & path, Qt::ClipOperation operation = Qt::ReplaceClip ) - - - setClipRect - setClipRect - ( const QRectF & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - - - setClipRect - setClipRect-2 - ( int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip ) - - - setClipRect - setClipRect-3 - ( const QRect & rectangle, Qt::ClipOperation operation = Qt::ReplaceClip ) - - - setClipRegion - setClipRegion - ( const QRegion & region, Qt::ClipOperation operation = Qt::ReplaceClip ) - - - setClipping - setClipping - ( bool enable ) - - - setCompositionMode - setCompositionMode - ( CompositionMode mode ) - - - setFont - setFont - ( const QFont & font ) - - - setLayoutDirection - setLayoutDirection - ( Qt::LayoutDirection direction ) - - - setOpacity - setOpacity - ( qreal opacity ) - - - setPen - setPen - ( const QPen & pen ) - - - setPen - setPen-2 - ( const QColor & color ) - - - setPen - setPen-3 - ( Qt::PenStyle style ) - - - setRedirected - setRedirected - ( const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset = QPoint() - - - setRenderHint - setRenderHint - ( RenderHint hint, bool on = true ) - - - setRenderHints - setRenderHints - ( RenderHints hints, bool on = true ) - - - setTransform - setTransform - ( const QTransform & transform, bool combine = false ) - - - setViewTransformEnabled - setViewTransformEnabled - ( bool enable ) - - - setViewport - setViewport - ( const QRect & rectangle ) - - - setViewport - setViewport-2 - ( int x, int y, int width, int height ) - - - setWindow - setWindow - ( const QRect & rectangle ) - - - setWindow - setWindow-2 - ( int x, int y, int width, int height ) - - - setWorldMatrix - setWorldMatrix - ( const QMatrix & matrix, bool combine = false ) - - - setWorldMatrixEnabled - setWorldMatrixEnabled - ( bool enable ) - - - setWorldTransform - setWorldTransform - ( const QTransform & matrix, bool combine = false ) - - - shear - shear - ( qreal sh, qreal sv ) - - - strokePath - strokePath - ( const QPainterPath & path, const QPen & pen ) - - - testRenderHint - testRenderHint - ( RenderHint hint ) - - - transform - transform - () - - - translate - translate - ( const QPointF & offset ) - - - translate - translate-2 - ( const QPoint & offset ) - - - translate - translate-3 - ( qreal dx, qreal dy ) - - - viewTransformEnabled - viewTransformEnabled - () - - - viewport - viewport - () - - - window - window - () - - - worldMatrix - worldMatrix - () - - - worldMatrixEnabled - worldMatrixEnabled - () - - - worldTransform - worldTransform - () - - - backgroundColor - backgroundColor - () - - - begin - begin-2 - ( QPaintDevice * device, const QWidget * init ) - - - boundingRect - boundingRect-2 - ( const QRect & rectangle, int flags, const QString & text, int length ) - - - boundingRect - boundingRect-3 - ( int x, int y, int width, int height, int flags, const QString & text, int length ) - - - drawConvexPolygon - drawConvexPolygon-5 - ( const QPolygonF & polygon, int index, int count = -1 ) - - - drawConvexPolygon - drawConvexPolygon-6 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawCubicBezier - drawCubicBezier - ( const QPolygon & controlPoints, int index = 0 ) - - - drawLineSegments - drawLineSegments - ( const QPolygon & polygon, int index = 0, int count = -1 ) - - - drawPoints - drawPoints-5 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawPolygon - drawPolygon-3 - ( const QPolygonF & polygon, bool winding, int index = 0, int count = -1 ) - - - drawPolygon - drawPolygon-4 - ( const QPolygon & polygon, bool winding, int index = 0, int count = -1 ) - - - drawPolyline - drawPolyline-3 - ( const QPolygon & polygon, int index, int count = -1 ) - - - drawText - drawText-2 - ( int x, int y, const QString & text, int pos, int length ) - - - drawText - drawText-3 - ( const QPoint & point, const QString & text, int pos, int length ) - - - drawText - drawText-4 - ( int x, int y, const QString & text, int length ) - - - drawText - drawText-5 - ( const QPoint & point, const QString & text, int length ) - - - drawText - drawText-6 - ( const QRect & rectangle, int flags, const QString & text, int length, QRect * br = 0 ) - - - drawText - drawText-7 - ( int x, int y, int width, int height, int flags, const QString & text, int length, QRect * br = 0 ) - - - hasViewXForm - hasViewXForm - () - - - hasWorldXForm - hasWorldXForm - () - - - redirect - redirect - ( QPaintDevice * pdev, QPaintDevice * replacement ) - - - redirect - redirect-2 - ( QPaintDevice * pdev ) - - - resetXForm - resetXForm - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setViewXForm - setViewXForm - ( bool enabled ) - - - setWorldXForm - setWorldXForm - ( bool enabled ) - - - translationX - translationX - () - - - translationY - translationY - () - - - xForm - xForm - ( const QPoint & point ) - - - xForm - xForm-2 - ( const QRect & rectangle ) - - - xForm - xForm-3 - ( const QPolygon & polygon ) - - - xForm - xForm-4 - ( const QPolygon & polygon, int index, int count ) - - - xFormDev - xFormDev - ( const QPoint & point ) - - - xFormDev - xFormDev-2 - ( const QRect & rectangle ) - - - xFormDev - xFormDev-3 - ( const QPolygon & polygon ) - - - xFormDev - xFormDev-4 - ( const QPolygon & polygon, int index, int count ) - - - - QPainterPath::Element - qpainterpath-element.html - - isCurveTo - isCurveTo - () - - - isLineTo - isLineTo - () - - - isMoveTo - isMoveTo - () - - - operator - operator-QPointF - QPointF() - - - operator!= - operator-not-eq - ( const Element & other ) - - - operator== - operator-eq-eq - ( const Element & other ) - - - type - type-varx - - - - x - x-var - - - - y - y-var - - - - - QPainterPath - qpainterpath.html - - ElementType - ElementType-enum - - - - QPainterPath - QPainterPath - () - - - QPainterPath - QPainterPath-2 - ( const QPointF & startPoint ) - - - QPainterPath - QPainterPath-3 - ( const QPainterPath & path ) - - - addEllipse - addEllipse - ( const QRectF & boundingRectangle ) - - - addEllipse - addEllipse-2 - ( qreal x, qreal y, qreal width, qreal height ) - - - addPath - addPath - ( const QPainterPath & path ) - - - addPolygon - addPolygon - ( const QPolygonF & polygon ) - - - addRect - addRect - ( const QRectF & rectangle ) - - - addRect - addRect-2 - ( qreal x, qreal y, qreal width, qreal height ) - - - addRegion - addRegion - ( const QRegion & region ) - - - addRoundRect - addRoundRect - ( const QRectF & r, int xRnd, int yRnd ) - - - addRoundRect - addRoundRect-2 - ( qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd ) - - - addRoundRect - addRoundRect-3 - ( const QRectF & rect, int roundness ) - - - addRoundRect - addRoundRect-4 - ( qreal x, qreal y, qreal w, qreal h, int roundness ) - - - addText - addText - ( const QPointF & point, const QFont & font, const QString & text ) - - - addText - addText-2 - ( qreal x, qreal y, const QFont & font, const QString & text ) - - - angleAtPercent - angleAtPercent - ( qreal t ) - - - arcMoveTo - arcMoveTo - ( const QRectF & rectangle, qreal angle ) - - - arcMoveTo - arcMoveTo-2 - ( qreal x, qreal y, qreal width, qreal height, qreal angle ) - - - arcTo - arcTo - ( const QRectF & rectangle, qreal startAngle, qreal sweepLength ) - - - arcTo - arcTo-2 - ( qreal x, qreal y, qreal width, qreal height, qreal startAngle, qreal sweepLength ) - - - boundingRect - boundingRect - () - - - closeSubpath - closeSubpath - () - - - connectPath - connectPath - ( const QPainterPath & path ) - - - contains - contains - ( const QPointF & point ) - - - contains - contains-2 - ( const QPainterPath & p ) - - - contains - contains-3 - ( const QRectF & rectangle ) - - - controlPointRect - controlPointRect - () - - - cubicTo - cubicTo - ( const QPointF & c1, const QPointF & c2, const QPointF & endPoint ) - - - cubicTo - cubicTo-2 - ( qreal c1X, qreal c1Y, qreal c2X, qreal c2Y, qreal endPointX, qreal endPointY ) - - - currentPosition - currentPosition - () - - - Element - elementAt - & QPainterPath::elementAt( int index ) - - - elementCount - elementCount - () - - - FillRule - fillRule - QPainterPath::fillRule() - - - intersected - intersected - ( const QPainterPath & p ) - - - intersects - intersects - ( const QRectF & rectangle ) - - - intersects - intersects-2 - ( const QPainterPath & p ) - - - isEmpty - isEmpty - () - - - length - length - () - - - lineTo - lineTo - ( const QPointF & endPoint ) - - - lineTo - lineTo-2 - ( qreal x, qreal y ) - - - moveTo - moveTo - ( const QPointF & point ) - - - moveTo - moveTo-2 - ( qreal x, qreal y ) - - - percentAtLength - percentAtLength - ( qreal len ) - - - pointAtPercent - pointAtPercent - ( qreal t ) - - - quadTo - quadTo - ( const QPointF & c, const QPointF & endPoint ) - - - quadTo - quadTo-2 - ( qreal cx, qreal cy, qreal endPointX, qreal endPointY ) - - - setElementPositionAt - setElementPositionAt - ( int index, qreal x, qreal y ) - - - setFillRule - setFillRule - ( Qt::FillRule fillRule ) - - - slopeAtPercent - slopeAtPercent - ( qreal t ) - - - subtracted - subtracted - ( const QPainterPath & p ) - - - subtractedInverted - subtractedInverted - ( const QPainterPath & p ) - - - toFillPolygon - toFillPolygon - ( const QMatrix & matrix = QMatrix() - - - toFillPolygon - toFillPolygon-2 - ( const QTransform & matrix ) - - - toFillPolygons - toFillPolygons - ( const QMatrix & matrix = QMatrix() - - - toFillPolygons - toFillPolygons-2 - ( const QTransform & matrix ) - - - toReversed - toReversed - () - - - toSubpathPolygons - toSubpathPolygons - ( const QMatrix & matrix = QMatrix() - - - toSubpathPolygons - toSubpathPolygons-2 - ( const QTransform & matrix ) - - - united - united - ( const QPainterPath & p ) - - - operator!= - operator-not-eq - ( const QPainterPath & path ) - - - operator= - operator-eq - ( const QPainterPath & path ) - - - operator== - operator-eq-eq - ( const QPainterPath & path ) - - - - QPainterPathStroker - qpainterpathstroker.html - - QPainterPathStroker - QPainterPathStroker - () - - - PenCapStyle - capStyle - QPainterPathStroker::capStyle() - - - createStroke - createStroke - ( const QPainterPath & path ) - - - curveThreshold - curveThreshold - () - - - dashOffset - dashOffset - () - - - dashPattern - dashPattern - () - - - PenJoinStyle - joinStyle - QPainterPathStroker::joinStyle() - - - miterLimit - miterLimit - () - - - setCapStyle - setCapStyle - ( Qt::PenCapStyle style ) - - - setCurveThreshold - setCurveThreshold - ( qreal threshold ) - - - setDashOffset - setDashOffset - ( qreal offset ) - - - setDashPattern - setDashPattern - ( Qt::PenStyle style ) - - - setDashPattern - setDashPattern-2 - ( const QVector<qreal> & dashPattern ) - - - setJoinStyle - setJoinStyle - ( Qt::PenJoinStyle style ) - - - setMiterLimit - setMiterLimit - ( qreal limit ) - - - setWidth - setWidth - ( qreal width ) - - - width - width - () - - - QPaintEvent - QPaintEvent-3 - ( const QRegion & paintRegion, const QRect & paintRect ) - - - erased - erased - () - - - - QPaintEvent - qpaintevent.html - - QPaintEvent - QPaintEvent - ( const QRegion & paintRegion ) - - - QPaintEvent - QPaintEvent-2 - ( const QRect & paintRect ) - - - rect - rect - () - - - region - region - () - - - QPaintEvent - QPaintEvent-3 - ( const QRegion & paintRegion, const QRect & paintRect ) - - - erased - erased - () - - - - QPair - qpair.html - - first_type - first_type-typedef - - - - second_type - second_type-typedef - - - - QPair - QPair - () - - - QPair - QPair-2 - ( const T1 & value1, const T2 & value2 ) - - - operator= - operator-eq - ( const QPair<T1, T2> & other ) - - - first - first-var - - - - second - second-var - - - - QPalette - QPalette-6 - ( const QColor & windowText, const QColor & window, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base ) - - - background - background - () - - - foreground - foreground - () - - - serialNumber - serialNumber - () - - - QPalette - QPalette-7 - ( const QColorGroup & active, const QColorGroup & disabled, const QColorGroup & inactive ) - - - active - active - () - - - copy - copy - () - - - disabled - disabled - () - - - inactive - inactive - () - - - normal - normal - () - - - setActive - setActive - ( const QColorGroup & colorGroup ) - - - setDisabled - setDisabled - ( const QColorGroup & colorGroup ) - - - setInactive - setInactive - ( const QColorGroup & colorGroup ) - - - setNormal - setNormal - ( const QColorGroup & colorGroup ) - - - - QPalette - qpalette.html - - ColorGroup - ColorGroup-enum - - - - ColorRole - ColorRole-enum - - - - QPalette - QPalette - () - - - QPalette - QPalette-2 - ( const QColor & button ) - - - QPalette - QPalette-3 - ( Qt::GlobalColor button ) - - - QPalette - QPalette-4 - ( const QColor & button, const QColor & window ) - - - QPalette - QPalette-5 - ( const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) - - - QPalette - QPalette-8 - ( const QPalette & p ) - - - alternateBase - alternateBase - () - - - base - base - () - - - brightText - brightText - () - - - brush - brush - ( ColorGroup group, ColorRole role ) - - - brush - brush-2 - ( ColorRole role ) - - - button - button - () - - - buttonText - buttonText - () - - - cacheKey - cacheKey - () - - - color - color - ( ColorGroup group, ColorRole role ) - - - color - color-2 - ( ColorRole role ) - - - currentColorGroup - currentColorGroup - () - - - dark - dark - () - - - highlight - highlight - () - - - highlightedText - highlightedText - () - - - isBrushSet - isBrushSet - ( ColorGroup cg, ColorRole cr ) - - - isCopyOf - isCopyOf - ( const QPalette & p ) - - - isEqual - isEqual - ( ColorGroup cg1, ColorGroup cg2 ) - - - light - light - () - - - link - link - () - - - linkVisited - linkVisited - () - - - mid - mid - () - - - midlight - midlight - () - - - resolve - resolve - ( const QPalette & other ) - - - setBrush - setBrush - ( ColorRole role, const QBrush & brush ) - - - setBrush - setBrush-2 - ( ColorGroup group, ColorRole role, const QBrush & brush ) - - - setColor - setColor - ( ColorGroup group, ColorRole role, const QColor & color ) - - - setColor - setColor-2 - ( ColorRole role, const QColor & color ) - - - setColorGroup - setColorGroup - ( ColorGroup cg, const QBrush & windowText, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & window ) - - - setCurrentColorGroup - setCurrentColorGroup - ( ColorGroup cg ) - - - shadow - shadow - () - - - text - text - () - - - window - window - () - - - windowText - windowText - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QPalette & p ) - - - operator= - operator-eq - ( const QPalette & p ) - - - operator== - operator-eq-eq - ( const QPalette & p ) - - - QPalette - QPalette-7 - ( const QColorGroup & active, const QColorGroup & disabled, const QColorGroup & inactive ) - - - active - active - () - - - copy - copy - () - - - disabled - disabled - () - - - inactive - inactive - () - - - normal - normal - () - - - setActive - setActive - ( const QColorGroup & colorGroup ) - - - setDisabled - setDisabled - ( const QColorGroup & colorGroup ) - - - setInactive - setInactive - ( const QColorGroup & colorGroup ) - - - setNormal - setNormal - ( const QColorGroup & colorGroup ) - - - - QPen - qpen.html - - DataPtr - DataPtr-typedef - - - - QPen - QPen - () - - - QPen - QPen-2 - ( Qt::PenStyle style ) - - - QPen - QPen-3 - ( const QColor & color ) - - - QPen - QPen-4 - ( const QBrush & brush, qreal width, Qt::PenStyle style = Qt::SolidLine, Qt::PenCapStyle cap = Qt::SquareCap, Qt::PenJoinStyle join = Qt::BevelJoin ) - - - QPen - QPen-5 - ( const QPen & pen ) - - - brush - brush - () - - - PenCapStyle - capStyle - QPen::capStyle() - - - color - color - () - - - dashOffset - dashOffset - () - - - dashPattern - dashPattern - () - - - data_ptr - data_ptr - () - - - isCosmetic - isCosmetic - () - - - isSolid - isSolid - () - - - PenJoinStyle - joinStyle - QPen::joinStyle() - - - miterLimit - miterLimit - () - - - setBrush - setBrush - ( const QBrush & brush ) - - - setCapStyle - setCapStyle - ( Qt::PenCapStyle style ) - - - setColor - setColor - ( const QColor & color ) - - - setCosmetic - setCosmetic - ( bool cosmetic ) - - - setDashOffset - setDashOffset - ( qreal offset ) - - - setDashPattern - setDashPattern - ( const QVector<qreal> & pattern ) - - - setJoinStyle - setJoinStyle - ( Qt::PenJoinStyle style ) - - - setMiterLimit - setMiterLimit - ( qreal limit ) - - - setStyle - setStyle - ( Qt::PenStyle style ) - - - setWidth - setWidth - ( int width ) - - - setWidthF - setWidthF - ( qreal width ) - - - PenStyle - style - QPen::style() - - - width - width - () - - - widthF - widthF - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QPen & pen ) - - - operator= - operator-eq - ( const QPen & pen ) - - - operator== - operator-eq-eq - ( const QPen & pen ) - - - - QPersistentModelIndex - qpersistentmodelindex.html - - QPersistentModelIndex - QPersistentModelIndex - ( const QModelIndex & index ) - - - QPersistentModelIndex - QPersistentModelIndex-3 - ( const QPersistentModelIndex & other ) - - - child - child - ( int row, int column ) - - - column - column - () - - - data - data - ( int role = Qt::DisplayRole ) - - - ItemFlags - flags - QPersistentModelIndex::flags() - - - isValid - isValid - () - - - model - model - () - - - parent - parent - () - - - row - row - () - - - sibling - sibling - ( int row, int column ) - - - operator - operator-const-QModelIndex--and - const QModelIndex &() - - - operator!= - operator-not-eq - ( const QPersistentModelIndex & other ) - - - operator!= - operator-not-eq-2 - ( const QModelIndex & other ) - - - operator< - operator-lt - ( const QPersistentModelIndex & other ) - - - operator= - operator-eq - ( const QPersistentModelIndex & other ) - - - operator= - operator-eq-2 - ( const QModelIndex & other ) - - - operator== - operator-eq-eq - ( const QPersistentModelIndex & other ) - - - operator== - operator-eq-eq-2 - ( const QModelIndex & other ) - - - inputFormatList - inputFormatList - () - - - inputFormats - inputFormats - () - - - outputFormatList - outputFormatList - () - - - outputFormats - outputFormats - () - - - pictureFormat - pictureFormat - ( const QString & fileName ) - - - copy - copy - () - - - - QPicture - qpicture.html - - DataPtr - DataPtr-typedef - - - - QPicture - QPicture - ( int formatVersion = -1 ) - - - QPicture - QPicture-2 - ( const QPicture & pic ) - - - boundingRect - boundingRect - () - - - data - data - () - - - data_ptr - data_ptr - () - - - isNull - isNull - () - - - load - load - ( const QString & fileName, const char * format = 0 ) - - - load - load-2 - ( QIODevice * dev, const char * format = 0 ) - - - metric - metric - ( PaintDeviceMetric m ) - - - play - play - ( QPainter * painter ) - - - save - save - ( const QString & fileName, const char * format = 0 ) - - - save - save-2 - ( QIODevice * dev, const char * format = 0 ) - - - setBoundingRect - setBoundingRect - ( const QRect & r ) - - - setData - setData - ( const char * data, uint size ) - - - size - size - () - - - operator= - operator-eq - ( const QPicture & p ) - - - copy - copy - () - - - - QPictureFormatPlugin - qpictureformatplugin.html - - QPictureFormatPlugin - QPictureFormatPlugin - ( QObject * parent = 0 ) - - - installIOHandler - installIOHandler - ( const QString & format ) - - - keys - keys - () - - - loadPicture - loadPicture - ( const QString & format, const QString & fileName, QPicture * picture ) - - - savePicture - savePicture - ( const QString & format, const QString & fileName, const QPicture & picture ) - - - - QPictureIO - qpictureio.html - - QPictureIO - QPictureIO - () - - - QPictureIO - QPictureIO-2 - ( QIODevice * ioDevice, const char * format ) - - - QPictureIO - QPictureIO-3 - ( const QString & fileName, const char * format ) - - - defineIOHandler - defineIOHandler - ( const char * format, const char * header, const char * flags, picture_io_handler readPicture, picture_io_handler writePicture ) - - - description - description - () - - - fileName - fileName - () - - - format - format - () - - - gamma - gamma - () - - - inputFormats - inputFormats - () - - - ioDevice - ioDevice - () - - - outputFormats - outputFormats - () - - - parameters - parameters - () - - - picture - picture - () - - - pictureFormat - pictureFormat - ( const QString & fileName ) - - - pictureFormat - pictureFormat-2 - ( QIODevice * d ) - - - quality - quality - () - - - read - read - () - - - setDescription - setDescription - ( const QString & description ) - - - setFileName - setFileName - ( const QString & fileName ) - - - setFormat - setFormat - ( const char * format ) - - - setGamma - setGamma - ( float gamma ) - - - setIODevice - setIODevice - ( QIODevice * ioDevice ) - - - setParameters - setParameters - ( const char * parameters ) - - - setPicture - setPicture - ( const QPicture & picture ) - - - setQuality - setQuality - ( int q ) - - - setStatus - setStatus - ( int status ) - - - status - status - () - - - write - write - () - - - serialNumber - serialNumber - () - - - ColorMode - ColorMode-enum - - - - QPixmap - QPixmap-6 - ( const QString & fileName, const char * format, ColorMode mode ) - - - QPixmap - QPixmap-7 - ( const QImage & image ) - - - convertFromImage - convertFromImage - ( const QImage & image, ColorMode mode ) - - - convertFromImage - convertFromImage-2 - ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - convertToImage - convertToImage - () - - - load - load-2 - ( const QString & fileName, const char * format, ColorMode mode ) - - - loadFromData - loadFromData-2 - ( const uchar * buf, uint len, const char * format, ColorMode mode ) - - - resize - resize - ( int width, int height ) - - - resize - resize-2 - ( const QSize & size ) - - - selfMask - selfMask - () - - - xForm - xForm - ( const QMatrix & matrix ) - - - operator - operator-QImage - QImage() - - - operator= - operator-eq-2 - ( const QImage & image ) - - - - QPixmap - qpixmap.html - - DataPtr - DataPtr-typedef - - - - HBitmapFormat - HBitmapFormat-enum - - - - QPixmap - QPixmap - () - - - QPixmap - QPixmap-2 - ( int width, int height ) - - - QPixmap - QPixmap-3 - ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - QPixmap - QPixmap-4 - ( const char * const[] xpm ) - - - QPixmap - QPixmap-5 - ( const QPixmap & pixmap ) - - - QPixmap - QPixmap-9 - ( const QSize & size ) - - - alphaChannel - alphaChannel - () - - - cacheKey - cacheKey - () - - - copy - copy - ( const QRect & rectangle = QRect() - - - copy - copy-2 - ( int x, int y, int width, int height ) - - - createHeuristicMask - createHeuristicMask - ( bool clipTight = true ) - - - createMaskFromColor - createMaskFromColor - ( const QColor & maskColor, Qt::MaskMode mode ) - - - createMaskFromColor - createMaskFromColor-2 - ( const QColor & maskColor ) - - - data_ptr - data_ptr - () - - - defaultDepth - defaultDepth - () - - - depth - depth - () - - - detach - detach - () - - - fill - fill - ( const QColor & fillColor = Qt::white ) - - - fill - fill-2 - ( const QWidget * widget, const QPoint & offset ) - - - fill - fill-3 - ( const QWidget * widget, int x, int y ) - - - fromImage - fromImage - ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - fromMacCGImageRef - fromMacCGImageRef - ( CGImageRef image ) - - - fromWinHBITMAP - fromWinHBITMAP - ( HBITMAP bitmap, HBitmapFormat format = NoAlpha ) - - - grabWidget - grabWidget - ( QWidget * widget, const QRect & rectangle ) - - - grabWidget - grabWidget-2 - ( QWidget * widget, int x = 0, int y = 0, int width = -1, int height = -1 ) - - - grabWindow - grabWindow - ( WId window, int x = 0, int y = 0, int width = -1, int height = -1 ) - - - HANDLE - handle - QPixmap::handle() - - - hasAlpha - hasAlpha - () - - - hasAlphaChannel - hasAlphaChannel - () - - - height - height - () - - - isNull - isNull - () - - - isQBitmap - isQBitmap - () - - - load - load - ( const QString & fileName, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - loadFromData - loadFromData - ( const uchar * data, uint len, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - loadFromData - loadFromData-3 - ( const QByteArray & data, const char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - mask - mask - () - - - rect - rect - () - - - save - save - ( const QString & fileName, const char * format = 0, int quality = -1 ) - - - save - save-2 - ( QIODevice * device, const char * format = 0, int quality = -1 ) - - - scaled - scaled - ( const QSize & size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) - - - scaled - scaled-2 - ( int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation ) - - - scaledToHeight - scaledToHeight - ( int height, Qt::TransformationMode mode = Qt::FastTransformation ) - - - scaledToWidth - scaledToWidth - ( int width, Qt::TransformationMode mode = Qt::FastTransformation ) - - - setAlphaChannel - setAlphaChannel - ( const QPixmap & alphaChannel ) - - - setMask - setMask - ( const QBitmap & newmask ) - - - size - size - () - - - toImage - toImage - () - - - toMacCGImageRef - toMacCGImageRef - () - - - toWinHBITMAP - toWinHBITMAP - ( HBitmapFormat format = NoAlpha ) - - - transformed - transformed - ( const QMatrix & matrix, Qt::TransformationMode mode = Qt::FastTransformation ) - - - transformed - transformed-2 - ( const QTransform &, Qt::TransformationMode mode = Qt::FastTransformation ) - - - trueMatrix - trueMatrix - ( const QMatrix & matrix, int width, int height ) - - - trueMatrix - trueMatrix-2 - ( const QTransform & m, int w, int h ) - - - width - width - () - - - x11Info - x11Info - () - - - HANDLE - x11PictureHandle - QPixmap::x11PictureHandle() - - - operator - operator-QVariant - QVariant() - - - operator! - operator-not - () - - - operator= - operator-eq - ( const QPixmap & pixmap ) - - - ColorMode - ColorMode-enum - - - - QPixmap - QPixmap-6 - ( const QString & fileName, const char * format, ColorMode mode ) - - - QPixmap - QPixmap-7 - ( const QImage & image ) - - - convertFromImage - convertFromImage - ( const QImage & image, ColorMode mode ) - - - convertFromImage - convertFromImage-2 - ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor ) - - - convertToImage - convertToImage - () - - - load - load-2 - ( const QString & fileName, const char * format, ColorMode mode ) - - - loadFromData - loadFromData-2 - ( const uchar * buf, uint len, const char * format, ColorMode mode ) - - - resize - resize - ( int width, int height ) - - - resize - resize-2 - ( const QSize & size ) - - - selfMask - selfMask - () - - - xForm - xForm - ( const QMatrix & matrix ) - - - operator - operator-QImage - QImage() - - - operator= - operator-eq-2 - ( const QImage & image ) - - - find - find-2 - ( const QString & key ) - - - - QPixmapCache - qpixmapcache.html - - cacheLimit - cacheLimit - () - - - clear - clear - () - - - find - find - ( const QString & key, QPixmap & pm ) - - - insert - insert - ( const QString & key, const QPixmap & pm ) - - - remove - remove - ( const QString & key ) - - - setCacheLimit - setCacheLimit - ( int n ) - - - - QPlastiqueStyle - qplastiquestyle.html - - QPlastiqueStyle - QPlastiqueStyle - () - - - - QPluginLoader - qpluginloader.html - - QPluginLoader - QPluginLoader - ( QObject * parent = 0 ) - - - QPluginLoader - QPluginLoader-2 - ( const QString & fileName, QObject * parent = 0 ) - - - errorString - errorString - () - - - instance - instance - () - - - isLoaded - isLoaded - () - - - load - load - () - - - staticInstances - staticInstances - () - - - unload - unload - () - - - - QPoint - qpoint.html - - QPoint - QPoint - () - - - QPoint - QPoint-2 - ( int x, int y ) - - - isNull - isNull - () - - - manhattanLength - manhattanLength - () - - - rx - rx - () - - - ry - ry - () - - - setX - setX - ( int x ) - - - setY - setY - ( int y ) - - - x - x - () - - - y - y - () - - - operator*= - operator-2a-eq - ( qreal factor ) - - - operator+= - operator-2b-eq - ( const QPoint & point ) - - - operator-= - operator--eq - ( const QPoint & point ) - - - operator/= - operator-2f-eq - ( qreal divisor ) - - - - QPointer - qpointer.html - - QPointer - QPointer - () - - - QPointer - QPointer-2 - ( T * p ) - - - QPointer - QPointer-3 - ( const QPointer<T> & p ) - - - isNull - isNull - () - - - operator - operator-T--2a - T *() - - - operator* - operator-2a - () - - - operator-& - operator--gt - gt;() - - - operator= - operator-eq - ( const QPointer<T> & p ) - - - operator= - operator-eq-2 - ( T * p ) - - - - QPointF - qpointf.html - - QPointF - QPointF - () - - - QPointF - QPointF-2 - ( const QPoint & point ) - - - QPointF - QPointF-3 - ( qreal x, qreal y ) - - - isNull - isNull - () - - - rx - rx - () - - - ry - ry - () - - - setX - setX - ( qreal x ) - - - setY - setY - ( qreal y ) - - - toPoint - toPoint - () - - - x - x - () - - - y - y - () - - - operator*= - operator-2a-eq - ( qreal factor ) - - - operator+= - operator-2b-eq - ( const QPointF & point ) - - - operator-= - operator--eq - ( const QPointF & point ) - - - operator/= - operator-2f-eq - ( qreal divisor ) - - - - QPolygon - qpolygon.html - - QPolygon - QPolygon - () - - - QPolygon - QPolygon-2 - ( int size ) - - - QPolygon - QPolygon-3 - ( const QPolygon & polygon ) - - - QPolygon - QPolygon-4 - ( const QVector<QPoint> & points ) - - - QPolygon - QPolygon-5 - ( const QRect & rectangle, bool closed = false ) - - - boundingRect - boundingRect - () - - - containsPoint - containsPoint - ( const QPoint & pt, Qt::FillRule fillRule ) - - - intersected - intersected - ( const QPolygon & r ) - - - point - point - ( int index, int * x, int * y ) - - - point - point-2 - ( int index ) - - - putPoints - putPoints - ( int index, int nPoints, int firstx, int firsty, ... ) - - - putPoints - putPoints-3 - ( int index, int nPoints, const QPolygon & fromPolygon, int fromIndex = 0 ) - - - setPoint - setPoint - ( int index, int x, int y ) - - - setPoint - setPoint-2 - ( int index, const QPoint & point ) - - - setPoints - setPoints - ( int nPoints, const int * points ) - - - setPoints - setPoints-2 - ( int nPoints, int firstx, int firsty, ... ) - - - subtracted - subtracted - ( const QPolygon & r ) - - - translate - translate - ( int dx, int dy ) - - - translate - translate-2 - ( const QPoint & offset ) - - - united - united - ( const QPolygon & r ) - - - operator - operator-QVariant - QVariant() - - - - QPolygonF - qpolygonf.html - - QPolygonF - QPolygonF - () - - - QPolygonF - QPolygonF-2 - ( int size ) - - - QPolygonF - QPolygonF-3 - ( const QPolygonF & polygon ) - - - QPolygonF - QPolygonF-4 - ( const QVector<QPointF> & points ) - - - QPolygonF - QPolygonF-5 - ( const QRectF & rectangle ) - - - QPolygonF - QPolygonF-6 - ( const QPolygon & polygon ) - - - boundingRect - boundingRect - () - - - containsPoint - containsPoint - ( const QPointF & point, Qt::FillRule fillRule ) - - - intersected - intersected - ( const QPolygonF & r ) - - - isClosed - isClosed - () - - - subtracted - subtracted - ( const QPolygonF & r ) - - - toPolygon - toPolygon - () - - - translate - translate - ( const QPointF & offset ) - - - translate - translate-2 - ( qreal dx, qreal dy ) - - - united - united - ( const QPolygonF & r ) - - - - QPrintDialog - qprintdialog.html - - QPrintDialog - QPrintDialog - ( QPrinter * printer, QWidget * parent = 0 ) - - - - QPrintEngine - qprintengine.html - - PrintEnginePropertyKey - PrintEnginePropertyKey-enum - - - - abort - abort - () - - - metric - metric - ( QPaintDevice::PaintDeviceMetric id ) - - - newPage - newPage - () - - - PrinterState - printerState - QPrintEngine::printerState() - - - property - property - ( PrintEnginePropertyKey key ) - - - setProperty - setProperty - ( PrintEnginePropertyKey key, const QVariant & value ) - - - PrinterOption - PrinterOption-enum - - - - aborted - aborted - () - - - collateCopiesEnabled - collateCopiesEnabled - () - - - isOptionEnabled - isOptionEnabled - ( PrinterOption option ) - - - margins - margins - ( uint * top, uint * left, uint * bottom, uint * right ) - - - margins - margins-2 - () - - - maxPage - maxPage - () - - - minPage - minPage - () - - - outputToFile - outputToFile - () - - - pageSetup - pageSetup - ( QWidget * parent = 0 ) - - - printSetup - printSetup - ( QWidget * parent = 0 ) - - - setCollateCopiesEnabled - setCollateCopiesEnabled - ( bool enable ) - - - setMinMax - setMinMax - ( int minPage, int maxPage ) - - - setOptionEnabled - setOptionEnabled - ( PrinterOption option, bool enable ) - - - setOutputToFile - setOutputToFile - ( bool enable ) - - - setup - setup - ( QWidget * parent = 0 ) - - - - QPrinter - qprinter.html - - ColorMode - ColorMode-enum - - - - Orientation - Orientation-enum - - - - OutputFormat - OutputFormat-enum - - - - PageOrder - PageOrder-enum - - - - PageSize - PageSize-enum - - - - PaperSource - PaperSource-enum - - - - PrintRange - PrintRange-enum - - - - PrinterMode - PrinterMode-enum - - - - PrinterState - PrinterState-enum - - - - QPrinter - QPrinter - ( PrinterMode mode = ScreenResolution ) - - - abort - abort - () - - - collateCopies - collateCopies - () - - - colorMode - colorMode - () - - - creator - creator - () - - - docName - docName - () - - - doubleSidedPrinting - doubleSidedPrinting - () - - - fontEmbeddingEnabled - fontEmbeddingEnabled - () - - - fromPage - fromPage - () - - - fullPage - fullPage - () - - - newPage - newPage - () - - - numCopies - numCopies - () - - - orientation - orientation - () - - - outputFileName - outputFileName - () - - - outputFormat - outputFormat - () - - - pageOrder - pageOrder - () - - - pageRect - pageRect - () - - - pageSize - pageSize - () - - - paintEngine - paintEngine - () - - - paperRect - paperRect - () - - - paperSource - paperSource - () - - - printEngine - printEngine - () - - - printProgram - printProgram - () - - - printRange - printRange - () - - - printerName - printerName - () - - - printerSelectionOption - printerSelectionOption - () - - - printerState - printerState - () - - - resolution - resolution - () - - - setCollateCopies - setCollateCopies - ( bool collate ) - - - setColorMode - setColorMode - ( ColorMode newColorMode ) - - - setCreator - setCreator - ( const QString & creator ) - - - setDocName - setDocName - ( const QString & name ) - - - setDoubleSidedPrinting - setDoubleSidedPrinting - ( bool doubleSided ) - - - setEngines - setEngines - ( QPrintEngine * printEngine, QPaintEngine * paintEngine ) - - - setFontEmbeddingEnabled - setFontEmbeddingEnabled - ( bool enable ) - - - setFromTo - setFromTo - ( int from, int to ) - - - setFullPage - setFullPage - ( bool fp ) - - - setNumCopies - setNumCopies - ( int numCopies ) - - - setOrientation - setOrientation - ( Orientation orientation ) - - - setOutputFileName - setOutputFileName - ( const QString & fileName ) - - - setOutputFormat - setOutputFormat - ( OutputFormat format ) - - - setPageOrder - setPageOrder - ( PageOrder pageOrder ) - - - setPageSize - setPageSize - ( PageSize newPageSize ) - - - setPaperSource - setPaperSource - ( PaperSource source ) - - - setPrintProgram - setPrintProgram - ( const QString & printProg ) - - - setPrintRange - setPrintRange - ( PrintRange range ) - - - setPrinterName - setPrinterName - ( const QString & name ) - - - setPrinterSelectionOption - setPrinterSelectionOption - ( const QString & option ) - - - setResolution - setResolution - ( int dpi ) - - - setWinPageSize - setWinPageSize - ( int pageSize ) - - - supportedPaperSources - supportedPaperSources - () - - - supportedResolutions - supportedResolutions - () - - - toPage - toPage - () - - - winPageSize - winPageSize - () - - - PrinterOption - PrinterOption-enum - - - - aborted - aborted - () - - - collateCopiesEnabled - collateCopiesEnabled - () - - - isOptionEnabled - isOptionEnabled - ( PrinterOption option ) - - - margins - margins - ( uint * top, uint * left, uint * bottom, uint * right ) - - - margins - margins-2 - () - - - maxPage - maxPage - () - - - minPage - minPage - () - - - outputToFile - outputToFile - () - - - pageSetup - pageSetup - ( QWidget * parent = 0 ) - - - printSetup - printSetup - ( QWidget * parent = 0 ) - - - setCollateCopiesEnabled - setCollateCopiesEnabled - ( bool enable ) - - - setMinMax - setMinMax - ( int minPage, int maxPage ) - - - setOptionEnabled - setOptionEnabled - ( PrinterOption option, bool enable ) - - - setOutputToFile - setOutputToFile - ( bool enable ) - - - setup - setup - ( QWidget * parent = 0 ) - - - finished - finished-2 - ( int exitCode ) - - - readChannelMode - readChannelMode - () - - - setReadChannelMode - setReadChannelMode - ( ProcessChannelMode mode ) - - - - QProcess - qprocess.html - - ExitStatus - ExitStatus-enum - - - - ProcessChannel - ProcessChannel-enum - - - - ProcessChannelMode - ProcessChannelMode-enum - - - - ProcessError - ProcessError-enum - - - - ProcessState - ProcessState-enum - - - - QProcess - QProcess - ( QObject * parent = 0 ) - - - close - close - () - - - closeReadChannel - closeReadChannel - ( ProcessChannel channel ) - - - closeWriteChannel - closeWriteChannel - () - - - environment - environment - () - - - ProcessError - error - QProcess::error() - - - error - error-2 - ( QProcess::ProcessError error ) - - - execute - execute - ( const QString & program, const QStringList & arguments ) - - - execute - execute-2 - ( const QString & program ) - - - exitCode - exitCode - () - - - ExitStatus - exitStatus - QProcess::exitStatus() - - - finished - finished - ( int exitCode, QProcess::ExitStatus exitStatus ) - - - kill - kill - () - - - pid - pid - () - - - processChannelMode - processChannelMode - () - - - readAllStandardError - readAllStandardError - () - - - readAllStandardOutput - readAllStandardOutput - () - - - readChannel - readChannel - () - - - readyReadStandardError - readyReadStandardError - () - - - readyReadStandardOutput - readyReadStandardOutput - () - - - setEnvironment - setEnvironment - ( const QStringList & environment ) - - - setProcessChannelMode - setProcessChannelMode - ( ProcessChannelMode mode ) - - - setProcessState - setProcessState - ( ProcessState state ) - - - setReadChannel - setReadChannel - ( ProcessChannel channel ) - - - setStandardErrorFile - setStandardErrorFile - ( const QString & fileName, OpenMode mode = Truncate ) - - - setStandardInputFile - setStandardInputFile - ( const QString & fileName ) - - - setStandardOutputFile - setStandardOutputFile - ( const QString & fileName, OpenMode mode = Truncate ) - - - setStandardOutputProcess - setStandardOutputProcess - ( QProcess * destination ) - - - setWorkingDirectory - setWorkingDirectory - ( const QString & dir ) - - - setupChildProcess - setupChildProcess - () - - - start - start - ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) - - - start - start-2 - ( const QString & program, OpenMode mode = ReadWrite ) - - - startDetached - startDetached - ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 ) - - - startDetached - startDetached-2 - ( const QString & program, const QStringList & arguments ) - - - startDetached - startDetached-3 - ( const QString & program ) - - - started - started - () - - - ProcessState - state - QProcess::state() - - - stateChanged - stateChanged - ( QProcess::ProcessState newState ) - - - systemEnvironment - systemEnvironment - () - - - terminate - terminate - () - - - waitForFinished - waitForFinished - ( int msecs = 30000 ) - - - waitForStarted - waitForStarted - ( int msecs = 30000 ) - - - workingDirectory - workingDirectory - () - - - - QProgressBar - qprogressbar.html - - Direction - Direction-enum - - - - Alignment - alignment-prop - - - - Orientation - orientation-prop - - - - QProgressBar - QProgressBar - ( QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionProgressBar * option ) - - - reset - reset - () - - - setRange - setRange - ( int minimum, int maximum ) - - - valueChanged - valueChanged - ( int value ) - - - - QProgressDialog - qprogressdialog.html - - QProgressDialog - QProgressDialog - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - QProgressDialog - QProgressDialog-2 - ( const QString & labelText, const QString & cancelButtonText, int minimum, int maximum, QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - cancel - cancel - () - - - canceled - canceled - () - - - forceShow - forceShow - () - - - reset - reset - () - - - setBar - setBar - ( QProgressBar * bar ) - - - setCancelButton - setCancelButton - ( QPushButton * cancelButton ) - - - setCancelButtonText - setCancelButtonText - ( const QString & cancelButtonText ) - - - setLabel - setLabel - ( QLabel * label ) - - - setRange - setRange - ( int minimum, int maximum ) - - - sizeHint - sizeHint - () - - - - QProxyModel - qproxymodel.html - - QProxyModel - QProxyModel - ( QObject * parent = 0 ) - - - columnCount - columnCount - ( const QModelIndex & parent ) - - - data - data - ( const QModelIndex & index, int role ) - - - dropMimeData - dropMimeData - ( const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent ) - - - fetchMore - fetchMore - ( const QModelIndex & parent ) - - - ItemFlags - flags - QProxyModel::flags( const QModelIndex & index ) - - - hasChildren - hasChildren - ( const QModelIndex & parent ) - - - headerData - headerData - ( int section, Qt::Orientation orientation, int role ) - - - index - index - ( int row, int column, const QModelIndex & parent ) - - - insertColumns - insertColumns - ( int column, int count, const QModelIndex & parent ) - - - insertRows - insertRows - ( int row, int count, const QModelIndex & parent ) - - - match - match - ( const QModelIndex & start, int role, const QVariant & value, int hits, Qt::MatchFlags flags ) - - - mimeData - mimeData - ( const QModelIndexList & indexes ) - - - mimeTypes - mimeTypes - () - - - model - model - () - - - parent - parent - ( const QModelIndex & child ) - - - revert - revert - () - - - rowCount - rowCount - ( const QModelIndex & parent ) - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role ) - - - setHeaderData - setHeaderData - ( int section, Qt::Orientation orientation, const QVariant & value, int role ) - - - setModel - setModel - ( QAbstractItemModel * model ) - - - sort - sort - ( int column, Qt::SortOrder order ) - - - span - span - ( const QModelIndex & index ) - - - submit - submit - () - - - DropActions - supportedDropActions - QProxyModel::supportedDropActions() - - - QPushButton - QPushButton-4 - ( QWidget * parent, const char * name ) - - - QPushButton - QPushButton-5 - ( const QString & text, QWidget * parent, const char * name ) - - - QPushButton - QPushButton-6 - ( const QIcon & icon, const QString & text, QWidget * parent, const char * name ) - - - isMenuButton - isMenuButton - () - - - openPopup - openPopup - () - - - popup - popup - () - - - setPopup - setPopup - ( QMenu * popup ) - - - - QPushButton - qpushbutton.html - - QPushButton - QPushButton - ( QWidget * parent = 0 ) - - - QPushButton - QPushButton-2 - ( const QString & text, QWidget * parent = 0 ) - - - QPushButton - QPushButton-3 - ( const QIcon & icon, const QString & text, QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionButton * option ) - - - menu - menu - () - - - setMenu - setMenu - ( QMenu * menu ) - - - showMenu - showMenu - () - - - QPushButton - QPushButton-4 - ( QWidget * parent, const char * name ) - - - QPushButton - QPushButton-5 - ( const QString & text, QWidget * parent, const char * name ) - - - QPushButton - QPushButton-6 - ( const QIcon & icon, const QString & text, QWidget * parent, const char * name ) - - - isMenuButton - isMenuButton - () - - - openPopup - openPopup - () - - - popup - popup - () - - - setPopup - setPopup - ( QMenu * popup ) - - - - QQueue - qqueue.html - - QQueue - QQueue - () - - - dequeue - dequeue - () - - - enqueue - enqueue - ( const T & t ) - - - head - head - () - - - head - head-2 - () - - - - QRadialGradient - qradialgradient.html - - QRadialGradient - QRadialGradient - () - - - QRadialGradient - QRadialGradient-2 - ( const QPointF & center, qreal radius, const QPointF & focalPoint ) - - - QRadialGradient - QRadialGradient-3 - ( qreal cx, qreal cy, qreal radius, qreal fx, qreal fy ) - - - QRadialGradient - QRadialGradient-4 - ( const QPointF & center, qreal radius ) - - - QRadialGradient - QRadialGradient-5 - ( qreal cx, qreal cy, qreal radius ) - - - center - center - () - - - focalPoint - focalPoint - () - - - radius - radius - () - - - setCenter - setCenter - ( const QPointF & center ) - - - setCenter - setCenter-2 - ( qreal x, qreal y ) - - - setFocalPoint - setFocalPoint - ( const QPointF & focalPoint ) - - - setFocalPoint - setFocalPoint-2 - ( qreal x, qreal y ) - - - setRadius - setRadius - ( qreal radius ) - - - QRadioButton - QRadioButton-3 - ( QWidget * parent, const char * name ) - - - QRadioButton - QRadioButton-4 - ( const QString & text, QWidget * parent, const char * name ) - - - - QRadioButton - qradiobutton.html - - QRadioButton - QRadioButton - ( QWidget * parent = 0 ) - - - QRadioButton - QRadioButton-2 - ( const QString & text, QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionButton * option ) - - - QRadioButton - QRadioButton-3 - ( QWidget * parent, const char * name ) - - - QRadioButton - QRadioButton-4 - ( const QString & text, QWidget * parent, const char * name ) - - - - QRasterPaintEngine - qrasterpaintengine.html - - QRasterPaintEngine - QRasterPaintEngine - () - - - drawBufferSpan - drawBufferSpan - ( const uint * buffer, int size, int x, int y, int length, uint alpha ) - - - drawColorSpans - drawColorSpans - ( const QSpan * spans, int count, uint color ) - - - fillPolygon - fillPolygon - ( const QPointF * points, int pointCount, PolygonDrawMode mode ) - - - - QReadLocker - qreadlocker.html - - QReadLocker - QReadLocker - ( QReadWriteLock * lock ) - - - readWriteLock - readWriteLock - () - - - relock - relock - () - - - unlock - unlock - () - - - - QReadWriteLock - qreadwritelock.html - - QReadWriteLock - QReadWriteLock - () - - - lockForRead - lockForRead - () - - - lockForWrite - lockForWrite - () - - - tryLockForRead - tryLockForRead - () - - - tryLockForRead - tryLockForRead-2 - ( int timeout ) - - - tryLockForWrite - tryLockForWrite - () - - - tryLockForWrite - tryLockForWrite-2 - ( int timeout ) - - - unlock - unlock - () - - - intersect - intersect - ( const QRect & rectangle ) - - - unite - unite - ( const QRect & rectangle ) - - - addCoords - addCoords - ( int dx1, int dy1, int dx2, int dy2 ) - - - coords - coords - ( int * x1, int * y1, int * x2, int * y2 ) - - - moveBy - moveBy - ( int dx, int dy ) - - - moveBy - moveBy-2 - ( const QPoint & p ) - - - normalize - normalize - () - - - rBottom - rBottom - () - - - rLeft - rLeft - () - - - rRight - rRight - () - - - rTop - rTop - () - - - rect - rect - ( int * x, int * y, int * width, int * height ) - - - - QRect - qrect.html - - QRect - QRect - () - - - QRect - QRect-2 - ( const QPoint & topLeft, const QPoint & bottomRight ) - - - QRect - QRect-3 - ( const QPoint & topLeft, const QSize & size ) - - - QRect - QRect-4 - ( int x, int y, int width, int height ) - - - adjust - adjust - ( int dx1, int dy1, int dx2, int dy2 ) - - - adjusted - adjusted - ( int dx1, int dy1, int dx2, int dy2 ) - - - bottom - bottom - () - - - bottomLeft - bottomLeft - () - - - bottomRight - bottomRight - () - - - center - center - () - - - contains - contains - ( const QPoint & point, bool proper = false ) - - - contains - contains-2 - ( int x, int y, bool proper ) - - - contains - contains-3 - ( int x, int y ) - - - contains - contains-4 - ( const QRect & rectangle, bool proper = false ) - - - getCoords - getCoords - ( int * x1, int * y1, int * x2, int * y2 ) - - - getRect - getRect - ( int * x, int * y, int * width, int * height ) - - - height - height - () - - - intersected - intersected - ( const QRect & rectangle ) - - - intersects - intersects - ( const QRect & rectangle ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - isValid - isValid - () - - - left - left - () - - - moveBottom - moveBottom - ( int y ) - - - moveBottomLeft - moveBottomLeft - ( const QPoint & position ) - - - moveBottomRight - moveBottomRight - ( const QPoint & position ) - - - moveCenter - moveCenter - ( const QPoint & position ) - - - moveLeft - moveLeft - ( int x ) - - - moveRight - moveRight - ( int x ) - - - moveTo - moveTo - ( int x, int y ) - - - moveTo - moveTo-2 - ( const QPoint & position ) - - - moveTop - moveTop - ( int y ) - - - moveTopLeft - moveTopLeft - ( const QPoint & position ) - - - moveTopRight - moveTopRight - ( const QPoint & position ) - - - normalized - normalized - () - - - right - right - () - - - setBottom - setBottom - ( int y ) - - - setBottomLeft - setBottomLeft - ( const QPoint & position ) - - - setBottomRight - setBottomRight - ( const QPoint & position ) - - - setCoords - setCoords - ( int x1, int y1, int x2, int y2 ) - - - setHeight - setHeight - ( int height ) - - - setLeft - setLeft - ( int x ) - - - setRect - setRect - ( int x, int y, int width, int height ) - - - setRight - setRight - ( int x ) - - - setSize - setSize - ( const QSize & size ) - - - setTop - setTop - ( int y ) - - - setTopLeft - setTopLeft - ( const QPoint & position ) - - - setTopRight - setTopRight - ( const QPoint & position ) - - - setWidth - setWidth - ( int width ) - - - setX - setX - ( int x ) - - - setY - setY - ( int y ) - - - size - size - () - - - top - top - () - - - topLeft - topLeft - () - - - topRight - topRight - () - - - translate - translate - ( int dx, int dy ) - - - translate - translate-2 - ( const QPoint & offset ) - - - translated - translated - ( int dx, int dy ) - - - translated - translated-2 - ( const QPoint & offset ) - - - united - united - ( const QRect & rectangle ) - - - width - width - () - - - x - x - () - - - y - y - () - - - operator& - operator-and - amp;( const QRect & rectangle ) - - - operator& - operator-and-eq - amp;=( const QRect & rectangle ) - - - operator| - operator-7c - ( const QRect & rectangle ) - - - operator|= - operator-7c-eq - ( const QRect & rectangle ) - - - addCoords - addCoords - ( int dx1, int dy1, int dx2, int dy2 ) - - - coords - coords - ( int * x1, int * y1, int * x2, int * y2 ) - - - moveBy - moveBy - ( int dx, int dy ) - - - moveBy - moveBy-2 - ( const QPoint & p ) - - - normalize - normalize - () - - - rBottom - rBottom - () - - - rLeft - rLeft - () - - - rRight - rRight - () - - - rTop - rTop - () - - - rect - rect - ( int * x, int * y, int * width, int * height ) - - - intersect - intersect - ( const QRectF & rectangle ) - - - unite - unite - ( const QRectF & rectangle ) - - - - QRectF - qrectf.html - - QRectF - QRectF - () - - - QRectF - QRectF-2 - ( const QPointF & topLeft, const QSizeF & size ) - - - QRectF - QRectF-3 - ( const QPointF & topLeft, const QPointF & bottomRight ) - - - QRectF - QRectF-4 - ( qreal x, qreal y, qreal width, qreal height ) - - - QRectF - QRectF-5 - ( const QRect & rectangle ) - - - adjust - adjust - ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) - - - adjusted - adjusted - ( qreal dx1, qreal dy1, qreal dx2, qreal dy2 ) - - - bottom - bottom - () - - - bottomLeft - bottomLeft - () - - - bottomRight - bottomRight - () - - - center - center - () - - - contains - contains - ( const QPointF & point ) - - - contains - contains-2 - ( qreal x, qreal y ) - - - contains - contains-3 - ( const QRectF & rectangle ) - - - getCoords - getCoords - ( qreal * x1, qreal * y1, qreal * x2, qreal * y2 ) - - - getRect - getRect - ( qreal * x, qreal * y, qreal * width, qreal * height ) - - - height - height - () - - - intersected - intersected - ( const QRectF & rectangle ) - - - intersects - intersects - ( const QRectF & rectangle ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - isValid - isValid - () - - - left - left - () - - - moveBottom - moveBottom - ( qreal y ) - - - moveBottomLeft - moveBottomLeft - ( const QPointF & position ) - - - moveBottomRight - moveBottomRight - ( const QPointF & position ) - - - moveCenter - moveCenter - ( const QPointF & position ) - - - moveLeft - moveLeft - ( qreal x ) - - - moveRight - moveRight - ( qreal x ) - - - moveTo - moveTo - ( qreal x, qreal y ) - - - moveTo - moveTo-2 - ( const QPointF & position ) - - - moveTop - moveTop - ( qreal y ) - - - moveTopLeft - moveTopLeft - ( const QPointF & position ) - - - moveTopRight - moveTopRight - ( const QPointF & position ) - - - normalized - normalized - () - - - right - right - () - - - setBottom - setBottom - ( qreal y ) - - - setBottomLeft - setBottomLeft - ( const QPointF & position ) - - - setBottomRight - setBottomRight - ( const QPointF & position ) - - - setCoords - setCoords - ( qreal x1, qreal y1, qreal x2, qreal y2 ) - - - setHeight - setHeight - ( qreal height ) - - - setLeft - setLeft - ( qreal x ) - - - setRect - setRect - ( qreal x, qreal y, qreal width, qreal height ) - - - setRight - setRight - ( qreal x ) - - - setSize - setSize - ( const QSizeF & size ) - - - setTop - setTop - ( qreal y ) - - - setTopLeft - setTopLeft - ( const QPointF & position ) - - - setTopRight - setTopRight - ( const QPointF & position ) - - - setWidth - setWidth - ( qreal width ) - - - setX - setX - ( qreal x ) - - - setY - setY - ( qreal y ) - - - size - size - () - - - toAlignedRect - toAlignedRect - () - - - toRect - toRect - () - - - top - top - () - - - topLeft - topLeft - () - - - topRight - topRight - () - - - translate - translate - ( qreal dx, qreal dy ) - - - translate - translate-2 - ( const QPointF & offset ) - - - translated - translated - ( qreal dx, qreal dy ) - - - translated - translated-2 - ( const QPointF & offset ) - - - united - united - ( const QRectF & rectangle ) - - - width - width - () - - - x - x - () - - - y - y - () - - - operator& - operator-and - amp;( const QRectF & rectangle ) - - - operator& - operator-and-eq - amp;=( const QRectF & rectangle ) - - - operator| - operator-7c - ( const QRectF & rectangle ) - - - operator|= - operator-7c-eq - ( const QRectF & rectangle ) - - - QRegExp - QRegExp-4 - ( const QString & pattern, bool cs, bool wildcard = false ) - - - caseSensitive - caseSensitive - () - - - minimal - minimal - () - - - search - search - ( const QString & str, int from = 0, CaretMode caretMode = CaretAtZero ) - - - searchRev - searchRev - ( const QString & str, int from = -1, CaretMode caretMode = CaretAtZero ) - - - setCaseSensitive - setCaseSensitive - ( bool sensitive ) - - - setWildcard - setWildcard - ( bool wildcard ) - - - wildcard - wildcard - () - - - - QRegExp - qregexp.html - - CaretMode - CaretMode-enum - - - - PatternSyntax - PatternSyntax-enum - - - - QRegExp - QRegExp - () - - - QRegExp - QRegExp-2 - ( const QString & pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, PatternSyntax syntax = RegExp ) - - - QRegExp - QRegExp-3 - ( const QRegExp & rx ) - - - cap - cap - ( int nth = 0 ) - - - capturedTexts - capturedTexts - () - - - CaseSensitivity - caseSensitivity - QRegExp::caseSensitivity() - - - errorString - errorString - () - - - escape - escape - ( const QString & str ) - - - exactMatch - exactMatch - ( const QString & str ) - - - indexIn - indexIn - ( const QString & str, int offset = 0, CaretMode caretMode = CaretAtZero ) - - - isEmpty - isEmpty - () - - - isMinimal - isMinimal - () - - - isValid - isValid - () - - - lastIndexIn - lastIndexIn - ( const QString & str, int offset = -1, CaretMode caretMode = CaretAtZero ) - - - matchedLength - matchedLength - () - - - numCaptures - numCaptures - () - - - pattern - pattern - () - - - patternSyntax - patternSyntax - () - - - pos - pos - ( int nth = 0 ) - - - setCaseSensitivity - setCaseSensitivity - ( Qt::CaseSensitivity cs ) - - - setMinimal - setMinimal - ( bool minimal ) - - - setPattern - setPattern - ( const QString & pattern ) - - - setPatternSyntax - setPatternSyntax - ( PatternSyntax syntax ) - - - operator!= - operator-not-eq - ( const QRegExp & rx ) - - - operator= - operator-eq - ( const QRegExp & rx ) - - - operator== - operator-eq-eq - ( const QRegExp & rx ) - - - QRegExp - QRegExp-4 - ( const QString & pattern, bool cs, bool wildcard = false ) - - - caseSensitive - caseSensitive - () - - - minimal - minimal - () - - - search - search - ( const QString & str, int from = 0, CaretMode caretMode = CaretAtZero ) - - - searchRev - searchRev - ( const QString & str, int from = -1, CaretMode caretMode = CaretAtZero ) - - - setCaseSensitive - setCaseSensitive - ( bool sensitive ) - - - setWildcard - setWildcard - ( bool wildcard ) - - - wildcard - wildcard - () - - - QRegExpValidator - QRegExpValidator-3 - ( QObject * parent, const char * name ) - - - QRegExpValidator - QRegExpValidator-4 - ( const QRegExp & rx, QObject * parent, const char * name ) - - - - QRegExpValidator - qregexpvalidator.html - - QRegExpValidator - QRegExpValidator - ( QObject * parent ) - - - QRegExpValidator - QRegExpValidator-2 - ( const QRegExp & rx, QObject * parent ) - - - State - validate - QRegExpValidator::validate( QString & input, int & pos ) - - - QRegExpValidator - QRegExpValidator-3 - ( QObject * parent, const char * name ) - - - QRegExpValidator - QRegExpValidator-4 - ( const QRegExp & rx, QObject * parent, const char * name ) - - - eor - eor - ( const QRegion & r ) - - - intersect - intersect - ( const QRegion & r ) - - - subtract - subtract - ( const QRegion & r ) - - - unite - unite - ( const QRegion & r ) - - - QRegion - QRegion-4 - ( const QPolygon & pa, bool winding ) - - - isNull - isNull - () - - - - QRegion - qregion.html - - RegionType - RegionType-enum - - - - QRegion - QRegion - () - - - QRegion - QRegion-2 - ( int x, int y, int w, int h, RegionType t = Rectangle ) - - - QRegion - QRegion-3 - ( const QPolygon & a, Qt::FillRule fillRule = Qt::OddEvenFill ) - - - QRegion - QRegion-5 - ( const QRegion & r ) - - - QRegion - QRegion-6 - ( const QBitmap & bm ) - - - QRegion - QRegion-7 - ( const QRect & r, RegionType t = Rectangle ) - - - boundingRect - boundingRect - () - - - contains - contains - ( const QPoint & p ) - - - contains - contains-2 - ( const QRect & r ) - - - handle - handle - () - - - intersected - intersected - ( const QRegion & r ) - - - intersects - intersects - ( const QRegion & region ) - - - intersects - intersects-2 - ( const QRect & rect ) - - - isEmpty - isEmpty - () - - - rects - rects - () - - - setRects - setRects - ( const QRect * rects, int number ) - - - subtracted - subtracted - ( const QRegion & r ) - - - translate - translate - ( int dx, int dy ) - - - translate - translate-2 - ( const QPoint & point ) - - - translated - translated - ( int dx, int dy ) - - - translated - translated-2 - ( const QPoint & p ) - - - united - united - ( const QRegion & r ) - - - xored - xored - ( const QRegion & r ) - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QRegion & other ) - - - operator& - operator-and - amp;( const QRegion & r ) - - - operator& - operator-and-eq - amp;=( const QRegion & r ) - - - operator+ - operator-2b - ( const QRegion & r ) - - - operator+= - operator-2b-eq - ( const QRegion & r ) - - - operator- - operator- - ( const QRegion & r ) - - - operator-= - operator--eq - ( const QRegion & r ) - - - operator= - operator-eq - ( const QRegion & r ) - - - operator== - operator-eq-eq - ( const QRegion & r ) - - - operator^ - operator-5e - ( const QRegion & r ) - - - operator^= - operator-5e-eq - ( const QRegion & r ) - - - operator| - operator-7c - ( const QRegion & r ) - - - operator|= - operator-7c-eq - ( const QRegion & r ) - - - QRegion - QRegion-4 - ( const QPolygon & pa, bool winding ) - - - isNull - isNull - () - - - - QResizeEvent - qresizeevent.html - - QResizeEvent - QResizeEvent - ( const QSize & size, const QSize & oldSize ) - - - oldSize - oldSize - () - - - size - size - () - - - addSearchPath - addSearchPath - ( const QString & path ) - - - - QResource - qresource.html - - QResource - QResource - ( const QString & file = QString() - - - absoluteFilePath - absoluteFilePath - () - - - children - children - () - - - data - data - () - - - fileName - fileName - () - - - isCompressed - isCompressed - () - - - isDir - isDir - () - - - isFile - isFile - () - - - isValid - isValid - () - - - locale - locale - () - - - registerResource - registerResource - ( const QString & rccFileName, const QString & mapRoot = QString() - - - registerResource - registerResource-2 - ( const uchar * rccData, const QString & mapRoot = QString() - - - searchPaths - searchPaths - () - - - setFileName - setFileName - ( const QString & file ) - - - setLocale - setLocale - ( const QLocale & locale ) - - - size - size - () - - - unregisterResource - unregisterResource - ( const QString & rccFileName, const QString & mapRoot = QString() - - - unregisterResource - unregisterResource-2 - ( const uchar * rccData, const QString & mapRoot = QString() - - - - QRubberBand - qrubberband.html - - Shape - Shape-enum - - - - QRubberBand - QRubberBand - ( Shape s, QWidget * p = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionRubberBand * option ) - - - move - move - ( int x, int y ) - - - move - move-2 - ( const QPoint & p ) - - - resize - resize - ( int width, int height ) - - - resize - resize-2 - ( const QSize & size ) - - - setGeometry - setGeometry - ( const QRect & rect ) - - - setGeometry - setGeometry-2 - ( int x, int y, int width, int height ) - - - shape - shape - () - - - - QScreen - qscreen.html - - PixelType - PixelType-enum - - - - QScreen - QScreen - ( int displayId ) - - - alloc - alloc - ( unsigned int red, unsigned int green, unsigned int blue ) - - - base - base - () - - - blank - blank - ( bool on ) - - - blit - blit - ( const QImage & image, const QPoint & topLeft, const QRegion & region ) - - - clut - clut - () - - - connect - connect - ( const QString & displaySpec ) - - - createSurface - createSurface - ( const QString & key ) - - - createSurface - createSurface-2 - ( QWidget * widget ) - - - depth - depth - () - - - deviceHeight - deviceHeight - () - - - deviceWidth - deviceWidth - () - - - disconnect - disconnect - () - - - exposeRegion - exposeRegion - ( QRegion region, int windowIndex ) - - - height - height - () - - - initDevice - initDevice - () - - - instance - instance - () - - - isInterlaced - isInterlaced - () - - - isTransformed - isTransformed - () - - - linestep - linestep - () - - - mapFromDevice - mapFromDevice - ( const QSize & size ) - - - mapFromDevice - mapFromDevice-2 - ( const QPoint & point, const QSize & screenSize ) - - - mapFromDevice - mapFromDevice-3 - ( const QRect & rectangle, const QSize & screenSize ) - - - mapFromDevice - mapFromDevice-4 - ( const QImage & image ) - - - mapFromDevice - mapFromDevice-5 - ( const QRegion & region, const QSize & screenSize ) - - - mapToDevice - mapToDevice - ( const QSize & size ) - - - mapToDevice - mapToDevice-2 - ( const QPoint & point, const QSize & screenSize ) - - - mapToDevice - mapToDevice-3 - ( const QRect & rectangle, const QSize & screenSize ) - - - mapToDevice - mapToDevice-4 - ( const QImage & image ) - - - mapToDevice - mapToDevice-5 - ( const QRegion & region, const QSize & screenSize ) - - - numCols - numCols - () - - - offset - offset - () - - - onCard - onCard - ( const unsigned char * buffer ) - - - onCard - onCard-2 - ( const unsigned char * buffer, ulong & offset ) - - - physicalHeight - physicalHeight - () - - - physicalWidth - physicalWidth - () - - - Format - pixelFormat - QScreen::pixelFormat() - - - pixelType - pixelType - () - - - pixmapDepth - pixmapDepth - () - - - pixmapLinestepAlignment - pixmapLinestepAlignment - () - - - pixmapOffsetAlignment - pixmapOffsetAlignment - () - - - region - region - () - - - restore - restore - () - - - save - save - () - - - screenSize - screenSize - () - - - setDirty - setDirty - ( const QRect & rectangle ) - - - setMode - setMode - ( int width, int height, int depth ) - - - setPixelFormat - setPixelFormat - ( QImage::Format format ) - - - shutdownDevice - shutdownDevice - () - - - solidFill - solidFill - ( const QColor & color, const QRegion & region ) - - - subScreenIndexAt - subScreenIndexAt - ( const QPoint & position ) - - - subScreens - subScreens - () - - - supportsDepth - supportsDepth - ( int depth ) - - - totalSize - totalSize - () - - - transformOrientation - transformOrientation - () - - - width - width - () - - - - QScreenCursor - qscreencursor.html - - QScreenCursor - QScreenCursor - () - - - boundingRect - boundingRect - () - - - hide - hide - () - - - image - image - () - - - initSoftwareCursor - initSoftwareCursor - () - - - instance - instance - () - - - isAccelerated - isAccelerated - () - - - isVisible - isVisible - () - - - move - move - ( int x, int y ) - - - set - set - ( const QImage & image, int hotx, int hoty ) - - - show - show - () - - - - QScreenDriverFactory - qscreendriverfactory.html - - create - create - ( const QString & key, int displayId ) - - - keys - keys - () - - - - QScreenDriverPlugin - qscreendriverplugin.html - - QScreenDriverPlugin - QScreenDriverPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key, int displayId ) - - - keys - keys - () - - - - QScriptable - qscriptable.html - - argument - argument - ( int index ) - - - argumentCount - argumentCount - () - - - context - context - () - - - engine - engine - () - - - thisObject - thisObject - () - - - - QScriptContext - qscriptcontext.html - - Error - Error-enum - - - - ExecutionState - ExecutionState-enum - - - - activationObject - activationObject - () - - - argument - argument - ( int index ) - - - argumentCount - argumentCount - () - - - argumentsObject - argumentsObject - () - - - backtrace - backtrace - () - - - callee - callee - () - - - engine - engine - () - - - isCalledAsConstructor - isCalledAsConstructor - () - - - parentContext - parentContext - () - - - setActivationObject - setActivationObject - ( const QScriptValue & activation ) - - - setThisObject - setThisObject - ( const QScriptValue & thisObject ) - - - state - state - () - - - thisObject - thisObject - () - - - throwError - throwError - ( Error error, const QString & text ) - - - throwError - throwError-2 - ( const QString & text ) - - - throwValue - throwValue - ( const QScriptValue & value ) - - - - QScriptEngine - qscriptengine.html - - FunctionSignature - FunctionSignature-typedef - - - - ValueOwnership - ValueOwnership-enum - - - - QScriptEngine - QScriptEngine - () - - - QScriptEngine - QScriptEngine-2 - ( QObject * parent ) - - - canEvaluate - canEvaluate - ( const QString & program ) - - - collectGarbage - collectGarbage - () - - - currentContext - currentContext - () - - - defaultPrototype - defaultPrototype - ( int metaTypeId ) - - - evaluate - evaluate - ( const QString & program, const QString & fileName = QString() - - - fromScriptValue - fromScriptValue - ( const QScriptValue & value ) - - - globalObject - globalObject - () - - - hasUncaughtException - hasUncaughtException - () - - - importExtension - importExtension - ( const QString & extension ) - - - newArray - newArray - ( uint length = 0 ) - - - newDate - newDate - ( qsreal value ) - - - newDate - newDate-2 - ( const QDateTime & value ) - - - newFunction - newFunction - ( FunctionSignature fun, int length = 0 ) - - - newFunction - newFunction-2 - ( FunctionSignature fun, const QScriptValue & prototype, int length = 0 ) - - - newObject - newObject - () - - - newQMetaObject - newQMetaObject - ( const QMetaObject * metaObject, const QScriptValue & ctor = QScriptValue() - - - newQObject - newQObject - ( QObject * object, ValueOwnership ownership = QtOwnership, const QObjectWrapOptions & options = 0 ) - - - newRegExp - newRegExp - ( const QRegExp & regexp ) - - - newRegExp - newRegExp-2 - ( const QString & pattern, const QString & flags ) - - - newVariant - newVariant - ( const QVariant & value ) - - - nullValue - nullValue - () - - - processEventsInterval - processEventsInterval - () - - - scriptValueFromQMetaObject - scriptValueFromQMetaObject - () - - - setDefaultPrototype - setDefaultPrototype - ( int metaTypeId, const QScriptValue & prototype ) - - - setProcessEventsInterval - setProcessEventsInterval - ( int interval ) - - - toScriptValue - toScriptValue - ( const T & value ) - - - uncaughtException - uncaughtException - () - - - uncaughtExceptionBacktrace - uncaughtExceptionBacktrace - () - - - uncaughtExceptionLineNumber - uncaughtExceptionLineNumber - () - - - undefinedValue - undefinedValue - () - - - FunctionSignature - FunctionSignature-typedef - - - - - QScriptExtensionPlugin - qscriptextensionplugin.html - - QScriptExtensionPlugin - QScriptExtensionPlugin - ( QObject * parent = 0 ) - - - initialize - initialize - ( const QString & key, QScriptEngine * engine ) - - - keys - keys - () - - - setupPackage - setupPackage - ( const QString & key, QScriptEngine * engine ) - - - - QScriptValue - qscriptvalue.html - - SpecialValue - SpecialValue-enum - - - - QScriptValue - QScriptValue - () - - - QScriptValue - QScriptValue-2 - ( const QScriptValue & other ) - - - QScriptValue - QScriptValue-3 - ( QScriptEngine * engine, SpecialValue value ) - - - QScriptValue - QScriptValue-4 - ( QScriptEngine * engine, bool value ) - - - QScriptValue - QScriptValue-5 - ( QScriptEngine * engine, int value ) - - - QScriptValue - QScriptValue-6 - ( QScriptEngine * engine, uint value ) - - - QScriptValue - QScriptValue-7 - ( QScriptEngine * engine, qsreal value ) - - - QScriptValue - QScriptValue-8 - ( QScriptEngine * engine, const QString & value ) - - - QScriptValue - QScriptValue-9 - ( QScriptEngine * engine, const char * value ) - - - call - call - ( const QScriptValue & thisObject = QScriptValue() - - - call - call-2 - ( const QScriptValue & thisObject, const QScriptValue & arguments ) - - - construct - construct - ( const QScriptValueList & args = QScriptValueList() - - - construct - construct-2 - ( const QScriptValue & arguments ) - - - engine - engine - () - - - equals - equals - ( const QScriptValue & other ) - - - instanceOf - instanceOf - ( const QScriptValue & ctorValue ) - - - isArray - isArray - () - - - isBoolean - isBoolean - () - - - isDate - isDate - () - - - isError - isError - () - - - isFunction - isFunction - () - - - isNull - isNull - () - - - isNumber - isNumber - () - - - isObject - isObject - () - - - isQMetaObject - isQMetaObject - () - - - isQObject - isQObject - () - - - isRegExp - isRegExp - () - - - isString - isString - () - - - isUndefined - isUndefined - () - - - isValid - isValid - () - - - isVariant - isVariant - () - - - lessThan - lessThan - ( const QScriptValue & other ) - - - property - property - ( const QString & name, const ResolveFlags & mode = ResolvePrototype ) - - - property - property-2 - ( quint32 arrayIndex, const ResolveFlags & mode = ResolvePrototype ) - - - PropertyFlags - propertyFlags - QScriptValue::propertyFlags( const QString & name, const ResolveFlags & mode = ResolvePrototype ) - - - prototype - prototype - () - - - setProperty - setProperty - ( const QString & name, const QScriptValue & value, const PropertyFlags & flags = KeepExistingFlags ) - - - setProperty - setProperty-2 - ( quint32 arrayIndex, const QScriptValue & value, const PropertyFlags & flags = KeepExistingFlags ) - - - setPrototype - setPrototype - ( const QScriptValue & prototype ) - - - strictlyEquals - strictlyEquals - ( const QScriptValue & other ) - - - toBoolean - toBoolean - () - - - toDateTime - toDateTime - () - - - toInt32 - toInt32 - () - - - toInteger - toInteger - () - - - toNumber - toNumber - () - - - toObject - toObject - () - - - toQMetaObject - toQMetaObject - () - - - toQObject - toQObject - () - - - toRegExp - toRegExp - () - - - toString - toString - () - - - toUInt16 - toUInt16 - () - - - toUInt32 - toUInt32 - () - - - toVariant - toVariant - () - - - operator= - operator-eq - ( const QScriptValue & other ) - - - - QScriptValueIterator - qscriptvalueiterator.html - - QScriptValueIterator - QScriptValueIterator - ( const QScriptValue & object ) - - - PropertyFlags - flags - QScriptValueIterator::flags() - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - name - name - () - - - next - next - () - - - previous - previous - () - - - remove - remove - () - - - setValue - setValue - ( const QScriptValue & value ) - - - toBack - toBack - () - - - toFront - toFront - () - - - value - value - () - - - operator= - operator-eq - ( QScriptValue & object ) - - - - QScrollArea - qscrollarea.html - - Alignment - alignment-prop - - - - QScrollArea - QScrollArea - ( QWidget * parent = 0 ) - - - ensureVisible - ensureVisible - ( int x, int y, int xmargin = 50, int ymargin = 50 ) - - - ensureWidgetVisible - ensureWidgetVisible - ( QWidget * childWidget, int xmargin = 50, int ymargin = 50 ) - - - setWidget - setWidget - ( QWidget * widget ) - - - takeWidget - takeWidget - () - - - widget - widget - () - - - QScrollBar - QScrollBar-3 - ( QWidget * parent, const char * name ) - - - QScrollBar - QScrollBar-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - QScrollBar - QScrollBar-5 - ( int minimum, int maximum, int lineStep, int pageStep, int value, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - draggingSlider - draggingSlider - () - - - - QScrollBar - qscrollbar.html - - QScrollBar - QScrollBar - ( QWidget * parent = 0 ) - - - QScrollBar - QScrollBar-2 - ( Qt::Orientation orientation, QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionSlider * option ) - - - QScrollBar - QScrollBar-3 - ( QWidget * parent, const char * name ) - - - QScrollBar - QScrollBar-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - QScrollBar - QScrollBar-5 - ( int minimum, int maximum, int lineStep, int pageStep, int value, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - draggingSlider - draggingSlider - () - - - - QSemaphore - qsemaphore.html - - QSemaphore - QSemaphore - ( int n = 0 ) - - - acquire - acquire - ( int n = 1 ) - - - available - available - () - - - release - release - ( int n = 1 ) - - - tryAcquire - tryAcquire - ( int n = 1 ) - - - tryAcquire - tryAcquire-2 - ( int n, int timeout ) - - - - QSessionManager - qsessionmanager.html - - RestartHint - RestartHint-enum - - - - allowsErrorInteraction - allowsErrorInteraction - () - - - allowsInteraction - allowsInteraction - () - - - cancel - cancel - () - - - discardCommand - discardCommand - () - - - isPhase2 - isPhase2 - () - - - release - release - () - - - requestPhase2 - requestPhase2 - () - - - restartCommand - restartCommand - () - - - restartHint - restartHint - () - - - sessionId - sessionId - () - - - sessionKey - sessionKey - () - - - setDiscardCommand - setDiscardCommand - ( const QStringList & list ) - - - setManagerProperty - setManagerProperty - ( const QString & name, const QStringList & value ) - - - setManagerProperty - setManagerProperty-2 - ( const QString & name, const QString & value ) - - - setRestartCommand - setRestartCommand - ( const QStringList & command ) - - - setRestartHint - setRestartHint - ( RestartHint hint ) - - - - QSet::const_iterator - qset-const-iterator.html - - const_iterator - const_iterator - () - - - const_iterator - const_iterator-3 - ( const const_iterator & other ) - - - const_iterator - const_iterator-4 - ( const iterator & other ) - - - operator!= - operator-not-eq - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator= - operator-eq - ( const const_iterator & other ) - - - operator== - operator-eq-eq - ( const const_iterator & other ) - - - - QSet::iterator - qset-iterator.html - - iterator - iterator - () - - - iterator - iterator-3 - ( const iterator & other ) - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator!= - operator-not-eq-2 - ( const const_iterator & other ) - - - operator* - operator-2a - () - - - operator+ - operator-2b - ( int j ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int j ) - - - operator- - operator- - ( int j ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int j ) - - - operator-& - operator--gt - gt;() - - - operator= - operator-eq - ( const iterator & other ) - - - operator== - operator-eq-eq - ( const iterator & other ) - - - operator== - operator-eq-eq-2 - ( const const_iterator & other ) - - - - QSet - qset.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - const_pointer - const_pointer-typedef - - - - const_reference - const_reference-typedef - - - - difference_type - difference_type-typedef - - - - key_type - key_type-typedef - - - - pointer - pointer-typedef - - - - reference - reference-typedef - - - - size_type - size_type-typedef - - - - value_type - value_type-typedef - - - - QSet - QSet - () - - - QSet - QSet-2 - ( const QSet<T> & other ) - - - begin - begin - () - - - begin - begin-2 - () - - - capacity - capacity - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constEnd - constEnd - () - - - constFind - constFind - ( const T & value ) - - - contains - contains - ( const T & value ) - - - count - count - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - find - find - ( const T & value ) - - - find - find-2 - ( const T & value ) - - - fromList - fromList - ( const QList<T> & list ) - - - insert - insert - ( const T & value ) - - - intersect - intersect - ( const QSet<T> & other ) - - - isEmpty - isEmpty - () - - - remove - remove - ( const T & value ) - - - reserve - reserve - ( int size ) - - - size - size - () - - - squeeze - squeeze - () - - - subtract - subtract - ( const QSet<T> & other ) - - - toList - toList - () - - - unite - unite - ( const QSet<T> & other ) - - - values - values - () - - - operator!= - operator-not-eq - ( const QSet<T> & other ) - - - operator& - operator-and - amp;( const QSet<T> & other ) - - - operator& - operator-and-eq - amp;=( const QSet<T> & other ) - - - operator& - operator-and-eq-2 - amp;=( const T & value ) - - - operator+ - operator-2b - ( const QSet<T> & other ) - - - operator+= - operator-2b-eq - ( const QSet<T> & other ) - - - operator+= - operator-2b-eq-2 - ( const T & value ) - - - operator- - operator- - ( const QSet<T> & other ) - - - operator-= - operator--eq - ( const QSet<T> & other ) - - - operator-= - operator--eq-2 - ( const T & value ) - - - operator<< - operator-lt-lt - ( const T & value ) - - - operator= - operator-eq - ( const QSet<T> & other ) - - - operator== - operator-eq-eq - ( const QSet<T> & other ) - - - operator| - operator-7c - ( const QSet<T> & other ) - - - operator|= - operator-7c-eq - ( const QSet<T> & other ) - - - operator|= - operator-7c-eq-2 - ( const T & value ) - - - - QSetIterator - qsetiterator.html - - QSetIterator - QSetIterator - ( const QSet<T> & set ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - operator= - operator-eq - ( const QSet<T> & set ) - - - setSystemIniPath - setSystemIniPath - ( const QString & dir ) - - - setUserIniPath - setUserIniPath - ( const QString & dir ) - - - System - System-enum - - - - entryList - entryList - ( const QString & key ) - - - insertSearchPath - insertSearchPath - ( System system, const QString & path ) - - - readBoolEntry - readBoolEntry - ( const QString & key, bool defaultValue = false, bool * ok = 0 ) - - - readDoubleEntry - readDoubleEntry - ( const QString & key, double defaultValue = 0, bool * ok = 0 ) - - - readEntry - readEntry - ( const QString & key, const QString & defaultValue = QString() - - - readListEntry - readListEntry - ( const QString & key, bool * ok = 0 ) - - - readListEntry - readListEntry-2 - ( const QString & key, QChar separator, bool * ok = 0 ) - - - readNumEntry - readNumEntry - ( const QString & key, int defaultValue = 0, bool * ok = 0 ) - - - removeEntry - removeEntry - ( const QString & key ) - - - removeSearchPath - removeSearchPath - ( System system, const QString & path ) - - - resetGroup - resetGroup - () - - - setPath - setPath-2 - ( const QString & organization, const QString & application, Scope scope = Global ) - - - subkeyList - subkeyList - ( const QString & key ) - - - writeEntry - writeEntry - ( const QString & key, bool value ) - - - writeEntry - writeEntry-2 - ( const QString & key, double value ) - - - writeEntry - writeEntry-3 - ( const QString & key, int value ) - - - writeEntry - writeEntry-4 - ( const QString & key, const char * value ) - - - writeEntry - writeEntry-5 - ( const QString & key, const QString & value ) - - - writeEntry - writeEntry-6 - ( const QString & key, const QStringList & value ) - - - writeEntry - writeEntry-7 - ( const QString & key, const QStringList & value, QChar separator ) - - - - QSettings - qsettings.html - - Format - Format-enum - - - - ReadFunc - ReadFunc-typedef - - - - Scope - Scope-enum - - - - SettingsMap - SettingsMap-typedef - - - - Status - Status-enum - - - - WriteFunc - WriteFunc-typedef - - - - QSettings - QSettings - ( const QString & organization, const QString & application = QString() - - - QSettings - QSettings-2 - ( Scope scope, const QString & organization, const QString & application = QString() - - - QSettings - QSettings-3 - ( Format format, Scope scope, const QString & organization, const QString & application = QString() - - - QSettings - QSettings-4 - ( const QString & fileName, Format format, QObject * parent = 0 ) - - - QSettings - QSettings-5 - ( QObject * parent = 0 ) - - - allKeys - allKeys - () - - - beginGroup - beginGroup - ( const QString & prefix ) - - - beginReadArray - beginReadArray - ( const QString & prefix ) - - - beginWriteArray - beginWriteArray - ( const QString & prefix, int size = -1 ) - - - childGroups - childGroups - () - - - childKeys - childKeys - () - - - clear - clear - () - - - contains - contains - ( const QString & key ) - - - endArray - endArray - () - - - endGroup - endGroup - () - - - fallbacksEnabled - fallbacksEnabled - () - - - fileName - fileName - () - - - group - group - () - - - isWritable - isWritable - () - - - registerFormat - registerFormat - ( const QString & extension, ReadFunc readFunc, WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity = Qt::CaseSensitive ) - - - remove - remove - ( const QString & key ) - - - setArrayIndex - setArrayIndex - ( int i ) - - - setFallbacksEnabled - setFallbacksEnabled - ( bool b ) - - - setPath - setPath - ( Format format, Scope scope, const QString & path ) - - - setValue - setValue - ( const QString & key, const QVariant & value ) - - - status - status - () - - - sync - sync - () - - - value - value - ( const QString & key, const QVariant & defaultValue = QVariant() - - - System - System-enum - - - - entryList - entryList - ( const QString & key ) - - - insertSearchPath - insertSearchPath - ( System system, const QString & path ) - - - readBoolEntry - readBoolEntry - ( const QString & key, bool defaultValue = false, bool * ok = 0 ) - - - readDoubleEntry - readDoubleEntry - ( const QString & key, double defaultValue = 0, bool * ok = 0 ) - - - readEntry - readEntry - ( const QString & key, const QString & defaultValue = QString() - - - readListEntry - readListEntry - ( const QString & key, bool * ok = 0 ) - - - readListEntry - readListEntry-2 - ( const QString & key, QChar separator, bool * ok = 0 ) - - - readNumEntry - readNumEntry - ( const QString & key, int defaultValue = 0, bool * ok = 0 ) - - - removeEntry - removeEntry - ( const QString & key ) - - - removeSearchPath - removeSearchPath - ( System system, const QString & path ) - - - resetGroup - resetGroup - () - - - setPath - setPath-2 - ( const QString & organization, const QString & application, Scope scope = Global ) - - - subkeyList - subkeyList - ( const QString & key ) - - - writeEntry - writeEntry - ( const QString & key, bool value ) - - - writeEntry - writeEntry-2 - ( const QString & key, double value ) - - - writeEntry - writeEntry-3 - ( const QString & key, int value ) - - - writeEntry - writeEntry-4 - ( const QString & key, const char * value ) - - - writeEntry - writeEntry-5 - ( const QString & key, const QString & value ) - - - writeEntry - writeEntry-6 - ( const QString & key, const QStringList & value ) - - - writeEntry - writeEntry-7 - ( const QString & key, const QStringList & value, QChar separator ) - - - - QSharedData - qshareddata.html - - QSharedData - QSharedData - () - - - QSharedData - QSharedData-2 - ( const QSharedData & other ) - - - - QSharedDataPointer - qshareddatapointer.html - - QSharedDataPointer - QSharedDataPointer - () - - - QSharedDataPointer - QSharedDataPointer-2 - ( T * sharedData ) - - - QSharedDataPointer - QSharedDataPointer-3 - ( const QSharedDataPointer<T> & other ) - - - constData - constData - () - - - data - data - () - - - data - data-2 - () - - - detach - detach - () - - - operator - operator-T--2a - T *() - - - operator - operator-const-T--2a - const T *() - - - operator! - operator-not - () - - - operator!= - operator-not-eq - ( const QSharedDataPointer<T> & other ) - - - operator* - operator-2a - () - - - operator* - operator-2a-2 - () - - - operator-& - operator--gt - gt;() - - - operator-& - operator--gt-2 - gt;() - - - operator= - operator-eq - ( const QSharedDataPointer<T> & other ) - - - operator= - operator-eq-2 - ( T * sharedData ) - - - operator== - operator-eq-eq - ( const QSharedDataPointer<T> & other ) - - - - QShortcut - qshortcut.html - - ShortcutContext - context-prop - - - - QShortcut - QShortcut - ( QWidget * parent ) - - - QShortcut - QShortcut-2 - ( const QKeySequence & key, QWidget * parent, const char * member = 0, const char * ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut ) - - - activated - activated - () - - - activatedAmbiguously - activatedAmbiguously - () - - - id - id - () - - - parentWidget - parentWidget - () - - - - QShortcutEvent - qshortcutevent.html - - QShortcutEvent - QShortcutEvent - ( const QKeySequence & key, int id, bool ambiguous = false ) - - - isAmbiguous - isAmbiguous - () - - - key - key - () - - - shortcutId - shortcutId - () - - - - QShowEvent - qshowevent.html - - QShowEvent - QShowEvent - () - - - QSignalMapper - QSignalMapper-2 - ( QObject * parent, const char * name ) - - - - QSignalMapper - qsignalmapper.html - - QSignalMapper - QSignalMapper - ( QObject * parent = 0 ) - - - map - map - () - - - map - map-2 - ( QObject * sender ) - - - mapped - mapped - ( int i ) - - - mapped - mapped-2 - ( const QString & text ) - - - mapped - mapped-3 - ( QWidget * widget ) - - - mapped - mapped-4 - ( QObject * object ) - - - mapping - mapping - ( int id ) - - - mapping - mapping-2 - ( const QString & id ) - - - mapping - mapping-3 - ( QWidget * widget ) - - - mapping - mapping-4 - ( QObject * object ) - - - removeMappings - removeMappings - ( QObject * sender ) - - - setMapping - setMapping - ( QObject * sender, int id ) - - - setMapping - setMapping-2 - ( QObject * sender, const QString & text ) - - - setMapping - setMapping-3 - ( QObject * sender, QWidget * widget ) - - - setMapping - setMapping-4 - ( QObject * sender, QObject * object ) - - - QSignalMapper - QSignalMapper-2 - ( QObject * parent, const char * name ) - - - - QSignalSpy - qsignalspy.html - - QSignalSpy - QSignalSpy - ( QObject * object, const char * signal ) - - - isValid - isValid - () - - - signal - signal - () - - - - QSize - qsize.html - - QSize - QSize - () - - - QSize - QSize-2 - ( int width, int height ) - - - boundedTo - boundedTo - ( const QSize & otherSize ) - - - expandedTo - expandedTo - ( const QSize & otherSize ) - - - height - height - () - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - isValid - isValid - () - - - rheight - rheight - () - - - rwidth - rwidth - () - - - scale - scale - ( int width, int height, Qt::AspectRatioMode mode ) - - - scale - scale-2 - ( const QSize & size, Qt::AspectRatioMode mode ) - - - setHeight - setHeight - ( int height ) - - - setWidth - setWidth - ( int width ) - - - transpose - transpose - () - - - width - width - () - - - operator*= - operator-2a-eq - ( qreal factor ) - - - operator+= - operator-2b-eq - ( const QSize & size ) - - - operator-= - operator--eq - ( const QSize & size ) - - - operator/= - operator-2f-eq - ( qreal divisor ) - - - - QSizeF - qsizef.html - - QSizeF - QSizeF - () - - - QSizeF - QSizeF-2 - ( const QSize & size ) - - - QSizeF - QSizeF-3 - ( qreal width, qreal height ) - - - boundedTo - boundedTo - ( const QSizeF & otherSize ) - - - expandedTo - expandedTo - ( const QSizeF & otherSize ) - - - height - height - () - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - isValid - isValid - () - - - rheight - rheight - () - - - rwidth - rwidth - () - - - scale - scale - ( qreal width, qreal height, Qt::AspectRatioMode mode ) - - - scale - scale-2 - ( const QSizeF & size, Qt::AspectRatioMode mode ) - - - setHeight - setHeight - ( qreal height ) - - - setWidth - setWidth - ( qreal width ) - - - toSize - toSize - () - - - transpose - transpose - () - - - width - width - () - - - operator*= - operator-2a-eq - ( qreal factor ) - - - operator+= - operator-2b-eq - ( const QSizeF & size ) - - - operator-= - operator--eq - ( const QSizeF & size ) - - - operator/= - operator-2f-eq - ( qreal divisor ) - - - QSizeGrip - QSizeGrip-2 - ( QWidget * parent, const char * name ) - - - - QSizeGrip - qsizegrip.html - - QSizeGrip - QSizeGrip - ( QWidget * parent ) - - - mouseMoveEvent - mouseMoveEvent - ( QMouseEvent * event ) - - - mousePressEvent - mousePressEvent - ( QMouseEvent * event ) - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - QSizeGrip - QSizeGrip-2 - ( QWidget * parent, const char * name ) - - - ExpandData - ExpandData-enum - - - - SizeType - SizeType-typedef - - - - QSizePolicy - QSizePolicy-4 - ( Policy horizontal, Policy vertical, bool dependent ) - - - QSizePolicy - QSizePolicy-5 - ( Policy horizontal, Policy vertical, uchar horizontalStretch, uchar verticalStretch, bool dependent = false ) - - - Orientations - expanding - QSizePolicy::expanding() - - - horData - horData - () - - - horStretch - horStretch - () - - - mayGrowHorizontally - mayGrowHorizontally - () - - - mayGrowVertically - mayGrowVertically - () - - - mayShrinkHorizontally - mayShrinkHorizontally - () - - - mayShrinkVertically - mayShrinkVertically - () - - - setHorData - setHorData - ( Policy policy ) - - - setHorStretch - setHorStretch - ( uchar stretch ) - - - setVerData - setVerData - ( Policy policy ) - - - setVerStretch - setVerStretch - ( uchar stretch ) - - - verData - verData - () - - - verStretch - verStretch - () - - - - QSizePolicy - qsizepolicy.html - - Policy - Policy-enum - - - - PolicyFlag - PolicyFlag-enum - - - - QSizePolicy - QSizePolicy - () - - - QSizePolicy - QSizePolicy-2 - ( Policy horizontal, Policy vertical ) - - - QSizePolicy - QSizePolicy-3 - ( Policy horizontal, Policy vertical, ControlType type ) - - - controlType - controlType - () - - - Orientations - expandingDirections - QSizePolicy::expandingDirections() - - - hasHeightForWidth - hasHeightForWidth - () - - - horizontalPolicy - horizontalPolicy - () - - - horizontalStretch - horizontalStretch - () - - - setControlType - setControlType - ( ControlType type ) - - - setHeightForWidth - setHeightForWidth - ( bool dependent ) - - - setHorizontalPolicy - setHorizontalPolicy - ( Policy policy ) - - - setHorizontalStretch - setHorizontalStretch - ( uchar stretchFactor ) - - - setVerticalPolicy - setVerticalPolicy - ( Policy policy ) - - - setVerticalStretch - setVerticalStretch - ( uchar stretchFactor ) - - - transpose - transpose - () - - - verticalPolicy - verticalPolicy - () - - - verticalStretch - verticalStretch - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QSizePolicy & other ) - - - operator== - operator-eq-eq - ( const QSizePolicy & other ) - - - ExpandData - ExpandData-enum - - - - SizeType - SizeType-typedef - - - - QSizePolicy - QSizePolicy-4 - ( Policy horizontal, Policy vertical, bool dependent ) - - - QSizePolicy - QSizePolicy-5 - ( Policy horizontal, Policy vertical, uchar horizontalStretch, uchar verticalStretch, bool dependent = false ) - - - Orientations - expanding - QSizePolicy::expanding() - - - horData - horData - () - - - horStretch - horStretch - () - - - mayGrowHorizontally - mayGrowHorizontally - () - - - mayGrowVertically - mayGrowVertically - () - - - mayShrinkHorizontally - mayShrinkHorizontally - () - - - mayShrinkVertically - mayShrinkVertically - () - - - setHorData - setHorData - ( Policy policy ) - - - setHorStretch - setHorStretch - ( uchar stretch ) - - - setVerData - setVerData - ( Policy policy ) - - - setVerStretch - setVerStretch - ( uchar stretch ) - - - verData - verData - () - - - verStretch - verStretch - () - - - QSlider - QSlider-3 - ( QWidget * parent, const char * name ) - - - QSlider - QSlider-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - QSlider - QSlider-5 - ( int minValue, int maxValue, int pageStep, int value, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - addStep - addStep - () - - - setTickmarks - setTickmarks - ( TickPosition position ) - - - subtractStep - subtractStep - () - - - tickmarks - tickmarks - () - - - - QSlider - qslider.html - - TickPosition - TickPosition-enum - - - - QSlider - QSlider - ( QWidget * parent = 0 ) - - - QSlider - QSlider-2 - ( Qt::Orientation orientation, QWidget * parent = 0 ) - - - initStyleOption - initStyleOption - ( QStyleOptionSlider * option ) - - - QSlider - QSlider-3 - ( QWidget * parent, const char * name ) - - - QSlider - QSlider-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - QSlider - QSlider-5 - ( int minValue, int maxValue, int pageStep, int value, Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0 ) - - - addStep - addStep - () - - - setTickmarks - setTickmarks - ( TickPosition position ) - - - subtractStep - subtractStep - () - - - tickmarks - tickmarks - () - - - QSocketNotifier - QSocketNotifier-2 - ( int socket, Type type, QObject * parent, const char * name ) - - - - QSocketNotifier - qsocketnotifier.html - - Type - Type-enum - - - - QSocketNotifier - QSocketNotifier - ( int socket, Type type, QObject * parent = 0 ) - - - activated - activated - ( int socket ) - - - isEnabled - isEnabled - () - - - setEnabled - setEnabled - ( bool enable ) - - - socket - socket - () - - - type - type - () - - - QSocketNotifier - QSocketNotifier-2 - ( int socket, Type type, QObject * parent, const char * name ) - - - clear - clear - () - - - filterChanged - filterChanged - () - - - - QSortFilterProxyModel - qsortfilterproxymodel.html - - CaseSensitivity - filterCaseSensitivity-prop - - - - CaseSensitivity - sortCaseSensitivity-prop - - - - QSortFilterProxyModel - QSortFilterProxyModel - ( QObject * parent = 0 ) - - - filterAcceptsColumn - filterAcceptsColumn - ( int source_column, const QModelIndex & source_parent ) - - - filterAcceptsRow - filterAcceptsRow - ( int source_row, const QModelIndex & source_parent ) - - - invalidate - invalidate - () - - - invalidateFilter - invalidateFilter - () - - - lessThan - lessThan - ( const QModelIndex & left, const QModelIndex & right ) - - - mapFromSource - mapFromSource - ( const QModelIndex & sourceIndex ) - - - mapToSource - mapToSource - ( const QModelIndex & proxyIndex ) - - - setFilterFixedString - setFilterFixedString - ( const QString & pattern ) - - - setFilterWildcard - setFilterWildcard - ( const QString & pattern ) - - - QSound - QSound-2 - ( const QString & filename, QObject * parent, const char * name ) - - - available - available - () - - - - QSound - qsound.html - - QSound - QSound - ( const QString & filename, QObject * parent = 0 ) - - - fileName - fileName - () - - - isAvailable - isAvailable - () - - - isFinished - isFinished - () - - - loops - loops - () - - - loopsRemaining - loopsRemaining - () - - - play - play - ( const QString & filename ) - - - play - play-2 - () - - - setLoops - setLoops - ( int number ) - - - stop - stop - () - - - QSound - QSound-2 - ( const QString & filename, QObject * parent, const char * name ) - - - available - available - () - - - - QSpacerItem - qspaceritem.html - - QSpacerItem - QSpacerItem - ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) - - - changeSize - changeSize - ( int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum ) - - - isEmpty - isEmpty - () - - - spacerItem - spacerItem - () - - - QSpinBox - QSpinBox-2 - ( QWidget * parent, const char * name ) - - - QSpinBox - QSpinBox-3 - ( int minimum, int maximum, int step, QWidget * parent, const char * name = 0 ) - - - maxValue - maxValue - () - - - minValue - minValue - () - - - setLineStep - setLineStep - ( int step ) - - - setMaxValue - setMaxValue - ( int value ) - - - setMinValue - setMinValue - ( int value ) - - - - QSpinBox - qspinbox.html - - QSpinBox - QSpinBox - ( QWidget * parent = 0 ) - - - setRange - setRange - ( int minimum, int maximum ) - - - textFromValue - textFromValue - ( int value ) - - - valueChanged - valueChanged - ( int i ) - - - valueChanged - valueChanged-2 - ( const QString & text ) - - - valueFromText - valueFromText - ( const QString & text ) - - - QSpinBox - QSpinBox-2 - ( QWidget * parent, const char * name ) - - - QSpinBox - QSpinBox-3 - ( int minimum, int maximum, int step, QWidget * parent, const char * name = 0 ) - - - maxValue - maxValue - () - - - minValue - minValue - () - - - setLineStep - setLineStep - ( int step ) - - - setMaxValue - setMaxValue - ( int value ) - - - setMinValue - setMinValue - ( int value ) - - - clear - clear - () - - - message - message - ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) - - - - QSplashScreen - qsplashscreen.html - - QSplashScreen - QSplashScreen - ( const QPixmap & pixmap = QPixmap() - - - QSplashScreen - QSplashScreen-2 - ( QWidget * parent, const QPixmap & pixmap = QPixmap() - - - clearMessage - clearMessage - () - - - drawContents - drawContents - ( QPainter * painter ) - - - finish - finish - ( QWidget * mainWin ) - - - messageChanged - messageChanged - ( const QString & message ) - - - pixmap - pixmap - () - - - repaint - repaint - () - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - showMessage - showMessage - ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) - - - clear - clear - () - - - message - message - ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black ) - - - ResizeMode - ResizeMode-enum - - - - QSplitter - QSplitter-3 - ( QWidget * parent, const char * name ) - - - QSplitter - QSplitter-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - margin - margin - () - - - moveToFirst - moveToFirst - ( QWidget * widget ) - - - moveToLast - moveToLast - ( QWidget * widget ) - - - setCollapsible - setCollapsible-2 - ( QWidget * widget, bool collapsible ) - - - setMargin - setMargin - ( int margin ) - - - setResizeMode - setResizeMode - ( QWidget * widget, ResizeMode mode ) - - - - QSplitter - qsplitter.html - - Orientation - orientation-prop - - - - QSplitter - QSplitter - ( QWidget * parent = 0 ) - - - QSplitter - QSplitter-2 - ( Qt::Orientation orientation, QWidget * parent = 0 ) - - - addWidget - addWidget - ( QWidget * widget ) - - - closestLegalPosition - closestLegalPosition - ( int pos, int index ) - - - count - count - () - - - createHandle - createHandle - () - - - getRange - getRange - ( int index, int * min, int * max ) - - - handle - handle - ( int index ) - - - indexOf - indexOf - ( QWidget * widget ) - - - insertWidget - insertWidget - ( int index, QWidget * widget ) - - - isCollapsible - isCollapsible - ( int index ) - - - moveSplitter - moveSplitter - ( int pos, int index ) - - - refresh - refresh - () - - - restoreState - restoreState - ( const QByteArray & state ) - - - saveState - saveState - () - - - setCollapsible - setCollapsible - ( int index, bool collapse ) - - - setRubberBand - setRubberBand - ( int pos ) - - - setSizes - setSizes - ( const QList<int> & list ) - - - setStretchFactor - setStretchFactor - ( int index, int stretch ) - - - sizes - sizes - () - - - splitterMoved - splitterMoved - ( int pos, int index ) - - - widget - widget - ( int index ) - - - ResizeMode - ResizeMode-enum - - - - QSplitter - QSplitter-3 - ( QWidget * parent, const char * name ) - - - QSplitter - QSplitter-4 - ( Qt::Orientation orientation, QWidget * parent, const char * name ) - - - margin - margin - () - - - moveToFirst - moveToFirst - ( QWidget * widget ) - - - moveToLast - moveToLast - ( QWidget * widget ) - - - setCollapsible - setCollapsible-2 - ( QWidget * widget, bool collapsible ) - - - setMargin - setMargin - ( int margin ) - - - setResizeMode - setResizeMode - ( QWidget * widget, ResizeMode mode ) - - - - QSplitterHandle - qsplitterhandle.html - - QSplitterHandle - QSplitterHandle - ( Qt::Orientation orientation, QSplitter * parent ) - - - closestLegalPosition - closestLegalPosition - ( int pos ) - - - moveSplitter - moveSplitter - ( int pos ) - - - opaqueResize - opaqueResize - () - - - Orientation - orientation - QSplitterHandle::orientation() - - - setOrientation - setOrientation - ( Qt::Orientation orientation ) - - - splitter - splitter - () - - - Confirm - Confirm-enum - - - - Op - Op-enum - - - - Location - Location-enum - - - - NumericalPrecisionPolicy - NumericalPrecisionPolicy-enum - - - - TableType - TableType-enum - - - - Confirm - Confirm-enum - - - - Op - Op-enum - - - - record - record-2 - ( const QSqlQuery & query ) - - - recordInfo - recordInfo - ( const QString & tablename ) - - - recordInfo - recordInfo-2 - ( const QSqlQuery & query ) - - - - QSqlDatabase - qsqldatabase.html - - QSqlDatabase - QSqlDatabase - () - - - QSqlDatabase - QSqlDatabase-2 - ( const QSqlDatabase & other ) - - - QSqlDatabase - QSqlDatabase-3 - ( const QString & type ) - - - QSqlDatabase - QSqlDatabase-4 - ( QSqlDriver * driver ) - - - addDatabase - addDatabase - ( const QString & type, const QString & connectionName = QLatin1String( defaultConnection ) - - - addDatabase - addDatabase-2 - ( QSqlDriver * driver, const QString & connectionName = QLatin1String( defaultConnection ) - - - cloneDatabase - cloneDatabase - ( const QSqlDatabase & other, const QString & connectionName ) - - - close - close - () - - - commit - commit - () - - - connectOptions - connectOptions - () - - - connectionNames - connectionNames - () - - - contains - contains - ( const QString & connectionName = QLatin1String( defaultConnection ) - - - database - database - ( const QString & connectionName = QLatin1String( defaultConnection ) - - - databaseName - databaseName - () - - - driver - driver - () - - - driverName - driverName - () - - - drivers - drivers - () - - - exec - exec - ( const QString & query = QString() - - - hostName - hostName - () - - - isDriverAvailable - isDriverAvailable - ( const QString & name ) - - - isOpen - isOpen - () - - - isOpenError - isOpenError - () - - - isValid - isValid - () - - - lastError - lastError - () - - - open - open - () - - - open - open-2 - ( const QString & user, const QString & password ) - - - password - password - () - - - port - port - () - - - primaryIndex - primaryIndex - ( const QString & tablename ) - - - record - record - ( const QString & tablename ) - - - registerSqlDriver - registerSqlDriver - ( const QString & name, QSqlDriverCreatorBase * creator ) - - - removeDatabase - removeDatabase - ( const QString & connectionName ) - - - rollback - rollback - () - - - setConnectOptions - setConnectOptions - ( const QString & options = QString() - - - setDatabaseName - setDatabaseName - ( const QString & name ) - - - setHostName - setHostName - ( const QString & host ) - - - setPassword - setPassword - ( const QString & password ) - - - setPort - setPort - ( int port ) - - - setUserName - setUserName - ( const QString & name ) - - - tables - tables - ( QSql::TableType type = QSql::Tables ) - - - transaction - transaction - () - - - userName - userName - () - - - operator= - operator-eq - ( const QSqlDatabase & other ) - - - record - record-2 - ( const QSqlQuery & query ) - - - recordInfo - recordInfo - ( const QString & tablename ) - - - recordInfo - recordInfo-2 - ( const QSqlQuery & query ) - - - formatValue - formatValue-2 - ( const QSqlField * field, bool trimStrings = false ) - - - nullText - nullText - () - - - record - record-2 - ( const QSqlQuery & query ) - - - recordInfo - recordInfo - ( const QString & tablename ) - - - recordInfo - recordInfo-2 - ( const QSqlQuery & query ) - - - - QSqlDriver - qsqldriver.html - - DriverFeature - DriverFeature-enum - - - - IdentifierType - IdentifierType-enum - - - - StatementType - StatementType-enum - - - - QSqlDriver - QSqlDriver - ( QObject * parent = 0 ) - - - beginTransaction - beginTransaction - () - - - close - close - () - - - commitTransaction - commitTransaction - () - - - createResult - createResult - () - - - escapeIdentifier - escapeIdentifier - ( const QString & identifier, IdentifierType type ) - - - formatValue - formatValue - ( const QSqlField & field, bool trimStrings = false ) - - - handle - handle - () - - - hasFeature - hasFeature - ( DriverFeature feature ) - - - isOpen - isOpen - () - - - isOpenError - isOpenError - () - - - lastError - lastError - () - - - open - open - ( const QString & db, const QString & user = QString() - - - primaryIndex - primaryIndex - ( const QString & tableName ) - - - record - record - ( const QString & tableName ) - - - rollbackTransaction - rollbackTransaction - () - - - setLastError - setLastError - ( const QSqlError & error ) - - - setOpen - setOpen - ( bool open ) - - - setOpenError - setOpenError - ( bool error ) - - - sqlStatement - sqlStatement - ( StatementType type, const QString & tableName, const QSqlRecord & rec, bool preparedStatement ) - - - tables - tables - ( QSql::TableType tableType ) - - - formatValue - formatValue-2 - ( const QSqlField * field, bool trimStrings = false ) - - - nullText - nullText - () - - - record - record-2 - ( const QSqlQuery & query ) - - - recordInfo - recordInfo - ( const QString & tablename ) - - - recordInfo - recordInfo-2 - ( const QSqlQuery & query ) - - - - QSqlDriverCreator - qsqldrivercreator.html - - - QSqlDriverCreatorBase - qsqldrivercreatorbase.html - - createObject - createObject - () - - - - QSqlDriverPlugin - qsqldriverplugin.html - - QSqlDriverPlugin - QSqlDriverPlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QSqlError - qsqlerror.html - - ErrorType - ErrorType-enum - - - - QSqlError - QSqlError - ( const QString & driverText = QString() - - - QSqlError - QSqlError-2 - ( const QSqlError & other ) - - - databaseText - databaseText - () - - - driverText - driverText - () - - - isValid - isValid - () - - - number - number - () - - - setDatabaseText - setDatabaseText - ( const QString & databaseText ) - - - setDriverText - setDriverText - ( const QString & driverText ) - - - setNumber - setNumber - ( int number ) - - - setType - setType - ( ErrorType type ) - - - text - text - () - - - type - type - () - - - operator= - operator-eq - ( const QSqlError & other ) - - - setNull - setNull - () - - - - QSqlField - qsqlfield.html - - RequiredStatus - RequiredStatus-enum - - - - QSqlField - QSqlField - ( const QString & fieldName = QString() - - - QSqlField - QSqlField-2 - ( const QSqlField & other ) - - - clear - clear - () - - - defaultValue - defaultValue - () - - - isAutoValue - isAutoValue - () - - - isGenerated - isGenerated - () - - - isNull - isNull - () - - - isReadOnly - isReadOnly - () - - - isValid - isValid - () - - - length - length - () - - - name - name - () - - - precision - precision - () - - - requiredStatus - requiredStatus - () - - - setAutoValue - setAutoValue - ( bool autoVal ) - - - setDefaultValue - setDefaultValue - ( const QVariant & value ) - - - setGenerated - setGenerated - ( bool gen ) - - - setLength - setLength - ( int fieldLength ) - - - setName - setName - ( const QString & name ) - - - setPrecision - setPrecision - ( int precision ) - - - setReadOnly - setReadOnly - ( bool readOnly ) - - - setRequired - setRequired - ( bool required ) - - - setRequiredStatus - setRequiredStatus - ( RequiredStatus required ) - - - setType - setType - ( QVariant::Type type ) - - - setValue - setValue - ( const QVariant & value ) - - - Type - type - QSqlField::type() - - - value - value - () - - - operator!= - operator-not-eq - ( const QSqlField & other ) - - - operator= - operator-eq - ( const QSqlField & other ) - - - operator== - operator-eq-eq - ( const QSqlField & other ) - - - setNull - setNull - () - - - toString - toString - ( const QString & prefix = QString() - - - toStringList - toStringList - ( const QString & prefix = QString() - - - - QSqlIndex - qsqlindex.html - - QSqlIndex - QSqlIndex - ( const QString & cursorname = QString() - - - QSqlIndex - QSqlIndex-2 - ( const QSqlIndex & other ) - - - append - append - ( const QSqlField & field ) - - - append - append-2 - ( const QSqlField & field, bool desc ) - - - cursorName - cursorName - () - - - isDescending - isDescending - ( int i ) - - - name - name - () - - - setCursorName - setCursorName - ( const QString & cursorName ) - - - setDescending - setDescending - ( int i, bool desc ) - - - setName - setName - ( const QString & name ) - - - operator= - operator-eq - ( const QSqlIndex & other ) - - - toString - toString - ( const QString & prefix = QString() - - - toStringList - toStringList - ( const QString & prefix = QString() - - - prev - prev - () - - - - QSqlQuery - qsqlquery.html - - BatchExecutionMode - BatchExecutionMode-enum - - - - QSqlQuery - QSqlQuery - ( QSqlResult * result ) - - - QSqlQuery - QSqlQuery-2 - ( const QString & query = QString() - - - QSqlQuery - QSqlQuery-3 - ( QSqlDatabase db ) - - - QSqlQuery - QSqlQuery-4 - ( const QSqlQuery & other ) - - - addBindValue - addBindValue - ( const QVariant & val, QSql::ParamType paramType = QSql::In ) - - - at - at - () - - - bindValue - bindValue - ( const QString & placeholder, const QVariant & val, QSql::ParamType paramType = QSql::In ) - - - bindValue - bindValue-2 - ( int pos, const QVariant & val, QSql::ParamType paramType = QSql::In ) - - - boundValue - boundValue - ( const QString & placeholder ) - - - boundValue - boundValue-2 - ( int pos ) - - - boundValues - boundValues - () - - - clear - clear - () - - - driver - driver - () - - - exec - exec - ( const QString & query ) - - - exec - exec-2 - () - - - execBatch - execBatch - ( BatchExecutionMode mode = ValuesAsRows ) - - - executedQuery - executedQuery - () - - - first - first - () - - - isActive - isActive - () - - - isForwardOnly - isForwardOnly - () - - - isNull - isNull - ( int field ) - - - isSelect - isSelect - () - - - isValid - isValid - () - - - last - last - () - - - lastError - lastError - () - - - lastInsertId - lastInsertId - () - - - lastQuery - lastQuery - () - - - next - next - () - - - numRowsAffected - numRowsAffected - () - - - NumericalPrecisionPolicy - numericalPrecisionPolicy - QSqlQuery::numericalPrecisionPolicy() - - - prepare - prepare - ( const QString & query ) - - - previous - previous - () - - - record - record - () - - - result - result - () - - - seek - seek - ( int index, bool relative = false ) - - - setForwardOnly - setForwardOnly - ( bool forward ) - - - setNumericalPrecisionPolicy - setNumericalPrecisionPolicy - ( QSql::NumericalPrecisionPolicy precisionPolicy ) - - - size - size - () - - - value - value - ( int index ) - - - operator= - operator-eq - ( const QSqlQuery & other ) - - - prev - prev - () - - - - QSqlQueryModel - qsqlquerymodel.html - - QSqlQueryModel - QSqlQueryModel - ( QObject * parent = 0 ) - - - canFetchMore - canFetchMore - ( const QModelIndex & parent = QModelIndex() - - - clear - clear - () - - - data - data - ( const QModelIndex & item, int role = Qt::DisplayRole ) - - - fetchMore - fetchMore - ( const QModelIndex & parent = QModelIndex() - - - headerData - headerData - ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) - - - indexInQuery - indexInQuery - ( const QModelIndex & item ) - - - insertColumns - insertColumns - ( int column, int count, const QModelIndex & parent = QModelIndex() - - - lastError - lastError - () - - - query - query - () - - - queryChange - queryChange - () - - - record - record - ( int row ) - - - record - record-2 - () - - - removeColumns - removeColumns - ( int column, int count, const QModelIndex & parent = QModelIndex() - - - rowCount - rowCount - ( const QModelIndex & parent = QModelIndex() - - - setHeaderData - setHeaderData - ( int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole ) - - - setLastError - setLastError - ( const QSqlError & error ) - - - setQuery - setQuery - ( const QSqlQuery & query ) - - - setQuery - setQuery-2 - ( const QString & query, const QSqlDatabase & db = QSqlDatabase() - - - fieldPtr - fieldPtr - ( int index ) - - - fieldPtr - fieldPtr-2 - ( const QString & name ) - - - position - position - ( const QString & name ) - - - toString - toString - ( const QString & prefix = QString() - - - toStringList - toStringList - ( const QString & prefix = QString() - - - - QSqlRecord - qsqlrecord.html - - QSqlRecord - QSqlRecord - () - - - QSqlRecord - QSqlRecord-2 - ( const QSqlRecord & other ) - - - append - append - ( const QSqlField & field ) - - - clear - clear - () - - - clearValues - clearValues - () - - - contains - contains - ( const QString & name ) - - - count - count - () - - - field - field - ( int index ) - - - field - field-2 - ( const QString & name ) - - - fieldName - fieldName - ( int index ) - - - indexOf - indexOf - ( const QString & name ) - - - insert - insert - ( int pos, const QSqlField & field ) - - - isEmpty - isEmpty - () - - - isGenerated - isGenerated - ( const QString & name ) - - - isGenerated - isGenerated-2 - ( int index ) - - - isNull - isNull - ( const QString & name ) - - - isNull - isNull-2 - ( int index ) - - - remove - remove - ( int pos ) - - - replace - replace - ( int pos, const QSqlField & field ) - - - setGenerated - setGenerated - ( const QString & name, bool generated ) - - - setGenerated - setGenerated-2 - ( int index, bool generated ) - - - setNull - setNull - ( int index ) - - - setNull - setNull-2 - ( const QString & name ) - - - setValue - setValue - ( int index, const QVariant & val ) - - - setValue - setValue-2 - ( const QString & name, const QVariant & val ) - - - value - value - ( int index ) - - - value - value-2 - ( const QString & name ) - - - operator!= - operator-not-eq - ( const QSqlRecord & other ) - - - operator= - operator-eq - ( const QSqlRecord & other ) - - - operator== - operator-eq-eq - ( const QSqlRecord & other ) - - - fieldPtr - fieldPtr - ( int index ) - - - fieldPtr - fieldPtr-2 - ( const QString & name ) - - - position - position - ( const QString & name ) - - - toString - toString - ( const QString & prefix = QString() - - - toStringList - toStringList - ( const QString & prefix = QString() - - - - QSqlRelation - qsqlrelation.html - - QSqlRelation - QSqlRelation - () - - - QSqlRelation - QSqlRelation-2 - ( const QString & tableName, const QString & indexColumn, const QString & displayColumn ) - - - displayColumn - displayColumn - () - - - indexColumn - indexColumn - () - - - isValid - isValid - () - - - tableName - tableName - () - - - - QSqlRelationalDelegate - qsqlrelationaldelegate.html - - QSqlRelationalDelegate - QSqlRelationalDelegate - ( QObject * parent = 0 ) - - - - QSqlRelationalTableModel - qsqlrelationaltablemodel.html - - QSqlRelationalTableModel - QSqlRelationalTableModel - ( QObject * parent = 0, QSqlDatabase db = QSqlDatabase() - - - relation - relation - ( int column ) - - - relationModel - relationModel - ( int column ) - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - - - setRelation - setRelation - ( int column, const QSqlRelation & relation ) - - - - QSqlResult - qsqlresult.html - - BindingSyntax - BindingSyntax-enum - - - - QSqlResult - QSqlResult - ( const QSqlDriver * db ) - - - addBindValue - addBindValue - ( const QVariant & val, QSql::ParamType paramType ) - - - at - at - () - - - bindValue - bindValue - ( int index, const QVariant & val, QSql::ParamType paramType ) - - - bindValue - bindValue-2 - ( const QString & placeholder, const QVariant & val, QSql::ParamType paramType ) - - - ParamType - bindValueType - QSqlResult::bindValueType( int index ) - - - ParamType - bindValueType-2 - QSqlResult::bindValueType( const QString & placeholder ) - - - bindingSyntax - bindingSyntax - () - - - boundValue - boundValue - ( int index ) - - - boundValue - boundValue-2 - ( const QString & placeholder ) - - - boundValueCount - boundValueCount - () - - - boundValueName - boundValueName - ( int index ) - - - boundValues - boundValues - () - - - clear - clear - () - - - data - data - ( int index ) - - - driver - driver - () - - - exec - exec - () - - - executedQuery - executedQuery - () - - - fetch - fetch - ( int index ) - - - fetchFirst - fetchFirst - () - - - fetchLast - fetchLast - () - - - fetchNext - fetchNext - () - - - fetchPrevious - fetchPrevious - () - - - handle - handle - () - - - hasOutValues - hasOutValues - () - - - isActive - isActive - () - - - isForwardOnly - isForwardOnly - () - - - isNull - isNull - ( int index ) - - - isSelect - isSelect - () - - - isValid - isValid - () - - - lastError - lastError - () - - - lastInsertId - lastInsertId - () - - - lastQuery - lastQuery - () - - - numRowsAffected - numRowsAffected - () - - - prepare - prepare - ( const QString & query ) - - - record - record - () - - - reset - reset - ( const QString & query ) - - - savePrepare - savePrepare - ( const QString & query ) - - - setActive - setActive - ( bool active ) - - - setAt - setAt - ( int index ) - - - setForwardOnly - setForwardOnly - ( bool forward ) - - - setLastError - setLastError - ( const QSqlError & error ) - - - setQuery - setQuery - ( const QString & query ) - - - setSelect - setSelect - ( bool select ) - - - size - size - () - - - - QSqlTableModel - qsqltablemodel.html - - EditStrategy - EditStrategy-enum - - - - QSqlTableModel - QSqlTableModel - ( QObject * parent = 0, QSqlDatabase db = QSqlDatabase() - - - beforeDelete - beforeDelete - ( int row ) - - - beforeInsert - beforeInsert - ( QSqlRecord & record ) - - - beforeUpdate - beforeUpdate - ( int row, QSqlRecord & record ) - - - database - database - () - - - deleteRowFromTable - deleteRowFromTable - ( int row ) - - - editStrategy - editStrategy - () - - - fieldIndex - fieldIndex - ( const QString & fieldName ) - - - filter - filter - () - - - indexInQuery - indexInQuery - ( const QModelIndex & item ) - - - insertRecord - insertRecord - ( int row, const QSqlRecord & record ) - - - insertRowIntoTable - insertRowIntoTable - ( const QSqlRecord & values ) - - - insertRows - insertRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - isDirty - isDirty - ( const QModelIndex & index ) - - - orderByClause - orderByClause - () - - - primaryKey - primaryKey - () - - - primeInsert - primeInsert - ( int row, QSqlRecord & record ) - - - removeColumns - removeColumns - ( int column, int count, const QModelIndex & parent = QModelIndex() - - - removeRows - removeRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - revert - revert - () - - - revertAll - revertAll - () - - - revertRow - revertRow - ( int row ) - - - select - select - () - - - selectStatement - selectStatement - () - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - - - setEditStrategy - setEditStrategy - ( EditStrategy strategy ) - - - setFilter - setFilter - ( const QString & filter ) - - - setPrimaryKey - setPrimaryKey - ( const QSqlIndex & key ) - - - setQuery - setQuery - ( const QSqlQuery & query ) - - - setRecord - setRecord - ( int row, const QSqlRecord & record ) - - - setSort - setSort - ( int column, Qt::SortOrder order ) - - - setTable - setTable - ( const QString & tableName ) - - - sort - sort - ( int column, Qt::SortOrder order ) - - - submit - submit - () - - - submitAll - submitAll - () - - - tableName - tableName - () - - - updateRowInTable - updateRowInTable - ( int row, const QSqlRecord & values ) - - - AlternateNameEntryType - AlternateNameEntryType-enum - - - - EncodingFormat - EncodingFormat-enum - - - - KeyAlgorithm - KeyAlgorithm-enum - - - - KeyType - KeyType-enum - - - - SslProtocol - SslProtocol-enum - - - - - QSslCertificate - qsslcertificate.html - - SubjectInfo - SubjectInfo-enum - - - - QSslCertificate - QSslCertificate - ( QIODevice * device, QSsl::EncodingFormat format = QSsl::Pem ) - - - QSslCertificate - QSslCertificate-2 - ( const QByteArray & data = QByteArray() - - - QSslCertificate - QSslCertificate-3 - ( const QSslCertificate & other ) - - - AlternateNameEntryType - alternateSubjectNames - , QString> QSslCertificate::alternateSubjectNames() - - - clear - clear - () - - - digest - digest - ( QCryptographicHash::Algorithm algorithm = QCryptographicHash::Md5 ) - - - effectiveDate - effectiveDate - () - - - expiryDate - expiryDate - () - - - fromData - fromData - ( const QByteArray & data, QSsl::EncodingFormat format = QSsl::Pem ) - - - fromDevice - fromDevice - ( QIODevice * device, QSsl::EncodingFormat format = QSsl::Pem ) - - - fromPath - fromPath - ( const QString & path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString ) - - - HANDLE - handle - QSslCertificate::handle() - - - isNull - isNull - () - - - isValid - isValid - () - - - issuerInfo - issuerInfo - ( SubjectInfo subject ) - - - issuerInfo - issuerInfo-2 - ( const QByteArray & tag ) - - - publicKey - publicKey - () - - - serialNumber - serialNumber - () - - - subjectInfo - subjectInfo - ( SubjectInfo subject ) - - - subjectInfo - subjectInfo-2 - ( const QByteArray & tag ) - - - toDer - toDer - () - - - toPem - toPem - () - - - version - version - () - - - operator!= - operator-not-eq - ( const QSslCertificate & other ) - - - operator= - operator-eq - ( const QSslCertificate & other ) - - - operator== - operator-eq-eq - ( const QSslCertificate & other ) - - - - QSslCipher - qsslcipher.html - - QSslCipher - QSslCipher - () - - - QSslCipher - QSslCipher-2 - ( const QString & name, QSsl::SslProtocol protocol ) - - - QSslCipher - QSslCipher-3 - ( const QSslCipher & other ) - - - authenticationMethod - authenticationMethod - () - - - encryptionMethod - encryptionMethod - () - - - isNull - isNull - () - - - keyExchangeMethod - keyExchangeMethod - () - - - name - name - () - - - SslProtocol - protocol - QSslCipher::protocol() - - - protocolString - protocolString - () - - - supportedBits - supportedBits - () - - - usedBits - usedBits - () - - - operator!= - operator-not-eq - ( const QSslCipher & other ) - - - operator= - operator-eq - ( const QSslCipher & other ) - - - operator== - operator-eq-eq - ( const QSslCipher & other ) - - - - QSslError - qsslerror.html - - SslError - SslError-enum - - - - QSslError - QSslError - ( SslError error = NoError, const QSslCertificate & certificate = QSslCertificate() - - - QSslError - QSslError-2 - ( const QSslError & other ) - - - certificate - certificate - () - - - error - error - () - - - errorString - errorString - () - - - - QSslKey - qsslkey.html - - QSslKey - QSslKey - () - - - QSslKey - QSslKey-2 - ( const QByteArray & encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat encoding = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray & passPhrase = QByteArray() - - - QSslKey - QSslKey-3 - ( QIODevice * device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat encoding = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray & passPhrase = QByteArray() - - - QSslKey - QSslKey-4 - ( const QSslKey & other ) - - - KeyAlgorithm - algorithm - QSslKey::algorithm() - - - clear - clear - () - - - HANDLE - handle - QSslKey::handle() - - - isNull - isNull - () - - - length - length - () - - - toDer - toDer - ( const QByteArray & passPhrase = QByteArray() - - - toPem - toPem - ( const QByteArray & passPhrase = QByteArray() - - - KeyType - type - QSslKey::type() - - - operator!= - operator-not-eq - ( const QSslKey & other ) - - - operator= - operator-eq - ( const QSslKey & other ) - - - operator== - operator-eq-eq - ( const QSslKey & other ) - - - - QSslSocket - qsslsocket.html - - SslMode - SslMode-enum - - - - QSslSocket - QSslSocket - ( QObject * parent = 0 ) - - - abort - abort - () - - - addCaCertificate - addCaCertificate - ( const QSslCertificate & certificate ) - - - addCaCertificates - addCaCertificates - ( const QString & path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString ) - - - addCaCertificates - addCaCertificates-2 - ( const QList<QSslCertificate> & certificates ) - - - addDefaultCaCertificate - addDefaultCaCertificate - ( const QSslCertificate & certificate ) - - - addDefaultCaCertificates - addDefaultCaCertificates - ( const QString & path, QSsl::EncodingFormat encoding = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString ) - - - addDefaultCaCertificates - addDefaultCaCertificates-2 - ( const QList<QSslCertificate> & certificates ) - - - caCertificates - caCertificates - () - - - ciphers - ciphers - () - - - connectToHostEncrypted - connectToHostEncrypted - ( const QString & hostName, quint16 port, OpenMode mode = ReadWrite ) - - - defaultCaCertificates - defaultCaCertificates - () - - - defaultCiphers - defaultCiphers - () - - - encrypted - encrypted - () - - - flush - flush - () - - - ignoreSslErrors - ignoreSslErrors - () - - - isEncrypted - isEncrypted - () - - - localCertificate - localCertificate - () - - - mode - mode - () - - - modeChanged - modeChanged - ( QSslSocket::SslMode mode ) - - - peerCertificate - peerCertificate - () - - - peerCertificateChain - peerCertificateChain - () - - - privateKey - privateKey - () - - - SslProtocol - protocol - QSslSocket::protocol() - - - sessionCipher - sessionCipher - () - - - setCaCertificates - setCaCertificates - ( const QList<QSslCertificate> & certificates ) - - - setCiphers - setCiphers - ( const QList<QSslCipher> & ciphers ) - - - setCiphers - setCiphers-2 - ( const QString & ciphers ) - - - setDefaultCaCertificates - setDefaultCaCertificates - ( const QList<QSslCertificate> & certificates ) - - - setDefaultCiphers - setDefaultCiphers - ( const QList<QSslCipher> & ciphers ) - - - setLocalCertificate - setLocalCertificate - ( const QSslCertificate & certificate ) - - - setLocalCertificate - setLocalCertificate-2 - ( const QString & path, QSsl::EncodingFormat format = QSsl::Pem ) - - - setPrivateKey - setPrivateKey - ( const QSslKey & key ) - - - setPrivateKey - setPrivateKey-2 - ( const QString & fileName, QSsl::KeyAlgorithm algorithm = QSsl::Rsa, QSsl::EncodingFormat format = QSsl::Pem, const QByteArray & passPhrase = QByteArray() - - - setProtocol - setProtocol - ( QSsl::SslProtocol protocol ) - - - setSocketDescriptor - setSocketDescriptor - ( int socketDescriptor, SocketState state = ConnectedState, OpenMode openMode = ReadWrite ) - - - sslErrors - sslErrors - () - - - sslErrors - sslErrors-2 - ( const QList<QSslError> & errors ) - - - startClientEncryption - startClientEncryption - () - - - startServerEncryption - startServerEncryption - () - - - supportedCiphers - supportedCiphers - () - - - supportsSsl - supportsSsl - () - - - systemCaCertificates - systemCaCertificates - () - - - waitForConnected - waitForConnected - ( int msecs = 30000 ) - - - waitForDisconnected - waitForDisconnected - ( int msecs = 30000 ) - - - waitForEncrypted - waitForEncrypted - ( int msecs = 30000 ) - - - - QStack - qstack.html - - QStack - QStack - () - - - pop - pop - () - - - push - push - ( const T & t ) - - - top - top - () - - - top - top-2 - () - - - - QStackedLayout - qstackedlayout.html - - QStackedLayout - QStackedLayout - () - - - QStackedLayout - QStackedLayout-2 - ( QWidget * parent ) - - - QStackedLayout - QStackedLayout-3 - ( QLayout * parentLayout ) - - - addWidget - addWidget - ( QWidget * widget ) - - - currentChanged - currentChanged - ( int index ) - - - currentWidget - currentWidget - () - - - insertWidget - insertWidget - ( int index, QWidget * widget ) - - - setCurrentWidget - setCurrentWidget - ( QWidget * widget ) - - - widget - widget - ( int index ) - - - widgetRemoved - widgetRemoved - ( int index ) - - - - QStackedWidget - qstackedwidget.html - - QStackedWidget - QStackedWidget - ( QWidget * parent = 0 ) - - - addWidget - addWidget - ( QWidget * widget ) - - - currentChanged - currentChanged - ( int index ) - - - currentWidget - currentWidget - () - - - indexOf - indexOf - ( QWidget * widget ) - - - insertWidget - insertWidget - ( int index, QWidget * widget ) - - - removeWidget - removeWidget - ( QWidget * widget ) - - - setCurrentWidget - setCurrentWidget - ( QWidget * widget ) - - - widget - widget - ( int index ) - - - widgetRemoved - widgetRemoved - ( int index ) - - - - QStandardItem - qstandarditem.html - - ItemType - ItemType-enum - - - - QStandardItem - QStandardItem - () - - - QStandardItem - QStandardItem-2 - ( const QString & text ) - - - QStandardItem - QStandardItem-3 - ( const QIcon & icon, const QString & text ) - - - QStandardItem - QStandardItem-4 - ( int rows, int columns = 1 ) - - - QStandardItem - QStandardItem-5 - ( const QStandardItem & other ) - - - accessibleDescription - accessibleDescription - () - - - accessibleText - accessibleText - () - - - appendColumn - appendColumn - ( const QList<QStandardItem *> & items ) - - - appendRow - appendRow - ( const QList<QStandardItem *> & items ) - - - appendRow - appendRow-2 - ( QStandardItem * item ) - - - appendRows - appendRows - ( const QList<QStandardItem *> & items ) - - - background - background - () - - - CheckState - checkState - QStandardItem::checkState() - - - child - child - ( int row, int column = 0 ) - - - clone - clone - () - - - column - column - () - - - columnCount - columnCount - () - - - data - data - ( int role = Qt::UserRole + 1 ) - - - ItemFlags - flags - QStandardItem::flags() - - - font - font - () - - - foreground - foreground - () - - - hasChildren - hasChildren - () - - - icon - icon - () - - - index - index - () - - - insertColumn - insertColumn - ( int column, const QList<QStandardItem *> & items ) - - - insertColumns - insertColumns - ( int column, int count ) - - - insertRow - insertRow - ( int row, const QList<QStandardItem *> & items ) - - - insertRow - insertRow-2 - ( int row, QStandardItem * item ) - - - insertRows - insertRows - ( int row, const QList<QStandardItem *> & items ) - - - insertRows - insertRows-2 - ( int row, int count ) - - - isCheckable - isCheckable - () - - - isDragEnabled - isDragEnabled - () - - - isDropEnabled - isDropEnabled - () - - - isEditable - isEditable - () - - - isEnabled - isEnabled - () - - - isSelectable - isSelectable - () - - - isTristate - isTristate - () - - - model - model - () - - - parent - parent - () - - - read - read - ( QDataStream & in ) - - - removeColumn - removeColumn - ( int column ) - - - removeColumns - removeColumns - ( int column, int count ) - - - removeRow - removeRow - ( int row ) - - - removeRows - removeRows - ( int row, int count ) - - - row - row - () - - - rowCount - rowCount - () - - - setAccessibleDescription - setAccessibleDescription - ( const QString & accessibleDescription ) - - - setAccessibleText - setAccessibleText - ( const QString & accessibleText ) - - - setBackground - setBackground - ( const QBrush & brush ) - - - setCheckState - setCheckState - ( Qt::CheckState state ) - - - setCheckable - setCheckable - ( bool checkable ) - - - setChild - setChild - ( int row, int column, QStandardItem * item ) - - - setChild - setChild-2 - ( int row, QStandardItem * item ) - - - setColumnCount - setColumnCount - ( int columns ) - - - setData - setData - ( const QVariant & value, int role = Qt::UserRole + 1 ) - - - setDragEnabled - setDragEnabled - ( bool dragEnabled ) - - - setDropEnabled - setDropEnabled - ( bool dropEnabled ) - - - setEditable - setEditable - ( bool editable ) - - - setEnabled - setEnabled - ( bool enabled ) - - - setFlags - setFlags - ( Qt::ItemFlags flags ) - - - setFont - setFont - ( const QFont & font ) - - - setForeground - setForeground - ( const QBrush & brush ) - - - setIcon - setIcon - ( const QIcon & icon ) - - - setRowCount - setRowCount - ( int rows ) - - - setSelectable - setSelectable - ( bool selectable ) - - - setSizeHint - setSizeHint - ( const QSize & size ) - - - setStatusTip - setStatusTip - ( const QString & statusTip ) - - - setText - setText - ( const QString & text ) - - - setTextAlignment - setTextAlignment - ( Qt::Alignment alignment ) - - - setToolTip - setToolTip - ( const QString & toolTip ) - - - setTristate - setTristate - ( bool tristate ) - - - setWhatsThis - setWhatsThis - ( const QString & whatsThis ) - - - sizeHint - sizeHint - () - - - sortChildren - sortChildren - ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - - - statusTip - statusTip - () - - - takeChild - takeChild - ( int row, int column = 0 ) - - - takeColumn - takeColumn - ( int column ) - - - takeRow - takeRow - ( int row ) - - - text - text - () - - - Alignment - textAlignment - QStandardItem::textAlignment() - - - toolTip - toolTip - () - - - type - type - () - - - whatsThis - whatsThis - () - - - write - write - ( QDataStream & out ) - - - operator< - operator-lt - ( const QStandardItem & other ) - - - operator= - operator-eq - ( const QStandardItem & other ) - - - - QStandardItemEditorCreator - qstandarditemeditorcreator.html - - QStandardItemEditorCreator - QStandardItemEditorCreator - () - - - - QStandardItemModel - qstandarditemmodel.html - - QStandardItemModel - QStandardItemModel - ( QObject * parent = 0 ) - - - QStandardItemModel - QStandardItemModel-2 - ( int rows, int columns, QObject * parent = 0 ) - - - appendColumn - appendColumn - ( const QList<QStandardItem *> & items ) - - - appendRow - appendRow - ( const QList<QStandardItem *> & items ) - - - appendRow - appendRow-2 - ( QStandardItem * item ) - - - clear - clear - () - - - findItems - findItems - ( const QString & text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0 ) - - - horizontalHeaderItem - horizontalHeaderItem - ( int column ) - - - indexFromItem - indexFromItem - ( const QStandardItem * item ) - - - insertColumn - insertColumn - ( int column, const QList<QStandardItem *> & items ) - - - insertRow - insertRow - ( int row, const QList<QStandardItem *> & items ) - - - insertRow - insertRow-3 - ( int row, QStandardItem * item ) - - - invisibleRootItem - invisibleRootItem - () - - - item - item - ( int row, int column = 0 ) - - - itemChanged - itemChanged - ( QStandardItem * item ) - - - itemFromIndex - itemFromIndex - ( const QModelIndex & index ) - - - itemPrototype - itemPrototype - () - - - setColumnCount - setColumnCount - ( int columns ) - - - setHorizontalHeaderItem - setHorizontalHeaderItem - ( int column, QStandardItem * item ) - - - setHorizontalHeaderLabels - setHorizontalHeaderLabels - ( const QStringList & labels ) - - - setItem - setItem - ( int row, int column, QStandardItem * item ) - - - setItem - setItem-2 - ( int row, QStandardItem * item ) - - - setItemPrototype - setItemPrototype - ( const QStandardItem * item ) - - - setRowCount - setRowCount - ( int rows ) - - - setVerticalHeaderItem - setVerticalHeaderItem - ( int row, QStandardItem * item ) - - - setVerticalHeaderLabels - setVerticalHeaderLabels - ( const QStringList & labels ) - - - takeColumn - takeColumn - ( int column ) - - - takeHorizontalHeaderItem - takeHorizontalHeaderItem - ( int column ) - - - takeItem - takeItem - ( int row, int column = 0 ) - - - takeRow - takeRow - ( int row ) - - - takeVerticalHeaderItem - takeVerticalHeaderItem - ( int row ) - - - verticalHeaderItem - verticalHeaderItem - ( int row ) - - - QStatusBar - QStatusBar-2 - ( QWidget * parent, const char * name ) - - - addWidget - addWidget-2 - ( QWidget * widget, int stretch, bool permanent ) - - - clear - clear - () - - - message - message - ( const QString & message, int timeout = 0 ) - - - - QStatusBar - qstatusbar.html - - QStatusBar - QStatusBar - ( QWidget * parent = 0 ) - - - addPermanentWidget - addPermanentWidget - ( QWidget * widget, int stretch = 0 ) - - - addWidget - addWidget - ( QWidget * widget, int stretch = 0 ) - - - clearMessage - clearMessage - () - - - currentMessage - currentMessage - () - - - hideOrShow - hideOrShow - () - - - insertPermanentWidget - insertPermanentWidget - ( int index, QWidget * widget, int stretch = 0 ) - - - insertWidget - insertWidget - ( int index, QWidget * widget, int stretch = 0 ) - - - messageChanged - messageChanged - ( const QString & message ) - - - reformat - reformat - () - - - removeWidget - removeWidget - ( QWidget * widget ) - - - showMessage - showMessage - ( const QString & message, int timeout = 0 ) - - - QStatusBar - QStatusBar-2 - ( QWidget * parent, const char * name ) - - - addWidget - addWidget-2 - ( QWidget * widget, int stretch, bool permanent ) - - - clear - clear - () - - - message - message - ( const QString & message, int timeout = 0 ) - - - - QStatusTipEvent - qstatustipevent.html - - QStatusTipEvent - QStatusTipEvent - ( const QString & tip ) - - - tip - tip - () - - - - QString::Null - qstring-null.html - - ascii - ascii - () - - - constref - constref - ( uint i ) - - - contains - contains-2 - ( QChar c, bool cs ) - - - contains - contains-3 - ( const QString & s, bool cs ) - - - copy - copy - () - - - endsWith - endsWith-2 - ( const QString & s, bool cs ) - - - find - find - ( QChar c, int i = 0, bool cs = true ) - - - find - find-2 - ( const QString & s, int i = 0, bool cs = true ) - - - find - find-3 - ( const QRegExp & rx, int i = 0 ) - - - findRev - findRev - ( QChar c, int i = -1, bool cs = true ) - - - findRev - findRev-2 - ( const QString & s, int i = -1, bool cs = true ) - - - findRev - findRev-3 - ( const QRegExp & rx, int i = -1 ) - - - fromUcs2 - fromUcs2 - ( const ushort * unicode, int size = -1 ) - - - latin1 - latin1 - () - - - leftJustify - leftJustify - ( int width, QChar fill = QLatin1Char( ' ' ) - - - local8Bit - local8Bit - () - - - lower - lower - () - - - ref - ref - ( uint i ) - - - remove - remove-2 - ( QChar c, bool cs ) - - - remove - remove-3 - ( const QString & s, bool cs ) - - - replace - replace-2 - ( QChar c, const QString & after, bool cs ) - - - replace - replace-3 - ( const QString & before, const QString & after, bool cs ) - - - replace - replace-4 - ( char c, const QString & after, bool cs ) - - - replace - replace-5 - ( char c, const QString & after, Qt::CaseSensitivity cs ) - - - rightJustify - rightJustify - ( int width, QChar fill = QLatin1Char( ' ' ) - - - setAscii - setAscii - ( const char * str, int len = -1 ) - - - setLatin1 - setLatin1 - ( const char * str, int len = -1 ) - - - setLength - setLength - ( int nl ) - - - setUnicodeCodes - setUnicodeCodes - ( const ushort * unicode_as_ushorts, int size ) - - - simplifyWhiteSpace - simplifyWhiteSpace - () - - - startsWith - startsWith-2 - ( const QString & s, bool cs ) - - - stripWhiteSpace - stripWhiteSpace - () - - - ucs2 - ucs2 - () - - - upper - upper - () - - - utf8 - utf8 - () - - - operator - operator-const-char--2a - const char *() - - - - QString - qstring.html - - DataPtr - DataPtr-typedef - - - - NormalizationForm - NormalizationForm-enum - - - - SplitBehavior - SplitBehavior-enum - - - - QString - QString - () - - - QString - QString-2 - ( const QChar * unicode, int size ) - - - QString - QString-3 - ( QChar ch ) - - - QString - QString-4 - ( int size, QChar ch ) - - - QString - QString-5 - ( const QLatin1String & str ) - - - QString - QString-6 - ( const QString & other ) - - - QString - QString-7 - ( const char * str ) - - - QString - QString-8 - ( const QByteArray & ba ) - - - append - append - ( const QString & str ) - - - append - append-2 - ( const QLatin1String & str ) - - - append - append-3 - ( const QByteArray & ba ) - - - append - append-4 - ( const char * str ) - - - append - append-5 - ( QChar ch ) - - - arg - arg - ( const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-2 - ( const QString & a1, const QString & a2 ) - - - arg - arg-3 - ( const QString & a1, const QString & a2, const QString & a3 ) - - - arg - arg-4 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4 ) - - - arg - arg-5 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5 ) - - - arg - arg-6 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6 ) - - - arg - arg-7 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7 ) - - - arg - arg-8 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8 ) - - - arg - arg-9 - ( const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7, const QString & a8, const QString & a9 ) - - - arg - arg-10 - ( int a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-11 - ( uint a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-12 - ( long a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-13 - ( ulong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-14 - ( qlonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-15 - ( qulonglong a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-16 - ( short a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-17 - ( ushort a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-18 - ( QChar a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-19 - ( char a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' ) - - - arg - arg-20 - ( double a, int fieldWidth = 0, char format = 'g', int precision = -1, const QChar & fillChar = QLatin1Char( ' ' ) - - - at - at - ( int position ) - - - capacity - capacity - () - - - chop - chop - ( int n ) - - - clear - clear - () - - - compare - compare - ( const QString & s1, const QString & s2, Qt::CaseSensitivity cs ) - - - compare - compare-2 - ( const QString & s1, const QString & s2 ) - - - compare - compare-3 - ( const QString & s1, const QLatin1String & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - compare - compare-4 - ( const QLatin1String & s1, const QString & s2, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - compare - compare-5 - ( const QString & other ) - - - compare - compare-6 - ( const QString & other, Qt::CaseSensitivity cs ) - - - compare - compare-7 - ( const QLatin1String & other, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - constData - constData - () - - - contains - contains - ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - contains - contains-4 - ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - contains - contains-5 - ( const QRegExp & rx ) - - - count - count - ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - count - count-2 - ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - count - count-3 - ( const QRegExp & rx ) - - - count - count-4 - () - - - data - data - () - - - data - data-2 - () - - - data_ptr - data_ptr - () - - - endsWith - endsWith - ( const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - endsWith - endsWith-3 - ( const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - endsWith - endsWith-4 - ( const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - fill - fill - ( QChar ch, int size = -1 ) - - - fromAscii - fromAscii - ( const char * str, int size = -1 ) - - - fromLatin1 - fromLatin1 - ( const char * str, int size = -1 ) - - - fromLocal8Bit - fromLocal8Bit - ( const char * str, int size = -1 ) - - - fromRawData - fromRawData - ( const QChar * unicode, int size ) - - - fromStdString - fromStdString - ( const std::string & str ) - - - fromStdWString - fromStdWString - ( const std::wstring & str ) - - - fromUcs4 - fromUcs4 - ( const uint * unicode, int size = -1 ) - - - fromUtf8 - fromUtf8 - ( const char * str, int size = -1 ) - - - fromUtf16 - fromUtf16 - ( const ushort * unicode, int size = -1 ) - - - fromWCharArray - fromWCharArray - ( const wchar_t * string, int size = -1 ) - - - indexOf - indexOf - ( const QString & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - indexOf - indexOf-2 - ( QChar ch, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - indexOf - indexOf-3 - ( const QRegExp & rx, int from = 0 ) - - - insert - insert - ( int position, const QString & str ) - - - insert - insert-2 - ( int position, const QLatin1String & str ) - - - insert - insert-3 - ( int position, const QChar * unicode, int size ) - - - insert - insert-4 - ( int position, QChar ch ) - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - lastIndexOf - lastIndexOf - ( const QString & str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - lastIndexOf - lastIndexOf-2 - ( QChar ch, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - lastIndexOf - lastIndexOf-3 - ( const QRegExp & rx, int from = -1 ) - - - left - left - ( int n ) - - - leftJustified - leftJustified - ( int width, QChar fill = QLatin1Char( ' ' ) - - - length - length - () - - - localeAwareCompare - localeAwareCompare - ( const QString & s1, const QString & s2 ) - - - localeAwareCompare - localeAwareCompare-2 - ( const QString & other ) - - - mid - mid - ( int position, int n = -1 ) - - - normalized - normalized - ( NormalizationForm mode ) - - - normalized - normalized-2 - ( NormalizationForm mode, QChar::UnicodeVersion version ) - - - number - number - ( long n, int base = 10 ) - - - number - number-2 - ( ulong n, int base = 10 ) - - - number - number-3 - ( int n, int base = 10 ) - - - number - number-4 - ( uint n, int base = 10 ) - - - number - number-5 - ( qlonglong n, int base = 10 ) - - - number - number-6 - ( qulonglong n, int base = 10 ) - - - number - number-7 - ( double n, char format = 'g', int precision = 6 ) - - - prepend - prepend - ( const QString & str ) - - - prepend - prepend-2 - ( const QLatin1String & str ) - - - prepend - prepend-3 - ( const QByteArray & ba ) - - - prepend - prepend-4 - ( const char * str ) - - - prepend - prepend-5 - ( QChar ch ) - - - push_back - push_back - ( const QString & other ) - - - push_back - push_back-2 - ( QChar ch ) - - - push_front - push_front - ( const QString & other ) - - - push_front - push_front-2 - ( QChar ch ) - - - remove - remove - ( int position, int n ) - - - remove - remove-4 - ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - remove - remove-5 - ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - remove - remove-6 - ( const QRegExp & rx ) - - - replace - replace - ( int position, int n, const QString & after ) - - - replace - replace-6 - ( int position, int n, const QChar * unicode, int size ) - - - replace - replace-7 - ( int position, int n, QChar after ) - - - replace - replace-8 - ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - replace - replace-9 - ( QChar ch, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - replace - replace-10 - ( QChar before, QChar after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - replace - replace-11 - ( const QRegExp & rx, const QString & after ) - - - reserve - reserve - ( int size ) - - - resize - resize - ( int size ) - - - right - right - ( int n ) - - - rightJustified - rightJustified - ( int width, QChar fill = QLatin1Char( ' ' ) - - - section - section - ( QChar sep, int start, int end = -1, SectionFlags flags = SectionDefault ) - - - section - section-2 - ( const QString & sep, int start, int end = -1, SectionFlags flags = SectionDefault ) - - - section - section-3 - ( const QRegExp & reg, int start, int end = -1, SectionFlags flags = SectionDefault ) - - - setNum - setNum - ( int n, int base = 10 ) - - - setNum - setNum-2 - ( uint n, int base = 10 ) - - - setNum - setNum-3 - ( long n, int base = 10 ) - - - setNum - setNum-4 - ( ulong n, int base = 10 ) - - - setNum - setNum-5 - ( qlonglong n, int base = 10 ) - - - setNum - setNum-6 - ( qulonglong n, int base = 10 ) - - - setNum - setNum-7 - ( short n, int base = 10 ) - - - setNum - setNum-8 - ( ushort n, int base = 10 ) - - - setNum - setNum-9 - ( double n, char format = 'g', int precision = 6 ) - - - setNum - setNum-10 - ( float n, char format = 'g', int precision = 6 ) - - - setUnicode - setUnicode - ( const QChar * unicode, int size ) - - - setUtf16 - setUtf16 - ( const ushort * unicode, int size ) - - - simplified - simplified - () - - - size - size - () - - - split - split - ( const QString & sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - split - split-2 - ( const QChar & sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - split - split-3 - ( const QRegExp & rx, SplitBehavior behavior = KeepEmptyParts ) - - - sprintf - sprintf - ( const char * cformat, ... ) - - - squeeze - squeeze - () - - - startsWith - startsWith - ( const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - startsWith - startsWith-3 - ( const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - startsWith - startsWith-4 - ( const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - toAscii - toAscii - () - - - toCaseFolded - toCaseFolded - () - - - toDouble - toDouble - ( bool * ok = 0 ) - - - toFloat - toFloat - ( bool * ok = 0 ) - - - toInt - toInt - ( bool * ok = 0, int base = 10 ) - - - toLatin1 - toLatin1 - () - - - toLocal8Bit - toLocal8Bit - () - - - toLong - toLong - ( bool * ok = 0, int base = 10 ) - - - toLongLong - toLongLong - ( bool * ok = 0, int base = 10 ) - - - toLower - toLower - () - - - toShort - toShort - ( bool * ok = 0, int base = 10 ) - - - string - toStdString - QString::toStdString() - - - wstring - toStdWString - QString::toStdWString() - - - toUInt - toUInt - ( bool * ok = 0, int base = 10 ) - - - toULong - toULong - ( bool * ok = 0, int base = 10 ) - - - toULongLong - toULongLong - ( bool * ok = 0, int base = 10 ) - - - toUShort - toUShort - ( bool * ok = 0, int base = 10 ) - - - toUcs4 - toUcs4 - () - - - toUpper - toUpper - () - - - toUtf8 - toUtf8 - () - - - toWCharArray - toWCharArray - ( wchar_t * array ) - - - trimmed - trimmed - () - - - truncate - truncate - ( int position ) - - - unicode - unicode - () - - - utf16 - utf16 - () - - - vsprintf - vsprintf - ( const char * cformat, va_list ap ) - - - operator!= - operator-not-eq - ( const QString & other ) - - - operator!= - operator-not-eq-2 - ( const QLatin1String & other ) - - - operator!= - operator-not-eq-3 - ( const QByteArray & other ) - - - operator!= - operator-not-eq-4 - ( const char * other ) - - - operator+= - operator-2b-eq - ( const QString & other ) - - - operator+= - operator-2b-eq-2 - ( const QLatin1String & str ) - - - operator+= - operator-2b-eq-3 - ( const QByteArray & ba ) - - - operator+= - operator-2b-eq-4 - ( const char * str ) - - - operator+= - operator-2b-eq-5 - ( char ch ) - - - operator+= - operator-2b-eq-6 - ( QChar ch ) - - - operator< - operator-lt - ( const QString & other ) - - - operator< - operator-lt-2 - ( const QLatin1String & other ) - - - operator< - operator-lt-3 - ( const QByteArray & other ) - - - operator< - operator-lt-4 - ( const char * other ) - - - operator<= - operator-lt-eq - ( const QString & other ) - - - operator<= - operator-lt-eq-2 - ( const QLatin1String & other ) - - - operator<= - operator-lt-eq-3 - ( const QByteArray & other ) - - - operator<= - operator-lt-eq-4 - ( const char * other ) - - - operator= - operator-eq - ( const QString & other ) - - - operator= - operator-eq-3 - ( const QLatin1String & str ) - - - operator= - operator-eq-4 - ( const QByteArray & ba ) - - - operator= - operator-eq-5 - ( const char * str ) - - - operator= - operator-eq-6 - ( char ch ) - - - operator= - operator-eq-7 - ( QChar ch ) - - - operator== - operator-eq-eq - ( const QString & other ) - - - operator== - operator-eq-eq-2 - ( const QLatin1String & other ) - - - operator== - operator-eq-eq-3 - ( const QByteArray & other ) - - - operator== - operator-eq-eq-4 - ( const char * other ) - - - operator> - operator-gt - ( const QString & other ) - - - operator> - operator-gt-2 - ( const QLatin1String & other ) - - - operator> - operator-gt-3 - ( const QByteArray & other ) - - - operator> - operator-gt-4 - ( const char * other ) - - - operator>= - operator-gt-eq - ( const QString & other ) - - - operator>= - operator-gt-eq-2 - ( const QLatin1String & other ) - - - operator>= - operator-gt-eq-3 - ( const QByteArray & other ) - - - operator>= - operator-gt-eq-4 - ( const char * other ) - - - operator[] - operator-5b-5d - ( int position ) - - - operator[] - operator-5b-5d-2 - ( int position ) - - - operator[] - operator-5b-5d-3 - ( uint position ) - - - operator[] - operator-5b-5d-4 - ( uint position ) - - - ascii - ascii - () - - - constref - constref - ( uint i ) - - - contains - contains-2 - ( QChar c, bool cs ) - - - contains - contains-3 - ( const QString & s, bool cs ) - - - copy - copy - () - - - endsWith - endsWith-2 - ( const QString & s, bool cs ) - - - find - find - ( QChar c, int i = 0, bool cs = true ) - - - find - find-2 - ( const QString & s, int i = 0, bool cs = true ) - - - find - find-3 - ( const QRegExp & rx, int i = 0 ) - - - findRev - findRev - ( QChar c, int i = -1, bool cs = true ) - - - findRev - findRev-2 - ( const QString & s, int i = -1, bool cs = true ) - - - findRev - findRev-3 - ( const QRegExp & rx, int i = -1 ) - - - fromUcs2 - fromUcs2 - ( const ushort * unicode, int size = -1 ) - - - latin1 - latin1 - () - - - leftJustify - leftJustify - ( int width, QChar fill = QLatin1Char( ' ' ) - - - local8Bit - local8Bit - () - - - lower - lower - () - - - ref - ref - ( uint i ) - - - remove - remove-2 - ( QChar c, bool cs ) - - - remove - remove-3 - ( const QString & s, bool cs ) - - - replace - replace-2 - ( QChar c, const QString & after, bool cs ) - - - replace - replace-3 - ( const QString & before, const QString & after, bool cs ) - - - replace - replace-4 - ( char c, const QString & after, bool cs ) - - - replace - replace-5 - ( char c, const QString & after, Qt::CaseSensitivity cs ) - - - rightJustify - rightJustify - ( int width, QChar fill = QLatin1Char( ' ' ) - - - setAscii - setAscii - ( const char * str, int len = -1 ) - - - setLatin1 - setLatin1 - ( const char * str, int len = -1 ) - - - setLength - setLength - ( int nl ) - - - setUnicodeCodes - setUnicodeCodes - ( const ushort * unicode_as_ushorts, int size ) - - - simplifyWhiteSpace - simplifyWhiteSpace - () - - - startsWith - startsWith-2 - ( const QString & s, bool cs ) - - - stripWhiteSpace - stripWhiteSpace - () - - - ucs2 - ucs2 - () - - - upper - upper - () - - - utf8 - utf8 - () - - - operator - operator-const-char--2a - const char *() - - - fromLast - fromLast - () - - - fromLast - fromLast-2 - () - - - grep - grep - ( const QString & str, bool cs = true ) - - - grep - grep-2 - ( const QRegExp & rx ) - - - gres - gres - ( const QRegExp & rx, const QString & after ) - - - gres - gres-2 - ( const QString & before, const QString & after, bool cs = true ) - - - split - split - ( const QRegExp & sep, const QString & str, bool allowEmptyEntries = false ) - - - split - split-2 - ( const QChar & sep, const QString & str, bool allowEmptyEntries = false ) - - - split - split-3 - ( const QString & sep, const QString & str, bool allowEmptyEntries = false ) - - - - QStringList - qstringlist.html - - QStringList - QStringList - () - - - QStringList - QStringList-2 - ( const QString & str ) - - - QStringList - QStringList-3 - ( const QStringList & other ) - - - QStringList - QStringList-4 - ( const QList<QString> & other ) - - - contains - contains - ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - filter - filter - ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - filter - filter-2 - ( const QRegExp & rx ) - - - indexOf - indexOf - ( const QRegExp & rx, int from = 0 ) - - - join - join - ( const QString & separator ) - - - lastIndexOf - lastIndexOf - ( const QRegExp & rx, int from = -1 ) - - - replaceInStrings - replaceInStrings - ( const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - replaceInStrings - replaceInStrings-2 - ( const QRegExp & rx, const QString & after ) - - - sort - sort - () - - - operator+ - operator-2b - ( const QStringList & other ) - - - operator<< - operator-lt-lt - ( const QString & str ) - - - operator<< - operator-lt-lt-2 - ( const QStringList & other ) - - - fromLast - fromLast - () - - - fromLast - fromLast-2 - () - - - grep - grep - ( const QString & str, bool cs = true ) - - - grep - grep-2 - ( const QRegExp & rx ) - - - gres - gres - ( const QRegExp & rx, const QString & after ) - - - gres - gres-2 - ( const QString & before, const QString & after, bool cs = true ) - - - split - split - ( const QRegExp & sep, const QString & str, bool allowEmptyEntries = false ) - - - split - split-2 - ( const QChar & sep, const QString & str, bool allowEmptyEntries = false ) - - - split - split-3 - ( const QString & sep, const QString & str, bool allowEmptyEntries = false ) - - - - QStringListModel - qstringlistmodel.html - - QStringListModel - QStringListModel - ( QObject * parent = 0 ) - - - QStringListModel - QStringListModel-2 - ( const QStringList & strings, QObject * parent = 0 ) - - - data - data - ( const QModelIndex & index, int role ) - - - ItemFlags - flags - QStringListModel::flags( const QModelIndex & index ) - - - insertRows - insertRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - removeRows - removeRows - ( int row, int count, const QModelIndex & parent = QModelIndex() - - - rowCount - rowCount - ( const QModelIndex & parent = QModelIndex() - - - setData - setData - ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole ) - - - setStringList - setStringList - ( const QStringList & strings ) - - - stringList - stringList - () - - - - QStringMatcher - qstringmatcher.html - - QStringMatcher - QStringMatcher - () - - - QStringMatcher - QStringMatcher-2 - ( const QString & pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive ) - - - QStringMatcher - QStringMatcher-3 - ( const QStringMatcher & other ) - - - CaseSensitivity - caseSensitivity - QStringMatcher::caseSensitivity() - - - indexIn - indexIn - ( const QString & str, int from = 0 ) - - - pattern - pattern - () - - - setCaseSensitivity - setCaseSensitivity - ( Qt::CaseSensitivity cs ) - - - setPattern - setPattern - ( const QString & pattern ) - - - operator= - operator-eq - ( const QStringMatcher & other ) - - - - QStringRef - qstringref.html - - QStringRef - QStringRef - () - - - QStringRef - QStringRef-2 - ( const QString * string, int position, int length ) - - - QStringRef - QStringRef-3 - ( const QString * string ) - - - QStringRef - QStringRef-4 - ( const QStringRef & other ) - - - appendTo - appendTo - ( QString * string ) - - - at - at - ( int position ) - - - clear - clear - () - - - constData - constData - () - - - count - count - () - - - data - data - () - - - isEmpty - isEmpty - () - - - isNull - isNull - () - - - length - length - () - - - position - position - () - - - size - size - () - - - string - string - () - - - toString - toString - () - - - unicode - unicode - () - - - operator= - operator-eq - ( const QStringRef & other ) - - - operator= - operator-eq-2 - ( const QString * string ) - - - standardPixmap - standardPixmap - ( StandardPixmap standardPixmap, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - - QStyle - qstyle.html - - ComplexControl - ComplexControl-enum - - - - ContentsType - ContentsType-enum - - - - ControlElement - ControlElement-enum - - - - PixelMetric - PixelMetric-enum - - - - PrimitiveElement - PrimitiveElement-enum - - - - StandardPixmap - StandardPixmap-enum - - - - StyleHint - StyleHint-enum - - - - SubElement - SubElement-enum - - - - QStyle - QStyle - () - - - alignedRect - alignedRect - ( Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize & size, const QRect & rectangle ) - - - combinedLayoutSpacing - combinedLayoutSpacing - ( QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption * option = 0, QWidget * widget = 0 ) - - - drawComplexControl - drawComplexControl - ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) - - - drawControl - drawControl - ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) - - - drawItemPixmap - drawItemPixmap - ( QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap ) - - - drawItemText - drawItemText - ( QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) - - - drawPrimitive - drawPrimitive - ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) - - - generatedIconPixmap - generatedIconPixmap - ( QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option ) - - - hitTestComplexControl - hitTestComplexControl - ( ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget = 0 ) - - - itemPixmapRect - itemPixmapRect - ( const QRect & rectangle, int alignment, const QPixmap & pixmap ) - - - itemTextRect - itemTextRect - ( const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text ) - - - layoutSpacing - layoutSpacing - ( QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - layoutSpacingImplementation - layoutSpacingImplementation - ( QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - pixelMetric - pixelMetric - ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - polish - polish - ( QWidget * widget ) - - - polish - polish-2 - ( QApplication * application ) - - - polish - polish-3 - ( QPalette & palette ) - - - sizeFromContents - sizeFromContents - ( ContentsType type, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0 ) - - - sliderPositionFromValue - sliderPositionFromValue - ( int min, int max, int logicalValue, int span, bool upsideDown = false ) - - - sliderValueFromPosition - sliderValueFromPosition - ( int min, int max, int position, int span, bool upsideDown = false ) - - - standardIcon - standardIcon - ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - standardIconImplementation - standardIconImplementation - ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) - - - standardPalette - standardPalette - () - - - styleHint - styleHint - ( StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) - - - subControlRect - subControlRect - ( ComplexControl control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0 ) - - - subElementRect - subElementRect - ( SubElement element, const QStyleOption * option, const QWidget * widget = 0 ) - - - unpolish - unpolish - ( QWidget * widget ) - - - unpolish - unpolish-2 - ( QApplication * application ) - - - Alignment - visualAlignment - QStyle::visualAlignment( Qt::LayoutDirection direction, Qt::Alignment alignment ) - - - visualPos - visualPos - ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QPoint & logicalPosition ) - - - visualRect - visualRect - ( Qt::LayoutDirection direction, const QRect & boundingRectangle, const QRect & logicalRectangle ) - - - - QStyleFactory - qstylefactory.html - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QStyleHintReturn - qstylehintreturn.html - - HintReturnType - HintReturnType-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleHintReturn - QStyleHintReturn - ( int version = QStyleOption::Version, int type = SH_Default ) - - - type - type-varx - - - - version - version-var - - - - - QStyleHintReturnMask - qstylehintreturnmask.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleHintReturnMask - QStyleHintReturnMask - () - - - region - region-var - - - - - QStyleHintReturnVariant - qstylehintreturnvariant.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleHintReturnVariant - QStyleHintReturnVariant - () - - - variant - variant-var - - - - init - init - ( const QWidget * widget ) - - - - QStyleOption - qstyleoption.html - - OptionType - OptionType-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOption - QStyleOption - ( int version = QStyleOption::Version, int type = SO_Default ) - - - QStyleOption - QStyleOption-2 - ( const QStyleOption & other ) - - - initFrom - initFrom - ( const QWidget * widget ) - - - operator= - operator-eq - ( const QStyleOption & other ) - - - LayoutDirection - direction-var - QStyleOption::direction - - - fontMetrics - fontMetrics-var - - - - palette - palette-var - - - - rect - rect-var - - - - State - state-var - QStyleOption::state - - - type - type-varx - - - - version - version-var - - - - - QStyleOptionButton - qstyleoptionbutton.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionButton - QStyleOptionButton - () - - - QStyleOptionButton - QStyleOptionButton-2 - ( const QStyleOptionButton & other ) - - - features - features-var - - - - icon - icon-var - - - - iconSize - iconSize-var - - - - text - text-var - - - - - QStyleOptionComboBox - qstyleoptioncombobox.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionComboBox - QStyleOptionComboBox - () - - - QStyleOptionComboBox - QStyleOptionComboBox-2 - ( const QStyleOptionComboBox & other ) - - - currentIcon - currentIcon-var - - - - currentText - currentText-var - - - - editable - editable-var - - - - frame - frame-var - - - - iconSize - iconSize-var - - - - popupRect - popupRect-var - - - - - QStyleOptionComplex - qstyleoptioncomplex.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionComplex - QStyleOptionComplex - ( int version = QStyleOptionComplex::Version, int type = SO_Complex ) - - - QStyleOptionComplex - QStyleOptionComplex-2 - ( const QStyleOptionComplex & other ) - - - SubControls - activeSubControls-var - QStyleOptionComplex::activeSubControls - - - SubControls - subControls-var - QStyleOptionComplex::subControls - - - - QStyleOptionDockWidget - qstyleoptiondockwidget.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionDockWidget - QStyleOptionDockWidget - () - - - QStyleOptionDockWidget - QStyleOptionDockWidget-2 - ( const QStyleOptionDockWidget & other ) - - - closable - closable-var - - - - floatable - floatable-var - - - - movable - movable-var - - - - title - title-var - - - - - QStyleOptionFocusRect - qstyleoptionfocusrect.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionFocusRect - QStyleOptionFocusRect - () - - - QStyleOptionFocusRect - QStyleOptionFocusRect-2 - ( const QStyleOptionFocusRect & other ) - - - backgroundColor - backgroundColor-var - - - - - QStyleOptionFrame - qstyleoptionframe.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionFrame - QStyleOptionFrame - () - - - QStyleOptionFrame - QStyleOptionFrame-2 - ( const QStyleOptionFrame & other ) - - - lineWidth - lineWidth-var - - - - midLineWidth - midLineWidth-var - - - - - QStyleOptionFrameV2 - qstyleoptionframev2.html - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionFrameV2 - QStyleOptionFrameV2 - () - - - QStyleOptionFrameV2 - QStyleOptionFrameV2-2 - ( const QStyleOptionFrameV2 & other ) - - - QStyleOptionFrameV2 - QStyleOptionFrameV2-3 - ( const QStyleOptionFrame & other ) - - - operator= - operator-eq - ( const QStyleOptionFrame & other ) - - - - QStyleOptionGraphicsItem - qstyleoptiongraphicsitem.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionGraphicsItem - QStyleOptionGraphicsItem - () - - - QStyleOptionGraphicsItem - QStyleOptionGraphicsItem-2 - ( const QStyleOptionGraphicsItem & other ) - - - exposedRect - exposedRect-var - - - - levelOfDetail - levelOfDetail-var - - - - matrix - matrix-var - - - - - QStyleOptionGroupBox - qstyleoptiongroupbox.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionGroupBox - QStyleOptionGroupBox - () - - - QStyleOptionGroupBox - QStyleOptionGroupBox-2 - ( const QStyleOptionGroupBox & other ) - - - FrameFeatures - features-var - QStyleOptionGroupBox::features - - - lineWidth - lineWidth-var - - - - midLineWidth - midLineWidth-var - - - - text - text-var - - - - Alignment - textAlignment-var - QStyleOptionGroupBox::textAlignment - - - textColor - textColor-var - - - - - QStyleOptionHeader - qstyleoptionheader.html - - SectionPosition - SectionPosition-enum - - - - SelectedPosition - SelectedPosition-enum - - - - SortIndicator - SortIndicator-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionHeader - QStyleOptionHeader - () - - - QStyleOptionHeader - QStyleOptionHeader-2 - ( const QStyleOptionHeader & other ) - - - icon - icon-var - - - - Alignment - iconAlignment-var - QStyleOptionHeader::iconAlignment - - - Orientation - orientation-var - QStyleOptionHeader::orientation - - - position - position-var - - - - section - section-var - - - - selectedPosition - selectedPosition-var - - - - sortIndicator - sortIndicator-var - - - - text - text-var - - - - Alignment - textAlignment-var - QStyleOptionHeader::textAlignment - - - - QStyleOptionMenuItem - qstyleoptionmenuitem.html - - CheckType - CheckType-enum - - - - MenuItemType - MenuItemType-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionMenuItem - QStyleOptionMenuItem - () - - - QStyleOptionMenuItem - QStyleOptionMenuItem-2 - ( const QStyleOptionMenuItem & other ) - - - checkType - checkType-var - - - - checked - checked-var - - - - font - font-var - - - - icon - icon-var - - - - maxIconWidth - maxIconWidth-var - - - - menuHasCheckableItems - menuHasCheckableItems-var - - - - menuItemType - menuItemType-var - - - - menuRect - menuRect-var - - - - tabWidth - tabWidth-var - - - - text - text-var - - - - - QStyleOptionProgressBar - qstyleoptionprogressbar.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionProgressBar - QStyleOptionProgressBar - () - - - QStyleOptionProgressBar - QStyleOptionProgressBar-2 - ( const QStyleOptionProgressBar & other ) - - - maximum - maximum-var - - - - minimum - minimum-var - - - - progress - progress-var - - - - text - text-var - - - - Alignment - textAlignment-var - QStyleOptionProgressBar::textAlignment - - - textVisible - textVisible-var - - - - - QStyleOptionProgressBarV2 - qstyleoptionprogressbarv2.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionProgressBarV2 - QStyleOptionProgressBarV2 - () - - - QStyleOptionProgressBarV2 - QStyleOptionProgressBarV2-2 - ( const QStyleOptionProgressBar & other ) - - - QStyleOptionProgressBarV2 - QStyleOptionProgressBarV2-3 - ( const QStyleOptionProgressBarV2 & other ) - - - operator= - operator-eq - ( const QStyleOptionProgressBar & other ) - - - bottomToTop - bottomToTop-var - - - - invertedAppearance - invertedAppearance-var - - - - Orientation - orientation-var - QStyleOptionProgressBarV2::orientation - - - - QStyleOptionQ3DockWindow - qstyleoptionq3dockwindow.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionQ3DockWindow - QStyleOptionQ3DockWindow - () - - - QStyleOptionQ3DockWindow - QStyleOptionQ3DockWindow-2 - ( const QStyleOptionQ3DockWindow & other ) - - - closeEnabled - closeEnabled-var - - - - docked - docked-var - - - - - QStyleOptionQ3ListView - qstyleoptionq3listview.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionQ3ListView - QStyleOptionQ3ListView - () - - - QStyleOptionQ3ListView - QStyleOptionQ3ListView-2 - ( const QStyleOptionQ3ListView & other ) - - - itemMargin - itemMargin-var - - - - items - items-var - - - - rootIsDecorated - rootIsDecorated-var - - - - sortColumn - sortColumn-var - - - - treeStepSize - treeStepSize-var - - - - ColorRole - viewportBGRole-var - QStyleOptionQ3ListView::viewportBGRole - - - viewportPalette - viewportPalette-var - - - - - QStyleOptionQ3ListViewItem - qstyleoptionq3listviewitem.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionQ3ListViewItem - QStyleOptionQ3ListViewItem - () - - - QStyleOptionQ3ListViewItem - QStyleOptionQ3ListViewItem-2 - ( const QStyleOptionQ3ListViewItem & other ) - - - childCount - childCount-var - - - - features - features-var - - - - height - height-var - - - - itemY - itemY-var - - - - totalHeight - totalHeight-var - - - - - QStyleOptionRubberBand - qstyleoptionrubberband.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionRubberBand - QStyleOptionRubberBand - () - - - QStyleOptionRubberBand - QStyleOptionRubberBand-2 - ( const QStyleOptionRubberBand & other ) - - - opaque - opaque-var - - - - Shape - shape-var - QStyleOptionRubberBand::shape - - - - QStyleOptionSizeGrip - qstyleoptionsizegrip.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionSizeGrip - QStyleOptionSizeGrip - () - - - QStyleOptionSizeGrip - QStyleOptionSizeGrip-2 - ( const QStyleOptionSizeGrip & other ) - - - Corner - corner-var - QStyleOptionSizeGrip::corner - - - - QStyleOptionSlider - qstyleoptionslider.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionSlider - QStyleOptionSlider - () - - - QStyleOptionSlider - QStyleOptionSlider-2 - ( const QStyleOptionSlider & other ) - - - dialWrapping - dialWrapping-var - - - - maximum - maximum-var - - - - minimum - minimum-var - - - - notchTarget - notchTarget-var - - - - Orientation - orientation-var - QStyleOptionSlider::orientation - - - pageStep - pageStep-var - - - - singleStep - singleStep-var - - - - sliderPosition - sliderPosition-var - - - - sliderValue - sliderValue-var - - - - tickInterval - tickInterval-var - - - - TickPosition - tickPosition-var - QStyleOptionSlider::tickPosition - - - upsideDown - upsideDown-var - - - - - QStyleOptionSpinBox - qstyleoptionspinbox.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionSpinBox - QStyleOptionSpinBox - () - - - QStyleOptionSpinBox - QStyleOptionSpinBox-2 - ( const QStyleOptionSpinBox & other ) - - - ButtonSymbols - buttonSymbols-var - QStyleOptionSpinBox::buttonSymbols - - - frame - frame-var - - - - StepEnabled - stepEnabled-var - QStyleOptionSpinBox::stepEnabled - - - - QStyleOptionTab - qstyleoptiontab.html - - SelectedPosition - SelectedPosition-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - TabPosition - TabPosition-enum - - - - QStyleOptionTab - QStyleOptionTab - () - - - QStyleOptionTab - QStyleOptionTab-2 - ( const QStyleOptionTab & other ) - - - cornerWidgets - cornerWidgets-var - - - - icon - icon-var - - - - position - position-var - - - - row - row-var - - - - selectedPosition - selectedPosition-var - - - - Shape - shape-var - QStyleOptionTab::shape - - - text - text-var - - - - - QStyleOptionTabBarBase - qstyleoptiontabbarbase.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionTabBarBase - QStyleOptionTabBarBase - () - - - QStyleOptionTabBarBase - QStyleOptionTabBarBase-2 - ( const QStyleOptionTabBarBase & other ) - - - selectedTabRect - selectedTabRect-var - - - - Shape - shape-var - QStyleOptionTabBarBase::shape - - - tabBarRect - tabBarRect-var - - - - - QStyleOptionTabV2 - qstyleoptiontabv2.html - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionTabV2 - QStyleOptionTabV2 - () - - - QStyleOptionTabV2 - QStyleOptionTabV2-2 - ( const QStyleOptionTabV2 & other ) - - - QStyleOptionTabV2 - QStyleOptionTabV2-3 - ( const QStyleOptionTab & other ) - - - operator= - operator-eq - ( const QStyleOptionTab & other ) - - - iconSize - iconSize-var - - - - - QStyleOptionTabWidgetFrame - qstyleoptiontabwidgetframe.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionTabWidgetFrame - QStyleOptionTabWidgetFrame - () - - - QStyleOptionTabWidgetFrame - QStyleOptionTabWidgetFrame-2 - ( const QStyleOptionTabWidgetFrame & other ) - - - leftCornerWidgetSize - leftCornerWidgetSize-var - - - - lineWidth - lineWidth-var - - - - midLineWidth - midLineWidth-var - - - - rightCornerWidgetSize - rightCornerWidgetSize-var - - - - Shape - shape-var - QStyleOptionTabWidgetFrame::shape - - - tabBarSize - tabBarSize-var - - - - - QStyleOptionTitleBar - qstyleoptiontitlebar.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionTitleBar - QStyleOptionTitleBar - () - - - QStyleOptionTitleBar - QStyleOptionTitleBar-2 - ( const QStyleOptionTitleBar & other ) - - - icon - icon-var - - - - text - text-var - - - - WindowFlags - titleBarFlags-var - QStyleOptionTitleBar::titleBarFlags - - - titleBarState - titleBarState-var - - - - - QStyleOptionToolBar - qstyleoptiontoolbar.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - ToolBarPosition - ToolBarPosition-enum - - - - QStyleOptionToolBar - QStyleOptionToolBar - () - - - QStyleOptionToolBar - QStyleOptionToolBar-2 - ( const QStyleOptionToolBar & other ) - - - features - features-var - - - - lineWidth - lineWidth-var - - - - midLineWidth - midLineWidth-var - - - - positionOfLine - positionOfLine-var - - - - positionWithinLine - positionWithinLine-var - - - - ToolBarArea - toolBarArea-var - QStyleOptionToolBar::toolBarArea - - - - QStyleOptionToolBox - qstyleoptiontoolbox.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionToolBox - QStyleOptionToolBox - () - - - QStyleOptionToolBox - QStyleOptionToolBox-2 - ( const QStyleOptionToolBox & other ) - - - icon - icon-var - - - - text - text-var - - - - - QStyleOptionToolBoxV2 - qstyleoptiontoolboxv2.html - - SelectedPosition - SelectedPosition-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - TabPosition - TabPosition-enum - - - - QStyleOptionToolBoxV2 - QStyleOptionToolBoxV2 - () - - - QStyleOptionToolBoxV2 - QStyleOptionToolBoxV2-2 - ( const QStyleOptionToolBoxV2 & other ) - - - QStyleOptionToolBoxV2 - QStyleOptionToolBoxV2-3 - ( const QStyleOptionToolBox & other ) - - - operator= - operator-eq - ( const QStyleOptionToolBox & other ) - - - selectedPosition - selectedPosition-var - - - - - QStyleOptionToolButton - qstyleoptiontoolbutton.html - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionToolButton - QStyleOptionToolButton - () - - - QStyleOptionToolButton - QStyleOptionToolButton-2 - ( const QStyleOptionToolButton & other ) - - - ArrowType - arrowType-var - QStyleOptionToolButton::arrowType - - - features - features-var - - - - font - font-var - - - - icon - icon-var - - - - iconSize - iconSize-var - - - - pos - pos-var - - - - text - text-var - - - - ToolButtonStyle - toolButtonStyle-var - QStyleOptionToolButton::toolButtonStyle - - - - QStyleOptionViewItem - qstyleoptionviewitem.html - - Position - Position-enum - - - - StyleOptionType - StyleOptionType-enum - - - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionViewItem - QStyleOptionViewItem - () - - - QStyleOptionViewItem - QStyleOptionViewItem-2 - ( const QStyleOptionViewItem & other ) - - - Alignment - decorationAlignment-var - QStyleOptionViewItem::decorationAlignment - - - decorationPosition - decorationPosition-var - - - - decorationSize - decorationSize-var - - - - Alignment - displayAlignment-var - QStyleOptionViewItem::displayAlignment - - - font - font-var - - - - showDecorationSelected - showDecorationSelected-var - - - - TextElideMode - textElideMode-var - QStyleOptionViewItem::textElideMode - - - - QStyleOptionViewItemV2 - qstyleoptionviewitemv2.html - - StyleOptionVersion - StyleOptionVersion-enum - - - - QStyleOptionViewItemV2 - QStyleOptionViewItemV2 - () - - - QStyleOptionViewItemV2 - QStyleOptionViewItemV2-2 - ( const QStyleOptionViewItemV2 & other ) - - - QStyleOptionViewItemV2 - QStyleOptionViewItemV2-3 - ( const QStyleOptionViewItem & other ) - - - operator= - operator-eq - ( const QStyleOptionViewItem & other ) - - - features - features-var - - - - - QStylePainter - qstylepainter.html - - QStylePainter - QStylePainter - () - - - QStylePainter - QStylePainter-2 - ( QWidget * widget ) - - - QStylePainter - QStylePainter-3 - ( QPaintDevice * pd, QWidget * widget ) - - - begin - begin - ( QWidget * widget ) - - - begin - begin-2 - ( QPaintDevice * pd, QWidget * widget ) - - - drawComplexControl - drawComplexControl - ( QStyle::ComplexControl cc, const QStyleOptionComplex & option ) - - - drawControl - drawControl - ( QStyle::ControlElement ce, const QStyleOption & option ) - - - drawItemPixmap - drawItemPixmap - ( const QRect & rect, int flags, const QPixmap & pixmap ) - - - drawItemText - drawItemText - ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole ) - - - drawPrimitive - drawPrimitive - ( QStyle::PrimitiveElement pe, const QStyleOption & option ) - - - style - style - () - - - - QStylePlugin - qstyleplugin.html - - QStylePlugin - QStylePlugin - ( QObject * parent = 0 ) - - - create - create - ( const QString & key ) - - - keys - keys - () - - - - QSvgGenerator - qsvggenerator.html - - QSvgGenerator - QSvgGenerator - () - - - fileName - fileName - () - - - outputDevice - outputDevice - () - - - paintEngine - paintEngine - () - - - resolution - resolution - () - - - setFileName - setFileName - ( const QString & fileName ) - - - setOutputDevice - setOutputDevice - ( QIODevice * outputDevice ) - - - setResolution - setResolution - ( int resolution ) - - - setSize - setSize - ( const QSize & size ) - - - size - size - () - - - - QSvgRenderer - qsvgrenderer.html - - QSvgRenderer - QSvgRenderer - ( QObject * parent = 0 ) - - - QSvgRenderer - QSvgRenderer-2 - ( const QString & filename, QObject * parent = 0 ) - - - QSvgRenderer - QSvgRenderer-3 - ( const QByteArray & contents, QObject * parent = 0 ) - - - animated - animated - () - - - boundsOnElement - boundsOnElement - ( const QString & id ) - - - defaultSize - defaultSize - () - - - elementExists - elementExists - ( const QString & id ) - - - isValid - isValid - () - - - load - load - ( const QString & filename ) - - - load - load-2 - ( const QByteArray & contents ) - - - matrixForElement - matrixForElement - ( const QString & id ) - - - render - render - ( QPainter * painter ) - - - render - render-2 - ( QPainter * painter, const QRectF & bounds ) - - - render - render-3 - ( QPainter * painter, const QString & elementId, const QRectF & bounds = QRectF() - - - repaintNeeded - repaintNeeded - () - - - viewBox - viewBox - () - - - - QSvgWidget - qsvgwidget.html - - QSvgWidget - QSvgWidget - ( QWidget * parent = 0 ) - - - QSvgWidget - QSvgWidget-2 - ( const QString & file, QWidget * parent = 0 ) - - - load - load - ( const QString & file ) - - - load - load-2 - ( const QByteArray & contents ) - - - renderer - renderer - () - - - - QSyntaxHighlighter - qsyntaxhighlighter.html - - QSyntaxHighlighter - QSyntaxHighlighter - ( QObject * parent ) - - - QSyntaxHighlighter - QSyntaxHighlighter-2 - ( QTextDocument * parent ) - - - QSyntaxHighlighter - QSyntaxHighlighter-3 - ( QTextEdit * parent ) - - - currentBlockState - currentBlockState - () - - - currentBlockUserData - currentBlockUserData - () - - - document - document - () - - - format - format - ( int position ) - - - highlightBlock - highlightBlock - ( const QString & text ) - - - previousBlockState - previousBlockState - () - - - rehighlight - rehighlight - () - - - setCurrentBlockState - setCurrentBlockState - ( int newState ) - - - setCurrentBlockUserData - setCurrentBlockUserData - ( QTextBlockUserData * data ) - - - setDocument - setDocument - ( QTextDocument * doc ) - - - setFormat - setFormat - ( int start, int count, const QTextCharFormat & format ) - - - setFormat - setFormat-2 - ( int start, int count, const QColor & color ) - - - setFormat - setFormat-3 - ( int start, int count, const QFont & font ) - - - - QSysInfo - qsysinfo.html - - Endian - Endian-enum - - - - MacVersion - MacVersion-enum - - - - Sizes - Sizes-enum - - - - WinVersion - WinVersion-enum - - - - MacintoshVersion - MacintoshVersion-var - - - - WindowsVersion - WindowsVersion-var - - - - - QSystemLocale - qsystemlocale.html - - QueryType - QueryType-enum - - - - QSystemLocale - QSystemLocale - () - - - fallbackLocale - fallbackLocale - () - - - query - query - ( QueryType type, QVariant in ) - - - - QSystemTrayIcon - qsystemtrayicon.html - - ActivationReason - ActivationReason-enum - - - - MessageIcon - MessageIcon-enum - - - - QSystemTrayIcon - QSystemTrayIcon - ( QObject * parent = 0 ) - - - QSystemTrayIcon - QSystemTrayIcon-2 - ( const QIcon & icon, QObject * parent = 0 ) - - - activated - activated - ( QSystemTrayIcon::ActivationReason reason ) - - - contextMenu - contextMenu - () - - - geometry - geometry - () - - - hide - hide - () - - - isSystemTrayAvailable - isSystemTrayAvailable - () - - - messageClicked - messageClicked - () - - - setContextMenu - setContextMenu - ( QMenu * menu ) - - - show - show - () - - - showMessage - showMessage - ( const QString & title, const QString & message, MessageIcon icon = Information, int millisecondsTimeoutHint = 10000 ) - - - supportsMessages - supportsMessages - () - - - BackgroundMode - BackgroundMode-enum - - - - ButtonState - ButtonState-typedef - - - - ButtonState_enum - ButtonState_enum-enum - - - - GUIStyle - GUIStyle-enum - - - - MacintoshVersion - MacintoshVersion-enum - - - - PaintUnit - PaintUnit-enum - - - - ScaleMode - ScaleMode-typedef - - - - TextFlags - TextFlags-typedef - - - - ToolBarDock - ToolBarDock-typedef - - - - WindowsVersion - WindowsVersion-enum - - - - AnchorAttribute - AnchorAttribute-enum - - - - ApplicationAttribute - ApplicationAttribute-enum - - - - ArrowType - ArrowType-enum - - - - AspectRatioMode - AspectRatioMode-enum - - - - Axis - Axis-enum - - - - BGMode - BGMode-enum - - - - BrushStyle - BrushStyle-enum - - - - CaseSensitivity - CaseSensitivity-enum - - - - CheckState - CheckState-enum - - - - ClipOperation - ClipOperation-enum - - - - ConnectionType - ConnectionType-enum - - - - ContextMenuPolicy - ContextMenuPolicy-enum - - - - Corner - Corner-enum - - - - CursorShape - CursorShape-enum - - - - DateFormat - DateFormat-enum - - - - DayOfWeek - DayOfWeek-enum - - - - Dock - Dock-enum - - - - EventPriority - EventPriority-enum - - - - FillRule - FillRule-enum - - - - FocusPolicy - FocusPolicy-enum - - - - FocusReason - FocusReason-enum - - - - GlobalColor - GlobalColor-enum - - - - HANDLE - HANDLE-typedef - - - - HitTestAccuracy - HitTestAccuracy-enum - - - - InputMethodQuery - InputMethodQuery-enum - - - - ItemDataRole - ItemDataRole-enum - - - - ItemSelectionMode - ItemSelectionMode-enum - - - - Key - Key-enum - - - - LayoutDirection - LayoutDirection-enum - - - - MaskMode - MaskMode-enum - - - - Modifier - Modifier-enum - - - - PenCapStyle - PenCapStyle-enum - - - - PenJoinStyle - PenJoinStyle-enum - - - - PenStyle - PenStyle-enum - - - - ScrollBarPolicy - ScrollBarPolicy-enum - - - - ShortcutContext - ShortcutContext-enum - - - - SortOrder - SortOrder-enum - - - - TextElideMode - TextElideMode-enum - - - - TextFlag - TextFlag-enum - - - - TextFormat - TextFormat-enum - - - - TimeSpec - TimeSpec-enum - - - - ToolButtonStyle - ToolButtonStyle-enum - - - - TransformationMode - TransformationMode-enum - - - - UIEffect - UIEffect-enum - - - - WFlags - WFlags-typedef - - - - WhiteSpaceMode - WhiteSpaceMode-enum - - - - WidgetAttribute - WidgetAttribute-enum - - - - WindowModality - WindowModality-enum - - - - convertFromPlainText - convertFromPlainText - ( const QString & plain, WhiteSpaceMode mode = WhiteSpacePre ) - - - escape - escape - ( const QString & plain ) - - - mightBeRichText - mightBeRichText - ( const QString & text ) - - - BackgroundMode - BackgroundMode-enum - - - - ButtonState - ButtonState-typedef - - - - ButtonState_enum - ButtonState_enum-enum - - - - GUIStyle - GUIStyle-enum - - - - MacintoshVersion - MacintoshVersion-enum - - - - PaintUnit - PaintUnit-enum - - - - ScaleMode - ScaleMode-typedef - - - - TextFlags - TextFlags-typedef - - - - ToolBarDock - ToolBarDock-typedef - - - - WindowsVersion - WindowsVersion-enum - - - - selected - selected - ( int index ) - - - setCurrentTab - setCurrentTab - ( int index ) - - - - QTabBar - qtabbar.html - - Shape - Shape-enum - - - - TextElideMode - elideMode-prop - - - - QTabBar - QTabBar - ( QWidget * parent = 0 ) - - - addTab - addTab - ( const QString & text ) - - - addTab - addTab-2 - ( const QIcon & icon, const QString & text ) - - - currentChanged - currentChanged - ( int index ) - - - initStyleOption - initStyleOption - ( QStyleOptionTab * option, int tabIndex ) - - - insertTab - insertTab - ( int index, const QString & text ) - - - insertTab - insertTab-2 - ( int index, const QIcon & icon, const QString & text ) - - - isTabEnabled - isTabEnabled - ( int index ) - - - removeTab - removeTab - ( int index ) - - - setTabData - setTabData - ( int index, const QVariant & data ) - - - setTabEnabled - setTabEnabled - ( int index, bool enabled ) - - - setTabIcon - setTabIcon - ( int index, const QIcon & icon ) - - - setTabText - setTabText - ( int index, const QString & text ) - - - setTabTextColor - setTabTextColor - ( int index, const QColor & color ) - - - setTabToolTip - setTabToolTip - ( int index, const QString & tip ) - - - setTabWhatsThis - setTabWhatsThis - ( int index, const QString & text ) - - - tabAt - tabAt - ( const QPoint & position ) - - - tabData - tabData - ( int index ) - - - tabIcon - tabIcon - ( int index ) - - - tabInserted - tabInserted - ( int index ) - - - tabLayoutChange - tabLayoutChange - () - - - tabRect - tabRect - ( int index ) - - - tabRemoved - tabRemoved - ( int index ) - - - tabSizeHint - tabSizeHint - ( int index ) - - - tabText - tabText - ( int index ) - - - tabTextColor - tabTextColor - ( int index ) - - - tabToolTip - tabToolTip - ( int index ) - - - tabWhatsThis - tabWhatsThis - ( int index ) - - - selected - selected - ( int index ) - - - setCurrentTab - setCurrentTab - ( int index ) - - - - QTabletEvent - qtabletevent.html - - PointerType - PointerType-enum - - - - TabletDevice - TabletDevice-enum - - - - QTabletEvent - QTabletEvent - ( Type type, const QPoint & pos, const QPoint & globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) - - - device - device - () - - - globalPos - globalPos - () - - - globalX - globalX - () - - - globalY - globalY - () - - - hiResGlobalPos - hiResGlobalPos - () - - - hiResGlobalX - hiResGlobalX - () - - - hiResGlobalY - hiResGlobalY - () - - - pointerType - pointerType - () - - - pos - pos - () - - - pressure - pressure - () - - - rotation - rotation - () - - - tangentialPressure - tangentialPressure - () - - - uniqueId - uniqueId - () - - - x - x - () - - - xTilt - xTilt - () - - - y - y - () - - - yTilt - yTilt - () - - - z - z - () - - - sortByColumn - sortByColumn-2 - ( int column ) - - - - QTableView - qtableview.html - - PenStyle - gridStyle-prop - - - - QTableView - QTableView - ( QWidget * parent = 0 ) - - - columnAt - columnAt - ( int x ) - - - columnCountChanged - columnCountChanged - ( int oldCount, int newCount ) - - - columnMoved - columnMoved - ( int column, int oldIndex, int newIndex ) - - - columnResized - columnResized - ( int column, int oldWidth, int newWidth ) - - - columnSpan - columnSpan - ( int row, int column ) - - - columnViewportPosition - columnViewportPosition - ( int column ) - - - columnWidth - columnWidth - ( int column ) - - - currentChanged - currentChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - hideColumn - hideColumn - ( int column ) - - - hideRow - hideRow - ( int row ) - - - horizontalHeader - horizontalHeader - () - - - horizontalOffset - horizontalOffset - () - - - indexAt - indexAt - ( const QPoint & pos ) - - - isColumnHidden - isColumnHidden - ( int column ) - - - isRowHidden - isRowHidden - ( int row ) - - - moveCursor - moveCursor - ( CursorAction cursorAction, Qt::KeyboardModifiers modifiers ) - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - resizeColumnToContents - resizeColumnToContents - ( int column ) - - - resizeColumnsToContents - resizeColumnsToContents - () - - - resizeRowToContents - resizeRowToContents - ( int row ) - - - resizeRowsToContents - resizeRowsToContents - () - - - rowAt - rowAt - ( int y ) - - - rowCountChanged - rowCountChanged - ( int oldCount, int newCount ) - - - rowHeight - rowHeight - ( int row ) - - - rowMoved - rowMoved - ( int row, int oldIndex, int newIndex ) - - - rowResized - rowResized - ( int row, int oldHeight, int newHeight ) - - - rowSpan - rowSpan - ( int row, int column ) - - - rowViewportPosition - rowViewportPosition - ( int row ) - - - selectColumn - selectColumn - ( int column ) - - - selectRow - selectRow - ( int row ) - - - selectionChanged - selectionChanged - ( const QItemSelection & selected, const QItemSelection & deselected ) - - - setColumnHidden - setColumnHidden - ( int column, bool hide ) - - - setColumnWidth - setColumnWidth - ( int column, int width ) - - - setHorizontalHeader - setHorizontalHeader - ( QHeaderView * header ) - - - setRowHeight - setRowHeight - ( int row, int height ) - - - setRowHidden - setRowHidden - ( int row, bool hide ) - - - setSelection - setSelection - ( const QRect & rect, QItemSelectionModel::SelectionFlags flags ) - - - setSpan - setSpan - ( int row, int column, int rowSpan, int columnSpan ) - - - setVerticalHeader - setVerticalHeader - ( QHeaderView * header ) - - - showColumn - showColumn - ( int column ) - - - showRow - showRow - ( int row ) - - - sizeHintForColumn - sizeHintForColumn - ( int column ) - - - sizeHintForRow - sizeHintForRow - ( int row ) - - - sortByColumn - sortByColumn - ( int column, Qt::SortOrder order ) - - - verticalHeader - verticalHeader - () - - - verticalOffset - verticalOffset - () - - - isItemSelected - isItemSelected - ( const QTableWidgetItem * item ) - - - setItemSelected - setItemSelected - ( const QTableWidgetItem * item, bool select ) - - - - QTableWidget - qtablewidget.html - - QTableWidget - QTableWidget - ( QWidget * parent = 0 ) - - - QTableWidget - QTableWidget-2 - ( int rows, int columns, QWidget * parent = 0 ) - - - cellActivated - cellActivated - ( int row, int column ) - - - cellChanged - cellChanged - ( int row, int column ) - - - cellClicked - cellClicked - ( int row, int column ) - - - cellDoubleClicked - cellDoubleClicked - ( int row, int column ) - - - cellEntered - cellEntered - ( int row, int column ) - - - cellPressed - cellPressed - ( int row, int column ) - - - cellWidget - cellWidget - ( int row, int column ) - - - clear - clear - () - - - clearContents - clearContents - () - - - closePersistentEditor - closePersistentEditor - ( QTableWidgetItem * item ) - - - column - column - ( const QTableWidgetItem * item ) - - - currentCellChanged - currentCellChanged - ( int currentRow, int currentColumn, int previousRow, int previousColumn ) - - - currentColumn - currentColumn - () - - - currentItem - currentItem - () - - - currentItemChanged - currentItemChanged - ( QTableWidgetItem * current, QTableWidgetItem * previous ) - - - currentRow - currentRow - () - - - dropMimeData - dropMimeData - ( int row, int column, const QMimeData * data, Qt::DropAction action ) - - - editItem - editItem - ( QTableWidgetItem * item ) - - - findItems - findItems - ( const QString & text, Qt::MatchFlags flags ) - - - horizontalHeaderItem - horizontalHeaderItem - ( int column ) - - - indexFromItem - indexFromItem - ( QTableWidgetItem * item ) - - - insertColumn - insertColumn - ( int column ) - - - insertRow - insertRow - ( int row ) - - - item - item - ( int row, int column ) - - - itemActivated - itemActivated - ( QTableWidgetItem * item ) - - - itemAt - itemAt - ( const QPoint & point ) - - - itemAt - itemAt-2 - ( int ax, int ay ) - - - itemChanged - itemChanged - ( QTableWidgetItem * item ) - - - itemClicked - itemClicked - ( QTableWidgetItem * item ) - - - itemDoubleClicked - itemDoubleClicked - ( QTableWidgetItem * item ) - - - itemEntered - itemEntered - ( QTableWidgetItem * item ) - - - itemFromIndex - itemFromIndex - ( const QModelIndex & index ) - - - itemPressed - itemPressed - ( QTableWidgetItem * item ) - - - itemPrototype - itemPrototype - () - - - itemSelectionChanged - itemSelectionChanged - () - - - items - items - ( const QMimeData * data ) - - - mimeData - mimeData - ( const QList<QTableWidgetItem *> items ) - - - mimeTypes - mimeTypes - () - - - openPersistentEditor - openPersistentEditor - ( QTableWidgetItem * item ) - - - removeCellWidget - removeCellWidget - ( int row, int column ) - - - removeColumn - removeColumn - ( int column ) - - - removeRow - removeRow - ( int row ) - - - row - row - ( const QTableWidgetItem * item ) - - - scrollToItem - scrollToItem - ( const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - selectedItems - selectedItems - () - - - selectedRanges - selectedRanges - () - - - setCellWidget - setCellWidget - ( int row, int column, QWidget * widget ) - - - setCurrentCell - setCurrentCell - ( int row, int column ) - - - setCurrentItem - setCurrentItem - ( QTableWidgetItem * item ) - - - setHorizontalHeaderItem - setHorizontalHeaderItem - ( int column, QTableWidgetItem * item ) - - - setHorizontalHeaderLabels - setHorizontalHeaderLabels - ( const QStringList & labels ) - - - setItem - setItem - ( int row, int column, QTableWidgetItem * item ) - - - setItemPrototype - setItemPrototype - ( const QTableWidgetItem * item ) - - - setRangeSelected - setRangeSelected - ( const QTableWidgetSelectionRange & range, bool select ) - - - setVerticalHeaderItem - setVerticalHeaderItem - ( int row, QTableWidgetItem * item ) - - - setVerticalHeaderLabels - setVerticalHeaderLabels - ( const QStringList & labels ) - - - sortItems - sortItems - ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - - - DropActions - supportedDropActions - QTableWidget::supportedDropActions() - - - takeHorizontalHeaderItem - takeHorizontalHeaderItem - ( int column ) - - - takeItem - takeItem - ( int row, int column ) - - - takeVerticalHeaderItem - takeVerticalHeaderItem - ( int row ) - - - verticalHeaderItem - verticalHeaderItem - ( int row ) - - - visualColumn - visualColumn - ( int logicalColumn ) - - - visualItemRect - visualItemRect - ( const QTableWidgetItem * item ) - - - visualRow - visualRow - ( int logicalRow ) - - - backgroundColor - backgroundColor - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setTextColor - setTextColor - ( const QColor & color ) - - - textColor - textColor - () - - - - QTableWidgetItem - qtablewidgetitem.html - - ItemType - ItemType-enum - - - - QTableWidgetItem - QTableWidgetItem - ( int type = Type ) - - - QTableWidgetItem - QTableWidgetItem-2 - ( const QString & text, int type = Type ) - - - QTableWidgetItem - QTableWidgetItem-3 - ( const QIcon & icon, const QString & text, int type = Type ) - - - QTableWidgetItem - QTableWidgetItem-4 - ( const QTableWidgetItem & other ) - - - background - background - () - - - CheckState - checkState - QTableWidgetItem::checkState() - - - clone - clone - () - - - column - column - () - - - data - data - ( int role ) - - - ItemFlags - flags - QTableWidgetItem::flags() - - - font - font - () - - - foreground - foreground - () - - - icon - icon - () - - - isSelected - isSelected - () - - - read - read - ( QDataStream & in ) - - - row - row - () - - - setBackground - setBackground - ( const QBrush & brush ) - - - setCheckState - setCheckState - ( Qt::CheckState state ) - - - setData - setData - ( int role, const QVariant & value ) - - - setFlags - setFlags - ( Qt::ItemFlags flags ) - - - setFont - setFont - ( const QFont & font ) - - - setForeground - setForeground - ( const QBrush & brush ) - - - setIcon - setIcon - ( const QIcon & icon ) - - - setSelected - setSelected - ( bool select ) - - - setSizeHint - setSizeHint - ( const QSize & size ) - - - setStatusTip - setStatusTip - ( const QString & statusTip ) - - - setText - setText - ( const QString & text ) - - - setTextAlignment - setTextAlignment - ( int alignment ) - - - setToolTip - setToolTip - ( const QString & toolTip ) - - - setWhatsThis - setWhatsThis - ( const QString & whatsThis ) - - - sizeHint - sizeHint - () - - - statusTip - statusTip - () - - - tableWidget - tableWidget - () - - - text - text - () - - - textAlignment - textAlignment - () - - - toolTip - toolTip - () - - - type - type - () - - - whatsThis - whatsThis - () - - - write - write - ( QDataStream & out ) - - - operator< - operator-lt - ( const QTableWidgetItem & other ) - - - operator= - operator-eq - ( const QTableWidgetItem & other ) - - - - QTableWidgetSelectionRange - qtablewidgetselectionrange.html - - QTableWidgetSelectionRange - QTableWidgetSelectionRange - () - - - QTableWidgetSelectionRange - QTableWidgetSelectionRange-2 - ( int top, int left, int bottom, int right ) - - - QTableWidgetSelectionRange - QTableWidgetSelectionRange-3 - ( const QTableWidgetSelectionRange & other ) - - - bottomRow - bottomRow - () - - - columnCount - columnCount - () - - - leftColumn - leftColumn - () - - - rightColumn - rightColumn - () - - - rowCount - rowCount - () - - - topRow - topRow - () - - - QTabWidget - QTabWidget-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - changeTab - changeTab - ( QWidget * widget, const QString & label ) - - - changeTab - changeTab-2 - ( QWidget * widget, const QIcon & icon, const QString & label ) - - - currentChanged - currentChanged-2 - ( QWidget * widget ) - - - currentPage - currentPage - () - - - currentPageIndex - currentPageIndex - () - - - insertTab - insertTab-2 - ( QWidget * widget, const QString & label, int index = -1 ) - - - insertTab - insertTab-3 - ( QWidget * widget, const QIcon & icon, const QString & label, int index = -1 ) - - - isTabEnabled - isTabEnabled-2 - ( QWidget * widget ) - - - label - label - ( int index ) - - - margin - margin - () - - - page - page - ( int index ) - - - removePage - removePage - ( QWidget * widget ) - - - removeTabToolTip - removeTabToolTip - ( QWidget * widget ) - - - selected - selected - ( const QString & tabLabel ) - - - setCurrentPage - setCurrentPage - ( int index ) - - - setMargin - setMargin - ( int margin ) - - - setTabEnabled - setTabEnabled-2 - ( QWidget * widget, bool b ) - - - setTabIconSet - setTabIconSet - ( QWidget * widget, const QIcon & icon ) - - - setTabLabel - setTabLabel - ( QWidget * widget, const QString & label ) - - - setTabToolTip - setTabToolTip-2 - ( QWidget * widget, const QString & tip ) - - - showPage - showPage - ( QWidget * widget ) - - - tabIconSet - tabIconSet - ( QWidget * widget ) - - - tabLabel - tabLabel - ( QWidget * widget ) - - - tabToolTip - tabToolTip-2 - ( QWidget * widget ) - - - - QTabWidget - qtabwidget.html - - TabPosition - TabPosition-enum - - - - TabShape - TabShape-enum - - - - TextElideMode - elideMode-prop - - - - QTabWidget - QTabWidget - ( QWidget * parent = 0 ) - - - addTab - addTab - ( QWidget * child, const QString & label ) - - - addTab - addTab-2 - ( QWidget * child, const QIcon & icon, const QString & label ) - - - clear - clear - () - - - cornerWidget - cornerWidget - ( Qt::Corner corner = Qt::TopRightCorner ) - - - currentChanged - currentChanged - ( int index ) - - - currentWidget - currentWidget - () - - - indexOf - indexOf - ( QWidget * w ) - - - initStyleOption - initStyleOption - ( QStyleOptionTabWidgetFrame * option ) - - - insertTab - insertTab - ( int index, QWidget * widget, const QString & label ) - - - insertTab - insertTab-4 - ( int index, QWidget * widget, const QIcon & icon, const QString & label ) - - - isTabEnabled - isTabEnabled - ( int index ) - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - removeTab - removeTab - ( int index ) - - - setCornerWidget - setCornerWidget - ( QWidget * widget, Qt::Corner corner = Qt::TopRightCorner ) - - - setCurrentWidget - setCurrentWidget - ( QWidget * widget ) - - - setTabBar - setTabBar - ( QTabBar * tb ) - - - setTabEnabled - setTabEnabled - ( int index, bool enable ) - - - setTabIcon - setTabIcon - ( int index, const QIcon & icon ) - - - setTabText - setTabText - ( int index, const QString & label ) - - - setTabToolTip - setTabToolTip - ( int index, const QString & tip ) - - - setTabWhatsThis - setTabWhatsThis - ( int index, const QString & text ) - - - tabBar - tabBar - () - - - tabIcon - tabIcon - ( int index ) - - - tabInserted - tabInserted - ( int index ) - - - tabRemoved - tabRemoved - ( int index ) - - - tabText - tabText - ( int index ) - - - tabToolTip - tabToolTip - ( int index ) - - - tabWhatsThis - tabWhatsThis - ( int index ) - - - widget - widget - ( int index ) - - - QTabWidget - QTabWidget-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - changeTab - changeTab - ( QWidget * widget, const QString & label ) - - - changeTab - changeTab-2 - ( QWidget * widget, const QIcon & icon, const QString & label ) - - - currentChanged - currentChanged-2 - ( QWidget * widget ) - - - currentPage - currentPage - () - - - currentPageIndex - currentPageIndex - () - - - insertTab - insertTab-2 - ( QWidget * widget, const QString & label, int index = -1 ) - - - insertTab - insertTab-3 - ( QWidget * widget, const QIcon & icon, const QString & label, int index = -1 ) - - - isTabEnabled - isTabEnabled-2 - ( QWidget * widget ) - - - label - label - ( int index ) - - - margin - margin - () - - - page - page - ( int index ) - - - removePage - removePage - ( QWidget * widget ) - - - removeTabToolTip - removeTabToolTip - ( QWidget * widget ) - - - selected - selected - ( const QString & tabLabel ) - - - setCurrentPage - setCurrentPage - ( int index ) - - - setMargin - setMargin - ( int margin ) - - - setTabEnabled - setTabEnabled-2 - ( QWidget * widget, bool b ) - - - setTabIconSet - setTabIconSet - ( QWidget * widget, const QIcon & icon ) - - - setTabLabel - setTabLabel - ( QWidget * widget, const QString & label ) - - - setTabToolTip - setTabToolTip-2 - ( QWidget * widget, const QString & tip ) - - - showPage - showPage - ( QWidget * widget ) - - - tabIconSet - tabIconSet - ( QWidget * widget ) - - - tabLabel - tabLabel - ( QWidget * widget ) - - - tabToolTip - tabToolTip-2 - ( QWidget * widget ) - - - const_iterator - qBinaryFind-3 - qBinaryFind( const Container & container, const T & value ) - - - const_iterator - qFind-2 - qFind( const Container & container, const T & value ) - - - const_iterator - qLowerBound-3 - qLowerBound( const Container & container, const T & value ) - - - const_iterator - qUpperBound-3 - qUpperBound( const Container & container, const T & value ) - - - - QTcpServer - qtcpserver.html - - QTcpServer - QTcpServer - ( QObject * parent = 0 ) - - - close - close - () - - - errorString - errorString - () - - - hasPendingConnections - hasPendingConnections - () - - - incomingConnection - incomingConnection - ( int socketDescriptor ) - - - isListening - isListening - () - - - listen - listen - ( const QHostAddress & address = QHostAddress::Any, quint16 port = 0 ) - - - maxPendingConnections - maxPendingConnections - () - - - newConnection - newConnection - () - - - nextPendingConnection - nextPendingConnection - () - - - proxy - proxy - () - - - serverAddress - serverAddress - () - - - SocketError - serverError - QTcpServer::serverError() - - - serverPort - serverPort - () - - - setMaxPendingConnections - setMaxPendingConnections - ( int numConnections ) - - - setProxy - setProxy - ( const QNetworkProxy & networkProxy ) - - - setSocketDescriptor - setSocketDescriptor - ( int socketDescriptor ) - - - socketDescriptor - socketDescriptor - () - - - waitForNewConnection - waitForNewConnection - ( int msec = 0, bool * timedOut = 0 ) - - - - QTcpSocket - qtcpsocket.html - - QTcpSocket - QTcpSocket - ( QObject * parent = 0 ) - - - - QTemporaryFile - qtemporaryfile.html - - QTemporaryFile - QTemporaryFile - () - - - QTemporaryFile - QTemporaryFile-2 - ( const QString & templateName ) - - - QTemporaryFile - QTemporaryFile-3 - ( QObject * parent ) - - - QTemporaryFile - QTemporaryFile-4 - ( const QString & templateName, QObject * parent ) - - - autoRemove - autoRemove - () - - - createLocalFile - createLocalFile - ( QFile & file ) - - - createLocalFile - createLocalFile-2 - ( const QString & fileName ) - - - fileName - fileName - () - - - fileTemplate - fileTemplate - () - - - open - open - () - - - setAutoRemove - setAutoRemove - ( bool b ) - - - setFileTemplate - setFileTemplate - ( const QString & name ) - - - KeyAction - KeyAction-enum - - - - MouseAction - MouseAction-enum - - - - SkipMode - SkipMode-enum - - - - TestFailMode - TestFailMode-enum - - - - addColumn - addColumn - ( const char * name, T * dummy = 0 ) - - - currentDataTag - currentDataTag - () - - - currentTestFailed - currentTestFailed - () - - - currentTestFunction - currentTestFunction - () - - - ignoreMessage - ignoreMessage - ( QtMsgType type, const char * message ) - - - keyClick - keyClick - ( QWidget * widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyClick - keyClick-2 - ( QWidget * widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyClicks - keyClicks - ( QWidget * widget, const QString & sequence, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyEvent - keyEvent - ( KeyAction action, QWidget * widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyEvent - keyEvent-2 - ( KeyAction action, QWidget * widget, char ascii, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyPress - keyPress - ( QWidget * widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyPress - keyPress-2 - ( QWidget * widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyRelease - keyRelease - ( QWidget * widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - keyRelease - keyRelease-2 - ( QWidget * widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1 ) - - - mouseClick - mouseClick - ( QWidget * widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint() - - - mouseDClick - mouseDClick - ( QWidget * widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint() - - - mouseMove - mouseMove - ( QWidget * widget, QPoint pos = QPoint() - - - mousePress - mousePress - ( QWidget * widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint() - - - mouseRelease - mouseRelease - ( QWidget * widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint() - - - newRow - newRow - ( const char * dataTag ) - - - qExec - qExec - ( QObject * testObject, int argc = 0, char ** argv = 0 ) - - - qSleep - qSleep - ( int ms ) - - - qWait - qWait - ( int ms ) - - - toHexRepresentation - toHexRepresentation - ( const char * ba, int length ) - - - toString - toString - ( const QByteArray & ba ) - - - toString - toString-2 - ( const T & value ) - - - toString - toString-5 - ( const QLatin1String & string ) - - - toString - toString-6 - ( const QString & string ) - - - toString - toString-7 - ( const QTime & time ) - - - toString - toString-8 - ( const QDate & date ) - - - toString - toString-9 - ( const QDateTime & dateTime ) - - - toString - toString-10 - ( const QChar & character ) - - - toString - toString-11 - ( const QPoint & point ) - - - toString - toString-12 - ( const QSize & size ) - - - toString - toString-13 - ( const QRect & rectangle ) - - - toString - toString-14 - ( const QPointF & point ) - - - toString - toString-15 - ( const QSizeF & size ) - - - toString - toString-16 - ( const QRectF & rectangle ) - - - - QTestEventList - qtesteventlist.html - - QTestEventList - QTestEventList - () - - - QTestEventList - QTestEventList-2 - ( const QTestEventList & other ) - - - addDelay - addDelay - ( int msecs ) - - - addKeyClick - addKeyClick - ( Qt::Key qtKey, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyClick - addKeyClick-2 - ( char ascii, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyClicks - addKeyClicks - ( const QString & keys, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyPress - addKeyPress - ( Qt::Key qtKey, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyPress - addKeyPress-2 - ( char ascii, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyRelease - addKeyRelease - ( Qt::Key qtKey, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addKeyRelease - addKeyRelease-2 - ( char ascii, Qt::KeyboardModifiers modifiers = Qt::NoModifier, int msecs = -1 ) - - - addMouseClick - addMouseClick - ( Qt::MouseButton button, Qt::KeyboardModifiers modifiers = 0, QPoint pos = QPoint() - - - addMouseDClick - addMouseDClick - ( Qt::MouseButton button, Qt::KeyboardModifiers modifiers = 0, QPoint pos = QPoint() - - - addMouseMove - addMouseMove - ( QPoint pos = QPoint() - - - addMousePress - addMousePress - ( Qt::MouseButton button, Qt::KeyboardModifiers modifiers = 0, QPoint pos = QPoint() - - - addMouseRelease - addMouseRelease - ( Qt::MouseButton button, Qt::KeyboardModifiers modifiers = 0, QPoint pos = QPoint() - - - clear - clear - () - - - simulate - simulate - ( QWidget * w ) - - - - QTextBlock::iterator - qtextblock-iterator.html - - iterator - iterator - () - - - iterator - iterator-3 - ( const iterator & other ) - - - atEnd - atEnd - () - - - fragment - fragment - () - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator== - operator-eq-eq - ( const iterator & other ) - - - - QTextBlock - qtextblock.html - - Iterator - Iterator-typedef - - - - QTextBlock - QTextBlock - ( const QTextBlock & other ) - - - begin - begin - () - - - blockFormat - blockFormat - () - - - blockFormatIndex - blockFormatIndex - () - - - charFormat - charFormat - () - - - charFormatIndex - charFormatIndex - () - - - contains - contains - ( int position ) - - - document - document - () - - - end - end - () - - - isValid - isValid - () - - - layout - layout - () - - - length - length - () - - - next - next - () - - - position - position - () - - - previous - previous - () - - - setUserData - setUserData - ( QTextBlockUserData * data ) - - - setUserState - setUserState - ( int state ) - - - text - text - () - - - textList - textList - () - - - userData - userData - () - - - userState - userState - () - - - operator!= - operator-not-eq - ( const QTextBlock & other ) - - - operator< - operator-lt - ( const QTextBlock & other ) - - - operator= - operator-eq - ( const QTextBlock & other ) - - - operator== - operator-eq-eq - ( const QTextBlock & other ) - - - - QTextBlockFormat - qtextblockformat.html - - QTextBlockFormat - QTextBlockFormat - () - - - Alignment - alignment - QTextBlockFormat::alignment() - - - bottomMargin - bottomMargin - () - - - indent - indent - () - - - isValid - isValid - () - - - leftMargin - leftMargin - () - - - nonBreakableLines - nonBreakableLines - () - - - pageBreakPolicy - pageBreakPolicy - () - - - rightMargin - rightMargin - () - - - setAlignment - setAlignment - ( Qt::Alignment alignment ) - - - setBottomMargin - setBottomMargin - ( qreal margin ) - - - setIndent - setIndent - ( int indentation ) - - - setLeftMargin - setLeftMargin - ( qreal margin ) - - - setNonBreakableLines - setNonBreakableLines - ( bool b ) - - - setPageBreakPolicy - setPageBreakPolicy - ( PageBreakFlags policy ) - - - setRightMargin - setRightMargin - ( qreal margin ) - - - setTextIndent - setTextIndent - ( qreal indent ) - - - setTopMargin - setTopMargin - ( qreal margin ) - - - textIndent - textIndent - () - - - topMargin - topMargin - () - - - - QTextBlockGroup - qtextblockgroup.html - - QTextBlockGroup - QTextBlockGroup - ( QTextDocument * document ) - - - blockFormatChanged - blockFormatChanged - ( const QTextBlock & block ) - - - blockInserted - blockInserted - ( const QTextBlock & block ) - - - blockList - blockList - () - - - blockRemoved - blockRemoved - ( const QTextBlock & block ) - - - - QTextBlockUserData - qtextblockuserdata.html - - QTextBrowser - QTextBrowser-2 - ( QWidget * parent, const char * name ) - - - - QTextBrowser - qtextbrowser.html - - QTextBrowser - QTextBrowser - ( QWidget * parent = 0 ) - - - anchorClicked - anchorClicked - ( const QUrl & link ) - - - backward - backward - () - - - backwardAvailable - backwardAvailable - ( bool available ) - - - clearHistory - clearHistory - () - - - forward - forward - () - - - forwardAvailable - forwardAvailable - ( bool available ) - - - highlighted - highlighted - ( const QUrl & link ) - - - highlighted - highlighted-2 - ( const QString & link ) - - - home - home - () - - - isBackwardAvailable - isBackwardAvailable - () - - - isForwardAvailable - isForwardAvailable - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * ev ) - - - loadResource - loadResource - ( int type, const QUrl & name ) - - - reload - reload - () - - - sourceChanged - sourceChanged - ( const QUrl & src ) - - - QTextBrowser - QTextBrowser-2 - ( QWidget * parent, const char * name ) - - - anchorName - anchorName - () - - - setAnchorName - setAnchorName - ( const QString & name ) - - - - QTextCharFormat - qtextcharformat.html - - UnderlineStyle - UnderlineStyle-enum - - - - VerticalAlignment - VerticalAlignment-enum - - - - QTextCharFormat - QTextCharFormat - () - - - anchorHref - anchorHref - () - - - anchorNames - anchorNames - () - - - font - font - () - - - fontFamily - fontFamily - () - - - fontFixedPitch - fontFixedPitch - () - - - fontItalic - fontItalic - () - - - fontOverline - fontOverline - () - - - fontPointSize - fontPointSize - () - - - fontStrikeOut - fontStrikeOut - () - - - fontUnderline - fontUnderline - () - - - fontWeight - fontWeight - () - - - isAnchor - isAnchor - () - - - isValid - isValid - () - - - setAnchor - setAnchor - ( bool anchor ) - - - setAnchorHref - setAnchorHref - ( const QString & value ) - - - setAnchorNames - setAnchorNames - ( const QStringList & names ) - - - setFont - setFont - ( const QFont & font ) - - - setFontFamily - setFontFamily - ( const QString & family ) - - - setFontFixedPitch - setFontFixedPitch - ( bool fixedPitch ) - - - setFontItalic - setFontItalic - ( bool italic ) - - - setFontOverline - setFontOverline - ( bool overline ) - - - setFontPointSize - setFontPointSize - ( qreal size ) - - - setFontStrikeOut - setFontStrikeOut - ( bool strikeOut ) - - - setFontUnderline - setFontUnderline - ( bool underline ) - - - setFontWeight - setFontWeight - ( int weight ) - - - setTextOutline - setTextOutline - ( const QPen & pen ) - - - setToolTip - setToolTip - ( const QString & text ) - - - setUnderlineColor - setUnderlineColor - ( const QColor & color ) - - - setUnderlineStyle - setUnderlineStyle - ( UnderlineStyle style ) - - - setVerticalAlignment - setVerticalAlignment - ( VerticalAlignment alignment ) - - - textOutline - textOutline - () - - - toolTip - toolTip - () - - - underlineColor - underlineColor - () - - - underlineStyle - underlineStyle - () - - - verticalAlignment - verticalAlignment - () - - - - QTextCodec::ConverterState - qtextcodec-converterstate.html - - ConverterState - ConverterState - ( ConversionFlags flags = DefaultConversion ) - - - codecForContent - codecForContent - ( const char * str, int size ) - - - codecForIndex - codecForIndex - ( int i ) - - - codecForName - codecForName-3 - ( const char * hint, int accuracy ) - - - fromUnicode - fromUnicode-3 - ( const QString & uc, int & lenInOut ) - - - locale - locale - () - - - mimeName - mimeName - () - - - toUnicode - toUnicode-3 - ( const QByteArray & a, int len ) - - - - QTextCodec - qtextcodec.html - - QTextCodec - QTextCodec - () - - - aliases - aliases - () - - - availableCodecs - availableCodecs - () - - - availableMibs - availableMibs - () - - - canEncode - canEncode - ( QChar ch ) - - - canEncode - canEncode-2 - ( const QString & s ) - - - codecForCStrings - codecForCStrings - () - - - codecForLocale - codecForLocale - () - - - codecForMib - codecForMib - ( int mib ) - - - codecForName - codecForName - ( const QByteArray & name ) - - - codecForName - codecForName-2 - ( const char * name ) - - - codecForTr - codecForTr - () - - - convertFromUnicode - convertFromUnicode - ( const QChar * input, int number, ConverterState * state ) - - - convertToUnicode - convertToUnicode - ( const char * chars, int len, ConverterState * state ) - - - fromUnicode - fromUnicode - ( const QString & str ) - - - fromUnicode - fromUnicode-2 - ( const QChar * input, int number, ConverterState * state = 0 ) - - - makeDecoder - makeDecoder - () - - - makeEncoder - makeEncoder - () - - - mibEnum - mibEnum - () - - - name - name - () - - - setCodecForCStrings - setCodecForCStrings - ( QTextCodec * codec ) - - - setCodecForLocale - setCodecForLocale - ( QTextCodec * c ) - - - setCodecForTr - setCodecForTr - ( QTextCodec * c ) - - - toUnicode - toUnicode - ( const QByteArray & a ) - - - toUnicode - toUnicode-2 - ( const char * input, int size, ConverterState * state = 0 ) - - - toUnicode - toUnicode-4 - ( const char * chars ) - - - codecForContent - codecForContent - ( const char * str, int size ) - - - codecForIndex - codecForIndex - ( int i ) - - - codecForName - codecForName-3 - ( const char * hint, int accuracy ) - - - fromUnicode - fromUnicode-3 - ( const QString & uc, int & lenInOut ) - - - locale - locale - () - - - mimeName - mimeName - () - - - toUnicode - toUnicode-3 - ( const QByteArray & a, int len ) - - - - QTextCodecPlugin - qtextcodecplugin.html - - QTextCodecPlugin - QTextCodecPlugin - ( QObject * parent = 0 ) - - - aliases - aliases - () - - - createForMib - createForMib - ( int mib ) - - - createForName - createForName - ( const QByteArray & name ) - - - mibEnums - mibEnums - () - - - names - names - () - - - - QTextCursor - qtextcursor.html - - MoveMode - MoveMode-enum - - - - MoveOperation - MoveOperation-enum - - - - SelectionType - SelectionType-enum - - - - QTextCursor - QTextCursor - () - - - QTextCursor - QTextCursor-2 - ( QTextDocument * document ) - - - QTextCursor - QTextCursor-4 - ( QTextFrame * frame ) - - - QTextCursor - QTextCursor-5 - ( const QTextBlock & block ) - - - QTextCursor - QTextCursor-7 - ( const QTextCursor & cursor ) - - - anchor - anchor - () - - - atBlockEnd - atBlockEnd - () - - - atBlockStart - atBlockStart - () - - - atEnd - atEnd - () - - - atStart - atStart - () - - - beginEditBlock - beginEditBlock - () - - - block - block - () - - - blockCharFormat - blockCharFormat - () - - - blockFormat - blockFormat - () - - - blockNumber - blockNumber - () - - - charFormat - charFormat - () - - - clearSelection - clearSelection - () - - - columnNumber - columnNumber - () - - - createList - createList - ( const QTextListFormat & format ) - - - createList - createList-2 - ( QTextListFormat::Style style ) - - - currentFrame - currentFrame - () - - - currentList - currentList - () - - - currentTable - currentTable - () - - - deleteChar - deleteChar - () - - - deletePreviousChar - deletePreviousChar - () - - - endEditBlock - endEditBlock - () - - - hasComplexSelection - hasComplexSelection - () - - - hasSelection - hasSelection - () - - - insertBlock - insertBlock - () - - - insertBlock - insertBlock-2 - ( const QTextBlockFormat & format ) - - - insertBlock - insertBlock-3 - ( const QTextBlockFormat & format, const QTextCharFormat & charFormat ) - - - insertFragment - insertFragment - ( const QTextDocumentFragment & fragment ) - - - insertFrame - insertFrame - ( const QTextFrameFormat & format ) - - - insertHtml - insertHtml - ( const QString & html ) - - - insertImage - insertImage - ( const QTextImageFormat & format ) - - - insertImage - insertImage-2 - ( const QTextImageFormat & format, QTextFrameFormat::Position alignment ) - - - insertImage - insertImage-3 - ( const QString & name ) - - - insertList - insertList - ( const QTextListFormat & format ) - - - insertList - insertList-2 - ( QTextListFormat::Style style ) - - - insertTable - insertTable - ( int rows, int columns, const QTextTableFormat & format ) - - - insertTable - insertTable-2 - ( int rows, int columns ) - - - insertText - insertText - ( const QString & text ) - - - insertText - insertText-2 - ( const QString & text, const QTextCharFormat & format ) - - - isCopyOf - isCopyOf - ( const QTextCursor & other ) - - - isNull - isNull - () - - - joinPreviousEditBlock - joinPreviousEditBlock - () - - - mergeBlockCharFormat - mergeBlockCharFormat - ( const QTextCharFormat & modifier ) - - - mergeBlockFormat - mergeBlockFormat - ( const QTextBlockFormat & modifier ) - - - mergeCharFormat - mergeCharFormat - ( const QTextCharFormat & modifier ) - - - movePosition - movePosition - ( MoveOperation operation, MoveMode mode = MoveAnchor, int n = 1 ) - - - position - position - () - - - removeSelectedText - removeSelectedText - () - - - select - select - ( SelectionType selection ) - - - selectedTableCells - selectedTableCells - ( int * firstRow, int * numRows, int * firstColumn, int * numColumns ) - - - selectedText - selectedText - () - - - selection - selection - () - - - selectionEnd - selectionEnd - () - - - selectionStart - selectionStart - () - - - setBlockCharFormat - setBlockCharFormat - ( const QTextCharFormat & format ) - - - setBlockFormat - setBlockFormat - ( const QTextBlockFormat & format ) - - - setCharFormat - setCharFormat - ( const QTextCharFormat & format ) - - - setPosition - setPosition - ( int pos, MoveMode m = MoveAnchor ) - - - operator!= - operator-not-eq - ( const QTextCursor & other ) - - - operator< - operator-lt - ( const QTextCursor & other ) - - - operator<= - operator-lt-eq - ( const QTextCursor & other ) - - - operator= - operator-eq - ( const QTextCursor & cursor ) - - - operator== - operator-eq-eq - ( const QTextCursor & other ) - - - operator> - operator-gt - ( const QTextCursor & other ) - - - operator>= - operator-gt-eq - ( const QTextCursor & other ) - - - - QTextDecoder - qtextdecoder.html - - QTextDecoder - QTextDecoder - ( const QTextCodec * codec ) - - - toUnicode - toUnicode - ( const char * chars, int len ) - - - toUnicode - toUnicode-2 - ( QString * target, const char * chars, int len ) - - - toUnicode - toUnicode-3 - ( const QByteArray & ba ) - - - - QTextDocument - qtextdocument.html - - MetaInformation - MetaInformation-enum - - - - ResourceType - ResourceType-enum - - - - QTextDocument - QTextDocument - ( QObject * parent = 0 ) - - - QTextDocument - QTextDocument-2 - ( const QString & text, QObject * parent = 0 ) - - - addResource - addResource - ( int type, const QUrl & name, const QVariant & resource ) - - - adjustSize - adjustSize - () - - - allFormats - allFormats - () - - - begin - begin - () - - - blockCountChanged - blockCountChanged - ( int newBlockCount ) - - - clear - clear - () - - - clone - clone - ( QObject * parent = 0 ) - - - contentsChange - contentsChange - ( int position, int charsRemoved, int charsAdded ) - - - contentsChanged - contentsChanged - () - - - createObject - createObject - ( const QTextFormat & format ) - - - cursorPositionChanged - cursorPositionChanged - ( const QTextCursor & cursor ) - - - documentLayout - documentLayout - () - - - drawContents - drawContents - ( QPainter * p, const QRectF & rect = QRectF() - - - end - end - () - - - find - find - ( const QString & subString, const QTextCursor & cursor, FindFlags options = 0 ) - - - find - find-2 - ( const QRegExp & expr, const QTextCursor & cursor, FindFlags options = 0 ) - - - find - find-3 - ( const QString & subString, int position = 0, FindFlags options = 0 ) - - - find - find-4 - ( const QRegExp & expr, int position = 0, FindFlags options = 0 ) - - - findBlock - findBlock - ( int pos ) - - - idealWidth - idealWidth - () - - - isEmpty - isEmpty - () - - - isRedoAvailable - isRedoAvailable - () - - - isUndoAvailable - isUndoAvailable - () - - - loadResource - loadResource - ( int type, const QUrl & name ) - - - markContentsDirty - markContentsDirty - ( int position, int length ) - - - metaInformation - metaInformation - ( MetaInformation info ) - - - modificationChanged - modificationChanged - ( bool changed ) - - - object - object - ( int objectIndex ) - - - objectForFormat - objectForFormat - ( const QTextFormat & f ) - - - pageCount - pageCount - () - - - print - print - ( QPrinter * printer ) - - - redo - redo - ( QTextCursor * cursor ) - - - redo - redo-2 - () - - - redoAvailable - redoAvailable - ( bool available ) - - - resource - resource - ( int type, const QUrl & name ) - - - rootFrame - rootFrame - () - - - setDocumentLayout - setDocumentLayout - ( QAbstractTextDocumentLayout * layout ) - - - setHtml - setHtml - ( const QString & html ) - - - setMetaInformation - setMetaInformation - ( MetaInformation info, const QString & string ) - - - setPlainText - setPlainText - ( const QString & text ) - - - toHtml - toHtml - ( const QByteArray & encoding = QByteArray() - - - toPlainText - toPlainText - () - - - undo - undo - ( QTextCursor * cursor ) - - - undo - undo-2 - () - - - undoAvailable - undoAvailable - ( bool available ) - - - - QTextDocumentFragment - qtextdocumentfragment.html - - QTextDocumentFragment - QTextDocumentFragment - () - - - QTextDocumentFragment - QTextDocumentFragment-2 - ( const QTextDocument * document ) - - - QTextDocumentFragment - QTextDocumentFragment-3 - ( const QTextCursor & cursor ) - - - QTextDocumentFragment - QTextDocumentFragment-4 - ( const QTextDocumentFragment & other ) - - - fromHtml - fromHtml - ( const QString & text ) - - - fromHtml - fromHtml-2 - ( const QString & text, const QTextDocument * resourceProvider ) - - - fromPlainText - fromPlainText - ( const QString & plainText ) - - - isEmpty - isEmpty - () - - - toHtml - toHtml - ( const QByteArray & encoding ) - - - toHtml - toHtml-2 - () - - - toPlainText - toPlainText - () - - - operator= - operator-eq - ( const QTextDocumentFragment & other ) - - - - QTextEdit::ExtraSelection - qtextedit-extraselection.html - - cursor - cursor-var - - - - format - format-var - - - - KeyboardAction - KeyboardAction-enum - - - - QTextEdit - QTextEdit-4 - ( QWidget * parent, const char * name ) - - - bold - bold - () - - - color - color - () - - - currentColorChanged - currentColorChanged - ( const QColor & color ) - - - currentFontChanged - currentFontChanged - ( const QFont & font ) - - - doKeyboardAction - doKeyboardAction - ( KeyboardAction action ) - - - family - family - () - - - find - find-2 - ( const QString & exp, bool cs, bool wo ) - - - hasSelectedText - hasSelectedText - () - - - insert - insert - ( const QString & text ) - - - isModified - isModified - () - - - isRedoAvailable - isRedoAvailable - () - - - isUndoAvailable - isUndoAvailable - () - - - italic - italic - () - - - moveCursor - moveCursor-2 - ( CursorAction action, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) - - - moveCursor - moveCursor-3 - ( CursorAction action, bool select ) - - - pointSize - pointSize - () - - - redo - redo-2 - () - - - selectedText - selectedText - () - - - setBold - setBold - ( bool b ) - - - setColor - setColor - ( const QColor & color ) - - - setFamily - setFamily - ( const QString & family ) - - - setItalic - setItalic - ( bool i ) - - - setModified - setModified - ( bool m = true ) - - - setPointSize - setPointSize - ( int size ) - - - setTextFormat - setTextFormat - ( Qt::TextFormat f ) - - - setUnderline - setUnderline - ( bool b ) - - - sync - sync - () - - - text - text - () - - - TextFormat - textFormat - QTextEdit::textFormat() - - - underline - underline - () - - - undo - undo-2 - () - - - - QTextEdit - qtextedit.html - - CursorAction - CursorAction-enum - - - - LineWrapMode - LineWrapMode-enum - - - - TextInteractionFlags - textInteractionFlags-prop - - - - WrapMode - wordWrapMode-prop - - - - QTextEdit - QTextEdit - ( QWidget * parent = 0 ) - - - QTextEdit - QTextEdit-2 - ( const QString & text, QWidget * parent = 0 ) - - - Alignment - alignment - QTextEdit::alignment() - - - anchorAt - anchorAt - ( const QPoint & pos ) - - - append - append - ( const QString & text ) - - - canInsertFromMimeData - canInsertFromMimeData - ( const QMimeData * source ) - - - canPaste - canPaste - () - - - clear - clear - () - - - contextMenuEvent - contextMenuEvent - ( QContextMenuEvent * event ) - - - copy - copy - () - - - copyAvailable - copyAvailable - ( bool yes ) - - - createMimeDataFromSelection - createMimeDataFromSelection - () - - - createStandardContextMenu - createStandardContextMenu - () - - - currentCharFormat - currentCharFormat - () - - - currentCharFormatChanged - currentCharFormatChanged - ( const QTextCharFormat & f ) - - - currentFont - currentFont - () - - - cursorForPosition - cursorForPosition - ( const QPoint & pos ) - - - cursorPositionChanged - cursorPositionChanged - () - - - cursorRect - cursorRect - ( const QTextCursor & cursor ) - - - cursorRect - cursorRect-2 - () - - - cut - cut - () - - - document - document - () - - - ensureCursorVisible - ensureCursorVisible - () - - - extraSelections - extraSelections - () - - - find - find - ( const QString & exp, QTextDocument::FindFlags options = 0 ) - - - fontFamily - fontFamily - () - - - fontItalic - fontItalic - () - - - fontPointSize - fontPointSize - () - - - fontUnderline - fontUnderline - () - - - fontWeight - fontWeight - () - - - insertFromMimeData - insertFromMimeData - ( const QMimeData * source ) - - - insertHtml - insertHtml - ( const QString & text ) - - - insertPlainText - insertPlainText - ( const QString & text ) - - - loadResource - loadResource - ( int type, const QUrl & name ) - - - mergeCurrentCharFormat - mergeCurrentCharFormat - ( const QTextCharFormat & modifier ) - - - moveCursor - moveCursor - ( QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) - - - paste - paste - () - - - print - print - ( QPrinter * printer ) - - - redo - redo - () - - - redoAvailable - redoAvailable - ( bool available ) - - - scrollToAnchor - scrollToAnchor - ( const QString & name ) - - - selectAll - selectAll - () - - - selectionChanged - selectionChanged - () - - - setAlignment - setAlignment - ( Qt::Alignment a ) - - - setCurrentCharFormat - setCurrentCharFormat - ( const QTextCharFormat & format ) - - - setCurrentFont - setCurrentFont - ( const QFont & f ) - - - setDocument - setDocument - ( QTextDocument * document ) - - - setExtraSelections - setExtraSelections - ( const QList<ExtraSelection> & selections ) - - - setFontFamily - setFontFamily - ( const QString & fontFamily ) - - - setFontItalic - setFontItalic - ( bool italic ) - - - setFontPointSize - setFontPointSize - ( qreal s ) - - - setFontUnderline - setFontUnderline - ( bool underline ) - - - setFontWeight - setFontWeight - ( int weight ) - - - setText - setText - ( const QString & text ) - - - setTextColor - setTextColor - ( const QColor & c ) - - - setTextCursor - setTextCursor - ( const QTextCursor & cursor ) - - - textChanged - textChanged - () - - - textColor - textColor - () - - - textCursor - textCursor - () - - - undo - undo - () - - - undoAvailable - undoAvailable - ( bool available ) - - - zoomIn - zoomIn - ( int range = 1 ) - - - zoomOut - zoomOut - ( int range = 1 ) - - - KeyboardAction - KeyboardAction-enum - - - - QTextEdit - QTextEdit-4 - ( QWidget * parent, const char * name ) - - - bold - bold - () - - - color - color - () - - - currentColorChanged - currentColorChanged - ( const QColor & color ) - - - currentFontChanged - currentFontChanged - ( const QFont & font ) - - - doKeyboardAction - doKeyboardAction - ( KeyboardAction action ) - - - family - family - () - - - find - find-2 - ( const QString & exp, bool cs, bool wo ) - - - hasSelectedText - hasSelectedText - () - - - insert - insert - ( const QString & text ) - - - isModified - isModified - () - - - isRedoAvailable - isRedoAvailable - () - - - isUndoAvailable - isUndoAvailable - () - - - italic - italic - () - - - moveCursor - moveCursor-2 - ( CursorAction action, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor ) - - - moveCursor - moveCursor-3 - ( CursorAction action, bool select ) - - - pointSize - pointSize - () - - - redo - redo-2 - () - - - selectedText - selectedText - () - - - setBold - setBold - ( bool b ) - - - setColor - setColor - ( const QColor & color ) - - - setFamily - setFamily - ( const QString & family ) - - - setItalic - setItalic - ( bool i ) - - - setModified - setModified - ( bool m = true ) - - - setPointSize - setPointSize - ( int size ) - - - setTextFormat - setTextFormat - ( Qt::TextFormat f ) - - - setUnderline - setUnderline - ( bool b ) - - - sync - sync - () - - - text - text - () - - - TextFormat - textFormat - QTextEdit::textFormat() - - - underline - underline - () - - - undo - undo-2 - () - - - - QTextEncoder - qtextencoder.html - - QTextEncoder - QTextEncoder - ( const QTextCodec * codec ) - - - fromUnicode - fromUnicode - ( const QString & str ) - - - fromUnicode - fromUnicode-2 - ( const QChar * uc, int len ) - - - fromUnicode - fromUnicode-3 - ( const QString & uc, int & lenInOut ) - - - - QTextFormat - qtextformat.html - - FormatType - FormatType-enum - - - - ObjectTypes - ObjectTypes-enum - - - - Property - Property-enum - - - - QTextFormat - QTextFormat - () - - - QTextFormat - QTextFormat-2 - ( int type ) - - - QTextFormat - QTextFormat-3 - ( const QTextFormat & other ) - - - background - background - () - - - boolProperty - boolProperty - ( int propertyId ) - - - brushProperty - brushProperty - ( int propertyId ) - - - clearBackground - clearBackground - () - - - clearForeground - clearForeground - () - - - clearProperty - clearProperty - ( int propertyId ) - - - colorProperty - colorProperty - ( int propertyId ) - - - doubleProperty - doubleProperty - ( int propertyId ) - - - foreground - foreground - () - - - hasProperty - hasProperty - ( int propertyId ) - - - intProperty - intProperty - ( int propertyId ) - - - isBlockFormat - isBlockFormat - () - - - isCharFormat - isCharFormat - () - - - isFrameFormat - isFrameFormat - () - - - isImageFormat - isImageFormat - () - - - isListFormat - isListFormat - () - - - isTableFormat - isTableFormat - () - - - isValid - isValid - () - - - LayoutDirection - layoutDirection - QTextFormat::layoutDirection() - - - lengthProperty - lengthProperty - ( int propertyId ) - - - lengthVectorProperty - lengthVectorProperty - ( int propertyId ) - - - merge - merge - ( const QTextFormat & other ) - - - objectIndex - objectIndex - () - - - objectType - objectType - () - - - penProperty - penProperty - ( int propertyId ) - - - properties - properties - () - - - property - property - ( int propertyId ) - - - propertyCount - propertyCount - () - - - setBackground - setBackground - ( const QBrush & brush ) - - - setForeground - setForeground - ( const QBrush & brush ) - - - setLayoutDirection - setLayoutDirection - ( Qt::LayoutDirection direction ) - - - setObjectIndex - setObjectIndex - ( int index ) - - - setObjectType - setObjectType - ( int type ) - - - setProperty - setProperty - ( int propertyId, const QVariant & value ) - - - setProperty - setProperty-2 - ( int propertyId, const QVector<QTextLength> & value ) - - - stringProperty - stringProperty - ( int propertyId ) - - - toBlockFormat - toBlockFormat - () - - - toCharFormat - toCharFormat - () - - - toFrameFormat - toFrameFormat - () - - - toImageFormat - toImageFormat - () - - - toListFormat - toListFormat - () - - - toTableFormat - toTableFormat - () - - - type - type - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QTextFormat & other ) - - - operator= - operator-eq - ( const QTextFormat & other ) - - - operator== - operator-eq-eq - ( const QTextFormat & other ) - - - - QTextFragment - qtextfragment.html - - QTextFragment - QTextFragment - () - - - QTextFragment - QTextFragment-3 - ( const QTextFragment & other ) - - - charFormat - charFormat - () - - - charFormatIndex - charFormatIndex - () - - - contains - contains - ( int position ) - - - isValid - isValid - () - - - length - length - () - - - position - position - () - - - text - text - () - - - operator!= - operator-not-eq - ( const QTextFragment & other ) - - - operator< - operator-lt - ( const QTextFragment & other ) - - - operator= - operator-eq - ( const QTextFragment & other ) - - - operator== - operator-eq-eq - ( const QTextFragment & other ) - - - - QTextFrame::iterator - qtextframe-iterator.html - - iterator - iterator - () - - - iterator - iterator-3 - ( const iterator & other ) - - - atEnd - atEnd - () - - - currentBlock - currentBlock - () - - - currentFrame - currentFrame - () - - - parentFrame - parentFrame - () - - - operator!= - operator-not-eq - ( const iterator & other ) - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator= - operator-eq - ( const iterator & other ) - - - operator== - operator-eq-eq - ( const iterator & other ) - - - - QTextFrame - qtextframe.html - - Iterator - Iterator-typedef - - - - QTextFrame - QTextFrame - ( QTextDocument * document ) - - - begin - begin - () - - - childFrames - childFrames - () - - - end - end - () - - - firstCursorPosition - firstCursorPosition - () - - - firstPosition - firstPosition - () - - - frameFormat - frameFormat - () - - - lastCursorPosition - lastCursorPosition - () - - - lastPosition - lastPosition - () - - - parentFrame - parentFrame - () - - - setFrameFormat - setFrameFormat - ( const QTextFrameFormat & format ) - - - - QTextFrameFormat - qtextframeformat.html - - BorderStyle - BorderStyle-enum - - - - Position - Position-enum - - - - QTextFrameFormat - QTextFrameFormat - () - - - border - border - () - - - borderBrush - borderBrush - () - - - borderStyle - borderStyle - () - - - bottomMargin - bottomMargin - () - - - height - height - () - - - isValid - isValid - () - - - leftMargin - leftMargin - () - - - margin - margin - () - - - padding - padding - () - - - pageBreakPolicy - pageBreakPolicy - () - - - position - position - () - - - rightMargin - rightMargin - () - - - setBorder - setBorder - ( qreal width ) - - - setBorderBrush - setBorderBrush - ( const QBrush & brush ) - - - setBorderStyle - setBorderStyle - ( BorderStyle style ) - - - setBottomMargin - setBottomMargin - ( qreal margin ) - - - setHeight - setHeight - ( const QTextLength & height ) - - - setHeight - setHeight-2 - ( qreal height ) - - - setLeftMargin - setLeftMargin - ( qreal margin ) - - - setMargin - setMargin - ( qreal margin ) - - - setPadding - setPadding - ( qreal width ) - - - setPageBreakPolicy - setPageBreakPolicy - ( PageBreakFlags policy ) - - - setPosition - setPosition - ( Position policy ) - - - setRightMargin - setRightMargin - ( qreal margin ) - - - setTopMargin - setTopMargin - ( qreal margin ) - - - setWidth - setWidth - ( const QTextLength & width ) - - - setWidth - setWidth-2 - ( qreal width ) - - - topMargin - topMargin - () - - - width - width - () - - - - QTextImageFormat - qtextimageformat.html - - QTextImageFormat - QTextImageFormat - () - - - height - height - () - - - isValid - isValid - () - - - name - name - () - - - setHeight - setHeight - ( qreal height ) - - - setName - setName - ( const QString & name ) - - - setWidth - setWidth - ( qreal width ) - - - width - width - () - - - - QTextInlineObject - qtextinlineobject.html - - QTextInlineObject - QTextInlineObject - ( int i, QTextEngine * e ) - - - ascent - ascent - () - - - descent - descent - () - - - format - format - () - - - formatIndex - formatIndex - () - - - height - height - () - - - isValid - isValid - () - - - rect - rect - () - - - setAscent - setAscent - ( qreal a ) - - - setDescent - setDescent - ( qreal d ) - - - setWidth - setWidth - ( qreal w ) - - - LayoutDirection - textDirection - QTextInlineObject::textDirection() - - - textPosition - textPosition - () - - - width - width - () - - - - QTextIStream - qtextistream.html - - QTextIStream - QTextIStream - ( const QString * string ) - - - QTextIStream - QTextIStream-2 - ( QByteArray * byteArray ) - - - QTextIStream - QTextIStream-3 - ( FILE * file ) - - - - QTextLayout::FormatRange - qtextlayout-formatrange.html - - format - format-var - - - - length - length-var - - - - start - start-var - - - - - QTextLayout - qtextlayout.html - - CursorMode - CursorMode-enum - - - - QTextLayout - QTextLayout - () - - - QTextLayout - QTextLayout-2 - ( const QString & text ) - - - QTextLayout - QTextLayout-3 - ( const QString & text, const QFont & font, QPaintDevice * paintdevice = 0 ) - - - additionalFormats - additionalFormats - () - - - beginLayout - beginLayout - () - - - boundingRect - boundingRect - () - - - cacheEnabled - cacheEnabled - () - - - clearAdditionalFormats - clearAdditionalFormats - () - - - createLine - createLine - () - - - draw - draw - ( QPainter * p, const QPointF & pos, const QVector<FormatRange> & selections = QVector<FormatRange>() - - - drawCursor - drawCursor - ( QPainter * painter, const QPointF & position, int cursorPosition, int width ) - - - drawCursor - drawCursor-2 - ( QPainter * painter, const QPointF & position, int cursorPosition ) - - - endLayout - endLayout - () - - - font - font - () - - - isValidCursorPosition - isValidCursorPosition - ( int pos ) - - - lineAt - lineAt - ( int i ) - - - lineCount - lineCount - () - - - lineForTextPosition - lineForTextPosition - ( int pos ) - - - maximumWidth - maximumWidth - () - - - minimumWidth - minimumWidth - () - - - nextCursorPosition - nextCursorPosition - ( int oldPos, CursorMode mode = SkipCharacters ) - - - position - position - () - - - preeditAreaPosition - preeditAreaPosition - () - - - preeditAreaText - preeditAreaText - () - - - previousCursorPosition - previousCursorPosition - ( int oldPos, CursorMode mode = SkipCharacters ) - - - setAdditionalFormats - setAdditionalFormats - ( const QList<FormatRange> & formatList ) - - - setCacheEnabled - setCacheEnabled - ( bool enable ) - - - setFont - setFont - ( const QFont & font ) - - - setPosition - setPosition - ( const QPointF & p ) - - - setPreeditArea - setPreeditArea - ( int position, const QString & text ) - - - setText - setText - ( const QString & string ) - - - setTextOption - setTextOption - ( const QTextOption & option ) - - - text - text - () - - - textOption - textOption - () - - - - QTextLength - qtextlength.html - - Type - Type-enum - - - - QTextLength - QTextLength - () - - - QTextLength - QTextLength-2 - ( Type type, qreal value ) - - - rawValue - rawValue - () - - - type - type - () - - - value - value - ( qreal maximumLength ) - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QTextLength & other ) - - - operator== - operator-eq-eq - ( const QTextLength & other ) - - - - QTextLine - qtextline.html - - CursorPosition - CursorPosition-enum - - - - Edge - Edge-enum - - - - QTextLine - QTextLine - () - - - ascent - ascent - () - - - cursorToX - cursorToX - ( int * cursorPos, Edge edge = Leading ) - - - cursorToX - cursorToX-2 - ( int cursorPos, Edge edge = Leading ) - - - descent - descent - () - - - draw - draw - ( QPainter * painter, const QPointF & position, const QTextLayout::FormatRange * selection = 0 ) - - - height - height - () - - - isValid - isValid - () - - - lineNumber - lineNumber - () - - - naturalTextRect - naturalTextRect - () - - - naturalTextWidth - naturalTextWidth - () - - - position - position - () - - - rect - rect - () - - - setLineWidth - setLineWidth - ( qreal width ) - - - setNumColumns - setNumColumns - ( int numColumns ) - - - setNumColumns - setNumColumns-2 - ( int numColumns, qreal alignmentWidth ) - - - setPosition - setPosition - ( const QPointF & pos ) - - - textLength - textLength - () - - - textStart - textStart - () - - - width - width - () - - - x - x - () - - - xToCursor - xToCursor - ( qreal x, CursorPosition cpos = CursorBetweenCharacters ) - - - y - y - () - - - isEmpty - isEmpty - () - - - - QTextList - qtextlist.html - - add - add - ( const QTextBlock & block ) - - - count - count - () - - - format - format - () - - - item - item - ( int i ) - - - itemNumber - itemNumber - ( const QTextBlock & block ) - - - itemText - itemText - ( const QTextBlock & block ) - - - remove - remove - ( const QTextBlock & block ) - - - removeItem - removeItem - ( int i ) - - - setFormat - setFormat - ( const QTextListFormat & format ) - - - - QTextListFormat - qtextlistformat.html - - Style - Style-enum - - - - QTextListFormat - QTextListFormat - () - - - indent - indent - () - - - isValid - isValid - () - - - setIndent - setIndent - ( int indentation ) - - - setStyle - setStyle - ( Style style ) - - - style - style - () - - - - QTextObject - qtextobject.html - - QTextObject - QTextObject - ( QTextDocument * document ) - - - document - document - () - - - format - format - () - - - formatIndex - formatIndex - () - - - objectIndex - objectIndex - () - - - setFormat - setFormat - ( const QTextFormat & format ) - - - - QTextOption - qtextoption.html - - WrapMode - WrapMode-enum - - - - QTextOption - QTextOption - () - - - QTextOption - QTextOption-2 - ( Qt::Alignment alignment ) - - - QTextOption - QTextOption-3 - ( const QTextOption & other ) - - - Alignment - alignment - QTextOption::alignment() - - - flags - flags - () - - - setAlignment - setAlignment - ( Qt::Alignment alignment ) - - - setFlags - setFlags - ( Flags flags ) - - - setTabArray - setTabArray - ( QList<qreal> tabStops ) - - - setTabStop - setTabStop - ( qreal tabStop ) - - - setTextDirection - setTextDirection - ( Qt::LayoutDirection direction ) - - - setUseDesignMetrics - setUseDesignMetrics - ( bool enable ) - - - setWrapMode - setWrapMode - ( WrapMode mode ) - - - tabArray - tabArray - () - - - tabStop - tabStop - () - - - LayoutDirection - textDirection - QTextOption::textDirection() - - - useDesignMetrics - useDesignMetrics - () - - - wrapMode - wrapMode - () - - - operator= - operator-eq - ( const QTextOption & other ) - - - - QTextOStream - qtextostream.html - - QTextOStream - QTextOStream - ( QString * string ) - - - QTextOStream - QTextOStream-2 - ( QByteArray * byteArray ) - - - QTextOStream - QTextOStream-3 - ( FILE * file ) - - - Encoding - Encoding-enum - - - - fill - fill - ( int f ) - - - flags - flags - () - - - flags - flags-2 - ( int f ) - - - precision - precision - ( int p ) - - - read - read-2 - () - - - setEncoding - setEncoding - ( Encoding encoding ) - - - setf - setf - ( int bits ) - - - setf - setf-2 - ( int bits, int mask ) - - - unsetDevice - unsetDevice - () - - - unsetf - unsetf - ( int bits ) - - - width - width - ( int w ) - - - adjustfield - adjustfield-var - - - - basefield - basefield-var - - - - bin - bin-var - - - - dec - dec-var - - - - fixed - fixed-var - - - - floatfield - floatfield-var - - - - hex - hex-var - - - - internal - internal-var - - - - left - left-var - - - - oct - oct-var - - - - right - right-var - - - - scientific - scientific-var - - - - showbase - showbase-var - - - - showpoint - showpoint-var - - - - showpos - showpos-var - - - - skipws - skipws-var - - - - uppercase - uppercase-var - - - - - QTextStream - qtextstream.html - - FieldAlignment - FieldAlignment-enum - - - - RealNumberNotation - RealNumberNotation-enum - - - - Status - Status-enum - - - - QTextStream - QTextStream - () - - - QTextStream - QTextStream-2 - ( QIODevice * device ) - - - QTextStream - QTextStream-3 - ( FILE * fileHandle, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - - - QTextStream - QTextStream-4 - ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - - - QTextStream - QTextStream-5 - ( QByteArray * array, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - - - QTextStream - QTextStream-6 - ( const QByteArray & array, QIODevice::OpenMode openMode = QIODevice::ReadOnly ) - - - atEnd - atEnd - () - - - autoDetectUnicode - autoDetectUnicode - () - - - codec - codec - () - - - device - device - () - - - fieldAlignment - fieldAlignment - () - - - fieldWidth - fieldWidth - () - - - flush - flush - () - - - generateByteOrderMark - generateByteOrderMark - () - - - integerBase - integerBase - () - - - numberFlags - numberFlags - () - - - padChar - padChar - () - - - pos - pos - () - - - read - read - ( qint64 maxlen ) - - - readAll - readAll - () - - - readLine - readLine - ( qint64 maxlen = 0 ) - - - realNumberNotation - realNumberNotation - () - - - realNumberPrecision - realNumberPrecision - () - - - reset - reset - () - - - resetStatus - resetStatus - () - - - seek - seek - ( qint64 pos ) - - - setAutoDetectUnicode - setAutoDetectUnicode - ( bool enabled ) - - - setCodec - setCodec - ( QTextCodec * codec ) - - - setCodec - setCodec-2 - ( const char * codecName ) - - - setDevice - setDevice - ( QIODevice * device ) - - - setFieldAlignment - setFieldAlignment - ( FieldAlignment mode ) - - - setFieldWidth - setFieldWidth - ( int width ) - - - setGenerateByteOrderMark - setGenerateByteOrderMark - ( bool generate ) - - - setIntegerBase - setIntegerBase - ( int base ) - - - setNumberFlags - setNumberFlags - ( NumberFlags flags ) - - - setPadChar - setPadChar - ( QChar ch ) - - - setRealNumberNotation - setRealNumberNotation - ( RealNumberNotation notation ) - - - setRealNumberPrecision - setRealNumberPrecision - ( int precision ) - - - setStatus - setStatus - ( Status status ) - - - setString - setString - ( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ) - - - skipWhiteSpace - skipWhiteSpace - () - - - status - status - () - - - string - string - () - - - operator<< - operator-lt-lt - ( QChar c ) - - - operator<< - operator-lt-lt-2 - ( signed short i ) - - - operator<< - operator-lt-lt-3 - ( float f ) - - - operator<< - operator-lt-lt-4 - ( const QString & string ) - - - operator<< - operator-lt-lt-6 - ( char c ) - - - operator<< - operator-lt-lt-7 - ( unsigned short i ) - - - operator<< - operator-lt-lt-8 - ( signed int i ) - - - operator<< - operator-lt-lt-9 - ( unsigned int i ) - - - operator<< - operator-lt-lt-10 - ( signed long i ) - - - operator<< - operator-lt-lt-11 - ( unsigned long i ) - - - operator<< - operator-lt-lt-12 - ( qlonglong i ) - - - operator<< - operator-lt-lt-13 - ( qulonglong i ) - - - operator<< - operator-lt-lt-14 - ( double f ) - - - operator<< - operator-lt-lt-15 - ( const QByteArray & array ) - - - operator<< - operator-lt-lt-16 - ( const char * string ) - - - operator<< - operator-lt-lt-17 - ( const void * ptr ) - - - operator>> - operator-gt-gt - ( QChar & c ) - - - operator>> - operator-gt-gt-2 - ( signed short & i ) - - - operator>> - operator-gt-gt-3 - ( float & f ) - - - operator>> - operator-gt-gt-4 - ( QString & str ) - - - operator>> - operator-gt-gt-5 - ( char & c ) - - - operator>> - operator-gt-gt-6 - ( unsigned short & i ) - - - operator>> - operator-gt-gt-7 - ( signed int & i ) - - - operator>> - operator-gt-gt-8 - ( unsigned int & i ) - - - operator>> - operator-gt-gt-9 - ( signed long & i ) - - - operator>> - operator-gt-gt-10 - ( unsigned long & i ) - - - operator>> - operator-gt-gt-11 - ( qlonglong & i ) - - - operator>> - operator-gt-gt-12 - ( qulonglong & i ) - - - operator>> - operator-gt-gt-13 - ( double & f ) - - - operator>> - operator-gt-gt-14 - ( QByteArray & array ) - - - operator>> - operator-gt-gt-15 - ( char * c ) - - - Encoding - Encoding-enum - - - - fill - fill - ( int f ) - - - flags - flags - () - - - flags - flags-2 - ( int f ) - - - precision - precision - ( int p ) - - - read - read-2 - () - - - setEncoding - setEncoding - ( Encoding encoding ) - - - setf - setf - ( int bits ) - - - setf - setf-2 - ( int bits, int mask ) - - - unsetDevice - unsetDevice - () - - - unsetf - unsetf - ( int bits ) - - - width - width - ( int w ) - - - adjustfield - adjustfield-var - - - - basefield - basefield-var - - - - bin - bin-var - - - - dec - dec-var - - - - fixed - fixed-var - - - - floatfield - floatfield-var - - - - hex - hex-var - - - - internal - internal-var - - - - left - left-var - - - - oct - oct-var - - - - right - right-var - - - - scientific - scientific-var - - - - showbase - showbase-var - - - - showpoint - showpoint-var - - - - showpos - showpos-var - - - - skipws - skipws-var - - - - uppercase - uppercase-var - - - - - QTextTable - qtexttable.html - - cellAt - cellAt - ( int row, int column ) - - - cellAt - cellAt-2 - ( int position ) - - - cellAt - cellAt-3 - ( const QTextCursor & cursor ) - - - columns - columns - () - - - format - format - () - - - insertColumns - insertColumns - ( int index, int columns ) - - - insertRows - insertRows - ( int index, int rows ) - - - mergeCells - mergeCells - ( int row, int column, int numRows, int numCols ) - - - mergeCells - mergeCells-2 - ( const QTextCursor & cursor ) - - - removeColumns - removeColumns - ( int index, int columns ) - - - removeRows - removeRows - ( int index, int rows ) - - - resize - resize - ( int rows, int columns ) - - - rowEnd - rowEnd - ( const QTextCursor & cursor ) - - - rowStart - rowStart - ( const QTextCursor & cursor ) - - - rows - rows - () - - - setFormat - setFormat - ( const QTextTableFormat & format ) - - - splitCell - splitCell - ( int row, int column, int numRows, int numCols ) - - - - QTextTableCell - qtexttablecell.html - - QTextTableCell - QTextTableCell - () - - - QTextTableCell - QTextTableCell-2 - ( const QTextTableCell & other ) - - - iterator - begin - QTextTableCell::begin() - - - column - column - () - - - columnSpan - columnSpan - () - - - iterator - end - QTextTableCell::end() - - - firstCursorPosition - firstCursorPosition - () - - - format - format - () - - - isValid - isValid - () - - - lastCursorPosition - lastCursorPosition - () - - - row - row - () - - - rowSpan - rowSpan - () - - - setFormat - setFormat - ( const QTextCharFormat & format ) - - - operator!= - operator-not-eq - ( const QTextTableCell & other ) - - - operator= - operator-eq - ( const QTextTableCell & other ) - - - operator== - operator-eq-eq - ( const QTextTableCell & other ) - - - - QTextTableFormat - qtexttableformat.html - - QTextTableFormat - QTextTableFormat - () - - - Alignment - alignment - QTextTableFormat::alignment() - - - cellPadding - cellPadding - () - - - cellSpacing - cellSpacing - () - - - clearColumnWidthConstraints - clearColumnWidthConstraints - () - - - columnWidthConstraints - columnWidthConstraints - () - - - columns - columns - () - - - headerRowCount - headerRowCount - () - - - isValid - isValid - () - - - setAlignment - setAlignment - ( Qt::Alignment alignment ) - - - setCellPadding - setCellPadding - ( qreal padding ) - - - setCellSpacing - setCellSpacing - ( qreal spacing ) - - - setColumnWidthConstraints - setColumnWidthConstraints - ( const QVector<QTextLength> & constraints ) - - - setHeaderRowCount - setHeaderRowCount - ( int count ) - - - finished - finished-2 - () - - - running - running - () - - - - QThread - qthread.html - - Priority - Priority-enum - - - - QThread - QThread - ( QObject * parent = 0 ) - - - currentThread - currentThread - () - - - HANDLE - currentThreadId - QThread::currentThreadId() - - - exec - exec - () - - - exit - exit - ( int returnCode = 0 ) - - - finished - finished - () - - - idealThreadCount - idealThreadCount - () - - - isFinished - isFinished - () - - - isRunning - isRunning - () - - - msleep - msleep - ( unsigned long msecs ) - - - priority - priority - () - - - quit - quit - () - - - run - run - () - - - setPriority - setPriority - ( Priority priority ) - - - setStackSize - setStackSize - ( uint stackSize ) - - - setTerminationEnabled - setTerminationEnabled - ( bool enabled = true ) - - - sleep - sleep - ( unsigned long secs ) - - - stackSize - stackSize - () - - - start - start - ( Priority priority = InheritPriority ) - - - started - started - () - - - terminate - terminate - () - - - terminated - terminated - () - - - usleep - usleep - ( unsigned long usecs ) - - - wait - wait - ( unsigned long time = ULONG_MAX ) - - - finished - finished-2 - () - - - running - running - () - - - - QThreadStorage - qthreadstorage.html - - QThreadStorage - QThreadStorage - () - - - hasLocalData - hasLocalData - () - - - localData - localData - () - - - localData - localData-2 - () - - - setLocalData - setLocalData - ( T data ) - - - currentTime - currentTime-2 - ( Qt::TimeSpec specification ) - - - - QTime - qtime.html - - QTime - QTime - () - - - QTime - QTime-2 - ( int h, int m, int s = 0, int ms = 0 ) - - - addMSecs - addMSecs - ( int ms ) - - - addSecs - addSecs - ( int s ) - - - currentTime - currentTime - () - - - elapsed - elapsed - () - - - fromString - fromString - ( const QString & string, Qt::DateFormat format = Qt::TextDate ) - - - fromString - fromString-2 - ( const QString & string, const QString & format ) - - - hour - hour - () - - - isNull - isNull - () - - - isValid - isValid - () - - - isValid - isValid-2 - ( int h, int m, int s, int ms = 0 ) - - - minute - minute - () - - - msec - msec - () - - - msecsTo - msecsTo - ( const QTime & t ) - - - restart - restart - () - - - second - second - () - - - secsTo - secsTo - ( const QTime & t ) - - - setHMS - setHMS - ( int h, int m, int s, int ms = 0 ) - - - start - start - () - - - toString - toString - ( const QString & format ) - - - toString - toString-2 - ( Qt::DateFormat f = Qt::TextDate ) - - - operator!= - operator-not-eq - ( const QTime & t ) - - - operator< - operator-lt - ( const QTime & t ) - - - operator<= - operator-lt-eq - ( const QTime & t ) - - - operator== - operator-eq-eq - ( const QTime & t ) - - - operator> - operator-gt - ( const QTime & t ) - - - operator>= - operator-gt-eq - ( const QTime & t ) - - - currentTime - currentTime-2 - ( Qt::TimeSpec specification ) - - - - QTimeEdit - qtimeedit.html - - QTimeEdit - QTimeEdit - ( QWidget * parent = 0 ) - - - QTimeEdit - QTimeEdit-2 - ( const QTime & time, QWidget * parent = 0 ) - - - - QTimeLine - qtimeline.html - - CurveShape - CurveShape-enum - - - - Direction - Direction-enum - - - - State - State-enum - - - - QTimeLine - QTimeLine - ( int duration = 1000, QObject * parent = 0 ) - - - currentFrame - currentFrame - () - - - currentValue - currentValue - () - - - endFrame - endFrame - () - - - finished - finished - () - - - frameChanged - frameChanged - ( int frame ) - - - frameForTime - frameForTime - ( int msec ) - - - resume - resume - () - - - setEndFrame - setEndFrame - ( int frame ) - - - setFrameRange - setFrameRange - ( int startFrame, int endFrame ) - - - setPaused - setPaused - ( bool paused ) - - - setStartFrame - setStartFrame - ( int frame ) - - - start - start - () - - - startFrame - startFrame - () - - - state - state - () - - - stateChanged - stateChanged - ( QTimeLine::State newState ) - - - stop - stop - () - - - toggleDirection - toggleDirection - () - - - valueChanged - valueChanged - ( qreal value ) - - - valueForTime - valueForTime - ( int msec ) - - - QTimer - QTimer-2 - ( QObject * parent, const char * name ) - - - changeInterval - changeInterval - ( int msec ) - - - start - start-3 - ( int msec, bool sshot ) - - - - QTimer - qtimer.html - - QTimer - QTimer - ( QObject * parent = 0 ) - - - singleShot - singleShot - ( int msec, QObject * receiver, const char * member ) - - - start - start - ( int msec ) - - - start - start-2 - () - - - stop - stop - () - - - timeout - timeout - () - - - timerId - timerId - () - - - QTimer - QTimer-2 - ( QObject * parent, const char * name ) - - - changeInterval - changeInterval - ( int msec ) - - - start - start-3 - ( int msec, bool sshot ) - - - - QTimerEvent - qtimerevent.html - - QTimerEvent - QTimerEvent - ( int timerId ) - - - timerId - timerId - () - - - QToolBar - QToolBar-3 - ( QWidget * parent, const char * name ) - - - label - label - () - - - setLabel - setLabel - ( const QString & label ) - - - - QToolBar - qtoolbar.html - - ToolBarAreas - allowedAreas-prop - - - - Orientation - orientation-prop - - - - ToolButtonStyle - toolButtonStyle-prop - - - - QToolBar - QToolBar - ( const QString & title, QWidget * parent = 0 ) - - - QToolBar - QToolBar-2 - ( QWidget * parent = 0 ) - - - actionAt - actionAt - ( const QPoint & p ) - - - actionAt - actionAt-2 - ( int x, int y ) - - - actionTriggered - actionTriggered - ( QAction * action ) - - - addAction - addAction - ( const QString & text ) - - - addAction - addAction-2 - ( const QIcon & icon, const QString & text ) - - - addAction - addAction-3 - ( const QString & text, const QObject * receiver, const char * member ) - - - addAction - addAction-4 - ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member ) - - - addSeparator - addSeparator - () - - - addWidget - addWidget - ( QWidget * widget ) - - - allowedAreasChanged - allowedAreasChanged - ( Qt::ToolBarAreas allowedAreas ) - - - clear - clear - () - - - iconSizeChanged - iconSizeChanged - ( const QSize & iconSize ) - - - insertSeparator - insertSeparator - ( QAction * before ) - - - insertWidget - insertWidget - ( QAction * before, QWidget * widget ) - - - isAreaAllowed - isAreaAllowed - ( Qt::ToolBarArea area ) - - - movableChanged - movableChanged - ( bool movable ) - - - orientationChanged - orientationChanged - ( Qt::Orientation orientation ) - - - toggleViewAction - toggleViewAction - () - - - toolButtonStyleChanged - toolButtonStyleChanged - ( Qt::ToolButtonStyle toolButtonStyle ) - - - widgetForAction - widgetForAction - ( QAction * action ) - - - QToolBar - QToolBar-3 - ( QWidget * parent, const char * name ) - - - label - label - () - - - setLabel - setLabel - ( const QString & label ) - - - QToolBox - QToolBox-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - currentItem - currentItem - () - - - item - item - ( int index ) - - - itemIconSet - itemIconSet - ( int index ) - - - itemLabel - itemLabel - ( int index ) - - - margin - margin - () - - - removeItem - removeItem-2 - ( QWidget * widget ) - - - setCurrentItem - setCurrentItem - ( QWidget * widget ) - - - setItemIconSet - setItemIconSet - ( int index, const QIcon & icon ) - - - setItemLabel - setItemLabel - ( int index, const QString & text ) - - - setMargin - setMargin - ( int margin ) - - - - QToolBox - qtoolbox.html - - QToolBox - QToolBox - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - addItem - addItem - ( QWidget * widget, const QIcon & iconSet, const QString & text ) - - - addItem - addItem-2 - ( QWidget * w, const QString & text ) - - - currentChanged - currentChanged - ( int index ) - - - currentWidget - currentWidget - () - - - indexOf - indexOf - ( QWidget * widget ) - - - insertItem - insertItem - ( int index, QWidget * widget, const QIcon & icon, const QString & text ) - - - insertItem - insertItem-2 - ( int index, QWidget * widget, const QString & text ) - - - isItemEnabled - isItemEnabled - ( int index ) - - - itemIcon - itemIcon - ( int index ) - - - itemInserted - itemInserted - ( int index ) - - - itemRemoved - itemRemoved - ( int index ) - - - itemText - itemText - ( int index ) - - - itemToolTip - itemToolTip - ( int index ) - - - removeItem - removeItem - ( int index ) - - - setCurrentWidget - setCurrentWidget - ( QWidget * widget ) - - - setItemEnabled - setItemEnabled - ( int index, bool enabled ) - - - setItemIcon - setItemIcon - ( int index, const QIcon & icon ) - - - setItemText - setItemText - ( int index, const QString & text ) - - - setItemToolTip - setItemToolTip - ( int index, const QString & toolTip ) - - - widget - widget - ( int index ) - - - QToolBox - QToolBox-2 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - currentItem - currentItem - () - - - item - item - ( int index ) - - - itemIconSet - itemIconSet - ( int index ) - - - itemLabel - itemLabel - ( int index ) - - - margin - margin - () - - - removeItem - removeItem-2 - ( QWidget * widget ) - - - setCurrentItem - setCurrentItem - ( QWidget * widget ) - - - setItemIconSet - setItemIconSet - ( int index, const QIcon & icon ) - - - setItemLabel - setItemLabel - ( int index, const QString & text ) - - - setMargin - setMargin - ( int margin ) - - - TextPosition - TextPosition-enum - - - - QToolButton - QToolButton-3 - ( QWidget * parent, const char * name ) - - - QToolButton - QToolButton-4 - ( Qt::ArrowType type, QWidget * parent, const char * name ) - - - QToolButton - QToolButton-5 - ( const QIcon & icon, const QString & textLabel, const QString & statusTip, QObject * receiver, const char * slot, QWidget * parent, const char * name = 0 ) - - - iconSet - iconSet - () - - - iconSet - iconSet-2 - ( bool on ) - - - offIconSet - offIconSet - () - - - onIconSet - onIconSet - () - - - openPopup - openPopup - () - - - popup - popup - () - - - popupDelay - popupDelay - () - - - setIconSet - setIconSet - ( const QIcon & icon ) - - - setIconSet - setIconSet-2 - ( const QIcon & set, bool on ) - - - setOffIconSet - setOffIconSet - ( const QIcon & set ) - - - setOnIconSet - setOnIconSet - ( const QIcon & set ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - setPopup - setPopup - ( QMenu * popup ) - - - setPopupDelay - setPopupDelay - ( int delay ) - - - setTextLabel - setTextLabel - ( const QString & text, bool tooltip = true ) - - - setTextPosition - setTextPosition - ( QToolButton::TextPosition pos ) - - - setUsesBigPixmap - setUsesBigPixmap - ( bool enable ) - - - setUsesTextLabel - setUsesTextLabel - ( bool enable ) - - - textLabel - textLabel - () - - - textPosition - textPosition - () - - - usesBigPixmap - usesBigPixmap - () - - - usesTextLabel - usesTextLabel - () - - - - QToolButton - qtoolbutton.html - - ToolButtonPopupMode - ToolButtonPopupMode-enum - - - - ArrowType - arrowType-prop - - - - ToolButtonStyle - toolButtonStyle-prop - - - - QToolButton - QToolButton - ( QWidget * parent = 0 ) - - - defaultAction - defaultAction - () - - - initStyleOption - initStyleOption - ( QStyleOptionToolButton * option ) - - - menu - menu - () - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - setDefaultAction - setDefaultAction - ( QAction * action ) - - - setMenu - setMenu - ( QMenu * menu ) - - - showMenu - showMenu - () - - - triggered - triggered - ( QAction * action ) - - - TextPosition - TextPosition-enum - - - - QToolButton - QToolButton-3 - ( QWidget * parent, const char * name ) - - - QToolButton - QToolButton-4 - ( Qt::ArrowType type, QWidget * parent, const char * name ) - - - QToolButton - QToolButton-5 - ( const QIcon & icon, const QString & textLabel, const QString & statusTip, QObject * receiver, const char * slot, QWidget * parent, const char * name = 0 ) - - - iconSet - iconSet - () - - - iconSet - iconSet-2 - ( bool on ) - - - offIconSet - offIconSet - () - - - onIconSet - onIconSet - () - - - openPopup - openPopup - () - - - popup - popup - () - - - popupDelay - popupDelay - () - - - setIconSet - setIconSet - ( const QIcon & icon ) - - - setIconSet - setIconSet-2 - ( const QIcon & set, bool on ) - - - setOffIconSet - setOffIconSet - ( const QIcon & set ) - - - setOnIconSet - setOnIconSet - ( const QIcon & set ) - - - setPixmap - setPixmap - ( const QPixmap & pixmap ) - - - setPopup - setPopup - ( QMenu * popup ) - - - setPopupDelay - setPopupDelay - ( int delay ) - - - setTextLabel - setTextLabel - ( const QString & text, bool tooltip = true ) - - - setTextPosition - setTextPosition - ( QToolButton::TextPosition pos ) - - - setUsesBigPixmap - setUsesBigPixmap - ( bool enable ) - - - setUsesTextLabel - setUsesTextLabel - ( bool enable ) - - - textLabel - textLabel - () - - - textPosition - textPosition - () - - - usesBigPixmap - usesBigPixmap - () - - - usesTextLabel - usesTextLabel - () - - - add - add - ( QWidget * widget, const QString & text ) - - - add - add-2 - ( QWidget * widget, const QRect & rect, const QString & text ) - - - remove - remove - ( QWidget * widget ) - - - - QToolTip - qtooltip.html - - font - font - () - - - hideText - hideText - () - - - palette - palette - () - - - setFont - setFont - ( const QFont & font ) - - - setPalette - setPalette - ( const QPalette & palette ) - - - showText - showText - ( const QPoint & pos, const QString & text, QWidget * w, const QRect & rect ) - - - showText - showText-2 - ( const QPoint & pos, const QString & text, QWidget * w = 0 ) - - - add - add - ( QWidget * widget, const QString & text ) - - - add - add-2 - ( QWidget * widget, const QRect & rect, const QString & text ) - - - remove - remove - ( QWidget * widget ) - - - - QTransform - qtransform.html - - TransformationType - TransformationType-enum - - - - QTransform - QTransform - () - - - QTransform - QTransform-2 - ( qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0 ) - - - QTransform - QTransform-3 - ( qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy ) - - - QTransform - QTransform-4 - ( const QMatrix & matrix ) - - - m11 - m11 - () - - - m12 - m12 - () - - - m13 - m13 - () - - - m21 - m21 - () - - - m22 - m22 - () - - - m23 - m23 - () - - - m31 - m31 - () - - - m32 - m32 - () - - - m33 - m33 - () - - - adjoint - adjoint - () - - - det - det - () - - - determinant - determinant - () - - - dx - dx - () - - - dy - dy - () - - - inverted - inverted - ( bool * invertible = 0 ) - - - isAffine - isAffine - () - - - isIdentity - isIdentity - () - - - isInvertible - isInvertible - () - - - isRotating - isRotating - () - - - isScaling - isScaling - () - - - isTranslating - isTranslating - () - - - map - map - ( qreal x, qreal y, qreal * tx, qreal * ty ) - - - map - map-2 - ( const QPointF & p ) - - - map - map-3 - ( const QPoint & point ) - - - map - map-4 - ( const QLine & l ) - - - map - map-5 - ( const QLineF & line ) - - - map - map-6 - ( const QPolygonF & polygon ) - - - map - map-7 - ( const QPolygon & polygon ) - - - map - map-8 - ( const QRegion & region ) - - - map - map-9 - ( const QPainterPath & path ) - - - map - map-10 - ( int x, int y, int * tx, int * ty ) - - - mapRect - mapRect - ( const QRectF & rectangle ) - - - mapRect - mapRect-2 - ( const QRect & rectangle ) - - - mapToPolygon - mapToPolygon - ( const QRect & rectangle ) - - - quadToQuad - quadToQuad - ( const QPolygonF & one, const QPolygonF & two, QTransform & trans ) - - - quadToSquare - quadToSquare - ( const QPolygonF & quad, QTransform & trans ) - - - reset - reset - () - - - rotate - rotate - ( qreal angle, Qt::Axis axis = Qt::ZAxis ) - - - rotateRadians - rotateRadians - ( qreal angle, Qt::Axis axis = Qt::ZAxis ) - - - scale - scale - ( qreal sx, qreal sy ) - - - setMatrix - setMatrix - ( qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 ) - - - shear - shear - ( qreal sh, qreal sv ) - - - squareToQuad - squareToQuad - ( const QPolygonF & quad, QTransform & trans ) - - - toAffine - toAffine - () - - - translate - translate - ( qreal dx, qreal dy ) - - - transposed - transposed - () - - - type - type - () - - - operator - operator-QVariant - QVariant() - - - operator!= - operator-not-eq - ( const QTransform & matrix ) - - - operator* - operator-2a - ( const QTransform & matrix ) - - - operator*= - operator-2a-eq - ( const QTransform & matrix ) - - - operator*= - operator-2a-eq-2 - ( qreal scalar ) - - - operator+= - operator-2b-eq - ( qreal scalar ) - - - operator-= - operator--eq - ( qreal scalar ) - - - operator/= - operator-2f-eq - ( qreal scalar ) - - - operator= - operator-eq - ( const QTransform & matrix ) - - - operator== - operator-eq-eq - ( const QTransform & matrix ) - - - QTranslator - QTranslator-2 - ( QObject * parent, const char * name ) - - - find - find - ( const char * context, const char * sourceText, const char * comment = 0 ) - - - - QTranslator - qtranslator.html - - QTranslator - QTranslator - ( QObject * parent = 0 ) - - - isEmpty - isEmpty - () - - - load - load - ( const QString & filename, const QString & directory = QString() - - - load - load-2 - ( const uchar * data, int len ) - - - translate - translate - ( const char * context, const char * sourceText, const char * comment = 0 ) - - - translate - translate-2 - ( const char * context, const char * sourceText, const char * comment, int n ) - - - QTranslator - QTranslator-2 - ( QObject * parent, const char * name ) - - - find - find - ( const char * context, const char * sourceText, const char * comment = 0 ) - - - sortByColumn - sortByColumn-2 - ( int column ) - - - - QTreeView - qtreeview.html - - QTreeView - QTreeView - ( QWidget * parent = 0 ) - - - collapse - collapse - ( const QModelIndex & index ) - - - collapseAll - collapseAll - () - - - collapsed - collapsed - ( const QModelIndex & index ) - - - columnAt - columnAt - ( int x ) - - - columnCountChanged - columnCountChanged - ( int oldCount, int newCount ) - - - columnMoved - columnMoved - () - - - columnResized - columnResized - ( int column, int oldSize, int newSize ) - - - columnViewportPosition - columnViewportPosition - ( int column ) - - - columnWidth - columnWidth - ( int column ) - - - currentChanged - currentChanged - ( const QModelIndex & current, const QModelIndex & previous ) - - - drawBranches - drawBranches - ( QPainter * painter, const QRect & rect, const QModelIndex & index ) - - - drawRow - drawRow - ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) - - - drawTree - drawTree - ( QPainter * painter, const QRegion & region ) - - - expand - expand - ( const QModelIndex & index ) - - - expandAll - expandAll - () - - - expandToDepth - expandToDepth - ( int depth ) - - - expanded - expanded - ( const QModelIndex & index ) - - - header - header - () - - - hideColumn - hideColumn - ( int column ) - - - horizontalOffset - horizontalOffset - () - - - indexAbove - indexAbove - ( const QModelIndex & index ) - - - indexBelow - indexBelow - ( const QModelIndex & index ) - - - indexRowSizeHint - indexRowSizeHint - ( const QModelIndex & index ) - - - isColumnHidden - isColumnHidden - ( int column ) - - - isExpanded - isExpanded - ( const QModelIndex & index ) - - - isFirstColumnSpanned - isFirstColumnSpanned - ( int row, const QModelIndex & parent ) - - - isRowHidden - isRowHidden - ( int row, const QModelIndex & parent ) - - - moveCursor - moveCursor - ( CursorAction cursorAction, Qt::KeyboardModifiers modifiers ) - - - resizeColumnToContents - resizeColumnToContents - ( int column ) - - - rowHeight - rowHeight - ( const QModelIndex & index ) - - - rowsAboutToBeRemoved - rowsAboutToBeRemoved - ( const QModelIndex & parent, int start, int end ) - - - rowsInserted - rowsInserted - ( const QModelIndex & parent, int start, int end ) - - - rowsRemoved - rowsRemoved - ( const QModelIndex & parent, int start, int end ) - - - scrollContentsBy - scrollContentsBy - ( int dx, int dy ) - - - scrollTo - scrollTo - ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) - - - selectAll - selectAll - () - - - selectionChanged - selectionChanged - ( const QItemSelection & selected, const QItemSelection & deselected ) - - - setColumnHidden - setColumnHidden - ( int column, bool hide ) - - - setColumnWidth - setColumnWidth - ( int column, int width ) - - - setExpanded - setExpanded - ( const QModelIndex & index, bool expanded ) - - - setFirstColumnSpanned - setFirstColumnSpanned - ( int row, const QModelIndex & parent, bool span ) - - - setHeader - setHeader - ( QHeaderView * header ) - - - setRowHidden - setRowHidden - ( int row, const QModelIndex & parent, bool hide ) - - - setSelection - setSelection - ( const QRect & rect, QItemSelectionModel::SelectionFlags command ) - - - showColumn - showColumn - ( int column ) - - - sizeHintForColumn - sizeHintForColumn - ( int column ) - - - sortByColumn - sortByColumn - ( int column, Qt::SortOrder order ) - - - verticalOffset - verticalOffset - () - - - visualRect - visualRect - ( const QModelIndex & index ) - - - visualRegionForSelection - visualRegionForSelection - ( const QItemSelection & selection ) - - - isItemExpanded - isItemExpanded - ( const QTreeWidgetItem * item ) - - - isItemHidden - isItemHidden - ( const QTreeWidgetItem * item ) - - - isItemSelected - isItemSelected - ( const QTreeWidgetItem * item ) - - - items - items - ( const QMimeData * data ) - - - setItemExpanded - setItemExpanded - ( const QTreeWidgetItem * item, bool expand ) - - - setItemHidden - setItemHidden - ( const QTreeWidgetItem * item, bool hide ) - - - setItemSelected - setItemSelected - ( const QTreeWidgetItem * item, bool select ) - - - - QTreeWidget - qtreewidget.html - - QTreeWidget - QTreeWidget - ( QWidget * parent = 0 ) - - - addTopLevelItem - addTopLevelItem - ( QTreeWidgetItem * item ) - - - addTopLevelItems - addTopLevelItems - ( const QList<QTreeWidgetItem *> & items ) - - - clear - clear - () - - - closePersistentEditor - closePersistentEditor - ( QTreeWidgetItem * item, int column = 0 ) - - - collapseItem - collapseItem - ( const QTreeWidgetItem * item ) - - - currentColumn - currentColumn - () - - - currentItem - currentItem - () - - - currentItemChanged - currentItemChanged - ( QTreeWidgetItem * current, QTreeWidgetItem * previous ) - - - dropMimeData - dropMimeData - ( QTreeWidgetItem * parent, int index, const QMimeData * data, Qt::DropAction action ) - - - editItem - editItem - ( QTreeWidgetItem * item, int column = 0 ) - - - expandItem - expandItem - ( const QTreeWidgetItem * item ) - - - findItems - findItems - ( const QString & text, Qt::MatchFlags flags, int column = 0 ) - - - headerItem - headerItem - () - - - indexFromItem - indexFromItem - ( QTreeWidgetItem * item, int column = 0 ) - - - indexOfTopLevelItem - indexOfTopLevelItem - ( QTreeWidgetItem * item ) - - - insertTopLevelItem - insertTopLevelItem - ( int index, QTreeWidgetItem * item ) - - - insertTopLevelItems - insertTopLevelItems - ( int index, const QList<QTreeWidgetItem *> & items ) - - - invisibleRootItem - invisibleRootItem - () - - - isFirstItemColumnSpanned - isFirstItemColumnSpanned - ( const QTreeWidgetItem * item ) - - - itemAbove - itemAbove - ( const QTreeWidgetItem * item ) - - - itemActivated - itemActivated - ( QTreeWidgetItem * item, int column ) - - - itemAt - itemAt - ( const QPoint & p ) - - - itemAt - itemAt-2 - ( int x, int y ) - - - itemBelow - itemBelow - ( const QTreeWidgetItem * item ) - - - itemChanged - itemChanged - ( QTreeWidgetItem * item, int column ) - - - itemClicked - itemClicked - ( QTreeWidgetItem * item, int column ) - - - itemCollapsed - itemCollapsed - ( QTreeWidgetItem * item ) - - - itemDoubleClicked - itemDoubleClicked - ( QTreeWidgetItem * item, int column ) - - - itemEntered - itemEntered - ( QTreeWidgetItem * item, int column ) - - - itemExpanded - itemExpanded - ( QTreeWidgetItem * item ) - - - itemFromIndex - itemFromIndex - ( const QModelIndex & index ) - - - itemPressed - itemPressed - ( QTreeWidgetItem * item, int column ) - - - itemSelectionChanged - itemSelectionChanged - () - - - itemWidget - itemWidget - ( QTreeWidgetItem * item, int column ) - - - mimeData - mimeData - ( const QList<QTreeWidgetItem *> items ) - - - mimeTypes - mimeTypes - () - - - openPersistentEditor - openPersistentEditor - ( QTreeWidgetItem * item, int column = 0 ) - - - removeItemWidget - removeItemWidget - ( QTreeWidgetItem * item, int column ) - - - scrollToItem - scrollToItem - ( const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) - - - selectedItems - selectedItems - () - - - setCurrentItem - setCurrentItem - ( QTreeWidgetItem * item ) - - - setCurrentItem - setCurrentItem-2 - ( QTreeWidgetItem * item, int column ) - - - setFirstItemColumnSpanned - setFirstItemColumnSpanned - ( const QTreeWidgetItem * item, bool span ) - - - setHeaderItem - setHeaderItem - ( QTreeWidgetItem * item ) - - - setHeaderLabel - setHeaderLabel - ( const QString & label ) - - - setHeaderLabels - setHeaderLabels - ( const QStringList & labels ) - - - setItemWidget - setItemWidget - ( QTreeWidgetItem * item, int column, QWidget * widget ) - - - sortColumn - sortColumn - () - - - sortItems - sortItems - ( int column, Qt::SortOrder order ) - - - DropActions - supportedDropActions - QTreeWidget::supportedDropActions() - - - takeTopLevelItem - takeTopLevelItem - ( int index ) - - - topLevelItem - topLevelItem - ( int index ) - - - visualItemRect - visualItemRect - ( const QTreeWidgetItem * item ) - - - backgroundColor - backgroundColor - ( int column ) - - - setBackgroundColor - setBackgroundColor - ( int column, const QColor & color ) - - - setTextColor - setTextColor - ( int column, const QColor & color ) - - - textColor - textColor - ( int column ) - - - - QTreeWidgetItem - qtreewidgetitem.html - - ChildIndicatorPolicy - ChildIndicatorPolicy-enum - - - - ItemType - ItemType-enum - - - - QTreeWidgetItem - QTreeWidgetItem - ( int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-2 - ( const QStringList & strings, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-3 - ( QTreeWidget * parent, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-4 - ( QTreeWidget * parent, const QStringList & strings, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-5 - ( QTreeWidget * parent, QTreeWidgetItem * preceding, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-6 - ( QTreeWidgetItem * parent, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-7 - ( QTreeWidgetItem * parent, const QStringList & strings, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-8 - ( QTreeWidgetItem * parent, QTreeWidgetItem * preceding, int type = Type ) - - - QTreeWidgetItem - QTreeWidgetItem-9 - ( const QTreeWidgetItem & other ) - - - addChild - addChild - ( QTreeWidgetItem * child ) - - - addChildren - addChildren - ( const QList<QTreeWidgetItem *> & children ) - - - background - background - ( int column ) - - - CheckState - checkState - QTreeWidgetItem::checkState( int column ) - - - child - child - ( int index ) - - - childCount - childCount - () - - - ChildIndicatorPolicy - childIndicatorPolicy - QTreeWidgetItem::childIndicatorPolicy() - - - clone - clone - () - - - columnCount - columnCount - () - - - data - data - ( int column, int role ) - - - ItemFlags - flags - QTreeWidgetItem::flags() - - - font - font - ( int column ) - - - foreground - foreground - ( int column ) - - - icon - icon - ( int column ) - - - indexOfChild - indexOfChild - ( QTreeWidgetItem * child ) - - - insertChild - insertChild - ( int index, QTreeWidgetItem * child ) - - - insertChildren - insertChildren - ( int index, const QList<QTreeWidgetItem *> & children ) - - - isDisabled - isDisabled - () - - - isExpanded - isExpanded - () - - - isFirstColumnSpanned - isFirstColumnSpanned - () - - - isHidden - isHidden - () - - - isSelected - isSelected - () - - - parent - parent - () - - - read - read - ( QDataStream & in ) - - - removeChild - removeChild - ( QTreeWidgetItem * child ) - - - setBackground - setBackground - ( int column, const QBrush & brush ) - - - setCheckState - setCheckState - ( int column, Qt::CheckState state ) - - - setChildIndicatorPolicy - setChildIndicatorPolicy - ( QTreeWidgetItem::ChildIndicatorPolicy policy ) - - - setData - setData - ( int column, int role, const QVariant & value ) - - - setDisabled - setDisabled - ( bool disabled ) - - - setExpanded - setExpanded - ( bool expand ) - - - setFirstColumnSpanned - setFirstColumnSpanned - ( bool span ) - - - setFlags - setFlags - ( Qt::ItemFlags flags ) - - - setFont - setFont - ( int column, const QFont & font ) - - - setForeground - setForeground - ( int column, const QBrush & brush ) - - - setHidden - setHidden - ( bool hide ) - - - setIcon - setIcon - ( int column, const QIcon & icon ) - - - setSelected - setSelected - ( bool select ) - - - setSizeHint - setSizeHint - ( int column, const QSize & size ) - - - setStatusTip - setStatusTip - ( int column, const QString & statusTip ) - - - setText - setText - ( int column, const QString & text ) - - - setTextAlignment - setTextAlignment - ( int column, int alignment ) - - - setToolTip - setToolTip - ( int column, const QString & toolTip ) - - - setWhatsThis - setWhatsThis - ( int column, const QString & whatsThis ) - - - sizeHint - sizeHint - ( int column ) - - - sortChildren - sortChildren - ( int column, Qt::SortOrder order ) - - - statusTip - statusTip - ( int column ) - - - takeChild - takeChild - ( int index ) - - - takeChildren - takeChildren - () - - - text - text - ( int column ) - - - textAlignment - textAlignment - ( int column ) - - - toolTip - toolTip - ( int column ) - - - treeWidget - treeWidget - () - - - type - type - () - - - whatsThis - whatsThis - ( int column ) - - - write - write - ( QDataStream & out ) - - - operator< - operator-lt - ( const QTreeWidgetItem & other ) - - - operator= - operator-eq - ( const QTreeWidgetItem & other ) - - - - QTreeWidgetItemIterator - qtreewidgetitemiterator.html - - QTreeWidgetItemIterator - QTreeWidgetItemIterator - ( const QTreeWidgetItemIterator & it ) - - - QTreeWidgetItemIterator - QTreeWidgetItemIterator-2 - ( QTreeWidget * widget, IteratorFlags flags = All ) - - - QTreeWidgetItemIterator - QTreeWidgetItemIterator-3 - ( QTreeWidgetItem * item, IteratorFlags flags = All ) - - - operator* - operator-2a - () - - - operator++ - operator-2b-2b - () - - - operator++ - operator-2b-2b-2 - ( int ) - - - operator+= - operator-2b-eq - ( int n ) - - - operator-- - operator-- - () - - - operator-- - operator---2 - ( int ) - - - operator-= - operator--eq - ( int n ) - - - operator= - operator-eq - ( const QTreeWidgetItemIterator & it ) - - - - QUdpSocket - qudpsocket.html - - QUdpSocket - QUdpSocket - ( QObject * parent = 0 ) - - - bind - bind - ( const QHostAddress & address, quint16 port ) - - - bind - bind-2 - ( const QHostAddress & address, quint16 port, BindMode mode ) - - - bind - bind-3 - ( quint16 port = 0 ) - - - bind - bind-4 - ( quint16 port, BindMode mode ) - - - hasPendingDatagrams - hasPendingDatagrams - () - - - pendingDatagramSize - pendingDatagramSize - () - - - readDatagram - readDatagram - ( char * data, qint64 maxSize, QHostAddress * address = 0, quint16 * port = 0 ) - - - writeDatagram - writeDatagram - ( const char * data, qint64 size, const QHostAddress & address, quint16 port ) - - - writeDatagram - writeDatagram-2 - ( const QByteArray & datagram, const QHostAddress & host, quint16 port ) - - - - QUiLoader - quiloader.html - - QUiLoader - QUiLoader - ( QObject * parent = 0 ) - - - addPluginPath - addPluginPath - ( const QString & path ) - - - availableWidgets - availableWidgets - () - - - clearPluginPaths - clearPluginPaths - () - - - createAction - createAction - ( QObject * parent = 0, const QString & name = QString() - - - createActionGroup - createActionGroup - ( QObject * parent = 0, const QString & name = QString() - - - createLayout - createLayout - ( const QString & className, QObject * parent = 0, const QString & name = QString() - - - createWidget - createWidget - ( const QString & className, QWidget * parent = 0, const QString & name = QString() - - - load - load - ( QIODevice * device, QWidget * parentWidget = 0 ) - - - pluginPaths - pluginPaths - () - - - setWorkingDirectory - setWorkingDirectory - ( const QDir & dir ) - - - workingDirectory - workingDirectory - () - - - - QUndoCommand - qundocommand.html - - QUndoCommand - QUndoCommand - ( QUndoCommand * parent = 0 ) - - - QUndoCommand - QUndoCommand-2 - ( const QString & text, QUndoCommand * parent = 0 ) - - - id - id - () - - - mergeWith - mergeWith - ( const QUndoCommand * command ) - - - redo - redo - () - - - setText - setText - ( const QString & text ) - - - text - text - () - - - undo - undo - () - - - - QUndoGroup - qundogroup.html - - QUndoGroup - QUndoGroup - ( QObject * parent = 0 ) - - - activeStack - activeStack - () - - - activeStackChanged - activeStackChanged - ( QUndoStack * stack ) - - - addStack - addStack - ( QUndoStack * stack ) - - - canRedo - canRedo - () - - - canRedoChanged - canRedoChanged - ( bool canRedo ) - - - canUndo - canUndo - () - - - canUndoChanged - canUndoChanged - ( bool canUndo ) - - - cleanChanged - cleanChanged - ( bool clean ) - - - createRedoAction - createRedoAction - ( QObject * parent, const QString & prefix = QString() - - - createUndoAction - createUndoAction - ( QObject * parent, const QString & prefix = QString() - - - indexChanged - indexChanged - ( int idx ) - - - isClean - isClean - () - - - redo - redo - () - - - redoText - redoText - () - - - redoTextChanged - redoTextChanged - ( const QString & redoText ) - - - removeStack - removeStack - ( QUndoStack * stack ) - - - setActiveStack - setActiveStack - ( QUndoStack * stack ) - - - stacks - stacks - () - - - undo - undo - () - - - undoText - undoText - () - - - undoTextChanged - undoTextChanged - ( const QString & undoText ) - - - - QUndoStack - qundostack.html - - QUndoStack - QUndoStack - ( QObject * parent = 0 ) - - - beginMacro - beginMacro - ( const QString & text ) - - - canRedo - canRedo - () - - - canRedoChanged - canRedoChanged - ( bool canUndo ) - - - canUndo - canUndo - () - - - canUndoChanged - canUndoChanged - ( bool canUndo ) - - - cleanChanged - cleanChanged - ( bool clean ) - - - cleanIndex - cleanIndex - () - - - clear - clear - () - - - count - count - () - - - createRedoAction - createRedoAction - ( QObject * parent, const QString & prefix = QString() - - - createUndoAction - createUndoAction - ( QObject * parent, const QString & prefix = QString() - - - endMacro - endMacro - () - - - index - index - () - - - indexChanged - indexChanged - ( int idx ) - - - isClean - isClean - () - - - push - push - ( QUndoCommand * cmd ) - - - redo - redo - () - - - redoText - redoText - () - - - redoTextChanged - redoTextChanged - ( const QString & redoText ) - - - setClean - setClean - () - - - setIndex - setIndex - ( int idx ) - - - text - text - ( int idx ) - - - undo - undo - () - - - undoText - undoText - () - - - undoTextChanged - undoTextChanged - ( const QString & undoText ) - - - - QUndoView - qundoview.html - - QUndoView - QUndoView - ( QWidget * parent = 0 ) - - - QUndoView - QUndoView-2 - ( QUndoStack * stack, QWidget * parent = 0 ) - - - QUndoView - QUndoView-3 - ( QUndoGroup * group, QWidget * parent = 0 ) - - - group - group - () - - - setGroup - setGroup - ( QUndoGroup * group ) - - - setStack - setStack - ( QUndoStack * stack ) - - - stack - stack - () - - - fromPunycode - fromPunycode - ( const QByteArray & pc ) - - - toPunycode - toPunycode - ( const QString & uc ) - - - addPath - addPath - ( const QString & p ) - - - cdUp - cdUp - () - - - decode - decode - ( QString & url ) - - - dirPath - dirPath - () - - - encode - encode - ( QString & url ) - - - fileName - fileName - () - - - hasHost - hasHost - () - - - hasPassword - hasPassword - () - - - hasPath - hasPath - () - - - hasPort - hasPort - () - - - hasRef - hasRef - () - - - hasUser - hasUser - () - - - isRelativeUrl - isRelativeUrl - ( const QString & url ) - - - protocol - protocol - () - - - query - query - () - - - ref - ref - () - - - reset - reset - () - - - setFileName - setFileName - ( const QString & txt ) - - - setProtocol - setProtocol - ( const QString & s ) - - - setQuery - setQuery - ( const QString & txt ) - - - setRef - setRef - ( const QString & txt ) - - - setUser - setUser - ( const QString & s ) - - - user - user - () - - - operator - operator-QString - QString() - - - - QUrl - qurl.html - - DataPtr - DataPtr-typedef - - - - ParsingMode - ParsingMode-enum - - - - QUrl - QUrl - () - - - QUrl - QUrl-2 - ( const QString & url ) - - - QUrl - QUrl-3 - ( const QUrl & other ) - - - QUrl - QUrl-4 - ( const QString & url, ParsingMode parsingMode ) - - - addQueryItem - addQueryItem - ( const QString & key, const QString & value ) - - - allQueryItemValues - allQueryItemValues - ( const QString & key ) - - - authority - authority - () - - - clear - clear - () - - - data_ptr - data_ptr - () - - - encodedQuery - encodedQuery - () - - - errorString - errorString - () - - - fragment - fragment - () - - - fromAce - fromAce - ( const QByteArray & domain ) - - - fromEncoded - fromEncoded - ( const QByteArray & input ) - - - fromEncoded - fromEncoded-2 - ( const QByteArray & input, ParsingMode parsingMode ) - - - fromLocalFile - fromLocalFile - ( const QString & localFile ) - - - fromPercentEncoding - fromPercentEncoding - ( const QByteArray & input ) - - - hasFragment - hasFragment - () - - - hasQuery - hasQuery - () - - - hasQueryItem - hasQueryItem - ( const QString & key ) - - - host - host - () - - - idnWhitelist - idnWhitelist - () - - - isEmpty - isEmpty - () - - - isParentOf - isParentOf - ( const QUrl & childUrl ) - - - isRelative - isRelative - () - - - isValid - isValid - () - - - password - password - () - - - path - path - () - - - port - port - () - - - port - port-2 - ( int defaultPort ) - - - queryItemValue - queryItemValue - ( const QString & key ) - - - queryItems - queryItems - () - - - queryPairDelimiter - queryPairDelimiter - () - - - queryValueDelimiter - queryValueDelimiter - () - - - removeAllQueryItems - removeAllQueryItems - ( const QString & key ) - - - removeQueryItem - removeQueryItem - ( const QString & key ) - - - resolved - resolved - ( const QUrl & relative ) - - - scheme - scheme - () - - - setAuthority - setAuthority - ( const QString & authority ) - - - setEncodedQuery - setEncodedQuery - ( const QByteArray & query ) - - - setEncodedUrl - setEncodedUrl - ( const QByteArray & encodedUrl ) - - - setEncodedUrl - setEncodedUrl-2 - ( const QByteArray & encodedUrl, ParsingMode parsingMode ) - - - setFragment - setFragment - ( const QString & fragment ) - - - setHost - setHost - ( const QString & host ) - - - setIdnWhitelist - setIdnWhitelist - ( const QStringList & list ) - - - setPassword - setPassword - ( const QString & password ) - - - setPath - setPath - ( const QString & path ) - - - setPort - setPort - ( int port ) - - - setQueryDelimiters - setQueryDelimiters - ( char valueDelimiter, char pairDelimiter ) - - - setQueryItems - setQueryItems - ( const QList<QPair<QString, QString> > & query ) - - - setScheme - setScheme - ( const QString & scheme ) - - - setUrl - setUrl - ( const QString & url ) - - - setUrl - setUrl-2 - ( const QString & url, ParsingMode parsingMode ) - - - setUserInfo - setUserInfo - ( const QString & userInfo ) - - - setUserName - setUserName - ( const QString & userName ) - - - toAce - toAce - ( const QString & domain ) - - - toEncoded - toEncoded - ( FormattingOptions options = None ) - - - toLocalFile - toLocalFile - () - - - toPercentEncoding - toPercentEncoding - ( const QString & input, const QByteArray & exclude = QByteArray() - - - toString - toString - ( FormattingOptions options = None ) - - - userInfo - userInfo - () - - - userName - userName - () - - - operator!= - operator-not-eq - ( const QUrl & url ) - - - operator= - operator-eq - ( const QUrl & url ) - - - operator= - operator-eq-2 - ( const QString & url ) - - - operator== - operator-eq-eq - ( const QUrl & url ) - - - addPath - addPath - ( const QString & p ) - - - cdUp - cdUp - () - - - decode - decode - ( QString & url ) - - - dirPath - dirPath - () - - - encode - encode - ( QString & url ) - - - fileName - fileName - () - - - hasHost - hasHost - () - - - hasPassword - hasPassword - () - - - hasPath - hasPath - () - - - hasPort - hasPort - () - - - hasRef - hasRef - () - - - hasUser - hasUser - () - - - isRelativeUrl - isRelativeUrl - ( const QString & url ) - - - protocol - protocol - () - - - query - query - () - - - ref - ref - () - - - reset - reset - () - - - setFileName - setFileName - ( const QString & txt ) - - - setProtocol - setProtocol - ( const QString & s ) - - - setQuery - setQuery - ( const QString & txt ) - - - setRef - setRef - ( const QString & txt ) - - - setUser - setUser - ( const QString & s ) - - - user - user - () - - - operator - operator-QString - QString() - - - - QUrlInfo - qurlinfo.html - - PermissionSpec - PermissionSpec-enum - - - - QUrlInfo - QUrlInfo - () - - - QUrlInfo - QUrlInfo-2 - ( const QUrlInfo & ui ) - - - QUrlInfo - QUrlInfo-3 - ( const QString & name, int permissions, const QString & owner, const QString & group, qint64 size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) - - - QUrlInfo - QUrlInfo-4 - ( const QUrl & url, int permissions, const QString & owner, const QString & group, qint64 size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) - - - equal - equal - ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) - - - greaterThan - greaterThan - ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) - - - group - group - () - - - isDir - isDir - () - - - isExecutable - isExecutable - () - - - isFile - isFile - () - - - isReadable - isReadable - () - - - isSymLink - isSymLink - () - - - isValid - isValid - () - - - isWritable - isWritable - () - - - lastModified - lastModified - () - - - lastRead - lastRead - () - - - lessThan - lessThan - ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) - - - name - name - () - - - owner - owner - () - - - permissions - permissions - () - - - setDir - setDir - ( bool b ) - - - setFile - setFile - ( bool b ) - - - setGroup - setGroup - ( const QString & s ) - - - setLastModified - setLastModified - ( const QDateTime & dt ) - - - setName - setName - ( const QString & name ) - - - setOwner - setOwner - ( const QString & s ) - - - setPermissions - setPermissions - ( int p ) - - - setReadable - setReadable - ( bool b ) - - - setSize - setSize - ( qint64 size ) - - - setSymLink - setSymLink - ( bool b ) - - - setWritable - setWritable - ( bool b ) - - - size - size - () - - - operator!= - operator-not-eq - ( const QUrlInfo & other ) - - - operator= - operator-eq - ( const QUrlInfo & ui ) - - - operator== - operator-eq-eq - ( const QUrlInfo & other ) - - - - QUuid - quuid.html - - Variant - Variant-enum - - - - Version - Version-enum - - - - QUuid - QUuid - () - - - QUuid - QUuid-2 - ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 ) - - - QUuid - QUuid-3 - ( const QString & text ) - - - QUuid - QUuid-5 - ( const GUID & guid ) - - - createUuid - createUuid - () - - - isNull - isNull - () - - - toString - toString - () - - - Variant - variant - QUuid::variant() - - - Version - version - QUuid::version() - - - operator - operator-GUID - GUID() - - - operator - operator-QString - QString() - - - operator!= - operator-not-eq - ( const QUuid & other ) - - - operator!= - operator-not-eq-2 - ( const GUID & guid ) - - - operator< - operator-lt - ( const QUuid & other ) - - - operator= - operator-eq - ( const GUID & guid ) - - - operator== - operator-eq-eq - ( const QUuid & other ) - - - operator== - operator-eq-eq-2 - ( const GUID & guid ) - - - operator> - operator-gt - ( const QUuid & other ) - - - QValidator - QValidator-2 - ( QObject * parent, const char * name ) - - - - QValidator - qvalidator.html - - State - State-enum - - - - QValidator - QValidator - ( QObject * parent ) - - - fixup - fixup - ( QString & input ) - - - locale - locale - () - - - setLocale - setLocale - ( const QLocale & locale ) - - - validate - validate - ( QString & input, int & pos ) - - - QValidator - QValidator-2 - ( QObject * parent, const char * name ) - - - QVariant - QVariant-36 - ( bool b, int dummy ) - - - asBitArray - asBitArray - () - - - asBool - asBool - () - - - asByteArray - asByteArray - () - - - asCString - asCString - () - - - asDate - asDate - () - - - asDateTime - asDateTime - () - - - asDouble - asDouble - () - - - asInt - asInt - () - - - asList - asList - () - - - asLongLong - asLongLong - () - - - asMap - asMap - () - - - asPoint - asPoint - () - - - asRect - asRect - () - - - asSize - asSize - () - - - asString - asString - () - - - asStringList - asStringList - () - - - asTime - asTime - () - - - asUInt - asUInt - () - - - asULongLong - asULongLong - () - - - canCast - canCast - ( Type t ) - - - cast - cast - ( Type t ) - - - toCString - toCString - () - - - - QVariant - qvariant.html - - DataPtr - DataPtr-typedef - - - - Type - Type-enum - - - - QVariant - QVariant - () - - - QVariant - QVariant-2 - ( Type type ) - - - QVariant - QVariant-3 - ( int typeOrUserType, const void * copy ) - - - QVariant - QVariant-4 - ( const QVariant & p ) - - - QVariant - QVariant-5 - ( QDataStream & s ) - - - QVariant - QVariant-6 - ( int val ) - - - QVariant - QVariant-7 - ( uint val ) - - - QVariant - QVariant-8 - ( qlonglong val ) - - - QVariant - QVariant-9 - ( qulonglong val ) - - - QVariant - QVariant-10 - ( bool val ) - - - QVariant - QVariant-11 - ( double val ) - - - QVariant - QVariant-12 - ( const char * val ) - - - QVariant - QVariant-13 - ( const QByteArray & val ) - - - QVariant - QVariant-14 - ( const QBitArray & val ) - - - QVariant - QVariant-15 - ( const QString & val ) - - - QVariant - QVariant-16 - ( const QLatin1String & val ) - - - QVariant - QVariant-17 - ( const QStringList & val ) - - - QVariant - QVariant-18 - ( const QChar & c ) - - - QVariant - QVariant-19 - ( const QDate & val ) - - - QVariant - QVariant-20 - ( const QTime & val ) - - - QVariant - QVariant-21 - ( const QDateTime & val ) - - - QVariant - QVariant-22 - ( const QList<QVariant> & val ) - - - QVariant - QVariant-23 - ( const QMap<QString, QVariant> & val ) - - - QVariant - QVariant-24 - ( const QSize & val ) - - - QVariant - QVariant-25 - ( const QSizeF & val ) - - - QVariant - QVariant-26 - ( const QPoint & val ) - - - QVariant - QVariant-27 - ( const QPointF & val ) - - - QVariant - QVariant-28 - ( const QLine & val ) - - - QVariant - QVariant-29 - ( const QLineF & val ) - - - QVariant - QVariant-30 - ( const QRect & val ) - - - QVariant - QVariant-31 - ( const QRectF & val ) - - - QVariant - QVariant-32 - ( const QUrl & val ) - - - QVariant - QVariant-33 - ( const QLocale & l ) - - - QVariant - QVariant-34 - ( const QRegExp & regExp ) - - - QVariant - QVariant-35 - ( Qt::GlobalColor color ) - - - canConvert - canConvert - ( Type t ) - - - canConvert - canConvert-2 - () - - - clear - clear - () - - - convert - convert - ( Type t ) - - - data_ptr - data_ptr - () - - - fromValue - fromValue - ( const T & value ) - - - isNull - isNull - () - - - isValid - isValid - () - - - nameToType - nameToType - ( const char * name ) - - - setValue - setValue - ( const T & value ) - - - toBitArray - toBitArray - () - - - toBool - toBool - () - - - toByteArray - toByteArray - () - - - toChar - toChar - () - - - toDate - toDate - () - - - toDateTime - toDateTime - () - - - toDouble - toDouble - ( bool * ok = 0 ) - - - toInt - toInt - ( bool * ok = 0 ) - - - toLine - toLine - () - - - toLineF - toLineF - () - - - toList - toList - () - - - toLocale - toLocale - () - - - toLongLong - toLongLong - ( bool * ok = 0 ) - - - toMap - toMap - () - - - toPoint - toPoint - () - - - toPointF - toPointF - () - - - toRect - toRect - () - - - toRectF - toRectF - () - - - toRegExp - toRegExp - () - - - toSize - toSize - () - - - toSizeF - toSizeF - () - - - toString - toString - () - - - toStringList - toStringList - () - - - toTime - toTime - () - - - toUInt - toUInt - ( bool * ok = 0 ) - - - toULongLong - toULongLong - ( bool * ok = 0 ) - - - toUrl - toUrl - () - - - type - type - () - - - typeName - typeName - () - - - typeToName - typeToName - ( Type typ ) - - - userType - userType - () - - - value - value - () - - - operator!= - operator-not-eq - ( const QVariant & v ) - - - operator= - operator-eq - ( const QVariant & variant ) - - - operator== - operator-eq-eq - ( const QVariant & v ) - - - QVariant - QVariant-36 - ( bool b, int dummy ) - - - asBitArray - asBitArray - () - - - asBool - asBool - () - - - asByteArray - asByteArray - () - - - asCString - asCString - () - - - asDate - asDate - () - - - asDateTime - asDateTime - () - - - asDouble - asDouble - () - - - asInt - asInt - () - - - asList - asList - () - - - asLongLong - asLongLong - () - - - asMap - asMap - () - - - asPoint - asPoint - () - - - asRect - asRect - () - - - asSize - asSize - () - - - asString - asString - () - - - asStringList - asStringList - () - - - asTime - asTime - () - - - asUInt - asUInt - () - - - asULongLong - asULongLong - () - - - canCast - canCast - ( Type t ) - - - cast - cast - ( Type t ) - - - toCString - toCString - () - - - - QVarLengthArray - qvarlengtharray.html - - QVarLengthArray - QVarLengthArray - ( int size = 0 ) - - - QVarLengthArray - QVarLengthArray-2 - ( const QVarLengthArray<T, Prealloc> & other ) - - - append - append - ( const T & t ) - - - append - append-2 - ( const T * buf, int size ) - - - capacity - capacity - () - - - clear - clear - () - - - constData - constData - () - - - count - count - () - - - data - data - () - - - data - data-2 - () - - - isEmpty - isEmpty - () - - - reserve - reserve - ( int size ) - - - resize - resize - ( int size ) - - - size - size - () - - - operator= - operator-eq - ( const QVarLengthArray<T, Prealloc> & other ) - - - operator[] - operator-5b-5d - ( int i ) - - - operator[] - operator-5b-5d-2 - ( int i ) - - - QVBoxLayout - QVBoxLayout-3 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QVBoxLayout - QVBoxLayout-4 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QVBoxLayout - QVBoxLayout-5 - ( int spacing, const char * name = 0 ) - - - - QVBoxLayout - qvboxlayout.html - - QVBoxLayout - QVBoxLayout - () - - - QVBoxLayout - QVBoxLayout-2 - ( QWidget * parent ) - - - QVBoxLayout - QVBoxLayout-3 - ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 ) - - - QVBoxLayout - QVBoxLayout-4 - ( QLayout * parentLayout, int spacing = -1, const char * name = 0 ) - - - QVBoxLayout - QVBoxLayout-5 - ( int spacing, const char * name = 0 ) - - - - QVector - qvector.html - - ConstIterator - ConstIterator-typedef - - - - Iterator - Iterator-typedef - - - - const_iterator - const_iterator-typedef - - - - const_pointer - const_pointer-typedef - - - - const_reference - const_reference-typedef - - - - difference_type - difference_type-typedef - - - - iterator - iterator-typedefx - - - - pointer - pointer-typedef - - - - reference - reference-typedef - - - - size_type - size_type-typedef - - - - value_type - value_type-typedef - - - - QVector - QVector - () - - - QVector - QVector-2 - ( int size ) - - - QVector - QVector-3 - ( int size, const T & value ) - - - QVector - QVector-4 - ( const QVector<T> & other ) - - - append - append - ( const T & value ) - - - at - at - ( int i ) - - - back - back - () - - - back - back-2 - () - - - begin - begin - () - - - begin - begin-2 - () - - - capacity - capacity - () - - - clear - clear - () - - - constBegin - constBegin - () - - - constData - constData - () - - - constEnd - constEnd - () - - - contains - contains - ( const T & value ) - - - count - count - ( const T & value ) - - - count - count-2 - () - - - data - data - () - - - data - data-2 - () - - - empty - empty - () - - - end - end - () - - - end - end-2 - () - - - erase - erase - ( iterator pos ) - - - erase - erase-2 - ( iterator begin, iterator end ) - - - fill - fill - ( const T & value, int size = -1 ) - - - first - first - () - - - first - first-2 - () - - - fromList - fromList - ( const QList<T> & list ) - - - fromStdVector - fromStdVector - ( const std::vector<T> & vector ) - - - front - front - () - - - front - front-2 - () - - - indexOf - indexOf - ( const T & value, int from = 0 ) - - - insert - insert - ( int i, const T & value ) - - - insert - insert-2 - ( iterator before, int count, const T & value ) - - - insert - insert-3 - ( int i, int count, const T & value ) - - - insert - insert-4 - ( iterator before, const T & value ) - - - isEmpty - isEmpty - () - - - last - last - () - - - last - last-2 - () - - - lastIndexOf - lastIndexOf - ( const T & value, int from = -1 ) - - - mid - mid - ( int pos, int length = -1 ) - - - pop_back - pop_back - () - - - pop_front - pop_front - () - - - prepend - prepend - ( const T & value ) - - - push_back - push_back - ( const T & value ) - - - push_front - push_front - ( const T & value ) - - - remove - remove - ( int i ) - - - remove - remove-2 - ( int i, int count ) - - - replace - replace - ( int i, const T & value ) - - - reserve - reserve - ( int size ) - - - resize - resize - ( int size ) - - - size - size - () - - - squeeze - squeeze - () - - - toList - toList - () - - - vector - toStdVector - <T> QVector::toStdVector() - - - value - value - ( int i ) - - - value - value-2 - ( int i, const T & defaultValue ) - - - operator!= - operator-not-eq - ( const QVector<T> & other ) - - - operator+ - operator-2b - ( const QVector<T> & other ) - - - operator+= - operator-2b-eq - ( const QVector<T> & other ) - - - operator+= - operator-2b-eq-2 - ( const T & value ) - - - operator<< - operator-lt-lt - ( const T & value ) - - - operator<< - operator-lt-lt-2 - ( const QVector<T> & other ) - - - operator= - operator-eq - ( const QVector<T> & other ) - - - operator== - operator-eq-eq - ( const QVector<T> & other ) - - - operator[] - operator-5b-5d - ( int i ) - - - operator[] - operator-5b-5d-2 - ( int i ) - - - - QVectorIterator - qvectoriterator.html - - QVectorIterator - QVectorIterator - ( const QVector<T> & vector ) - - - findNext - findNext - ( const T & value ) - - - findPrevious - findPrevious - ( const T & value ) - - - hasNext - hasNext - () - - - hasPrevious - hasPrevious - () - - - next - next - () - - - peekNext - peekNext - () - - - peekPrevious - peekPrevious - () - - - previous - previous - () - - - toBack - toBack - () - - - toFront - toFront - () - - - operator= - operator-eq - ( const QVector<T> & vector ) - - - - QVNCScreen - qvncscreen.html - - QVNCScreen - QVNCScreen - ( int displayId ) - - - - QWaitCondition - qwaitcondition.html - - QWaitCondition - QWaitCondition - () - - - wait - wait - ( QMutex * mutex, unsigned long time = ULONG_MAX ) - - - wakeAll - wakeAll - () - - - wakeOne - wakeOne - () - - - add - add - ( QWidget * w, const QString & s ) - - - remove - remove - ( QWidget * w ) - - - whatsThisButton - whatsThisButton - ( QWidget * parent ) - - - - QWhatsThis - qwhatsthis.html - - createAction - createAction - ( QObject * parent = 0 ) - - - enterWhatsThisMode - enterWhatsThisMode - () - - - hideText - hideText - () - - - inWhatsThisMode - inWhatsThisMode - () - - - leaveWhatsThisMode - leaveWhatsThisMode - () - - - showText - showText - ( const QPoint & pos, const QString & text, QWidget * w = 0 ) - - - add - add - ( QWidget * w, const QString & s ) - - - remove - remove - ( QWidget * w ) - - - whatsThisButton - whatsThisButton - ( QWidget * parent ) - - - - QWhatsThisClickedEvent - qwhatsthisclickedevent.html - - QWhatsThisClickedEvent - QWhatsThisClickedEvent - ( const QString & href ) - - - href - href - () - - - QWheelEvent - QWheelEvent-3 - ( const QPoint & pos, int delta, int state, Qt::Orientation orient = Qt::Vertical ) - - - QWheelEvent - QWheelEvent-4 - ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Qt::Orientation orient = Qt::Vertical ) - - - ButtonState - state - QWheelEvent::state() - - - - QWheelEvent - qwheelevent.html - - QWheelEvent - QWheelEvent - ( const QPoint & pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - - - QWheelEvent - QWheelEvent-2 - ( const QPoint & pos, const QPoint & globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical ) - - - MouseButtons - buttons - QWheelEvent::buttons() - - - delta - delta - () - - - globalPos - globalPos - () - - - globalX - globalX - () - - - globalY - globalY - () - - - Orientation - orientation - QWheelEvent::orientation() - - - pos - pos - () - - - x - x - () - - - y - y - () - - - QWheelEvent - QWheelEvent-3 - ( const QPoint & pos, int delta, int state, Qt::Orientation orient = Qt::Vertical ) - - - QWheelEvent - QWheelEvent-4 - ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Qt::Orientation orient = Qt::Vertical ) - - - ButtonState - state - QWheelEvent::state() - - - isEnabledToTLW - isEnabledToTLW - () - - - isTopLevel - isTopLevel - () - - - languageChange - languageChange - () - - - topLevelWidget - topLevelWidget - () - - - BackgroundOrigin - BackgroundOrigin-enum - - - - QWidget - QWidget-3 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - BackgroundMode - backgroundMode - QWidget::backgroundMode() - - - backgroundOffset - backgroundOffset - () - - - backgroundOrigin - backgroundOrigin - () - - - caption - caption - () - - - childAt - childAt-2 - ( int x, int y, bool includeThis ) - - - childAt - childAt-3 - ( const QPoint & p, bool includeThis ) - - - close - close-2 - ( bool alsoDelete ) - - - colorGroup - colorGroup - () - - - constPolish - constPolish - () - - - drawText - drawText - ( const QPoint & p, const QString & s ) - - - drawText - drawText-2 - ( int x, int y, const QString & s ) - - - erase - erase - () - - - erase - erase-2 - ( int x, int y, int w, int h ) - - - erase - erase-3 - ( const QRect & rect ) - - - erase - erase-4 - ( const QRegion & rgn ) - - - hasMouse - hasMouse - () - - - icon - icon - () - - - iconText - iconText - () - - - iconify - iconify - () - - - isDesktop - isDesktop - () - - - isDialog - isDialog - () - - - isInputMethodEnabled - isInputMethodEnabled - () - - - isPopup - isPopup - () - - - isShown - isShown - () - - - isUpdatesEnabled - isUpdatesEnabled - () - - - isVisibleToTLW - isVisibleToTLW - () - - - ownCursor - ownCursor - () - - - ownFont - ownFont - () - - - ownPalette - ownPalette - () - - - parentWidget - parentWidget-2 - ( bool sameWindow ) - - - polish - polish - () - - - recreate - recreate - ( QWidget * parent, Qt::WindowFlags f, const QPoint & p, bool showIt = false ) - - - repaint - repaint-2 - ( bool b ) - - - repaint - repaint-3 - ( int x, int y, int w, int h, bool b ) - - - repaint - repaint-4 - ( const QRect & r, bool b ) - - - repaint - repaint-5 - ( const QRegion & rgn, bool b ) - - - reparent - reparent - ( QWidget * parent, Qt::WindowFlags f, const QPoint & p, bool showIt = false ) - - - reparent - reparent-2 - ( QWidget * parent, const QPoint & p, bool showIt = false ) - - - setActiveWindow - setActiveWindow - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setBackgroundMode - setBackgroundMode - ( Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground = Qt::PaletteBackground ) - - - setBackgroundOrigin - setBackgroundOrigin - ( BackgroundOrigin background ) - - - setBackgroundPixmap - setBackgroundPixmap - ( const QPixmap & pixmap ) - - - setCaption - setCaption - ( const QString & c ) - - - setEraseColor - setEraseColor - ( const QColor & color ) - - - setErasePixmap - setErasePixmap - ( const QPixmap & pixmap ) - - - setFont - setFont-2 - ( const QFont & f, bool b ) - - - setIcon - setIcon - ( const QPixmap & i ) - - - setIconText - setIconText - ( const QString & it ) - - - setInputMethodEnabled - setInputMethodEnabled - ( bool enabled ) - - - setKeyCompression - setKeyCompression - ( bool b ) - - - setPalette - setPalette-2 - ( const QPalette & p, bool b ) - - - setPaletteBackgroundColor - setPaletteBackgroundColor - ( const QColor & color ) - - - setPaletteBackgroundPixmap - setPaletteBackgroundPixmap - ( const QPixmap & pixmap ) - - - setPaletteForegroundColor - setPaletteForegroundColor - ( const QColor & color ) - - - setShown - setShown - ( bool shown ) - - - setSizePolicy - setSizePolicy-2 - ( QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw ) - - - setStyle - setStyle-2 - ( const QString & style ) - - - unsetFont - unsetFont - () - - - unsetPalette - unsetPalette - () - - - visibleRect - visibleRect - () - - - wmapper - wmapper - () - - - - QWidget - qwidget.html - - ContextMenuPolicy - contextMenuPolicy-prop - - - - FocusPolicy - focusPolicy-prop - - - - LayoutDirection - layoutDirection-prop - - - - WindowFlags - windowFlags-prop - - - - WindowModality - windowModality-prop - - - - QWidget - QWidget - ( QWidget * parent = 0, Qt::WindowFlags f = 0 ) - - - actionEvent - actionEvent - ( QActionEvent * event ) - - - actions - actions - () - - - activateWindow - activateWindow - () - - - addAction - addAction - ( QAction * action ) - - - addActions - addActions - ( QList<QAction *> actions ) - - - adjustSize - adjustSize - () - - - ColorRole - backgroundRole - QWidget::backgroundRole() - - - changeEvent - changeEvent - ( QEvent * event ) - - - childAt - childAt - ( int x, int y ) - - - childAt - childAt-4 - ( const QPoint & p ) - - - clearFocus - clearFocus - () - - - clearMask - clearMask - () - - - close - close - () - - - closeEvent - closeEvent - ( QCloseEvent * event ) - - - contentsRect - contentsRect - () - - - contextMenuEvent - contextMenuEvent - ( QContextMenuEvent * event ) - - - create - create - ( WId window = 0, bool initializeWindow = true, bool destroyOldWindow = true ) - - - customContextMenuRequested - customContextMenuRequested - ( const QPoint & pos ) - - - destroy - destroy - ( bool destroyWindow = true, bool destroySubWindows = true ) - - - dragEnterEvent - dragEnterEvent - ( QDragEnterEvent * event ) - - - dragLeaveEvent - dragLeaveEvent - ( QDragLeaveEvent * event ) - - - dragMoveEvent - dragMoveEvent - ( QDragMoveEvent * event ) - - - dropEvent - dropEvent - ( QDropEvent * event ) - - - ensurePolished - ensurePolished - () - - - enterEvent - enterEvent - ( QEvent * event ) - - - event - event - ( QEvent * event ) - - - find - find - ( WId id ) - - - focusInEvent - focusInEvent - ( QFocusEvent * event ) - - - focusNextChild - focusNextChild - () - - - focusNextPrevChild - focusNextPrevChild - ( bool next ) - - - focusOutEvent - focusOutEvent - ( QFocusEvent * event ) - - - focusPreviousChild - focusPreviousChild - () - - - focusProxy - focusProxy - () - - - focusWidget - focusWidget - () - - - fontInfo - fontInfo - () - - - fontMetrics - fontMetrics - () - - - ColorRole - foregroundRole - QWidget::foregroundRole() - - - getContentsMargins - getContentsMargins - ( int * left, int * top, int * right, int * bottom ) - - - getDC - getDC - () - - - grabKeyboard - grabKeyboard - () - - - grabMouse - grabMouse - () - - - grabMouse - grabMouse-2 - ( const QCursor & cursor ) - - - grabShortcut - grabShortcut - ( const QKeySequence & key, Qt::ShortcutContext context = Qt::WindowShortcut ) - - - hasEditFocus - hasEditFocus - () - - - heightForWidth - heightForWidth - ( int w ) - - - hide - hide - () - - - hideEvent - hideEvent - ( QHideEvent * event ) - - - inputContext - inputContext - () - - - inputMethodEvent - inputMethodEvent - ( QInputMethodEvent * event ) - - - inputMethodQuery - inputMethodQuery - ( Qt::InputMethodQuery query ) - - - insertAction - insertAction - ( QAction * before, QAction * action ) - - - insertActions - insertActions - ( QAction * before, QList<QAction *> actions ) - - - isAncestorOf - isAncestorOf - ( const QWidget * child ) - - - isEnabledTo - isEnabledTo - ( QWidget * ancestor ) - - - isHidden - isHidden - () - - - isVisibleTo - isVisibleTo - ( QWidget * ancestor ) - - - isWindow - isWindow - () - - - keyPressEvent - keyPressEvent - ( QKeyEvent * event ) - - - keyReleaseEvent - keyReleaseEvent - ( QKeyEvent * event ) - - - keyboardGrabber - keyboardGrabber - () - - - layout - layout - () - - - leaveEvent - leaveEvent - ( QEvent * event ) - - - lower - lower - () - - - HANDLE - macCGHandle - QWidget::macCGHandle() - - - macEvent - macEvent - ( EventHandlerCallRef caller, EventRef event ) - - - HANDLE - macQDHandle - QWidget::macQDHandle() - - - mapFrom - mapFrom - ( QWidget * parent, const QPoint & pos ) - - - mapFromGlobal - mapFromGlobal - ( const QPoint & pos ) - - - mapFromParent - mapFromParent - ( const QPoint & pos ) - - - mapTo - mapTo - ( QWidget * parent, const QPoint & pos ) - - - mapToGlobal - mapToGlobal - ( const QPoint & pos ) - - - mapToParent - mapToParent - ( const QPoint & pos ) - - - mask - mask - () - - - metric - metric - ( PaintDeviceMetric m ) - - - mouseDoubleClickEvent - mouseDoubleClickEvent - ( QMouseEvent * event ) - - - mouseGrabber - mouseGrabber - () - - - mouseMoveEvent - mouseMoveEvent - ( QMouseEvent * event ) - - - mousePressEvent - mousePressEvent - ( QMouseEvent * event ) - - - mouseReleaseEvent - mouseReleaseEvent - ( QMouseEvent * event ) - - - moveEvent - moveEvent - ( QMoveEvent * event ) - - - nextInFocusChain - nextInFocusChain - () - - - overrideWindowFlags - overrideWindowFlags - ( Qt::WindowFlags flags ) - - - paintEngine - paintEngine - () - - - paintEvent - paintEvent - ( QPaintEvent * event ) - - - parentWidget - parentWidget - () - - - qwsEvent - qwsEvent - ( QWSEvent * event ) - - - raise - raise - () - - - releaseDC - releaseDC - ( HDC hdc ) - - - releaseKeyboard - releaseKeyboard - () - - - releaseMouse - releaseMouse - () - - - releaseShortcut - releaseShortcut - ( int id ) - - - removeAction - removeAction - ( QAction * action ) - - - render - render - ( QPaintDevice * target, const QPoint & targetOffset = QPoint() - - - repaint - repaint - () - - - repaint - repaint-6 - ( int x, int y, int w, int h ) - - - repaint - repaint-7 - ( const QRect & r ) - - - repaint - repaint-8 - ( const QRegion & rgn ) - - - resetInputContext - resetInputContext - () - - - resizeEvent - resizeEvent - ( QResizeEvent * event ) - - - restoreGeometry - restoreGeometry - ( const QByteArray & geometry ) - - - saveGeometry - saveGeometry - () - - - scroll - scroll - ( int dx, int dy ) - - - scroll - scroll-2 - ( int dx, int dy, const QRect & r ) - - - setAttribute - setAttribute - ( Qt::WidgetAttribute attribute, bool on = true ) - - - setBackgroundRole - setBackgroundRole - ( QPalette::ColorRole role ) - - - setContentsMargins - setContentsMargins - ( int left, int top, int right, int bottom ) - - - setDisabled - setDisabled - ( bool disable ) - - - setEditFocus - setEditFocus - ( bool enable ) - - - setFixedHeight - setFixedHeight - ( int h ) - - - setFixedSize - setFixedSize - ( const QSize & s ) - - - setFixedSize - setFixedSize-2 - ( int w, int h ) - - - setFixedWidth - setFixedWidth - ( int w ) - - - setFocus - setFocus - ( Qt::FocusReason reason ) - - - setFocus - setFocus-2 - () - - - setFocusProxy - setFocusProxy - ( QWidget * w ) - - - setForegroundRole - setForegroundRole - ( QPalette::ColorRole role ) - - - setHidden - setHidden - ( bool hidden ) - - - setInputContext - setInputContext - ( QInputContext * context ) - - - setLayout - setLayout - ( QLayout * layout ) - - - setMask - setMask - ( const QBitmap & bitmap ) - - - setMask - setMask-2 - ( const QRegion & region ) - - - setParent - setParent - ( QWidget * parent ) - - - setParent - setParent-2 - ( QWidget * parent, Qt::WindowFlags f ) - - - setShortcutAutoRepeat - setShortcutAutoRepeat - ( int id, bool enable = true ) - - - setShortcutEnabled - setShortcutEnabled - ( int id, bool enable = true ) - - - setStyle - setStyle - ( QStyle * style ) - - - setTabOrder - setTabOrder - ( QWidget * first, QWidget * second ) - - - setWindowRole - setWindowRole - ( const QString & role ) - - - setWindowState - setWindowState - ( Qt::WindowStates windowState ) - - - setWindowSurface - setWindowSurface - ( QWindowSurface * surface ) - - - show - show - () - - - showEvent - showEvent - ( QShowEvent * event ) - - - showFullScreen - showFullScreen - () - - - showMaximized - showMaximized - () - - - showMinimized - showMinimized - () - - - showNormal - showNormal - () - - - stackUnder - stackUnder - ( QWidget * w ) - - - style - style - () - - - tabletEvent - tabletEvent - ( QTabletEvent * event ) - - - testAttribute - testAttribute - ( Qt::WidgetAttribute attribute ) - - - underMouse - underMouse - () - - - update - update - () - - - update - update-2 - ( int x, int y, int w, int h ) - - - update - update-3 - ( const QRect & r ) - - - update - update-4 - ( const QRegion & rgn ) - - - updateGeometry - updateGeometry - () - - - updateMicroFocus - updateMicroFocus - () - - - visibleRegion - visibleRegion - () - - - wheelEvent - wheelEvent - ( QWheelEvent * event ) - - - winEvent - winEvent - ( MSG * message, long * result ) - - - winId - winId - () - - - window - window - () - - - windowRole - windowRole - () - - - WindowStates - windowState - QWidget::windowState() - - - windowSurface - windowSurface - () - - - WindowType - windowType - QWidget::windowType() - - - x11Event - x11Event - ( XEvent * event ) - - - x11Info - x11Info - () - - - HANDLE - x11PictureHandle - QWidget::x11PictureHandle() - - - BackgroundOrigin - BackgroundOrigin-enum - - - - QWidget - QWidget-3 - ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) - - - BackgroundMode - backgroundMode - QWidget::backgroundMode() - - - backgroundOffset - backgroundOffset - () - - - backgroundOrigin - backgroundOrigin - () - - - caption - caption - () - - - childAt - childAt-2 - ( int x, int y, bool includeThis ) - - - childAt - childAt-3 - ( const QPoint & p, bool includeThis ) - - - close - close-2 - ( bool alsoDelete ) - - - colorGroup - colorGroup - () - - - constPolish - constPolish - () - - - drawText - drawText - ( const QPoint & p, const QString & s ) - - - drawText - drawText-2 - ( int x, int y, const QString & s ) - - - erase - erase - () - - - erase - erase-2 - ( int x, int y, int w, int h ) - - - erase - erase-3 - ( const QRect & rect ) - - - erase - erase-4 - ( const QRegion & rgn ) - - - hasMouse - hasMouse - () - - - icon - icon - () - - - iconText - iconText - () - - - iconify - iconify - () - - - isDesktop - isDesktop - () - - - isDialog - isDialog - () - - - isInputMethodEnabled - isInputMethodEnabled - () - - - isPopup - isPopup - () - - - isShown - isShown - () - - - isUpdatesEnabled - isUpdatesEnabled - () - - - isVisibleToTLW - isVisibleToTLW - () - - - ownCursor - ownCursor - () - - - ownFont - ownFont - () - - - ownPalette - ownPalette - () - - - parentWidget - parentWidget-2 - ( bool sameWindow ) - - - polish - polish - () - - - recreate - recreate - ( QWidget * parent, Qt::WindowFlags f, const QPoint & p, bool showIt = false ) - - - repaint - repaint-2 - ( bool b ) - - - repaint - repaint-3 - ( int x, int y, int w, int h, bool b ) - - - repaint - repaint-4 - ( const QRect & r, bool b ) - - - repaint - repaint-5 - ( const QRegion & rgn, bool b ) - - - reparent - reparent - ( QWidget * parent, Qt::WindowFlags f, const QPoint & p, bool showIt = false ) - - - reparent - reparent-2 - ( QWidget * parent, const QPoint & p, bool showIt = false ) - - - setActiveWindow - setActiveWindow - () - - - setBackgroundColor - setBackgroundColor - ( const QColor & color ) - - - setBackgroundMode - setBackgroundMode - ( Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground = Qt::PaletteBackground ) - - - setBackgroundOrigin - setBackgroundOrigin - ( BackgroundOrigin background ) - - - setBackgroundPixmap - setBackgroundPixmap - ( const QPixmap & pixmap ) - - - setCaption - setCaption - ( const QString & c ) - - - setEraseColor - setEraseColor - ( const QColor & color ) - - - setErasePixmap - setErasePixmap - ( const QPixmap & pixmap ) - - - setFont - setFont-2 - ( const QFont & f, bool b ) - - - setIcon - setIcon - ( const QPixmap & i ) - - - setIconText - setIconText - ( const QString & it ) - - - setInputMethodEnabled - setInputMethodEnabled - ( bool enabled ) - - - setKeyCompression - setKeyCompression - ( bool b ) - - - setPalette - setPalette-2 - ( const QPalette & p, bool b ) - - - setPaletteBackgroundColor - setPaletteBackgroundColor - ( const QColor & color ) - - - setPaletteBackgroundPixmap - setPaletteBackgroundPixmap - ( const QPixmap & pixmap ) - - - setPaletteForegroundColor - setPaletteForegroundColor - ( const QColor & color ) - - - setShown - setShown - ( bool shown ) - - - setSizePolicy - setSizePolicy-2 - ( QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw ) - - - setStyle - setStyle-2 - ( const QString & style ) - - - unsetFont - unsetFont - () - - - unsetPalette - unsetPalette - () - - - visibleRect - visibleRect - () - - - wmapper - wmapper - () - - - - QWidgetAction - qwidgetaction.html - - QWidgetAction - QWidgetAction - ( QObject * parent ) - - - createWidget - createWidget - ( QWidget * parent ) - - - createdWidgets - createdWidgets - () - - - defaultWidget - defaultWidget - () - - - deleteWidget - deleteWidget - ( QWidget * widget ) - - - releaseWidget - releaseWidget - ( QWidget * widget ) - - - requestWidget - requestWidget - ( QWidget * parent ) - - - setDefaultWidget - setDefaultWidget - ( QWidget * widget ) - - - - QWidgetItem - qwidgetitem.html - - QWidgetItem - QWidgetItem - ( QWidget * widget ) - - - isEmpty - isEmpty - () - - - widget - widget - () - - - - QWindowsMime - qwindowsmime.html - - QWindowsMime - QWindowsMime - () - - - canConvertFromMime - canConvertFromMime - ( const FORMATETC & formatetc, const QMimeData * mimeData ) - - - canConvertToMime - canConvertToMime - ( const QString & mimeType, IDataObject * pDataObj ) - - - convertFromMime - convertFromMime - ( const FORMATETC & formatetc, const QMimeData * mimeData, STGMEDIUM * pmedium ) - - - convertToMime - convertToMime - ( const QString & mimeType, IDataObject * pDataObj, QVariant::Type preferredType ) - - - formatsForMime - formatsForMime - ( const QString & mimeType, const QMimeData * mimeData ) - - - mimeForFormat - mimeForFormat - ( const FORMATETC & formatetc ) - - - registerMimeType - registerMimeType - ( const QString & mime ) - - - - QWindowsStyle - qwindowsstyle.html - - QWindowsStyle - QWindowsStyle - () - - - - QWindowStateChangeEvent - qwindowstatechangeevent.html - - WindowStates - oldState - QWindowStateChangeEvent::oldState() - - - - QWindowsVistaStyle - qwindowsvistastyle.html - - QWindowsVistaStyle - QWindowsVistaStyle - () - - - - QWindowsXPStyle - qwindowsxpstyle.html - - QWindowsXPStyle - QWindowsXPStyle - () - - - - QWizard - qwizard.html - - WizardButton - WizardButton-enum - - - - WizardPixmap - WizardPixmap-enum - - - - WizardStyle - WizardStyle-enum - - - - TextFormat - subTitleFormat-prop - - - - TextFormat - titleFormat-prop - - - - QWizard - QWizard - ( QWidget * parent = 0, Qt::WindowFlags flags = 0 ) - - - addPage - addPage - ( QWizardPage * page ) - - - back - back - () - - - button - button - ( WizardButton which ) - - - buttonText - buttonText - ( WizardButton which ) - - - cleanupPage - cleanupPage - ( int id ) - - - currentIdChanged - currentIdChanged - ( int id ) - - - currentPage - currentPage - () - - - customButtonClicked - customButtonClicked - ( int which ) - - - field - field - ( const QString & name ) - - - hasVisitedPage - hasVisitedPage - ( int id ) - - - helpRequested - helpRequested - () - - - initializePage - initializePage - ( int id ) - - - next - next - () - - - nextId - nextId - () - - - page - page - ( int id ) - - - pixmap - pixmap - ( WizardPixmap which ) - - - restart - restart - () - - - setButton - setButton - ( WizardButton which, QAbstractButton * button ) - - - setButtonLayout - setButtonLayout - ( const QList<WizardButton> & layout ) - - - setButtonText - setButtonText - ( WizardButton which, const QString & text ) - - - setDefaultProperty - setDefaultProperty - ( const char * className, const char * property, const char * changedSignal ) - - - setField - setField - ( const QString & name, const QVariant & value ) - - - setOption - setOption - ( WizardOption option, bool on = true ) - - - setPage - setPage - ( int id, QWizardPage * page ) - - - setPixmap - setPixmap - ( WizardPixmap which, const QPixmap & pixmap ) - - - testOption - testOption - ( WizardOption option ) - - - validateCurrentPage - validateCurrentPage - () - - - visitedPages - visitedPages - () - - - - QWizardPage - qwizardpage.html - - QWizardPage - QWizardPage - ( QWidget * parent = 0 ) - - - buttonText - buttonText - ( QWizard::WizardButton which ) - - - cleanupPage - cleanupPage - () - - - completeChanged - completeChanged - () - - - field - field - ( const QString & name ) - - - initializePage - initializePage - () - - - isCommitPage - isCommitPage - () - - - isComplete - isComplete - () - - - isFinalPage - isFinalPage - () - - - nextId - nextId - () - - - pixmap - pixmap - ( QWizard::WizardPixmap which ) - - - registerField - registerField - ( const QString & name, QWidget * widget, const char * property = 0, const char * changedSignal = 0 ) - - - setButtonText - setButtonText - ( QWizard::WizardButton which, const QString & text ) - - - setCommitPage - setCommitPage - ( bool commitPage ) - - - setField - setField - ( const QString & name, const QVariant & value ) - - - setFinalPage - setFinalPage - ( bool finalPage ) - - - setPixmap - setPixmap - ( QWizard::WizardPixmap which, const QPixmap & pixmap ) - - - validatePage - validatePage - () - - - wizard - wizard - () - - - QWorkspace - QWorkspace-2 - ( QWidget * parent, const char * name ) - - - setPaletteBackgroundColor - setPaletteBackgroundColor - ( const QColor & c ) - - - setPaletteBackgroundPixmap - setPaletteBackgroundPixmap - ( const QPixmap & pm ) - - - - QWorkspace - qworkspace.html - - WindowOrder - WindowOrder-enum - - - - QWorkspace - QWorkspace - ( QWidget * parent = 0 ) - - - activateNextWindow - activateNextWindow - () - - - activatePreviousWindow - activatePreviousWindow - () - - - activeWindow - activeWindow - () - - - addWindow - addWindow - ( QWidget * w, Qt::WindowFlags flags = 0 ) - - - arrangeIcons - arrangeIcons - () - - - cascade - cascade - () - - - closeActiveWindow - closeActiveWindow - () - - - closeAllWindows - closeAllWindows - () - - - setActiveWindow - setActiveWindow - ( QWidget * w ) - - - tile - tile - () - - - windowActivated - windowActivated - ( QWidget * w ) - - - windowList - windowList - ( WindowOrder order = CreationOrder ) - - - QWorkspace - QWorkspace-2 - ( QWidget * parent, const char * name ) - - - setPaletteBackgroundColor - setPaletteBackgroundColor - ( const QColor & c ) - - - setPaletteBackgroundPixmap - setPaletteBackgroundPixmap - ( const QPixmap & pm ) - - - - QWriteLocker - qwritelocker.html - - QWriteLocker - QWriteLocker - ( QReadWriteLock * lock ) - - - readWriteLock - readWriteLock - () - - - relock - relock - () - - - unlock - unlock - () - - - - QWSCalibratedMouseHandler - qwscalibratedmousehandler.html - - calibrate - calibrate - ( const QWSPointerCalibrationData * data ) - - - clearCalibration - clearCalibration - () - - - readCalibration - readCalibration - () - - - sendFiltered - sendFiltered - ( const QPoint & position, int state ) - - - setFilterSize - setFilterSize - ( int size ) - - - transform - transform - ( const QPoint & position ) - - - writeCalibration - writeCalibration - () - - - - QWSClient - qwsclient.html - - clientId - clientId - () - - - identity - identity - () - - - - QWSEmbedWidget - qwsembedwidget.html - - QWSEmbedWidget - QWSEmbedWidget - ( WId id, QWidget * parent = 0 ) - - - - QWSEvent - qwsevent.html - - Type - Type-enum - - - - - QWSGLWindowSurface - qwsglwindowsurface.html - - QWSGLWindowSurface - QWSGLWindowSurface - ( QWidget * window ) - - - QWSGLWindowSurface - QWSGLWindowSurface-2 - () - - - context - context - () - - - setContext - setContext - ( QGLContext * context ) - - - sendIMEvent - sendIMEvent - ( QWSServer::IMState state, const QString & text, int cursorPosition, int selectionLength = 0 ) - - - - QWSInputMethod - qwsinputmethod.html - - UpdateType - UpdateType-enum - - - - QWSInputMethod - QWSInputMethod - () - - - filter - filter - ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) - - - filter - filter-2 - ( const QPoint & position, int state, int wheel ) - - - inputResolutionShift - inputResolutionShift - () - - - mouseHandler - mouseHandler - ( int offset, int state ) - - - queryResponse - queryResponse - ( int property, const QVariant & result ) - - - reset - reset - () - - - sendCommitString - sendCommitString - ( const QString & commitString, int replaceFromPosition = 0, int replaceLength = 0 ) - - - sendEvent - sendEvent - ( const QInputMethodEvent * event ) - - - sendMouseEvent - sendMouseEvent - ( const QPoint & position, int state, int wheel ) - - - sendPreeditString - sendPreeditString - ( const QString & preeditString, int cursorPosition, int selectionLength = 0 ) - - - sendQuery - sendQuery - ( int property ) - - - setInputResolution - setInputResolution - ( bool isHigh ) - - - updateHandler - updateHandler - ( int type ) - - - - QWSKeyboardHandler - qwskeyboardhandler.html - - QWSKeyboardHandler - QWSKeyboardHandler - () - - - beginAutoRepeat - beginAutoRepeat - ( int unicode, int keycode, Qt::KeyboardModifiers modifier ) - - - endAutoRepeat - endAutoRepeat - () - - - processKeyEvent - processKeyEvent - ( int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat ) - - - transformDirKey - transformDirKey - ( int keycode ) - - - - QWSMouseHandler - qwsmousehandler.html - - QWSMouseHandler - QWSMouseHandler - ( const QString & driver = QString() - - - calibrate - calibrate - ( const QWSPointerCalibrationData * data ) - - - clearCalibration - clearCalibration - () - - - limitToScreen - limitToScreen - ( QPoint & position ) - - - mouseChanged - mouseChanged - ( const QPoint & position, int state, int wheel = 0 ) - - - pos - pos - () - - - resume - resume - () - - - setScreen - setScreen - ( const QScreen * screen ) - - - suspend - suspend - () - - - - QWSPointerCalibrationData - qwspointercalibrationdata.html - - Location - Location-enum - - - - devPoints - devPoints-var - [5] - - - screenPoints - screenPoints-var - [5] - - - - QWSScreenSaver - qwsscreensaver.html - - restore - restore - () - - - save - save - ( int level ) - - - - QWSServer::KeyboardFilter - qwsserver-keyboardfilter.html - - filter - filter - ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) - - - IMState - IMState-enum - - - - QWSServer - QWSServer-2 - ( int flags, QObject * parent, const char * name ) - - - setDesktopBackground - setDesktopBackground - ( const QImage & image ) - - - setDesktopBackground - setDesktopBackground-2 - ( const QColor & color ) - - - - QWSServer - qwsserver.html - - IMMouse - IMMouse-enum - - - - WindowEvent - WindowEvent-enum - - - - addKeyboardFilter - addKeyboardFilter - ( KeyboardFilter * filter ) - - - backgroundBrush - backgroundBrush - () - - - clientWindows - clientWindows - () - - - closeKeyboard - closeKeyboard - () - - - closeMouse - closeMouse - () - - - enablePainting - enablePainting - ( bool enable ) - - - instance - instance - () - - - isCursorVisible - isCursorVisible - () - - - keyboardHandler - keyboardHandler - () - - - markedText - markedText - ( const QString & selection ) - - - mouseHandler - mouseHandler - () - - - newChannel - newChannel - ( const QString & channel ) - - - openKeyboard - openKeyboard - () - - - openMouse - openMouse - () - - - processKeyEvent - processKeyEvent - ( int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat ) - - - refresh - refresh - () - - - refresh - refresh-2 - ( QRegion & region ) - - - removeKeyboardFilter - removeKeyboardFilter - () - - - removedChannel - removedChannel - ( const QString & channel ) - - - resumeMouse - resumeMouse - () - - - screenSaverActivate - screenSaverActivate - ( bool activate ) - - - screenSaverActive - screenSaverActive - () - - - sendIMEvent - sendIMEvent - ( const QInputMethodEvent * event ) - - - sendIMQuery - sendIMQuery - ( int property ) - - - sendKeyEvent - sendKeyEvent - ( int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat ) - - - setBackground - setBackground - ( const QBrush & brush ) - - - setCurrentInputMethod - setCurrentInputMethod - ( QWSInputMethod * method ) - - - setCursorVisible - setCursorVisible - ( bool visible ) - - - setDefaultKeyboard - setDefaultKeyboard - ( const char * keyboardDriver ) - - - setDefaultMouse - setDefaultMouse - ( const char * mouseDriver ) - - - setKeyboardHandler - setKeyboardHandler - ( QWSKeyboardHandler * driver ) - - - setMaxWindowRect - setMaxWindowRect - ( const QRect & rectangle ) - - - setMouseHandler - setMouseHandler - ( QWSMouseHandler * driver ) - - - setScreenSaver - setScreenSaver - ( QWSScreenSaver * screenSaver ) - - - setScreenSaverBlockLevel - setScreenSaverBlockLevel - ( int eventBlockLevel ) - - - setScreenSaverInterval - setScreenSaverInterval - ( int milliseconds ) - - - setScreenSaverIntervals - setScreenSaverIntervals - ( int * intervals ) - - - suspendMouse - suspendMouse - () - - - timerEvent - timerEvent - ( QTimerEvent * e ) - - - windowAt - windowAt - ( const QPoint & position ) - - - windowEvent - windowEvent - ( QWSWindow * window, QWSServer::WindowEvent eventType ) - - - QWSServer - QWSServer-2 - ( int flags, QObject * parent, const char * name ) - - - setDesktopBackground - setDesktopBackground - ( const QImage & image ) - - - setDesktopBackground - setDesktopBackground-2 - ( const QColor & color ) - - - - QWSWindow - qwswindow.html - - State - State-enum - - - - caption - caption - () - - - client - client - () - - - dirtyOnScreen - dirtyOnScreen - () - - - isFullyObscured - isFullyObscured - () - - - isOpaque - isOpaque - () - - - isVisible - isVisible - () - - - name - name - () - - - opacity - opacity - () - - - requestedRegion - requestedRegion - () - - - state - state - () - - - winId - winId - () - - - WindowFlags - windowFlags - QWSWindow::windowFlags() - - - - QX11EmbedContainer - qx11embedcontainer.html - - Error - Error-enum - - - - QX11EmbedContainer - QX11EmbedContainer - ( QWidget * parent = 0 ) - - - clientClosed - clientClosed - () - - - clientIsEmbedded - clientIsEmbedded - () - - - clientWinId - clientWinId - () - - - discardClient - discardClient - () - - - embedClient - embedClient - ( WId id ) - - - error - error - () - - - error - error-2 - ( QX11EmbedContainer::Error error ) - - - - QX11EmbedWidget - qx11embedwidget.html - - Error - Error-enum - - - - QX11EmbedWidget - QX11EmbedWidget - ( QWidget * parent = 0 ) - - - containerClosed - containerClosed - () - - - containerWinId - containerWinId - () - - - embedInto - embedInto - ( WId id ) - - - embedded - embedded - () - - - error - error - () - - - error - error-2 - ( QX11EmbedWidget::Error error ) - - - - QX11Info - qx11info.html - - QX11Info - QX11Info - () - - - QX11Info - QX11Info-2 - ( const QX11Info & other ) - - - appCells - appCells - ( int screen = -1 ) - - - appClass - appClass - () - - - HANDLE - appColormap - QX11Info::appColormap( int screen = -1 ) - - - appDefaultColormap - appDefaultColormap - ( int screen = -1 ) - - - appDefaultVisual - appDefaultVisual - ( int screen = -1 ) - - - appDepth - appDepth - ( int screen = -1 ) - - - appDpiX - appDpiX - ( int screen = -1 ) - - - appDpiY - appDpiY - ( int screen = -1 ) - - - HANDLE - appRootWindow - QX11Info::appRootWindow( int screen = -1 ) - - - appScreen - appScreen - () - - - appTime - appTime - () - - - appUserTime - appUserTime - () - - - appVisual - appVisual - ( int screen = -1 ) - - - cells - cells - () - - - HANDLE - colormap - QX11Info::colormap() - - - defaultColormap - defaultColormap - () - - - defaultVisual - defaultVisual - () - - - depth - depth - () - - - display - display - () - - - screen - screen - () - - - setAppDpiX - setAppDpiX - ( int screen, int xdpi ) - - - setAppDpiY - setAppDpiY - ( int screen, int ydpi ) - - - setAppTime - setAppTime - ( unsigned long time ) - - - setAppUserTime - setAppUserTime - ( unsigned long time ) - - - visual - visual - () - - - operator= - operator-eq - ( const QX11Info & other ) - - - - QXmlAttributes - qxmlattributes.html - - QXmlAttributes - QXmlAttributes - () - - - append - append - ( const QString & qName, const QString & uri, const QString & localPart, const QString & value ) - - - clear - clear - () - - - count - count - () - - - index - index - ( const QString & qName ) - - - index - index-2 - ( const QLatin1String & qName ) - - - index - index-3 - ( const QString & uri, const QString & localPart ) - - - length - length - () - - - localName - localName - ( int index ) - - - qName - qName - ( int index ) - - - type - type - ( int index ) - - - type - type-2 - ( const QString & qName ) - - - type - type-3 - ( const QString & uri, const QString & localName ) - - - uri - uri - ( int index ) - - - value - value - ( int index ) - - - value - value-2 - ( const QString & qName ) - - - value - value-3 - ( const QLatin1String & qName ) - - - value - value-4 - ( const QString & uri, const QString & localName ) - - - - QXmlContentHandler - qxmlcontenthandler.html - - characters - characters - ( const QString & ch ) - - - endDocument - endDocument - () - - - endElement - endElement - ( const QString & namespaceURI, const QString & localName, const QString & qName ) - - - endPrefixMapping - endPrefixMapping - ( const QString & prefix ) - - - errorString - errorString - () - - - ignorableWhitespace - ignorableWhitespace - ( const QString & ch ) - - - processingInstruction - processingInstruction - ( const QString & target, const QString & data ) - - - setDocumentLocator - setDocumentLocator - ( QXmlLocator * locator ) - - - skippedEntity - skippedEntity - ( const QString & name ) - - - startDocument - startDocument - () - - - startElement - startElement - ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts ) - - - startPrefixMapping - startPrefixMapping - ( const QString & prefix, const QString & uri ) - - - - QXmlDeclHandler - qxmldeclhandler.html - - attributeDecl - attributeDecl - ( const QString & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value ) - - - errorString - errorString - () - - - externalEntityDecl - externalEntityDecl - ( const QString & name, const QString & publicId, const QString & systemId ) - - - internalEntityDecl - internalEntityDecl - ( const QString & name, const QString & value ) - - - - QXmlDefaultHandler - qxmldefaulthandler.html - - QXmlDefaultHandler - QXmlDefaultHandler - () - - - - QXmlDTDHandler - qxmldtdhandler.html - - errorString - errorString - () - - - notationDecl - notationDecl - ( const QString & name, const QString & publicId, const QString & systemId ) - - - unparsedEntityDecl - unparsedEntityDecl - ( const QString & name, const QString & publicId, const QString & systemId, const QString & notationName ) - - - - QXmlEntityResolver - qxmlentityresolver.html - - errorString - errorString - () - - - resolveEntity - resolveEntity - ( const QString & publicId, const QString & systemId, QXmlInputSource *& ret ) - - - - QXmlErrorHandler - qxmlerrorhandler.html - - error - error - ( const QXmlParseException & exception ) - - - errorString - errorString - () - - - fatalError - fatalError - ( const QXmlParseException & exception ) - - - warning - warning - ( const QXmlParseException & exception ) - - - QXmlInputSource - QXmlInputSource-3 - ( QFile & file ) - - - QXmlInputSource - QXmlInputSource-4 - ( QTextStream & stream ) - - - - QXmlInputSource - qxmlinputsource.html - - QXmlInputSource - QXmlInputSource - () - - - QXmlInputSource - QXmlInputSource-2 - ( QIODevice * dev ) - - - data - data - () - - - fetchData - fetchData - () - - - fromRawData - fromRawData - ( const QByteArray & data, bool beginning = false ) - - - next - next - () - - - reset - reset - () - - - setData - setData - ( const QString & dat ) - - - setData - setData-2 - ( const QByteArray & dat ) - - - QXmlInputSource - QXmlInputSource-3 - ( QFile & file ) - - - QXmlInputSource - QXmlInputSource-4 - ( QTextStream & stream ) - - - - QXmlLexicalHandler - qxmllexicalhandler.html - - comment - comment - ( const QString & ch ) - - - endCDATA - endCDATA - () - - - endDTD - endDTD - () - - - endEntity - endEntity - ( const QString & name ) - - - errorString - errorString - () - - - startCDATA - startCDATA - () - - - startDTD - startDTD - ( const QString & name, const QString & publicId, const QString & systemId ) - - - startEntity - startEntity - ( const QString & name ) - - - - QXmlLocator - qxmllocator.html - - QXmlLocator - QXmlLocator - () - - - columnNumber - columnNumber - () - - - lineNumber - lineNumber - () - - - - QXmlNamespaceSupport - qxmlnamespacesupport.html - - QXmlNamespaceSupport - QXmlNamespaceSupport - () - - - popContext - popContext - () - - - prefix - prefix - ( const QString & uri ) - - - prefixes - prefixes - () - - - prefixes - prefixes-2 - ( const QString & uri ) - - - processName - processName - ( const QString & qname, bool isAttribute, QString & nsuri, QString & localname ) - - - pushContext - pushContext - () - - - reset - reset - () - - - setPrefix - setPrefix - ( const QString & pre, const QString & uri ) - - - splitName - splitName - ( const QString & qname, QString & prefix, QString & localname ) - - - uri - uri - ( const QString & prefix ) - - - - QXmlParseException - qxmlparseexception.html - - QXmlParseException - QXmlParseException - ( const QString & name = QString() - - - columnNumber - columnNumber - () - - - lineNumber - lineNumber - () - - - message - message - () - - - publicId - publicId - () - - - systemId - systemId - () - - - parse - parse-2 - ( const QXmlInputSource & input ) - - - - QXmlReader - qxmlreader.html - - DTDHandler - DTDHandler - () - - - contentHandler - contentHandler - () - - - declHandler - declHandler - () - - - entityResolver - entityResolver - () - - - errorHandler - errorHandler - () - - - feature - feature - ( const QString & name, bool * ok = 0 ) - - - hasFeature - hasFeature - ( const QString & name ) - - - hasProperty - hasProperty - ( const QString & name ) - - - lexicalHandler - lexicalHandler - () - - - parse - parse - ( const QXmlInputSource * input ) - - - property - property - ( const QString & name, bool * ok = 0 ) - - - setContentHandler - setContentHandler - ( QXmlContentHandler * handler ) - - - setDTDHandler - setDTDHandler - ( QXmlDTDHandler * handler ) - - - setDeclHandler - setDeclHandler - ( QXmlDeclHandler * handler ) - - - setEntityResolver - setEntityResolver - ( QXmlEntityResolver * handler ) - - - setErrorHandler - setErrorHandler - ( QXmlErrorHandler * handler ) - - - setFeature - setFeature - ( const QString & name, bool value ) - - - setLexicalHandler - setLexicalHandler - ( QXmlLexicalHandler * handler ) - - - setProperty - setProperty - ( const QString & name, void * value ) - - - - QXmlSimpleReader - qxmlsimplereader.html - - QXmlSimpleReader - QXmlSimpleReader - () - - - parse - parse - ( const QXmlInputSource * input, bool incremental ) - - - parseContinue - parseContinue - () - - - setFeature - setFeature - ( const QString & name, bool enable ) - - - - QXmlStreamAttribute - qxmlstreamattribute.html - - QXmlStreamAttribute - QXmlStreamAttribute - () - - - QXmlStreamAttribute - QXmlStreamAttribute-2 - ( const QString & qualifiedName, const QString & value ) - - - QXmlStreamAttribute - QXmlStreamAttribute-3 - ( const QString & namespaceUri, const QString & name, const QString & value ) - - - QXmlStreamAttribute - QXmlStreamAttribute-4 - ( const QXmlStreamAttribute & other ) - - - isDefault - isDefault - () - - - name - name - () - - - namespaceUri - namespaceUrix - () - - - qualifiedName - qualifiedName - () - - - value - value - () - - - operator!= - operator-not-eq - ( const QXmlStreamAttribute & other ) - - - operator= - operator-eq - ( const QXmlStreamAttribute & other ) - - - operator== - operator-eq-eq - ( const QXmlStreamAttribute & other ) - - - - QXmlStreamAttributes - qxmlstreamattributes.html - - append - append - ( const QString & namespaceUri, const QString & name, const QString & value ) - - - append - append-2 - ( const QString & qualifiedName, const QString & value ) - - - value - value - ( const QString & namespaceUri, const QString & name ) - - - value - value-2 - ( const QString & namespaceUri, const QLatin1String & name ) - - - value - value-3 - ( const QLatin1String & namespaceUri, const QLatin1String & name ) - - - value - value-4 - ( const QString & qualifiedName ) - - - value - value-5 - ( const QLatin1String & qualifiedName ) - - - - QXmlStreamEntityDeclaration - qxmlstreamentitydeclaration.html - - QXmlStreamEntityDeclaration - QXmlStreamEntityDeclaration - () - - - QXmlStreamEntityDeclaration - QXmlStreamEntityDeclaration-2 - ( const QXmlStreamEntityDeclaration & other ) - - - name - name - () - - - notationName - notationName - () - - - publicId - publicId - () - - - systemId - systemId - () - - - value - value - () - - - operator!= - operator-not-eq - ( const QXmlStreamEntityDeclaration & other ) - - - operator= - operator-eq - ( const QXmlStreamEntityDeclaration & other ) - - - operator== - operator-eq-eq - ( const QXmlStreamEntityDeclaration & other ) - - - - QXmlStreamNamespaceDeclaration - qxmlstreamnamespacedeclaration.html - - QXmlStreamNamespaceDeclaration - QXmlStreamNamespaceDeclaration - () - - - QXmlStreamNamespaceDeclaration - QXmlStreamNamespaceDeclaration-2 - ( const QXmlStreamNamespaceDeclaration & other ) - - - namespaceUri - namespaceUrix - () - - - prefix - prefix - () - - - operator!= - operator-not-eq - ( const QXmlStreamNamespaceDeclaration & other ) - - - operator= - operator-eq - ( const QXmlStreamNamespaceDeclaration & other ) - - - operator== - operator-eq-eq - ( const QXmlStreamNamespaceDeclaration & other ) - - - - QXmlStreamNotationDeclaration - qxmlstreamnotationdeclaration.html - - QXmlStreamNotationDeclaration - QXmlStreamNotationDeclaration - () - - - QXmlStreamNotationDeclaration - QXmlStreamNotationDeclaration-2 - ( const QXmlStreamNotationDeclaration & other ) - - - name - name - () - - - publicId - publicId - () - - - systemId - systemId - () - - - operator!= - operator-not-eq - ( const QXmlStreamNotationDeclaration & other ) - - - operator= - operator-eq - ( const QXmlStreamNotationDeclaration & other ) - - - operator== - operator-eq-eq - ( const QXmlStreamNotationDeclaration & other ) - - - - QXmlStreamReader - qxmlstreamreader.html - - Error - Error-enum - - - - TokenType - TokenType-enum - - - - QXmlStreamReader - QXmlStreamReader - () - - - QXmlStreamReader - QXmlStreamReader-2 - ( QIODevice * device ) - - - QXmlStreamReader - QXmlStreamReader-3 - ( const QByteArray & data ) - - - QXmlStreamReader - QXmlStreamReader-4 - ( const QString & data ) - - - QXmlStreamReader - QXmlStreamReader-5 - ( const char * data ) - - - addData - addData - ( const QByteArray & data ) - - - addData - addData-2 - ( const QString & data ) - - - addData - addData-3 - ( const char * data ) - - - atEnd - atEnd - () - - - attributes - attributes - () - - - characterOffset - characterOffset - () - - - clear - clear - () - - - columnNumber - columnNumber - () - - - device - device - () - - - entityDeclarations - entityDeclarations - () - - - error - error - () - - - errorString - errorString - () - - - hasError - hasError - () - - - isCDATA - isCDATA - () - - - isCharacters - isCharacters - () - - - isComment - isComment - () - - - isDTD - isDTD - () - - - isEndDocument - isEndDocument - () - - - isEndElement - isEndElement - () - - - isEntityReference - isEntityReference - () - - - isProcessingInstruction - isProcessingInstruction - () - - - isStandaloneDocument - isStandaloneDocument - () - - - isStartDocument - isStartDocument - () - - - isStartElement - isStartElement - () - - - isWhitespace - isWhitespace - () - - - lineNumber - lineNumber - () - - - name - name - () - - - namespaceDeclarations - namespaceDeclarations - () - - - namespaceUri - namespaceUrix - () - - - notationDeclarations - notationDeclarations - () - - - processingInstructionData - processingInstructionData - () - - - processingInstructionTarget - processingInstructionTarget - () - - - qualifiedName - qualifiedName - () - - - raiseError - raiseError - ( const QString & message = QString() - - - readElementText - readElementText - () - - - readNext - readNext - () - - - setDevice - setDevice - ( QIODevice * device ) - - - text - text - () - - - tokenString - tokenString - () - - - tokenType - tokenType - () - - - - QXmlStreamWriter - qxmlstreamwriter.html - - QXmlStreamWriter - QXmlStreamWriter - () - - - QXmlStreamWriter - QXmlStreamWriter-2 - ( QIODevice * device ) - - - QXmlStreamWriter - QXmlStreamWriter-3 - ( QByteArray * array ) - - - QXmlStreamWriter - QXmlStreamWriter-4 - ( QString * string ) - - - codec - codec - () - - - device - device - () - - - setCodec - setCodec - ( QTextCodec * codec ) - - - setCodec - setCodec-2 - ( const char * codecName ) - - - setDevice - setDevice - ( QIODevice * device ) - - - writeAttribute - writeAttribute - ( const QString & namespaceUri, const QString & name, const QString & value ) - - - writeAttribute - writeAttribute-2 - ( const QString & qualifiedName, const QString & value ) - - - writeAttribute - writeAttribute-3 - ( const QXmlStreamAttribute & attribute ) - - - writeAttributes - writeAttributes - ( const QXmlStreamAttributes & attributes ) - - - writeCDATA - writeCDATA - ( const QString & text ) - - - writeCharacters - writeCharacters - ( const QString & text ) - - - writeComment - writeComment - ( const QString & text ) - - - writeCurrentToken - writeCurrentToken - ( const QXmlStreamReader & reader ) - - - writeDTD - writeDTD - ( const QString & dtd ) - - - writeDefaultNamespace - writeDefaultNamespace - ( const QString & namespaceUri ) - - - writeEmptyElement - writeEmptyElement - ( const QString & namespaceUri, const QString & name ) - - - writeEmptyElement - writeEmptyElement-2 - ( const QString & qualifiedName ) - - - writeEndDocument - writeEndDocument - () - - - writeEndElement - writeEndElement - () - - - writeEntityReference - writeEntityReference - ( const QString & name ) - - - writeNamespace - writeNamespace - ( const QString & namespaceUri, const QString & prefix = QString() - - - writeProcessingInstruction - writeProcessingInstruction - ( const QString & target, const QString & data = QString() - - - writeStartDocument - writeStartDocument - ( const QString & version ) - - - writeStartDocument - writeStartDocument-2 - () - - - writeStartElement - writeStartElement - ( const QString & namespaceUri, const QString & name ) - - - writeStartElement - writeStartElement-2 - ( const QString & qualifiedName ) - - - writeTextElement - writeTextElement - ( const QString & namespaceUri, const QString & name, const QString & text ) - - - writeTextElement - writeTextElement-2 - ( const QString & qualifiedName, const QString & text ) - - - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtcheckcombobox.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtcheckcombobox.png deleted file mode 100644 index 8a5ea20a..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtcheckcombobox.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfigdialog.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfigdialog.png deleted file mode 100644 index eb560f5c..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfigdialog.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfirmationmessage.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfirmationmessage.png deleted file mode 100644 index 55a2c28b..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtconfirmationmessage.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtgroupbox.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtgroupbox.png deleted file mode 100644 index b8afc7a5..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtgroupbox.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtheaderview.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtheaderview.png deleted file mode 100644 index fe6e4e20..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtheaderview.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtlabel.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtlabel.png deleted file mode 100644 index 26722d98..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtlabel.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtlistwidget.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtlistwidget.png deleted file mode 100644 index 02ffd77b..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtlistwidget.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtprogresslabel.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtprogresslabel.png deleted file mode 100644 index 51575268..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtprogresslabel.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtpushbutton.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtpushbutton.png deleted file mode 100644 index 493139ae..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtpushbutton.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtspanslider.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtspanslider.png deleted file mode 100644 index 52b0b032..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtspanslider.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtstars.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtstars.png deleted file mode 100644 index 418abfb2..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtstars.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxtstringspinbox.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxtstringspinbox.png deleted file mode 100644 index a9a4c28f..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxtstringspinbox.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxttablewidget.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxttablewidget.png deleted file mode 100644 index 187a0955..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxttablewidget.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxttabwidget.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxttabwidget.png deleted file mode 100644 index ac6ef936..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxttabwidget.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxttooltip.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxttooltip.png deleted file mode 100644 index d361f88a..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxttooltip.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/qxttreewidget.png b/src/contrib/libqxt-2007-10-24/doctemplate/qxttreewidget.png deleted file mode 100644 index 8b27c8fd..00000000 Binary files a/src/contrib/libqxt-2007-10-24/doctemplate/qxttreewidget.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/site.html b/src/contrib/libqxt-2007-10-24/doctemplate/site.html deleted file mode 100644 index 0bf4f522..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/site.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - libqxt documentation - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/doctemplate/stylesheet.css b/src/contrib/libqxt-2007-10-24/doctemplate/stylesheet.css deleted file mode 100755 index e5f50cb5..00000000 --- a/src/contrib/libqxt-2007-10-24/doctemplate/stylesheet.css +++ /dev/null @@ -1,41 +0,0 @@ -body - { - background: #ffffff; - color: black - } -pre - { - padding: 0.2em; - border: #e7e7e7 1px solid; - background: #f1f1f1; - color: black; - text-indent:10px; - } - -h3.fn,span.fn - { - margin-left: 1cm; - text-indent: -1cm; - } - -a:link - { - color: #004faf; - text-decoration: none - } - -a:visited - { - color: #672967; - text-decoration: none - } - -.fn - { - font-weight: bold; - } - -.paramname - { - font-style: italic; - } diff --git a/src/contrib/libqxt-2007-10-24/examples/rpcpeer/main.cpp b/src/contrib/libqxt-2007-10-24/examples/rpcpeer/main.cpp deleted file mode 100644 index a8d80193..00000000 --- a/src/contrib/libqxt-2007-10-24/examples/rpcpeer/main.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** ***** QxtRPCPeer demonstration ***** - -This example shows the power of QxtRPCPeer with QxtSemaphore -It shows two QxtSpanSliders, both connected with the range property. -Run this app twice and watch the sliders sync -When QxtnamedPipe is ready, and the improvement to QxtRPCPeer is done, it will be posible to do the same -without actualy blocking a port. - -QxtSemaphore is experimental. Do not kill the app, use the guis close button instead -if you already killed the app, the semaphore might be blocked, try changing it if the app doesn't work. -*/ - -#include -#include -#include -#include - -int main(int argc, char** argv) - { - QxtApplication app(argc,argv); - QxtSpanSlider slider; - QxtRPCPeer peer; - peer.setRPCType(QxtRPCPeer::Peer); - - QxtSemaphore smp("org.libqxt.examples.rpcpeer.singleinstance"); - if(smp.trylock()) - peer.listen ( QHostAddress::LocalHost, 56663); - else - peer.connect ( QHostAddress::LocalHost, 56663); - - peer.attachSignal (&slider, SIGNAL(spanChanged(int,int))); - peer.attachSlot ( "spanChanged",&slider, SLOT(setSpan(int,int))); - - slider.resize(80,200); - slider.show(); - app.exec(); - }; diff --git a/src/contrib/libqxt-2007-10-24/examples/rpcpeer/rpcpeer.pro b/src/contrib/libqxt-2007-10-24/examples/rpcpeer/rpcpeer.pro deleted file mode 100644 index 8a1d7054..00000000 --- a/src/contrib/libqxt-2007-10-24/examples/rpcpeer/rpcpeer.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -CONFIG+=QXT debug -QXT+=network gui diff --git a/src/contrib/libqxt-2007-10-24/extras/GPL_Exception1.0.txt b/src/contrib/libqxt-2007-10-24/extras/GPL_Exception1.0.txt deleted file mode 100644 index 690bb758..00000000 --- a/src/contrib/libqxt-2007-10-24/extras/GPL_Exception1.0.txt +++ /dev/null @@ -1,79 +0,0 @@ -Trolltech GPL Exception version 1.0 -Additional rights granted beyond the GPL (the "Exception"). - -As a special exception to the terms and conditions of version 2.0 of the GPL, -Trolltech hereby grants you the rights described below, provided you agree to -the terms and conditions in this Exception, including its obligations and -restrictions on use. - -Nothing in this Exception gives you or anyone else the right to change the -licensing terms of the Qt Open Source Edition. - -Below, "Licensed Software" shall refer to the software licensed under the GPL -and this exception. - -1) The right to use Open Source Licenses not compatible with the GNU -General Public License: You may link software (hereafter referred to as "Your -Software") against the Licensed Software and/or distribute binaries of Your -Software linked against the Licensed Software, provided that: - -A) Your Software is licensed under one of the following licenses: - -License name Version(s)/Copyright Date - Academic Free License 2.0 or 2.1 - Apache Software License 1.0 or 1.1 - Apache License 2.0 - Apple Public Source License 2.0 - Artistic license From Perl 5.8.0 - BSD license "July 22 1999" - Common Public License 1.0 - GNU Library or "Lesser" 2.0 or 2.1 - General Public License (LGPL) - Jabber Open Source License 1.0 - MIT License (as attached) - Mozilla Public License (MPL) 1.0 or 1.1 - Open Software License 2.0 - OpenSSL license (with original "2003" ("1998") - SSLeay license) - PHP License 3.0 - Python license (CNRI Python License) (as attached) - Python Software Foundation License 2.1.1 - Q Public License v1.0 - Sleepycat License "1999" - W3C License "2001" - X11 License X11R6.6 - Zlib/libpng License (as attached) - Zope Public License 2.0 - - (Licenses without a specific version number or date are reproduced -in the file GPL_Exception1.0_Addendum.txt in your source package). - -and - -B) You must, on request, make a complete package including the complete source -code of Your Software (as defined in the GNU General Public License version -2, section 3, but excluding anything excluded by the special exception in the -same section) available to Trolltech under the same license as that granted -to other recipients of the source code of Your Software. - -and - -C) Your or any other contributor's rights to: - - i) distribute the source code of Your Software to anyone for - any purpose; - - and - - ii) publicly discuss the development project for Your - Software and its goals in any form and in any forum - -are not prohibited by any legal instrument, including but not limited to -contracts, non-disclosure agreements, and employee contracts. - -2) The right to link non-Open Source applications with pre-installed versions -of the Licensed Software: You may link applications with binary pre-installed -versions of the Licensed Software, provided that such applications have been -developed and are deployed in accordance in accordance with the terms and -conditions of the Qt Commercial License -Agreement. diff --git a/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png b/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png deleted file mode 100644 index 58ae9b4f..00000000 Binary files a/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png.svg b/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png.svg deleted file mode 100644 index 060783f6..00000000 --- a/src/contrib/libqxt-2007-10-24/extras/artwork/logo.png.svg +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - Q - + - - Qt extension library - Q - + - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/extras/syntax_highlighting/kate/cpp.xml b/src/contrib/libqxt-2007-10-24/extras/syntax_highlighting/kate/cpp.xml deleted file mode 100644 index 51092bc8..00000000 --- a/src/contrib/libqxt-2007-10-24/extras/syntax_highlighting/kate/cpp.xml +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - asm - break - case - catch - class - const_cast - continue - default - delete - do - dynamic_cast - else - enum - explicit - export - extern - false - friend - for - goto - if - inline - namespace - new - operator - private - protected - public - qobject_cast - reinterpret_cast - return - sizeof - static_cast - struct - switch - template - this - throw - true - try - typedef - typeid - type_info - typename - union - using - virtual - while - - and - and_eq - bad_cast - bad_typeid - bitand - bitor - compl - not - not_eq - or - or_eq - xor - xor_eq - except - finally - xalloc - - - K_DCOP - SLOT - SIGNAL - Q_CLASSINFO - Q_ENUMS - Q_EXPORT - Q_OBJECT - Q_OVERRIDE - Q_PROPERTY - Q_SETS - Q_SIGNALS - Q_SLOTS - Q_FOREACH - Q_DECLARE_FLAGS - Q_INIT_RESOURCE - Q_CLEANUP_RESOURCE - Q_GLOBAL_STATIC - Q_GLOBAL_STATIC_WITH_ARGS - Q_DECLARE_INTERFACE - Q_DECLARE_TYPEINFO - Q_DECLARE_SHARED - Q_DECLARE_FLAGS - Q_DECLARE_OPERATORS_FOR_FLAGS - Q_FOREVER - Q_DECLARE_PRIVATE - Q_DECLARE_PUBLIC - Q_D - Q_Q - Q_DISABLE_COPY - Q_INTERFACES - Q_FLAGS - Q_SCRIPTABLE - Q_INVOKABLE - Q_GADGET - Q_ARG - Q_RETURN_ARG - Q_ASSERT - Q_ASSERT_X - TRUE - FALSE - connect - disconnect - emit - signals - slots - foreach - forever - - - SKIP - QXT_INIT_PRIVATE - QXT_DECLARE_PUBLIC - QXT_DECLARE_PRIVATE - BALL - QXT_DROP - QXT_DROP_OK - QXT_DROP_F - QXT_DROP_SCOPE - QXT_DROP_S - Qxt - - - auto - bool - char - const - double - float - int - long - mutable - register - short - signed - static - unsigned - void - volatile - uchar - uint - int8_t - int16_t - int32_t - int64_t - uint8_t - uint16_t - uint32_t - uint64_t - wchar_t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/features/macx/qxtbuild.prf b/src/contrib/libqxt-2007-10-24/features/macx/qxtbuild.prf deleted file mode 100644 index 1d7c5b49..00000000 --- a/src/contrib/libqxt-2007-10-24/features/macx/qxtbuild.prf +++ /dev/null @@ -1,13 +0,0 @@ -QXTINSTALLDIR=/usr/local/Qxt -include(../../config.pri) -isEmpty(target.path): target.path = /Library/Frameworks -isEmpty(docs.path): docs.path = $${QXTINSTALLDIR}/doc/libqxt -isEmpty(include.path): include.path = $${QXTINSTALLDIR}/include/Qxt -isEmpty(bin.path): bin.path = $${QXTINSTALLDIR}/bin -CONFIG += lib_bundle -FRAMEWORK_HEADERS.version = Versions -FRAMEWORK_HEADERS.files = $${HEADERS} -FRAMEWORK_HEADERS.path = HEADERS -QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS -QMAKE_LFLAGS += -F../../deploy/libs/ -include(../qxtbuild.prf) diff --git a/src/contrib/libqxt-2007-10-24/features/qxtbuild.prf b/src/contrib/libqxt-2007-10-24/features/qxtbuild.prf deleted file mode 100644 index f5aea2cb..00000000 --- a/src/contrib/libqxt-2007-10-24/features/qxtbuild.prf +++ /dev/null @@ -1,14 +0,0 @@ -VERSION = 0.2.4 -incs.path = $${include.path}/$$TARGET/ - -contains(CONFIG,convenience){ - for(header,HEADERS){ - incs.files += $$header - } -} - -incs.files += ../../deploy/include/$${TARGET}/* -LIBS += -L../../deploy/libs/ - -INSTALLS = target incs -include(../../deploy/qt/qxt.prf) diff --git a/src/contrib/libqxt-2007-10-24/features/unix/bootstrap.prf b/src/contrib/libqxt-2007-10-24/features/unix/bootstrap.prf deleted file mode 100644 index e17aeca9..00000000 --- a/src/contrib/libqxt-2007-10-24/features/unix/bootstrap.prf +++ /dev/null @@ -1,42 +0,0 @@ -contains(CONFIG,convenience){ - - - -system( echo > ../../deploy/include/$${TARGET}/$${TARGET}) - - - - -for(part, ModuleBuild){ - mm= - for(ii, $${part}.interfaces){ - mm+=$$ii - } - mm+=$${part} - - - for(i , mm ){ - incs.files+=$${i}.h - message(autogenerating C++ style includes for $${i}) - - system( echo " \\$${LITERAL_HASH}include \\\"$${part}.h\\\" " > ../../deploy/include/$${TARGET}/$${i}) - system( echo >> ../../deploy/include/$${TARGET}/$${i}) - - system( echo " \\$${LITERAL_HASH}include \\\"$${part}.h\\\" " >> ../../deploy/include/$${TARGET}/$${TARGET}) - - - - incs.files+=../../../deploy/include/$${TARGET}/$${i} - } - - - - } - - -system( echo >> ../../deploy/include/$${TARGET}/$${TARGET}) -incs.files+=../../../deploy/include/$${TARGET}/$${TARGET} - - -} - diff --git a/src/contrib/libqxt-2007-10-24/features/unix/qxtbuild.prf b/src/contrib/libqxt-2007-10-24/features/unix/qxtbuild.prf deleted file mode 100644 index 959be867..00000000 --- a/src/contrib/libqxt-2007-10-24/features/unix/qxtbuild.prf +++ /dev/null @@ -1,7 +0,0 @@ -QXTINSTALLDIR = /usr -include(../../config.pri) -isEmpty(target.path): target.path = $${QXTINSTALLDIR}/lib -isEmpty(docs.path): docs.path = $${QXTINSTALLDIR}/share/doc/libqxt -isEmpty(include.path): include.path = $${QXTINSTALLDIR}/include/Qxt -isEmpty(bin.path): bin.path = $${QXTINSTALLDIR}/bin -include(../qxtbuild.prf) diff --git a/src/contrib/libqxt-2007-10-24/features/win32/qxtbuild.prf b/src/contrib/libqxt-2007-10-24/features/win32/qxtbuild.prf deleted file mode 100644 index 5c5bb7e0..00000000 --- a/src/contrib/libqxt-2007-10-24/features/win32/qxtbuild.prf +++ /dev/null @@ -1,9 +0,0 @@ -QXTINSTALLDIR = C:\libqxt -include(../../config.pri) -isEmpty(target.path): target.path = $${QXTINSTALLDIR}/lib -isEmpty(docs.path): docs.path = $${QXTINSTALLDIR}/doc/libqxt -isEmpty(include.path): include.path = $${QXTINSTALLDIR}/include/Qxt -isEmpty(bin.path): bin.path = $${QXTINSTALLDIR}/bin -CONFIG += dll -DEFINES += QXT_WINDOWS -include(../qxtbuild.prf) diff --git a/src/contrib/libqxt-2007-10-24/libqxt.pro b/src/contrib/libqxt-2007-10-24/libqxt.pro deleted file mode 100644 index 9962e7cd..00000000 --- a/src/contrib/libqxt-2007-10-24/libqxt.pro +++ /dev/null @@ -1,73 +0,0 @@ -# -# Qxt main project file -# -# Do not edit this file. -# Use config.pri to specify compile options. -# -unix:!macx:include(features/unix/qxtbuild.prf) -win32:include(features/win32/qxtbuild.prf) -macx:include(features/macx/qxtbuild.prf) - -TEMPLATE = subdirs -DESTDIR = deploy/libs - - -docs.files = deploy/docs/* -#docs.commands = assistant -addContentFile $${docs.path}/index.dcf - - -includes.path = $${include.path}/ -includes.files= deploy/include/* - -#write the paths to prf file -unix:system((echo QXTbase=$${QXTINSTALLDIR}; echo QXTinclude=$${include.path}; echo QXTbin=$${bin.path}; echo QXTlib=$${lib.path}; cat deploy/qt/qxt.prf.m) > deploy/qt/qxt.prf) - -#windows supports similar syntax -win32:system((echo QXTbase=$${QXTINSTALLDIR}& echo QXTinclude=$${include.path} & echo QXTbin=$${bin.path} & echo QXTlib=$${lib.path} & type deploy\qt\qxt.prf.m) > deploy\qt\qxt.prf) - -features.path = $$[QT_INSTALL_DATA]/mkspecs/features -features.files = deploy/qt/qxt.prf - -INSTALLS = docs includes features - - - -contains( QXT_BUILD, core ){ - message( building the core ) - SUBDIRS += src/core -} - - -contains( QXT_BUILD, gui ){ - message( building gui module ) - SUBDIRS += src/gui - contains( QXT_BUILD, designer ): SUBDIRS += src/designer -} - -contains( QXT_BUILD, network ){ - message( building network module ) - SUBDIRS += src/network -} - -contains( QXT_BUILD, sql ){ - message( building sql module ) - SUBDIRS += src/sql -} - -contains(DEFINES,HAVE_CURSES){ -contains( QXT_BUILD, curses ){ - message( building curses module ) - SUBDIRS += src/curses -} -} - - -contains( QXT_BUILD, web ){ - message( building web module ) - SUBDIRS += src/web -} -contains( QXT_BUILD, crypto ){ - message( building crypto module ) - SUBDIRS += src/crypto -} - diff --git a/src/contrib/libqxt-2007-10-24/src/core/core.pro b/src/contrib/libqxt-2007-10-24/src/core/core.pro deleted file mode 100644 index 29ba3c14..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/core.pro +++ /dev/null @@ -1,61 +0,0 @@ -TARGET = QxtCore -DESTDIR = ../../deploy/libs/ -DEPENDPATH += . -INCLUDEPATH += . -DEFINES += BUILD_QXT_CORE -win32: CONFIG += dll -QT = core -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -include(../../config.pri) - - -HEADERS += qxtcsvmodel.h \ - qxterror.h \ - qxtglobal.h \ - qxthypermacros.h \ - qxtmetaobject.h \ - qxtmetatype.h \ - qxtnamespace.h \ - qxtnull.h \ - qxtnullable.h \ - qxtpairList.h \ - qxtpimpl.h \ - qxtsemaphore.h \ - qxtsignalwaiter.h \ - qxttuple.h \ - qxttuplelist.h \ - qxttypelist.h \ - qxtfifo.h \ - qxtstdio.h \ - qxtfilelock_p.h\ - qxtfilelock.h\ - qxtboundfunction.h \ - qxtboundfunctionbase.h \ - qxtboundcfunction.h \ - qxtstdstreambufdevice.h \ - qxtjob.h \ - qxtjob_p.h \ - qxtslotjob.h \ - qxtslotjob_p.h \ - qxtpipe.h - -SOURCES += qxtcsvmodel.cpp \ - qxterror.cpp \ - qxtmetaobject.cpp \ - qxtsemaphore.cpp \ - qxtsignalwaiter.cpp \ - qxtfifo.cpp \ - qxtstdio.cpp\ - qxtfilelock.cpp \ - qxtnull.cpp \ - qxtstdstreambufdevice.cpp \ - qxtjob.cpp \ - qxtslotjob.cpp \ - qxtpipe.cpp - -unix: SOURCES += qxtfilelock_unix.cpp -win32: SOURCES += qxtfilelock_win.cpp diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtboundcfunction.h b/src/contrib/libqxt-2007-10-24/src/core/qxtboundcfunction.h deleted file mode 100644 index 03ea69c9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtboundcfunction.h +++ /dev/null @@ -1,514 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTBOUNDCFUNCTION_H -#define QXTBOUNDCFUNCTION_H - -#include -#include -#include - -#ifndef QXT_DOXYGEN_RUN - -#define QXT_RETURN(fp) *reinterpret_cast(returnValue.data()) = (*reinterpret_cast(fp)) -#define QXT_INVOKE(fp) (*reinterpret_cast(fp)) -#define QXT_PARAM(i) *reinterpret_cast(p ## i .data()) - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8), QXT_PARAM(9), QXT_PARAM(10)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8)); - return true; - } -}; - -template -class qxt_cfunction_return : public QxtGenericFunctionPointer { -public: - typedef RETURN(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9); - bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_RETURN (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8), QXT_PARAM(9)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8), QXT_PARAM(9), QXT_PARAM(10)); - return true; - } -}; - -template <> -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8)); - return true; - } -}; - -template -class qxt_cfunction : public QxtGenericFunctionPointer { -public: - typedef void(*FUNCTION)(T1, T2, T3, T4, T5, T6, T7, T8, T9); - bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) { - QXT_10_UNUSED; - QXT_INVOKE (funcPtr)(QXT_PARAM(1), QXT_PARAM(2), QXT_PARAM(3), QXT_PARAM(4), QXT_PARAM(5), QXT_PARAM(6), QXT_PARAM(7), QXT_PARAM(8), QXT_PARAM(9)); - return true; - } -}; - -template -class QxtBoundCFunction : public QxtBoundFunctionBase { -public: - QxtGenericFunctionPointer funcPtr; - - QxtBoundCFunction(QObject* parent, QxtGenericFunctionPointer funcPointer, QGenericArgument* params[10], QByteArray types[10]) : QxtBoundFunctionBase(parent, params, types), funcPtr(funcPointer) { - // initializers only, thanks to template magic - } - - virtual bool invokeImpl(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QGenericArgument)) { - if(type != Qt::AutoConnection && type != Qt::DirectConnection) { - qWarning() << "WxtBoundCFunction::invoke: Cannot invoke non-Qt functions using a queued connection"; - return false; - } - return reinterpret_cast*>(&funcPtr)->invoke(returnValue, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } -}; - -template -class QxtBoundCFunction : public QxtBoundFunctionBase { -public: - QxtGenericFunctionPointer funcPtr; - - QxtBoundCFunction(QObject* parent, QxtGenericFunctionPointer funcPointer, QGenericArgument* params[10], QByteArray types[10]) : QxtBoundFunctionBase(parent, params, types), funcPtr(funcPointer) { - // initializers only, thanks to template magic - } - - virtual bool invokeImpl(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QGenericArgument)) { - Q_UNUSED(returnValue); - if(type != Qt::AutoConnection && type != Qt::DirectConnection) { - qWarning() << "WxtBoundCFunction::invoke: Cannot invoke non-Qt functions using a queued connection"; - return false; - } - return reinterpret_cast*>(&funcPtr)->invoke(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } -}; - -#undef QXT_RETURN -#undef QXT_INVOKE -#undef QXT_PARAM -#endif - -namespace QxtMetaObject { -/** - * \relates QxtMetaObject - * \sa QxtMetaObject::connect - * \sa qxtFuncPtr - * \sa QxtBoundFunction - * \sa QXT_BIND - * - * Creates a binding to the provided C/C++ function using the provided parameter list. - * Use the qxtFuncPtr function to wrap a bare function pointer for use in this function. - * Use the Q_ARG macro to specify constant parameters, or use the QXT_BIND macro to - * relay a parameter from a connected signal or passed via the QxtBoundFunction::invoke() - * method. - * - * The first template parameter must match the return type of the function, or - * void if the function does not return a value. The remaining template parameters must - * match the types of the function's parameters. If any type does not match, this - * function returns NULL. - * - * The returned QxtBoundFunction will not have a parent. Assigning a parent using - * QObject::setParent() is strongly recommended to avoid memory leaks. - */ -template -QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QXT_IMPL_10ARGS(QGenericArgument)) { - // Make sure the template parameters make a function pointer equivalent to the one passed in - if(funcPointer.typeName != typeid(typename qxt_cfunction_return::FUNCTION).name()) { - qWarning() << "QxtMetaObject::bind: parameter list mismatch, check template arguments"; - return 0; - } - - QGenericArgument* args[10] = { &p1, &p2, &p3, &p4, &p5, &p6, &p7, &p8, &p9, &p10 }; - for (int i=0; i<10; i++) - { - if (args[i]->name() == 0) break; // done - if (QByteArray(args[i]->name()) == "QxtBoundArgument") - { - Q_ASSERT_X((quintptr)(args[i]->data()) > 0 && (quintptr)(args[i]->data()) <= 10, "QXT_BIND", "invalid argument number"); - } - } - - QByteArray types[10]; - types[0] = QxtMetaType::name(); - types[1] = QxtMetaType::name(); - types[2] = QxtMetaType::name(); - types[3] = QxtMetaType::name(); - types[4] = QxtMetaType::name(); - types[5] = QxtMetaType::name(); - types[6] = QxtMetaType::name(); - types[7] = QxtMetaType::name(); - types[8] = QxtMetaType::name(); - types[9] = QxtMetaType::name(); - - return new QxtBoundCFunction(0, funcPointer, args, types); -} - -/** - * \relates QxtMetaObject - * \sa QxtMetaObject::connect - * \sa qxtFuncPtr - * \sa QxtBoundFunction - * - * Creates a binding to the provided C/C++ function using the provided parameter list. - * Use the qxtFuncPtr function to wrap a bare function pointer for use in this function. - * The type of each argument is deduced from the type of the QVariant. This function - * cannot bind positional arguments; see the overload using QGenericArgument. - * - * The first template parameter must match the return type of the function, or - * void if the function does not return a value. The remaining template parameters must - * match the types of the function's parameters. If any type does not match, this - * function returns NULL. - * - * The returned QxtBoundFunction will not have a parent. Assigning a parent using - * QObject::setParent() is strongly recommended to avoid memory leaks. - */ -template -QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QXT_IMPL_10ARGS(QVariant)) { - QVariant* args[10] = { &p1, &p2, &p3, &p4, &p5, &p6, &p7, &p8, &p9, &p10 }; - return QxtMetaObject::bind(funcPointer, QXT_VAR_ARG(1), QXT_VAR_ARG(2), QXT_VAR_ARG(3), QXT_VAR_ARG(4), - QXT_VAR_ARG(5), QXT_VAR_ARG(6), QXT_VAR_ARG(7), QXT_VAR_ARG(8), QXT_VAR_ARG(9), QXT_VAR_ARG(10)); -} - -// The following overloads exist because C++ doesn't support default parameters in function templates -#ifndef QXT_DOXYGEN_RUN -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer) { - return bind(funcPointer, - QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1) { - return bind(funcPointer, - p1, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2) { - return bind(funcPointer, - p1, p2, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3) { - return bind(funcPointer, - p1, p2, p3, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4) { - return bind(funcPointer, - p1, p2, p3, p4, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4, QGenericArgument p5) { - return bind(funcPointer, - p1, p2, p3, p4, p5, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4, QGenericArgument p5, QGenericArgument p6) { - return bind(funcPointer, - p1, p2, p3, p4, p5, p6, QGenericArgument(), QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4, QGenericArgument p5, QGenericArgument p6, QGenericArgument p7) { - return bind(funcPointer, - p1, p2, p3, p4, p5, p6, p7, QGenericArgument(), QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4, QGenericArgument p5, - QGenericArgument p6, QGenericArgument p7, QGenericArgument p8) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, p7, p8, QGenericArgument(), QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QGenericArgument p1, QGenericArgument p2, QGenericArgument p3, QGenericArgument p4, QGenericArgument p5, - QGenericArgument p6, QGenericArgument p7, QGenericArgument p8, QGenericArgument p9) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, p7, p8, p9, QGenericArgument()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1) { - return bind(funcPointer, p1, QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2) { - return bind(funcPointer, p1, p2, QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3) { - return bind(funcPointer, p1, p2, p3, QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4) { - return bind(funcPointer, p1, p2, p3, p4, QVariant(), QVariant(), QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5) { - return bind(funcPointer, p1, p2, p3, p4, p5, QVariant(), QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, QVariant(), QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, p7, QVariant(), QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, p7, p8, QVariant(), QVariant()); -} - -template -inline QxtBoundFunction* bind(QxtGenericFunctionPointer funcPointer, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8, QVariant p9) { - return bind(funcPointer, p1, p2, p3, p4, p5, p6, p7, p8, p9, QVariant()); -} -#endif -} -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunction.h b/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunction.h deleted file mode 100644 index a337298a..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunction.h +++ /dev/null @@ -1,258 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTBOUNDFUNCTION_H -#define QXTBOUNDFUNCTION_H - -#include -#include -#include -#include -#include -#include -#include - -/** - * \class QxtBoundFunction - * \ingroup QxtCore - * \brief Binds parameters to a function call - * - * A bound function is very similar to what the C++ FAQ Lite refers to as "functionoids." - * (http://www.parashift.com/c++-faq-lite/pointers-to-members.html#faq-33.10) - * It is similar in use to a function pointer, but allows any or all parameters to be - * pre-filled with constant values. The remaining parameters are specified when the - * function is invoked, for instance, by a Qt signal connection. - * - * By far, the most common expected use is to provide a parameter to a slot when the - * signal doesn't have offer one. Many developers new to Qt try to write code like this: - * \code - * connect(button, SIGNAL(clicked()), lineEdit, SLOT(setText("Hello, world"))); - * \endcode - * Experienced Qt developers will immediately spot the flaw here. The typical solution - * is to create a short, one-line wrapper slot that invokes the desired function. Some - * clever developers may even use QSignalMapper to handle slots that only need one - * int or QString parameter. - * - * QxtBoundFunction enables the previous connect statement to be written like this: - * \code - * connect(button, SIGNAL(clicked()), QxtMetaObject::bind(lineEdit, SLOT(setText(QString)), Q_ARG(QString, "Hello, world!"))); - * \code - * This accomplishes the same result without having to create a new slot, or worse, - * an entire object, just to pass a constant value. - * - * Additionally, through the use of the QXT_BIND macro, parameters from the signal - * can be rearranged, skipped, or passed alongside constant arguments provided - * with the Q_ARG macro. This can be used to provide stateful callbacks to a - * generic function, for example. - * - * Many kinds of functions can be bound. The most common binding applies to - * Qt signals and slots, but standard C/C++ functions can be bound as well. - * Future development may add the ability to bind to C++ member functions, - * and developers can make custom QxtBoundFunction subclasses for even more - * flexibility if necessary. - */ -class QxtBoundFunction : public QObject -{ - Q_OBJECT -public: - /** - * Invokes the bound function and returns a value. - * - * The template parameter should be the return type of the invoked function. This overload accepts - * QVariant parameters and will guess the data type of each parameter based on the type of the QVariant. - */ - template - inline QxtNullable invoke(QXT_PROTO_10ARGS(QVariant)) - { - if (!parent() || QThread::currentThread() == parent()->thread()) - return invoke(Qt::DirectConnection, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); -#if QT_VERSION >= 0x040300 - return invoke(Qt::BlockingQueuedConnection, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); -#else - qWarning() << "QxtBoundFunction::invoke: Cannot return a value using a queued connection"; - return qxtNull; -#endif - } - - /** - * Invokes the bound function and returns a value. - * - * The template parameter should be the return type of the invoked function. This overload accepts - * QGenericArgument parameters, expressed using the Q_ARG() macro. - */ - template - QxtNullable invoke(Qt::ConnectionType type, QVariant p1, QXT_PROTO_9ARGS(QVariant)) - { - if (type == Qt::QueuedConnection) - { - qWarning() << "QxtBoundFunction::invoke: Cannot return a value using a queued connection"; - return qxtNull; - } - T retval; - // I know this is a totally ugly function call - if (invoke(type, QGenericReturnArgument(qVariantFromValue(*reinterpret_cast(0)).typeName(), reinterpret_cast(&retval)), - p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)) - { - return retval; - } - else - { - return qxtNull; - } - } - - /** - * Invokes the bound function, discarding the return value. - * - * This overload accepts QVariant parameters and will guess the data type of each - * parameter based on the type of the QVariant. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - inline bool invoke(QVariant p1, QXT_PROTO_9ARGS(QVariant)) - { - return invoke(Qt::AutoConnection, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } - /** - * Invokes the bound function, discarding the return value. - * - * This overload accepts QVariant parameters and will guess the data type of each - * parameter based on the type of the QVariant. It also allows you to specify the - * connection type, allowing the bound function to be invoked across threads using - * the Qt event loop. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - bool invoke(Qt::ConnectionType, QVariant p1, QXT_PROTO_9ARGS(QVariant)); - - /** - * Invokes the bound function, discarding the return value. - * - * This overload accepts QGenericArgument parameters, expressed using the Q_ARG() - * macro. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - inline bool invoke(QXT_PROTO_10ARGS(QGenericArgument)) - { - return invoke(Qt::AutoConnection, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } - /** - * Invokes the bound function, discarding the return value. - * - * This overload accepts QGenericArgument parameters, expressed using the Q_ARG() - * macro. It also allows you to specify the connection type, allowing the bound - * function to be invoked across threads using the Qt event loop. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - inline bool invoke(Qt::ConnectionType type, QXT_PROTO_10ARGS(QGenericArgument)) { - return invoke(type, QGenericReturnArgument(), p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } - - /** - * Invokes the bound function and assigns the return value to a parameter passed by reference. - * - * Use the Q_RETURN_ARG() macro to pass a reference to an assignable object of the function's - * return type. When the function completes, its return value will be stored in that object. - * - * This overload accepts QVariant parameters and will guess the data type of each - * parameter based on the type of the QVariant. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - inline bool invoke(QGenericReturnArgument returnValue, QVariant p1, QXT_PROTO_9ARGS(QVariant)) - { - return invoke(Qt::AutoConnection, returnValue, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } - /** - * Invokes the bound function and assigns the return value to a parameter passed by reference. - * - * Use the Q_RETURN_ARG() macro to pass a reference to an assignable object of the function's - * return type. When the function completes, its return value will be stored in that object. - * - * This overload accepts QVariant parameters and will guess the data type of each - * parameter based on the type of the QVariant. It also allows you to specify the - * connection type, allowing the bound function to be invoked across threads using - * the Qt event loop. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - bool invoke(Qt::ConnectionType type, QGenericReturnArgument returnValue, QVariant p1, QXT_PROTO_9ARGS(QVariant)); - - /** - * Invokes the bound function and assigns the return value to a parameter passed by reference. - * - * Use the Q_RETURN_ARG() macro to pass a reference to an assignable object of the function's - * return type. When the function completes, its return value will be stored in that object. - * - * This overload accepts QGenericArgument parameters, expressed using the Q_ARG() - * macro. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - inline bool invoke(QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) - { - return invoke(Qt::AutoConnection, returnValue, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); - } - /** - * Invokes the bound function and assigns the return value to a parameter passed by reference. - * - * Use the Q_RETURN_ARG() macro to pass a reference to an assignable object of the function's - * return type. When the function completes, its return value will be stored in that object. - * - * This overload accepts QGenericArgument parameters, expressed using the Q_ARG() - * macro. It also allows you to specify the connection type, allowing the bound - * function to be invoked across threads using the Qt event loop. - * - * This function returns true if the invocation was successful, otherwise it - * returns false. - */ - bool invoke(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)); - -protected: -#ifndef QXT_DOXYGEN_RUN - QxtBoundFunction(QObject* parent = 0); -#endif - - /** - * Performs the work of invoking the bound function. - * - * This function is pure virtual. The various QxtMetaObject::bind() functions return opaque subclasses - * of QxtBoundFunction. If you wish to create a new kind of bound function, reimplement this function to - * perform the invocation and assign the function's return value, if any, to the returnValue parameter. - * - * This function should return true if the invocation is successful and false if an error occurs. - */ - virtual bool invokeImpl(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)) = 0; -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunctionbase.h b/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunctionbase.h deleted file mode 100644 index d67ca8e6..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtboundfunctionbase.h +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -// This file exists for the convenience of QxtBoundCFunction. -// It is not part of the public API and is subject to change. -// -// We mean it. - -#ifndef QXTBOUNDFUNCTIONBASE_H -#define QXTBOUNDFUNCTIONBASE_H - -#include -#include -#include -#include -#include - -#ifndef QXT_DOXYGEN_RUN - -#define QXT_10_UNUSED Q_UNUSED(p1) Q_UNUSED(p2) Q_UNUSED(p3) Q_UNUSED(p4) Q_UNUSED(p5) Q_UNUSED(p6) Q_UNUSED(p7) Q_UNUSED(p8) Q_UNUSED(p9) Q_UNUSED(p10) - -class QxtBoundFunctionBase : public QxtBoundFunction -{ -public: - QByteArray bindTypes[10]; - QGenericArgument arg[10], p[10]; - void* data[10]; - - QxtBoundFunctionBase(QObject* parent, QGenericArgument* params[10], QByteArray types[10]); - virtual ~QxtBoundFunctionBase(); - - int qt_metacall(QMetaObject::Call _c, int _id, void **_a); - bool invokeBase(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_PROTO_10ARGS(QGenericArgument)); -}; - -#define QXT_ARG(i) ((argCount>i)?QGenericArgument(p ## i .typeName(), p ## i .constData()):QGenericArgument()) -#define QXT_VAR_ARG(i) (p ## i .isValid())?QGenericArgument(p ## i .typeName(), p ## i .constData()):QGenericArgument() -#endif -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.cpp deleted file mode 100644 index 99054a9e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.cpp +++ /dev/null @@ -1,375 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -/*! -\class QxtCsvModel QxtCsvModel -\ingroup QxtCore -\brief Provides a QAbstractTableModel for CSV Files - */ - -/*! -\fn QxtCsvModel::QxtCsvModel(QObject *parent = 0); -default Constructor -*/ - -/*! -\fn QxtCsvModel::QxtCsvModel(QIODevice *file, QObject *parent=0, bool withHeader = false, QChar separator= ',') -constructs a QxtCsvModel from a QIODevice as source \n -\p withHeader specifies if the data on the device contains a header or not. -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - -/*! -\fn QxtCsvModel::QxtCsvModel(const QString filename, QObject *parent = 0, bool withHeader = false, QChar separator = ',') -constructs a QxtCsvModel from a filename as source \n -\p withHeader specifies if the data in the file contains a header or not. -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - -/*! -\fn void QxtCsvModel::setSource(QIODevice *file, bool withHeader = false, QChar separator = ','); -reads the cvs data from \p file -\p withHeader specifies if the data on the device contains a header or not. -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - - -/*! -\fn void QxtCsvModel::setSource(const QString filename, bool withHeader = false, QChar separator = ','); -reads the cvs data from \p filename -\p withHeader specifies if the data in the file contains a header or not. -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - - - -/*! -\fn void QxtCsvModel::toCSV(QIODevice *file, bool withHeader = false, QChar separator = ','); -writes the cvs data to \p file -\p withHeader specifies if to write the header or not -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - - -/*! -\fn void QxtCsvModel::toCSV(const QString filename, bool withHeader = false, QChar separator = ','); -writes the cvs data to \p filename -\p withHeader specifies if to write the header or not -\p separator is the seperator to use for the columns. most widely used seperators are ',' '\\t' ';' -*/ - - - -#include "qxtcsvmodel.h" -#include -#include - -class QxtCsvModelPrivate : public QxtPrivate -{ -public: - QxtCsvModelPrivate() : csvData(), header(), maxColumn(0) - {} - QXT_DECLARE_PUBLIC(QxtCsvModel); - - QStringList csvData; - QStringList header; - int maxColumn; -}; - -QxtCsvModel::QxtCsvModel(QObject *parent) : QAbstractTableModel(parent) -{ - QXT_INIT_PRIVATE(QxtCsvModel); -} - -QxtCsvModel::QxtCsvModel(QIODevice *file, QObject *parent, bool withHeader, QChar separator) : QAbstractTableModel(parent) -{ - QXT_INIT_PRIVATE(QxtCsvModel); - setSource(file, withHeader, separator); -} - -QxtCsvModel::QxtCsvModel(const QString filename, QObject *parent, bool withHeader, QChar separator) : QAbstractTableModel(parent) -{ - QXT_INIT_PRIVATE(QxtCsvModel); - QFile src(filename); - setSource(&src, withHeader, separator); -} - -QxtCsvModel::~QxtCsvModel() -{} - -int QxtCsvModel::rowCount(const QModelIndex& parent) const -{ - if (parent.row()!=-1 && parent.column()!=-1) return 0; - return qxt_d().csvData.count(); -} - -int QxtCsvModel::columnCount(const QModelIndex& parent) const -{ - if (parent.row()!=-1 && parent.column()!=-1) return 0; - return qxt_d().maxColumn; -} - -QVariant QxtCsvModel::data(const QModelIndex& index, int role) const -{ - if (index.parent()!=QModelIndex()) return QVariant(); - if (role==Qt::DisplayRole || role==Qt::EditRole || role==Qt::UserRole) - return qxt_d().csvData[index.row()].section(QChar(1),index.column(),index.column()); - else - { - //QVariant v; - return QVariant(); - } -} - -QVariant QxtCsvModel::headerData(int section, Qt::Orientation orientation, int role) const -{ - if (section < qxt_d().header.count() && orientation==Qt::Horizontal && (role==Qt::DisplayRole || role==Qt::EditRole || role==Qt::UserRole)) - { - return qxt_d().header[section]; - } - else - return QAbstractTableModel::headerData(section, orientation, role); -} - -void QxtCsvModel::setSource(const QString filename, bool withHeader, QChar separator) -{ - QFile src(filename); - setSource(&src, withHeader, separator); -} - -void QxtCsvModel::setSource(QIODevice *file, bool withHeader, QChar separator) -{ - QxtCsvModelPrivate* d_ptr = &qxt_d(); - QString l; - int size; - bool isQuoted, headerSet = false; - if (!file->isOpen()) file->open(QIODevice::ReadOnly); - if (withHeader) - d_ptr->maxColumn = 0; - else - d_ptr->maxColumn = d_ptr->header.size(); - d_ptr->csvData.clear(); - while (!file->atEnd()) - { - l = file->readLine(); - l.replace(QChar('\n'),""); - l.replace(QChar('\r'),""); - size = l.length(); - isQuoted = false; - for (int i=0;i0) - { - if (l[i]=='"' && l[i-1]!='\\') isQuoted=!isQuoted; - else if (!isQuoted && l[i]==separator) l[i]=QChar(1); - } - else - { - if (l[i]=='"') isQuoted=!isQuoted; - else if (!isQuoted && l[i]==separator) l[i]=QChar(1); - } - } - if (l.count(QChar(1))+1 > d_ptr->maxColumn) d_ptr->maxColumn = l.count(QChar(1))+1; - if (withHeader && !headerSet) - { - d_ptr->header = l.split(QChar(1)); - headerSet=true; - } - else - d_ptr->csvData.append(l); - } - file->close(); -} - -void QxtCsvModel::setHeaderData(const QStringList data) -{ - qxt_d().header = data; - emit headerDataChanged(Qt::Horizontal, 0, data.count()); -} - -bool QxtCsvModel::setData(const QModelIndex& index, const QVariant& data, int role) -{ - if (index.parent()!=QModelIndex()) return false; - - QString before, after; - if (role==Qt::DisplayRole || role==Qt::EditRole || role==Qt::UserRole) - { - if (index.row()>=rowCount() || index.column()>=columnCount() || index.row()<0 || index.column()<0) return false; - if (index.column()!=0) - before = qxt_d().csvData[index.row()].section(QChar(1),0,index.column()-1) + QChar(1); - else - before = ""; - after = qxt_d().csvData[index.row()].section(QChar(1),index.column()+1); - qxt_d().csvData[index.row()] = before + data.toString() + QChar(1) + after; - emit dataChanged(index, index); - return true; - } - else - { - return false; - } -} - -bool QxtCsvModel::insertRow(int row, const QModelIndex& parent) -{ - return insertRows(row, 1, parent); -} - -bool QxtCsvModel::insertRows(int row, int count, const QModelIndex& parent) -{ - if (parent!=QModelIndex() || row<0) return false; - emit beginInsertRows(parent, row, row+count); - QxtCsvModelPrivate& d_ptr = qxt_d(); - if (row>=rowCount()) - { - for (int i=0;i=rowCount()) return false; - if (row+count>=rowCount()) count = rowCount()-row; - emit beginRemoveRows(parent, row, row+count); - QxtCsvModelPrivate& d_ptr = qxt_d(); - for (int i=0;i0) - before = d_ptr.csvData[i].section(QChar(1),0,col-1)+QChar(1); - else - before = ""; - after = d_ptr.csvData[i].section(QChar(1),col); - d_ptr.csvData[i] = before + QString(count, QChar(1)) + after; - } - } - for (int i=0;i=columnCount()) return false; - if (col+count>=columnCount()) count = columnCount()-col; - emit beginRemoveColumns(parent, col, col+count); - QxtCsvModelPrivate& d_ptr = qxt_d(); - QString before, after; - for (int i=0;i0) - before = d_ptr.csvData[i].section(QChar(1),0,col-1)+QChar(1); - else - before = ""; - after = d_ptr.csvData[i].section(QChar(1),col+count); - d_ptr.csvData[i] = before + after; - } - for (int i=0;iisOpen()) dest->open(QIODevice::WriteOnly | QIODevice::Truncate); - if (withHeader) - { - data = ""; - for (col = 0; col < cols; col++) - { - data += '"' + d_ptr.header.at(col) + '"'; - if (colwrite(data.toLatin1()); - } - for (row = 0; row < rows; row++) - { - data = ""; - for (col = 0; col < cols; col++) - { - data += '"' + d_ptr.csvData[row].section(QChar(1),col,col) + '"'; - if (colwrite(data.toLatin1()); - } - dest->close(); -} - -void QxtCsvModel::toCSV(const QString filename, bool withHeader, QChar separator) -{ - QFile dest(filename); - toCSV(&dest, withHeader, separator); -} - -Qt::ItemFlags QxtCsvModel::flags(const QModelIndex& index) const -{ - return Qt::ItemIsEditable | QAbstractTableModel::flags(index); -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.h b/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.h deleted file mode 100644 index 85437a07..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtcsvmodel.h +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCSVMODEL_H -#define QXTCSVMODEL_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class QxtCsvModelPrivate; -class QXT_CORE_EXPORT QxtCsvModel : public QAbstractTableModel -{ - Q_OBJECT -public: - QxtCsvModel(QObject *parent = 0); - QxtCsvModel(QIODevice *file, QObject *parent = 0, bool withHeader = false, QChar separator = ','); - QxtCsvModel(const QString filename, QObject *parent = 0, bool withHeader = false, QChar separator = ','); - ~QxtCsvModel(); - - int rowCount(const QModelIndex& parent = QModelIndex()) const; - int columnCount(const QModelIndex& parent = QModelIndex()) const; - QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; - bool setData(const QModelIndex& index, const QVariant& data, int role = Qt::EditRole); - QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - void setHeaderData(const QStringList data); - - bool insertRow(int row, const QModelIndex& parent = QModelIndex()); - bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); - bool removeRow(int row, const QModelIndex& parent = QModelIndex()); - bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); - bool insertColumn(int col, const QModelIndex& parent = QModelIndex()); - bool insertColumns(int col, int count, const QModelIndex& parent = QModelIndex()); - bool removeColumn(int col, const QModelIndex& parent = QModelIndex()); - bool removeColumns(int col, int count, const QModelIndex& parent = QModelIndex()); - - void setSource(QIODevice *file, bool withHeader = false, QChar separator = ','); - void setSource(const QString filename, bool withHeader = false, QChar separator = ','); - - void toCSV(QIODevice *file, bool withHeader = false, QChar separator = ','); - void toCSV(const QString filename, bool withHeader = false, QChar separator = ','); - - Qt::ItemFlags flags(const QModelIndex& index) const; - -private: - QXT_DECLARE_PRIVATE(QxtCsvModel); -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxterror.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxterror.cpp deleted file mode 100644 index d902c106..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxterror.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxterror.h" - -QxtError::QxtError(const char * file, long line, Qxt::ErrorCode errorcode,const char * errorString) -{ - file_m=file; - line_m=line; - errorcode_m=errorcode; - errorString_m=errorString; -} - - -Qxt::ErrorCode QxtError::errorCode() const -{ - return errorcode_m; -} - -long QxtError::line() const -{ - return line_m; -} - -const char * QxtError::file() const -{ - return file_m; -} - -QxtError::operator Qxt::ErrorCode() -{ - return errorcode_m; -} -/*! -The Error String or NULL -depending how the error was constructed. -Be carefull with stack and temporary objects, QxtError just saves the pointer you passed, not the actual data. -*/ -const char * QxtError::errorString() const -{ - return errorString_m; -} - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxterror.h b/src/contrib/libqxt-2007-10-24/src/core/qxterror.h deleted file mode 100644 index c22accfd..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxterror.h +++ /dev/null @@ -1,124 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - - -#ifndef QXTERROR_H -#define QXTERROR_H -#include -#include - -/** -\class QxtError QxtError - -\ingroup QxtCore - -\brief Information about Errors ocuring inside Qxt - -*/ - -/*! \relates QxtError -droping an error inside a function that returns QxtError - - -short for return QxtError(__FILE__,__LINE__,x); -*/ -#define QXT_DROP(x) return QxtError(__FILE__,__LINE__,x); - - -/*! \relates QxtError -droping an error inside a function that returns QxtError - -aditionaly specifies an errorstring \n - -short for return QxtError(__FILE__,__LINE__,x,s); -*/ -#define QXT_DROP_S(x,s) return QxtError(__FILE__,__LINE__,x,s); - - -/*! \relates QxtError -droping no error inside a function that returns QxtError - -short for return QxtError(__FILE__,__LINE__,Qxt::NoError); -*/ -#define QXT_DROP_OK return QxtError(__FILE__,__LINE__,Qxt::NoError); - - -/*! \relates QxtError -forward a drop - - -drops from this function if the call inside dropped too. -the inner function must return or be a QxtError. - -example -\code -QXT_DROP_F(critical_function()); -\endcode - -*/ -#define QXT_DROP_F(call) {QxtError error_sds = call; if (error_sds != Qxt::NoError ) return error_sds; else (void)0; } - -/*! \relates QxtError -check for errors - -example -\code -QXT_DROP_SCOPE(error,critical_function()) - { - qDebug()< -** -****************************************************************************/ - - -/** -\class QxtFifo QxtFifo - -\ingroup QxtCore - -\brief Simple Loopback QIODevice - -read and write to the same object \n -emits a readyRead Signal. \n -usefull for loopback tests where QBuffer does not work. - -\code -QxtFifo fifo; - QTextStream (&fifo)<>a; - qDebug()< - -QxtFifo::QxtFifo(QObject *parent):QIODevice(parent) -{ - setOpenMode (QIODevice::ReadWrite); -} - -qint64 QxtFifo::readData ( char * data, qint64 maxSize ) -{ - qint64 i=0; - for (;i0) - emit(readyRead ()); - return maxSize; -} - - -bool QxtFifo::isSequential () const -{ - return true; -} - - -qint64 QxtFifo::bytesAvailable () const -{ - return q.count(); -} - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfifo.h b/src/contrib/libqxt-2007-10-24/src/core/qxtfifo.h deleted file mode 100644 index 51c1e8be..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfifo.h +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QxtFifo_H_GUARD -#define QxtFifo_H_GUARD -#include -#include -#include - -class QXT_CORE_EXPORT QxtFifo : public QIODevice -{ - Q_OBJECT -public: - QxtFifo(QObject * parent=0); - - virtual bool isSequential () const; - virtual qint64 bytesAvailable () const; -protected: - virtual qint64 readData ( char * data, qint64 maxSize ); - virtual qint64 writeData ( const char * data, qint64 maxSize ); - - -private: - QQueue q; -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.cpp deleted file mode 100644 index 5eda4392..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.cpp +++ /dev/null @@ -1,153 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtfilelock.h" -#include "qxtfilelock_p.h" -/** - * \class QxtFileLock QxtFileLock - * \ingroup QxtCore - * \brief The QxtFileLock class provides a crossplattform way to lock a QFile. - * - * It supports the range locking of a file. The File will take parentship of the lock.
    - * The lock gets cleaned up with the QFile, and it is released when the QFile is closed.
    - * - * Example usage: - * \code - * off_t lockstart = 0x10; - * off_t locklength = 30 - * - * QFile file("test.lock"); - * - * //the lock gets deleted when file is cleaned up - * QxtFileLock * writeLock = new QxtFileLock(&file,lockstart,locklength,QxtFileLock::WriteLock); - * if(file.open(QIODevice::ReadWrite)) - * { - * if(writeLock->lock()) - * { - * // some write operations - * writeLock->unlock(); - * } - * else - * //lock failed - * } - * \endcode - * \note QxtFileLock behaves different than normal unix locks on *nix. A thread can writelock the region of a file only ONCE if it uses two different handles. - * A different thread can not writelock a region that is owned by a other thread even if it is the SAME process. - * \note On *nix this class uses fctnl to lock the file. This may not be compatible to other locking functions like flock and lockf - * \note Please do not mix QxtFileLock and native file lock calls on the same QFile. The behaviour is undefined - * \note QxtFileLock lives in the same thread as the passed QFile - * \warning due to a refactoring issues of QFile this class will not work with Qt from 4.3 on. This will be fixed in 4.3.2 - * \warning not part of 0.2.4 - - -*/ - -/** - * @enum QxtFileLock::mode - * @brief The Mode of the lock - */ - -/** - * @var QxtFileLock::mode QxtFileLock::ReadLock - * @brief A non blocking read lock - */ - -/** - * @var QxtFileLock::mode QxtFileLock::WriteLock - * @brief A non blocking write lock - */ - -/** - * @var QxtFileLock::mode QxtFileLock::ReadLockWait - * @brief A blocking read lock. The lock() function will block until the lock is created. - */ - -/** - * @var QxtFileLock::mode QxtFileLock::WriteLockWait - * @brief A blocking write lock. The lock() function will block until the lock is created. - */ - -QxtFileLockPrivate::QxtFileLockPrivate() : offset(0), length(0), mode(QxtFileLock::WriteLockWait), isLocked(false) -{ -} - -/** - * Contructs a new QxtFileLock. The lock is not activated. - * @param file the file that should be locked - * @param offset the offset where the lock starts - * @param length the length of the lock - * @param mode the lockmode - */ -QxtFileLock::QxtFileLock(QFile *file,const off_t offset,const off_t length,const QxtFileLock::Mode mode) : QObject(file) -{ - QXT_INIT_PRIVATE(QxtFileLock); - connect(file,SIGNAL(aboutToClose()),this,SLOT(unlock())); - qxt_d().offset = offset; - qxt_d().length = length; - qxt_d().mode = mode; -} - -QxtFileLock::~QxtFileLock() -{ - unlock(); -} - -/** - *@return the offset of the lock - */ -off_t QxtFileLock::offset() const -{ - return qxt_d().offset; -} - -/** - * @return true if the lock is active otherwise it returns false - */ -bool QxtFileLock::isActive() const -{ - return qxt_d().isLocked; -} - -/** - * @return the length of the lock - */ -off_t QxtFileLock::length() const -{ - return qxt_d().length; -} - -/** - * the file the lock is created on - */ -QFile * QxtFileLock::file() const -{ - return qobject_cast(parent()); -} - -/** - * @return the mode of the lock - */ -QxtFileLock::Mode QxtFileLock::mode() const -{ - return qxt_d().mode; -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.h b/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.h deleted file mode 100644 index f8f862cc..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock.h +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTFILELOCK_H_INCLUDED -#define QXTFILELOCK_H_INCLUDED - - -#include -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtFileLockPrivate; - -class QXT_CORE_EXPORT QxtFileLock : public QObject -{ - Q_OBJECT - -public: - - enum Mode - { - ReadLockWait, - ReadLock, - WriteLockWait, - WriteLock - }; - - QxtFileLock(QFile *file, const off_t offset,const off_t length,const QxtFileLock::Mode mode = WriteLockWait); - ~QxtFileLock(); - - off_t offset() const; - off_t length() const; - bool isActive() const; - QFile *file() const; - QxtFileLock::Mode mode() const; - -public slots: - bool lock (); - bool unlock(); - -private: - QxtFileLock(const QxtFileLock &other); - QXT_DECLARE_PRIVATE(QxtFileLock); -}; -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_p.h b/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_p.h deleted file mode 100644 index 716548e0..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_p.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -#ifndef QXTFILELOCK_P_H_INCLUDED -#define QXTFILELOCK_P_H_INCLUDED - -#include "qxtpimpl.h" -#include -#include -#include -#include - -class QxtFileLock; - -class QxtFileLockPrivate : public QxtPrivate -{ -public: - QxtFileLockPrivate(); - QXT_DECLARE_PUBLIC(QxtFileLock); - - off_t offset; - off_t length; - QxtFileLock::Mode mode; - bool isLocked; -}; -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_unix.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_unix.cpp deleted file mode 100644 index c884768d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_unix.cpp +++ /dev/null @@ -1,263 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtfilelock.h" -#include "qxtfilelock_p.h" - -#include -#include -#include -#include -/*include pthread to make errno threadsafe*/ -#include -#include -#include -#include -#include - -/*! - * \internal this class is used on *nix to register all locks created by a process and to let locks on *nix act like locks on windows - */ -class QxtFileLockRegistry -{ -public: - bool registerLock(QxtFileLock *lock ); - bool removeLock(QxtFileLock *lock ); - static QxtFileLockRegistry& instance(); - -private: - QLinkedList < QPointer > procLocks; - QMutex registryMutex; - QxtFileLockRegistry(); -}; - -QxtFileLockRegistry::QxtFileLockRegistry() -{} - -QxtFileLockRegistry& QxtFileLockRegistry::instance() -{ - static QxtFileLockRegistry instance; - return instance; -} - -/*! - * \internal this function locks the lockregistry and checks if there is a collision between the process locks - * \internal if there is no collision it inserts the lock into the registry and returns - * \internal return true for success - */ -bool QxtFileLockRegistry::registerLock(QxtFileLock * lock ) -{ - QMutexLocker locker(&this->registryMutex); - - QFile *fileToLock = lock ->file(); - - if (fileToLock) - { - struct stat fileInfo; - if ( fstat(fileToLock->handle(),&fileInfo) < 0 ) - return false; - - int newLockStart = lock ->offset(); - int newLockEnd = lock ->offset()+lock ->length(); - - QMutableLinkedListIterator< QPointer >iterator(this->procLocks); - - while (iterator.hasNext()) - { - QPointer currLock = iterator.next(); - if (currLock && currLock->file() && currLock->file()->isOpen()) - { - struct stat currFileInfo; - - /*first check if the current lock is on the same file*/ - if ( fstat(currLock->file()->handle(),&currFileInfo) < 0 ) - { - /*that should never happen because a closing file should remove all locks*/ - Q_ASSERT(false); - continue; - } - - if (currFileInfo.st_dev == fileInfo.st_dev && currFileInfo.st_ino == fileInfo.st_ino) - { - /*same file, check if our locks are in conflict*/ - int currLockStart = currLock->offset(); - int currLockEnd = currLock->offset()+currLock->length(); - - /*do we have to check for threads here?*/ - if (newLockEnd >= currLockStart && newLockStart <= currLockEnd) - { - qDebug()<<"we may have a collision"; - qDebug()<= "<thread()<<" == "<thread()<<" && "<file()->handle()<<" == "<file()->handle()<<")"; - - if (! (lock ->thread() == currLock->thread() && lock ->file()->handle() == currLock->file()->handle())) - { - qDebug()<<"Collision"; - return false; - } - } - } - } - } - else //remove dead locks - iterator.remove(); - } - qDebug()<<"The lock is okay"; - /*here we can insert the lock into the list and return*/ - procLocks.append(QPointer(lock )); - return true; - - } - - return false; -} - -bool QxtFileLockRegistry::removeLock(QxtFileLock * lock ) -{ - QMutexLocker locker(&this->registryMutex); - procLocks.removeAll(lock ); - return true; -} - -bool QxtFileLock::unlock() -{ - if (file() && file()->isOpen() && isActive()) - { - /*first remove real lock*/ - int lockmode, locktype; - int result = -1; - struct flock lockDesc; - - lockmode = F_SETLK; - locktype = F_UNLCK; - - errno = 0; - do - { - lockDesc.l_type = locktype; - lockDesc.l_whence = SEEK_SET; - lockDesc.l_start = qxt_d().offset; - lockDesc.l_len = qxt_d().length; - lockDesc.l_pid = 0; - result = fcntl (this->file()->handle(), lockmode, &lockDesc); - } - while (result && errno == EINTR); - - QxtFileLockRegistry::instance().removeLock(this); - qxt_d().isLocked = false; - return true; - } - return false; -} - -bool QxtFileLock::lock () -{ - if (file() && file()->isOpen() && !isActive()) - { - /*this has to block if we can get no lock*/ - - bool locked = false; - - while (1) - { - locked = QxtFileLockRegistry::instance().registerLock(this); - if (locked) - break; - else - { - if (qxt_d().mode == ReadLockWait || qxt_d().mode == WriteLockWait) - usleep(1000 * 5); - else - return false; - } - } - - /*now get real lock*/ - int lockmode, - locktype; - - int result = -1; - - struct flock lockDesc; - - switch (qxt_d().mode) - { - case ReadLock: - lockmode = F_SETLK; - locktype = F_RDLCK; - break; - - case ReadLockWait: - lockmode = F_SETLKW; - locktype = F_RDLCK; - break; - - case WriteLock: - lockmode = F_SETLK; - locktype = F_WRLCK; - break; - - case WriteLockWait: - lockmode = F_SETLKW; - locktype = F_WRLCK; - break; - - default: - QxtFileLockRegistry::instance().removeLock(this); - return (false); - break; - } - - errno = 0; - do - { - lockDesc.l_type = locktype; - lockDesc.l_whence = SEEK_SET; - lockDesc.l_start = qxt_d().offset; - lockDesc.l_len = qxt_d().length; - lockDesc.l_pid = 0; - result = fcntl (this->file()->handle(), lockmode, &lockDesc); - } - while (result && errno == EINTR); - - /*we dot get the lock unregister from lockregistry and return*/ - if (result == -1) - { - QxtFileLockRegistry::instance().removeLock(this); - return false; - } - - qxt_d().isLocked = true; - return true; - } - return false; -} - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_win.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_win.cpp deleted file mode 100644 index 80ea67fd..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtfilelock_win.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include "qxtfilelock.h" -#include "qxtfilelock_p.h" -#include -#include - -#if 1 - -bool QxtFileLock::unlock() -{ - if (file() && file()->isOpen() && isActive()) - { - HANDLE w32FileHandle; - OVERLAPPED ov1; - DWORD dwflags; - - w32FileHandle = (HANDLE)_get_osfhandle(file()->handle()); - if (w32FileHandle == INVALID_HANDLE_VALUE) - return false; - - memset(&ov1,0, sizeof(ov1)); - ov1.Offset = qxt_d().offset; - - if (UnlockFileEx(w32FileHandle, 0, qxt_d().length, 0, &ov1)) - { - qxt_d().isLocked = false; - return true; - } - } - return false; -} - -bool QxtFileLock::lock () -{ - if (file() && file()->isOpen() && !isActive()) - { - HANDLE w32FileHandle; - OVERLAPPED ov1; - DWORD dwflags; - - w32FileHandle = (HANDLE)_get_osfhandle(file()->handle()); - if (w32FileHandle == INVALID_HANDLE_VALUE) - return false; - - switch (qxt_d().mode) - { - case ReadLock: - dwflags = LOCKFILE_FAIL_IMMEDIATELY; - break; - - case ReadLockWait: - dwflags = 0; - break; - - case WriteLock: - dwflags = LOCKFILE_EXCLUSIVE_LOCK | LOCKFILE_FAIL_IMMEDIATELY; - break; - - case WriteLockWait: - dwflags = LOCKFILE_EXCLUSIVE_LOCK; - break; - - default: - return (false); - } - - memset(&ov1, 0, sizeof(ov1)); - ov1.Offset = qxt_d().offset; - - if (LockFileEx(w32FileHandle,dwflags, 0, qxt_d().length, 0, &ov1)) - { - qxt_d().isLocked = true; - return true; - } - } - return false; -} - -#else -bool QxtFileLock::unlock() -{ - return false; -} - -bool QxtFileLock::lock () -{ - return false; -} -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtglobal.h b/src/contrib/libqxt-2007-10-24/src/core/qxtglobal.h deleted file mode 100644 index 835dddfb..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtglobal.h +++ /dev/null @@ -1,183 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -/** \defgroup QxtCore QxtCore - The Core contains naturaly the most important parts of Qxt, everything is based on. -*/ - -/** \defgroup QxtSql QxtSql - parts that depend on QtSql (and at least QtCore) -*/ - -/** \defgroup QxtNetwork QxtNetwork - parts that depend on QtNetwork (and at least QtCore) -*/ - -/** \defgroup QxtGui QxtGui - parts that depend on QtGui (and at least QtCore) -*/ - -/** \defgroup QxtWeb QxtWeb - Qt like Web Developement tools -*/ - -/** \defgroup QxtCrypto QxtCrypto - Tools for encryption and hashing -*/ - - - -/** - -*/ -/*! \mainpage Qt extension librarys - * - * - * Qxt Provides Classes for extended needs based on the Qt Library by Trolltech - * - * Checkout the classes list - -\image html logo.png - * - */ - - -#ifndef QXTDEFINES_HEADER_GUARDD -#define QXTDEFINES_HEADER_GUARDD - - - - - -#define QXT_VERSION ( (2<<16) + (2<<8) + 3 ) - - - -//--------------------------global macros------------------------------ - -#ifndef QXT_NO_MACROS - -#endif - -//--------------------------export macros------------------------------ - - - - -# define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE - - - - - - - -#if defined(QXT_WINDOWS) - -# if defined(BUILD_QXT_CORE) -# define QXT_CORE_EXPORT __declspec(dllexport) -# else -# define QXT_CORE_EXPORT __declspec(dllimport) -# endif - -# if defined(BUILD_QXT_GUI) -# define QXT_GUI_EXPORT __declspec(dllexport) -# else -# define QXT_GUI_EXPORT __declspec(dllimport) -# endif - -# if defined(BUILD_QXT_MEDIA) -# define QXT_MEDIA_EXPORT __declspec(dllexport) -# else -# define QXT_MEDIA_EXPORT __declspec(dllimport) -# endif - - -# if defined(BUILD_QXT_NETWORK) -# define QXT_NETWORK_EXPORT __declspec(dllexport) -# else -# define QXT_NETWORK_EXPORT __declspec(dllimport) -# endif - - -# if defined(BUILD_QXT_SQL) -# define QXT_SQL_EXPORT __declspec(dllexport) -# else -# define QXT_SQL_EXPORT __declspec(dllimport) -# endif - -# if defined(BUILD_QXT_WEB) -# define QXT_WEB_EXPORT __declspec(dllexport) -# else -# define QXT_WEB_EXPORT __declspec(dllimport) -# endif - -# if defined(BUILD_QXT_CRYPTO) -# define QXT_CRYPTO_EXPORT __declspec(dllexport) -# else -# define QXT_CRYPTO_EXPORT __declspec(dllimport) -# endif - - -#else - -# define QXT_CORE_EXPORT -# define QXT_GUI_EXPORT -# define QXT_MEDIA_EXPORT -# define QXT_NETWORK_EXPORT -# define QXT_SQL_EXPORT -# define QXT_WEB_EXPORT -# define QXT_CRYPTO_EXPORT - - - - -#endif - - - - - - - - - - -#if defined BUILD_QXT_CORE || defined BUILD_QXT_GUI || defined BUILD_QXT_MEDIA || defined BUILD_QXT_SQL || defined BUILD_QXT_NETWORK || defined BUILD_QXT_KIT || defined BUILD_QXT_WEB || defined BUILD_QXT_CRYPTO -#define BUILD_QXT -#endif - - - - - - - - - - - -#endif //guards - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxthypermacros.h b/src/contrib/libqxt-2007-10-24/src/core/qxthypermacros.h deleted file mode 100644 index 15e4537f..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxthypermacros.h +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -/** -\class QxtHyperMacros QxtHyperMacros - -\ingroup QxtCore - -\brief some helper macros for your daily work - -hypermacros use templates in order to work -*/ - - - - -#ifndef HEADER_GUARDS_QxtHyperMacros_H -#define HEADER_GUARDS_QxtHyperMacros_H - - -/*! \relates QxtHyperMacros - * just do something n times - */ -#define fortimes(times) for (QxtHyperValue hyperhyperthingyhopefullynooneusesthisnamehere=QxtHyperValue(0); hyperhyperthingyhopefullynooneusesthisnamehere -class QxtHyperValue -{ -public: - - QxtHyperValue(const T& p) - { - value=p; - } - - QxtHyperValue & operator=(const QxtHyperValue &rhs) - { - value=rhs; - return this; - } - - operator T() const - { - return value; - } - - const QxtHyperValue& operator++() - { - value++; - return this; - } - const QxtHyperValue& operator--() - { - value--; - return this; - } - const QxtHyperValue operator++(int) - { - QxtHyperValue clone = *this; - value++; - return clone; - } - const QxtHyperValue operator--(int) - { - QxtHyperValue clone = *this; - value--; - return clone; - } - - bool operator== ( T& v) - { - return (value==v); - } - - bool operator> ( T& v) - { - return (value>v); - } - - bool operator< ( T& v) - { - return (value -** -****************************************************************************/ - -/** -\class QxtJob QxtJob - -\ingroup QxtCore - -\brief Execute a Job on a QThread. once or multiple times. - -QxtJob allows easily starting jobs on different threads.\n -exec() will ask for the QThread to run the job on. -The Qthread needs an event loop. 4.3 and later versions of Qt have -a non virtual QThread with a default event loop, allowing easy deployment of jobs. - -\code -QThread thread; -thread.start(); -LockJob().exec(&thread); -\endcode -*/ - -#include "qxtjob_p.h" -#include -#include - -class Thread : public QThread -{ -public: - static void usleep(unsigned long usecs) - { - QThread::usleep(usecs); - } -}; - -QxtJob::QxtJob() -{ - QXT_INIT_PRIVATE(QxtJob); - qxt_d().running.set(false); - connect(&qxt_d(),SIGNAL(done()),this,SIGNAL(done())); -} -/*! -execute the Job on \p onthread \n -*/ -void QxtJob::exec(QThread * onthread) -{ - qxt_d().moveToThread(onthread); - connect(this,SIGNAL(subseed()),&qxt_d(),SLOT(inwrap_d()),Qt::QueuedConnection); - - qxt_d().running.set(true); - emit(subseed()); -} -/*! -The dtor joins. -Means it blocks until the job is finished -*/ -QxtJob::~QxtJob() -{ - join(); -} -/*! -block until the Job finished \n -Note that the current thread will be blocked. \n -If you use this, you better be damn sure you actually want a thread.\n -Maybe you actualy want to use QxtSignalWaiter. -*/ -void QxtJob::join() -{ - while(qxt_d().running.get()==true) - { - /** - oh yeah that sucks ass, - but since any kind of waitcondition will just fail due to undeterminnism, - we have no chance then polling. - And no, a mutex won't work either. - using join for anything else then testcases sounds kindof retarded anyway. - */ - Thread::usleep(1000); - } - -} -void QxtJobPrivate::inwrap_d() -{ - synca.wakeAll(); - qxt_p().run(); - running.set(false); - emit(done()); -} - - - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtjob.h b/src/contrib/libqxt-2007-10-24/src/core/qxtjob.h deleted file mode 100644 index 7904b8ed..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtjob.h +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QxtJob_H_GUARD -#define QxtJob_H_GUARD - -#include -#include - -#include - -class QxtJobPrivate; -class QThread; - -class QXT_CORE_EXPORT QxtJob : public QObject -{ -Q_OBJECT -public: - QxtJob(); - ~QxtJob(); - void exec(QThread * onthread); - void join(); -protected: - virtual void run()=0; -signals: - void done(); -private: - QXT_DECLARE_PRIVATE(QxtJob); -signals: - void subseed(); -}; - -#endif - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtjob_p.h b/src/contrib/libqxt-2007-10-24/src/core/qxtjob_p.h deleted file mode 100644 index f15e3159..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtjob_p.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include -#include -#include - - - - -class QxtJobPrivate : public QObject, public QxtPrivate -{ -Q_OBJECT -public: - class RunningState - { - public: - void set(bool a) - { - mutex.lock(); - r=a; - mutex.unlock(); - } - bool get() - { - mutex.lock(); - bool a=r; - mutex.unlock(); - return a; - } - - QMutex mutex; - bool r; - - } running; - - QXT_DECLARE_PUBLIC(QxtJob); - QMutex mutexa; - QWaitCondition synca; - - -public slots: - void inwrap_d(); -signals: - void done(); - -}; - - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.cpp deleted file mode 100644 index e7723f1a..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.cpp +++ /dev/null @@ -1,353 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -/** -\class QxtMetaObject QxtMetaObject - -\ingroup QxtCore - -\brief provides extensions to QMetaObject - -including QxtMetaObject::bind \n - -*/ -#include "qxtmetaobject.h" -#include "qxtboundfunction.h" -#include "qxtboundcfunction.h" -#include "qxtmetatype.h" - -#include -#include -#include -#include - -#ifndef QXT_DOXYGEN_RUN -class QxtBoundArgument -{ - // This class intentionally left blank -}; -Q_DECLARE_METATYPE(QxtBoundArgument) - -class QxtBoundFunctionBase; - -QxtBoundFunction::QxtBoundFunction(QObject* parent) : QObject(parent) -{ - // initializer only -} -#endif - -bool QxtBoundFunction::invoke(Qt::ConnectionType type, QXT_IMPL_10ARGS(QVariant)) -{ - return invoke(type, QXT_VAR_ARG(1), QXT_VAR_ARG(2), QXT_VAR_ARG(3), QXT_VAR_ARG(4), QXT_VAR_ARG(5), QXT_VAR_ARG(6), QXT_VAR_ARG(7), QXT_VAR_ARG(8), QXT_VAR_ARG(9), QXT_VAR_ARG(10)); -} - -bool QxtBoundFunction::invoke(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QVariant)) -{ - return invoke(type, returnValue, QXT_VAR_ARG(1), QXT_VAR_ARG(2), QXT_VAR_ARG(3), QXT_VAR_ARG(4), QXT_VAR_ARG(5), QXT_VAR_ARG(6), QXT_VAR_ARG(7), QXT_VAR_ARG(8), QXT_VAR_ARG(9), QXT_VAR_ARG(10)); -} - -QxtBoundFunctionBase::QxtBoundFunctionBase(QObject* parent, QGenericArgument* params[10], QByteArray types[10]) : QxtBoundFunction(parent) -{ - for (int i=0; i<10; i++) - { - if (!params[i]) break; - if (QByteArray(params[i]->name()) == "QxtBoundArgument") - { - arg[i] = QGenericArgument("QxtBoundArgument", params[i]->data()); - } - else - { - data[i] = qxtConstructFromGenericArgument(*params[i]); - arg[i] = p[i] = QGenericArgument(params[i]->name(), data[i]); - } - bindTypes[i] = types[i]; - } -} - -QxtBoundFunctionBase::~QxtBoundFunctionBase() -{ - for (int i=0; i<10; i++) - { - if (arg[i].name() == 0) return; - if (QByteArray(arg[i].name()) != "QxtBoundArgument") qxtDestroyFromGenericArgument(arg[i]); - } -} - -int QxtBoundFunctionBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) - { - if (_id == 0) - { - for (int i = 0; i < 10; i++) - { - if (QByteArray(arg[i].name()) == "QxtBoundArgument") - { - p[i] = QGenericArgument(bindTypes[i].constData(), _a[(quintptr)(arg[i].data())]); - } - } - invokeImpl(Qt::DirectConnection, QGenericReturnArgument(), p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]); - } - _id = -1; - } - return _id; -} - -bool QxtBoundFunctionBase::invokeBase(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QGenericArgument)) -{ - QGenericArgument* args[10] = { &p1, &p2, &p3, &p4, &p5, &p6, &p7, &p8, &p9, &p10 }; - for (int i = 0; i < 10; i++) - { - if (QByteArray(arg[i].name()) == "QxtBoundArgument") - { - p[i] = *args[(quintptr)(arg[i].data())-1]; - } - } - return invokeImpl(type, returnValue, p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]); -} - -bool QxtBoundFunction::invoke(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QGenericArgument)) -{ - return reinterpret_cast(this)->invokeBase(type, returnValue, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); -} - -#ifndef QXT_DOXYGEN_RUN -class QxtBoundSlot : public QxtBoundFunctionBase -{ -public: - QByteArray sig; - - QxtBoundSlot(QObject* receiver, const char* invokable, QGenericArgument* params[10], QByteArray types[10]) : QxtBoundFunctionBase(receiver, params, types), sig(invokable) - { - // initializers only - } - - virtual bool invokeImpl(Qt::ConnectionType type, QGenericReturnArgument returnValue, QXT_IMPL_10ARGS(QGenericArgument)) - { - if (!QMetaObject::invokeMethod(parent(), QxtMetaObject::methodName(sig.constData()), type, returnValue, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)) - { - qWarning() << "QxtBoundFunction: call to" << sig << "failed"; - return false; - } - return true; - } -}; -#endif - -namespace QxtMetaObject -{ - -/*! -\relates QxtMetaObject - - \fn methodName(const char* method) - - Returns the name of the given method. - - Example usage: - \code - QByteArray method = QxtMetaObject::methodName(" int foo ( int bar, double baz )"); - // method is now "foo" - \endcode - */ -QByteArray methodName(const char* method) -{ - QByteArray name = methodSignature(method); - const int idx = name.indexOf("("); - if (idx != -1) - name.truncate(idx); - return name; -} - -/*! -\relates QxtMetaObject - -\fn methodSignature(const char* method) - -Returns the signature of the given method. - */ -QByteArray methodSignature(const char* method) -{ - QByteArray name = QMetaObject::normalizedSignature(method); - if (name.startsWith("1") || name.startsWith("2")) - return name.mid(1); - return name; -} - -/*! -\relates QxtMetaObject - -\fn bool isSignalOrSlot(const char* method) - -checks if \p method contains parantesis and begins with 1 or 2 */ -bool isSignalOrSlot (const char* method) -{ - QByteArray m(method); - return (m.count() && (m[0] == '1'||m[0] == '2') && m.contains('(') && m.contains(')')); -} - -/** - * \relates QxtMetaObject - * \sa QxtMetaObject::connect - * \sa QxtBoundFunction - * - * Creates a binding to the provided signal, slot, or Q_INVOKABLE method using the - * provided parameter list. The type of each argument is deduced from the type of - * the QVariant. This function cannot bind positional arguments; see the - * overload using QGenericArgument. - * - * If the provided QObject does not implement the requested method, or if the - * argument list is incompatible with the method's function signature, this - * function returns NULL. - * - * The returned QxtBoundFunction is created as a child of the receiver. - * Changing the parent will result in undefined behavior. - */ -QxtBoundFunction* bind(QObject* recv, const char* invokable, QXT_IMPL_10ARGS(QVariant)) -{ - if (!recv) - { - qWarning() << "QxtMetaObject::bind: cannot connect to null QObject"; - return 0; - } - - QVariant* args[10] = { &p1, &p2, &p3, &p4, &p5, &p6, &p7, &p8, &p9, &p10 }; - QByteArray connSlot("2"), recvSlot(QMetaObject::normalizedSignature(invokable)); - const QMetaObject* meta = recv->metaObject(); - int methodID = meta->indexOfMethod(QxtMetaObject::methodSignature(recvSlot.constData())); - if (methodID == -1) - { - qWarning() << "QxtMetaObject::bind: no such method " << recvSlot; - return 0; - } - QMetaMethod method = meta->method(methodID); - int argCount = method.parameterTypes().count(); - const QList paramTypes = method.parameterTypes(); - - for (int i=0; icanConvert((QVariant::Type)type)) - { - qWarning() << "QxtMetaObject::bind: incompatible parameter list for " << recvSlot; - return 0; - } - } - - return QxtMetaObject::bind(recv, invokable, QXT_ARG(1), QXT_ARG(2), QXT_ARG(3), QXT_ARG(4), QXT_ARG(5), QXT_ARG(6), QXT_ARG(7), QXT_ARG(8), QXT_ARG(9), QXT_ARG(10)); -} - -/** - * \relates QxtMetaObject - * \sa QxtMetaObject::connect - * \sa QxtBoundFunction - * \sa QXT_BIND - * - * Creates a binding to the provided signal, slot, or Q_INVOKABLE method using the - * provided parameter list. Use the Q_ARG macro to specify constant parameters, or - * use the QXT_BIND macro to relay a parameter from a connected signal or passed - * via the QxtBoundFunction::invoke() method. - * - * If the provided QObject does not implement the requested method, or if the - * argument list is incompatible with the method's function signature, this - * function returns NULL. - * - * The returned QxtBoundFunction is created as a child of the receiver. - * Changing the parent will result in undefined behavior. - */ -QxtBoundFunction* bind(QObject* recv, const char* invokable, QXT_IMPL_10ARGS(QGenericArgument)) -{ - if (!recv) - { - qWarning() << "QxtMetaObject::bind: cannot connect to null QObject"; - return 0; - } - - QGenericArgument* args[10] = { &p1, &p2, &p3, &p4, &p5, &p6, &p7, &p8, &p9, &p10 }; - QByteArray connSlot("2"), recvSlot(QMetaObject::normalizedSignature(invokable)), bindTypes[10]; - const QMetaObject* meta = recv->metaObject(); - int methodID = meta->indexOfMethod(QxtMetaObject::methodSignature(recvSlot.constData()).constData()); - if (methodID == -1) - { - qWarning() << "QxtMetaObject::bind: no such method " << recvSlot; - return 0; - } - QMetaMethod method = meta->method(methodID); - int argCount = method.parameterTypes().count(); - - connSlot += QxtMetaObject::methodName(invokable) + "("; - for (int i=0; i<10; i++) - { - if (args[i]->name() == 0) break; // done - if (i >= argCount) - { - qWarning() << "QxtMetaObject::bind: too many arguments passed to " << invokable; - return 0; - } - if (i > 0) connSlot += ","; // argument separator - if (QByteArray(args[i]->name()) == "QxtBoundArgument") - { - Q_ASSERT_X((quintptr)(args[i]->data()) > 0 && (quintptr)(args[i]->data()) <= 10, "QXT_BIND", "invalid argument number"); - connSlot += method.parameterTypes()[i]; - bindTypes[i] = method.parameterTypes()[i]; - } - else - { - connSlot += args[i]->name(); // type name - } - } - connSlot = QMetaObject::normalizedSignature(connSlot += ")"); - - if (!QMetaObject::checkConnectArgs(recvSlot.constData(), connSlot.constData())) - { - qWarning() << "QxtMetaObject::bind: provided parameters " << connSlot.mid(connSlot.indexOf('(')) << " is incompatible with " << invokable; - return 0; - } - - return new QxtBoundSlot(recv, invokable, args, bindTypes); -} - -/** -\relates QxtMetaObject -\fn connect(QObject* sender, const char* signal, QxtBoundFunction* slot, Qt::ConnectionType type) { - -connects a signal to a QxtBoundFunction \n - */ -bool connect(QObject* sender, const char* signal, QxtBoundFunction* slot, Qt::ConnectionType type) -{ - const QMetaObject* meta = sender->metaObject(); - int methodID = meta->indexOfMethod(meta->normalizedSignature(signal).mid(1).constData()); - if (methodID < 0) - { - qWarning() << "QxtMetaObject::connect: no such signal: " << QByteArray(signal).mid(1); - return false; - } - - return QMetaObject::connect(sender, methodID, slot, QObject::staticMetaObject.methodCount(), (int)(type)); -} - -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.h b/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.h deleted file mode 100644 index 4520e896..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtmetaobject.h +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTMETAOBJECT_H -#define QXTMETAOBJECT_H - -#include -#include -#include -#include -#include "qxtnullable.h" -class QByteArray; -class QxtBoundArgument; -class QxtBoundFunction; - -#define QXT_PROTO_10ARGS(T) T p1 = T(), T p2 = T(), T p3 = T(), T p4 = T(), T p5 = T(), T p6 = T(), T p7 = T(), T p8 = T(), T p9 = T(), T p10 = T() -#define QXT_PROTO_9ARGS(T) T p2 = T(), T p3 = T(), T p4 = T(), T p5 = T(), T p6 = T(), T p7 = T(), T p8 = T(), T p9 = T(), T p10 = T() -#define QXT_IMPL_10ARGS(T) T p1, T p2, T p3, T p4, T p5, T p6, T p7, T p8, T p9, T p10 - -class QxtGenericFunctionPointer { -template -friend QxtGenericFunctionPointer qxtFuncPtr(FUNCTION funcPtr); -public: - QxtGenericFunctionPointer(const QxtGenericFunctionPointer& other) { - funcPtr = other.funcPtr; - typeName = other.typeName; - } - - typedef void(voidFunc)(); - voidFunc* funcPtr; - QByteArray typeName; - -private: - QxtGenericFunctionPointer(voidFunc* ptr, const QByteArray& typeIdName) { - funcPtr = ptr; - typeName = typeIdName; - } -}; - -template -QxtGenericFunctionPointer qxtFuncPtr(FUNCTION funcPtr) { - return QxtGenericFunctionPointer(reinterpret_cast(funcPtr), typeid(funcPtr).name()); -} - -namespace QxtMetaObject -{ -QXT_CORE_EXPORT QByteArray methodName(const char* method); -QXT_CORE_EXPORT QByteArray methodSignature(const char* method); - -QXT_CORE_EXPORT bool isSignalOrSlot (const char* method); - -QXT_CORE_EXPORT QxtBoundFunction* bind(QObject* recv, const char* invokable, QXT_PROTO_10ARGS(QGenericArgument)); -QXT_CORE_EXPORT QxtBoundFunction* bind(QObject* recv, const char* invokable, QVariant p1, QXT_PROTO_9ARGS(QVariant)); -QXT_CORE_EXPORT bool connect(QObject* sender, const char* signal, QxtBoundFunction* slot, - Qt::ConnectionType type = Qt::AutoConnection); -} - -/** - * \relates QxtMetaObject - * \sa QxtMetaObject::bind - * Refers to the n'th parameter of QxtBoundFunction::invoke() or a signal connected to - * a QxtBoundFunction. - */ -#define QXT_BIND(n) QGenericArgument("QxtBoundArgument", reinterpret_cast(n)) - -#endif // QXTMETAOBJECT_H diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtmetatype.h b/src/contrib/libqxt-2007-10-24/src/core/qxtmetatype.h deleted file mode 100644 index ea4e6df5..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtmetatype.h +++ /dev/null @@ -1,112 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTMETATYPE_H -#define QXTMETATYPE_H - -#include -#include -#include -#include - -template -class QxtMetaType { -public: - static inline T* construct(const T* copy = 0) { - return QMetaType::construct(qMetaTypeId(), reinterpret_cast(copy)); - } - - static inline void destroy(T* data) { - QMetaType::destroy(qMetaTypeId(), data); - } - - // no need to reimplement isRegistered since this class will fail at compile time if it isn't - - static inline bool load(QDataStream& stream, T* data) { - return QMetaType::load(stream, qMetaTypeId(), reinterpret_cast(data)); - } - - static inline bool save(QDataStream& stream, const T* data) { - return QMetaType::save(stream, qMetaTypeId(), reinterpret_cast(data)); - } - - static inline int type() { - return qMetaTypeId(); - } - - static inline const char* name() { - return QMetaType::typeName(qMetaTypeId()); - } -}; - -template <> -class QxtMetaType { -public: - static inline void* construct(const void* copy = 0) { - Q_UNUSED(copy); - return 0; - } - - static inline void destroy(void* data) { - Q_UNUSED(data); - } - - static inline bool load(QDataStream& stream, void* data) { - Q_UNUSED(stream); - Q_UNUSED(data); - return false; - } - - static inline bool save(QDataStream& stream, const void* data) { - Q_UNUSED(stream); - Q_UNUSED(data); - return false; - } - - static inline int type() { - return 0; - } - - static inline const char* name() { - return 0; - } -}; - -inline void* qxtConstructByName(const char* typeName, const void* copy = 0) { - return QMetaType::construct(QMetaType::type(typeName), copy); -} - -inline void qxtDestroyByName(const char* typeName, void* data) { - QMetaType::destroy(QMetaType::type(typeName), data); -} - -inline void* qxtConstructFromGenericArgument(QGenericArgument arg) { - return qxtConstructByName(arg.name(), arg.data()); -} - -inline void qxtDestroyFromGenericArgument(QGenericArgument arg) { - qxtDestroyByName(arg.name(), arg.data()); -} - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h b/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h deleted file mode 100644 index c252b678..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtnamespace.h +++ /dev/null @@ -1,121 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTNAMSPACE_GUARD_H -#define QXTNAMSPACE_GUARD_H - -#include - - -/** - \namespace Qxt - \ingroup QxtCore - \brief The Qxt Namespace - - The Qxt Namespace - -*/ - - -#if defined BUILD_QXT | defined Q_MOC_RUN -#include - -class QXT_CORE_EXPORT Qxt : public QObject -{ - Q_OBJECT - Q_ENUMS(Rotation) - Q_ENUMS(DecorationStyle) - Q_ENUMS(ErrorCode) - - -public: -#else -namespace Qxt -{ -#endif - - - - - /*! - \enum Qxt::Rotation - This enum describes the rotation. - */ - enum Rotation - { - NoRotation = 0, /*!< No rotation. */ - UpsideDown = 180, /*!< Upside down (180 degrees). */ - Clockwise = 90, /*!< Clockwise (90 degrees). */ - CounterClockwise = 270 /*!< CounterClockwise (-90 degrees). */ - }; - - /*! - \enum Qxt::DecorationStyle - - This enum describes the decoration style. - */ - - enum DecorationStyle - { - NoDecoration, /*!< No decoration */ - Buttonlike, /*!< A style like in Qt Designer's Widget Box. */ - Menulike /*!< A menu alike style. */ - }; - - - /*! - \enum Qxt::ErrorCode - The error Code dropped by QxtError - */ - enum ErrorCode - { - NoError, /*!< everything fine */ - UnknownError, /*!< a not defined error */ - LogicalError, /*!< something happened that makes no sense (e.g. you tryed to compare apples and bananas) */ - Bug, /*!< that should not happen. please report any ocurence of it. */ - UnexpectedEndOfFunction, /*!< suddenly the function returned where it should not. please report this behaiviour */ - NotImplemented, /*!< the feature you requested has not been implemented for this situation. this could also mean you are trying to compare apples and bananas. */ - CodecError, /*!< Something went wrong with some codec. Please check if your codec is supported */ - NotInitialised, /*!< Somone tryed to call a function of an object that needs to be start() ed or something like it. */ - EndOfFile, /*!< The end of the Input has been reached. There is no more data. */ - FileIOError, /*!< File Input/Output Error*/ - FormatError, /*!< The Format of the input is corupted or not supported. */ //10 - DeviceError, /*!< The Device of the Computer reported failure or we are not able to comunicate with it.*/ - SDLError, /*!< SDL reported an error */ - InsufficientMemory, /*!< Not enough memory to perform the action. */ - SeeErrorString, /*!< The Error has no definition here, but the Error String should tell you more. This is mostly used for third party errors. */ - UnexpectedNullParameter, /*!< NULL was passed where it shouldn't. */ - ClientTimeout, /*!< The Client didn't answer within the expected time rang. */ - SocketIOError, /*!< Socket Input/Output Error*/ - ParserError, /*!< Unable to parse the requested string or file.*/ - HeaderTooLong, /*!< The Header that was passed for parsing was too long.*/ - Auth, /*!< Authentification failed.*/ - Overflow /*!< Overflow protection triggered.*/ - - }; - -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtnull.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtnull.cpp deleted file mode 100644 index 967c16f9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtnull.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "qxtnull.h" - -QxtNull qxtNull; // static storage for extern diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtnull.h b/src/contrib/libqxt-2007-10-24/src/core/qxtnull.h deleted file mode 100644 index e93c9fcd..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtnull.h +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTNULL_DEFINED -#define QXTNULL_DEFINED -#include - -/** -\class QxtNull QxtNull - - -\ingroup QxtCore - -\brief An object representing the "null" value for QxtNullable. - -seealso: QxtNullable -*/ - -struct QXT_CORE_EXPORT QxtNull -{ - /** integer cast operator - * In expressions, QxtNull behaves as an integer zero for compatibility with generic functions. - */ - operator int() const - { - return 0; - } - enum { isNull = true }; -}; - -/*! \relates QxtNull - * A predefined null object that can be assigned to any QxtNullable object. - */ -extern QxtNull qxtNull; - -#ifndef QXT_NO_MACROS -/*! \relates QxtNull - * A convenience alias for qxtNull. - */ -#define SKIP qxtNull -#endif - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtnullable.h b/src/contrib/libqxt-2007-10-24/src/core/qxtnullable.h deleted file mode 100644 index ae43147e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtnullable.h +++ /dev/null @@ -1,145 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -/** -\class QxtNullable QxtNullable -\ingroup QxtCore -\brief distinct null value compatible with any data type. - -in general it's a templated abstraction to allow any data type to be -expressed with a null value distinct from any real value. An example -of such a use is for optional arguments. -\n -prepare a function for argument skipping: - -\code -void somefunction( qxtNull(int,a) , qxtNull(int,b) ) -{ - -if (!a.isNull()) - { - int i = a.value(); - //do something with i - } - if (!b.isNull()) - { - int x = b.value(); - //do something with x - } -} -\endcode - -usage: -\code - -somefunction(SKIP,1,2); -somefunction(3,4); -somefunction(3,SKIP,6); -somefunction(1); -\endcode - -*/ - -#ifndef QXTNULLABLE_H -#define QXTNULLABLE_H -#include - -/*! \relates QxtNullable - * defines a skipable argument with type \a t and variable name \a n - */ -#define qxtNull(t,n) QxtNullable n = QxtNullable() - -#include - -template -class /*QXT_CORE_EXPORT*/ QxtNullable -{ -public: - QxtNullable(QxtNull); - QxtNullable(const T& p); - QxtNullable(); - - ///determinates if the Value is set to something meaningfull - bool isNull() const; - - ///delete Value - void nullify(); - - T& value() const; - operator T() const; - void operator=(const T& p); - -private: - T* val; -}; - -template -QxtNullable::QxtNullable(QxtNull) -{ - val = 0; -} - -template -QxtNullable::QxtNullable(const T& p) -{ - val = const_cast(&p); -} - -template -QxtNullable::QxtNullable() -{ - val = 0; -} - -template -QxtNullable::operator T() const -{ - return *val; -} - -template -T& QxtNullable::value() const -{ - return *val; -} - -template -bool QxtNullable::isNull() const -{ - return (val==0); -} - -template -void QxtNullable::nullify() -{ - val=0; -} - -template -void QxtNullable::operator=(const T& p) -{ - val = const_cast(&p); -} - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtpairList.h b/src/contrib/libqxt-2007-10-24/src/core/qxtpairList.h deleted file mode 100644 index f007c5bd..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtpairList.h +++ /dev/null @@ -1,169 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -/** -\class QxtPairList QxtPairList - -\ingroup kit - -\brief Searchable List of Pairs - - -Pair list provides a list with two values, a bit like QHash, but with posibility to operate on both values. - -in contrast to QHash, every entry has a unique id, you can work with. like a QList. - -\code -QxtPairList list; - -list.append(1,2); -list.append(1,5); -list.append(5,6); - -qDebug()<< list.find(1); // "0,1" -qDebug()<< list.find(SKIP,5); // "2" -qDebug()<< list.find(5); // "2" - -\endcode -you may allso play around with the list itself - -\code -list.list.append(qMakePair(1,2)); -\endcode - - -*/ - - -#include -#include -#include -#include - - - -template -class QXT_CORE_EXPORT QxtPairList -{ - - -public: - - QxtPairList() - {} - - QxtPairList( const QxtPairList & other ) - { - list= other.list; - } - - QxtPairList operator= ( const QxtPairList & other ) - { - list= other.list; - } - - - void append(T v1, K v2) - { - list.append(qMakePair(v1,v2)); - } - - - /** \brief search entrys by match - - both arguments are optional, due to the use of QxtNullable - - \code - find(SKIP,v2); - find(v1,SKIP); - find(v1); - \endcode - are all valid - */ - - QList find( qxNull(T,v1) , qxNull(K,v2) ) - { - QList found; - - if ((!v1.isNull()) and (!v2.isNull())) - { - for (int i=0;i nrs) - { - int i; - foreach (i,nrs) - list.removeAt(i); - } - - - - - /** \brief operate on the list directly - - you may use the internal list directly, but be carefull - dont expect to work the QxPairList to work normal if you mess around with it. - */ - - - QList > list; -}; - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtpimpl.h b/src/contrib/libqxt-2007-10-24/src/core/qxtpimpl.h deleted file mode 100644 index 20d507ee..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtpimpl.h +++ /dev/null @@ -1,219 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -/** -\class QxtPimpl QxtPimpl -\ingroup QxtCore -\brief Hide private details of a class - -Application code generally doesn't have to be concerned about hiding its -implementation details, but when writing library code it is important to -maintain a constant interface, both source and binary. Maintaining a constant -source interface is easy enough, but keeping the binary interface constant -means moving implementation details into a private class. The PIMPL, or -d-pointer, idiom is a common method of implementing this separation. QxtPimpl -offers a convenient way to connect the public and private sides of your class. - -\section start Getting Started -Before you declare the public class, you need to make a forward declaration -of the private class. The private class must have the same name as the public -class, followed by the word Private. For example, a class named MyTest would -declare the private class with: -\code -class MyTestPrivate; -\endcode - -\subsection pub The Public Class -Generally, you shouldn't keep any data members in the public class without a -good reason. Functions that are part of the public interface should be declared -in the public class, and functions that need to be available to subclasses (for -calling or overriding) should be in the protected section of the public class. -To connect the private class to the public class, include the -QXT_DECLARE_PRIVATE macro in the private section of the public class. In the -example above, the private class is connected as follows: -\code -private: - QXT_DECLARE_PRIVATE(MyTest); -\endcode - -Additionally, you must include the QXT_INIT_PRIVATE macro in the public class's -constructor. Continuing with the MyTest example, your constructor might look -like this: -\code -MyTest::MyTest() { - // initialization - QXT_INIT_PRIVATE(MyTest); -} -\endcode - -\subsection priv The Private Class -As mentioned above, data members should usually be kept in the private class. -This allows the memory layout of the private class to change without breaking -binary compatibility for the public class. Functions that exist only as -implementation details, or functions that need access to private data members, -should be implemented here. - -To define the private class, inherit from the template QxtPrivate class, and -include the QXT_DECLARE_PUBLIC macro in its public section. The template -parameter should be the name of the public class. For example: -\code -class MyTestPrivate : public QxtPrivate { -public: - MyTestPrivate(); - QXT_DECLARE_PUBLIC(MyTest); -}; -\endcode - -\section cross Accessing Private Members -Use the qxt_d() function (actually a function-like object) from functions in -the public class to access the private class. Similarly, functions in the -private class can invoke functions in the public class by using the qxt_p() -function (this one's actually a function). - -For example, assume that MyTest has methods named getFoobar and doBaz(), -and MyTestPrivate has a member named foobar and a method named doQuux(). -The code might resemble this example: -\code -int MyTest::getFoobar() { - return qxt_d().foobar; -} - -void MyTestPrivate::doQuux() { - qxt_p().doBaz(foobar); -} -\endcode -*/ - -#ifndef QXTPIMPL_H -#define QXTPIMPL_H - -/*! \relates QxtPimpl - * Declares that a public class has a related private class. - * - * This shuold be put in the private section of the public class. The parameter is the name of the public class. - */ -#define QXT_DECLARE_PRIVATE(PUB) friend class PUB##Private; QxtPrivateInterface qxt_d; -/*! \relates QxtPimpl - * Declares that a private class has a related public class. - * - * This may be put anywhere in the declaration of the private class. The parameter is the name of the public class. - */ -#define QXT_DECLARE_PUBLIC(PUB) friend class PUB; -/*! \relates QxtPimpl - * Initializes resources owned by the private class. - * - * This should be called from the public class's constructor, - * before qxt_d() is used for the first time. The parameter is the name of the public class. - */ -#define QXT_INIT_PRIVATE(PUB) qxt_d.setPublic(this); - -#ifdef QXT_DOXYGEN_RUN -/*! \relates QxtPimpl - * Returns a reference to the private class. - * - * This function is only available in a class using \a QXT_DECLARE_PRIVATE. - */ -QxtPrivate& qxt_d(); - -/*! \relates QxtPimpl - * Returns a const reference to the private class. - * - * This function is only available in a class using \a QXT_DECLARE_PRIVATE. - * This overload will be automatically used in const functions. - */ -const QxtPrivate& qxt_d(); - -/*! \relates QxtPimpl - * Returns a reference to the public class. - * - * This function is only available in a class using \a QXT_DECLARE_PUBLIC. - */ -PUB& qxt_p(); - -/*! \relates QxtPimpl - * Returns a const reference to the public class. - * - * This function is only available in a class using \a QXT_DECLARE_PUBLIC. - * This overload will be automatically used in const functions. - */ -const PUB& qxt_p(); -#endif - -#ifndef QXT_DOXYGEN_RUN -template -class QxtPrivate -{ -public: - virtual ~QxtPrivate() - {} - inline void QXT_setPublic(PUB* pub) - { - qxt_p_ptr = pub; - } - -protected: - inline PUB& qxt_p() - { - return *qxt_p_ptr; - } - inline const PUB& qxt_p() const - { - return *qxt_p_ptr; - } - -private: - PUB* qxt_p_ptr; -}; - -template -class QxtPrivateInterface -{ - friend class QxtPrivate; -public: - QxtPrivateInterface() - { - pvt = new PVT; - } - ~QxtPrivateInterface() - { - delete pvt; - } - - inline void setPublic(PUB* pub) - { - pvt->QXT_setPublic(pub); - } - inline PVT& operator()() - { - return *static_cast(pvt); - } - inline const PVT& operator()() const - { - return *static_cast(pvt); - } -private: - QxtPrivate* pvt; -}; -#endif - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.cpp deleted file mode 100644 index 1b690d19..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.cpp +++ /dev/null @@ -1,226 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#include "qxtpipe.h" -#include -#include -#include - -/** - * \class QxtPipe QxtPipe - * \ingroup QxtCore - * \brief a pipeable QIODevice - * - * pipes can be connected to other pipes, to exchange data \n - * The default implementation uses a buffer. \n - * Reimplement to make your custom class able to be connected into a pipe chain. \n - * - * Example usage: - * \code - * QxtPipe p1; - * QxtPipe p2; - * p1|p2; - * p1.write("hello world"); - * qDebug()< -{ - public: - QQueue q; - QList connections; -}; - -/** - * Contructs a new QxtPipe. - */ -QxtPipe::QxtPipe(QObject * parent):QIODevice(parent) -{ - setOpenMode (QIODevice::ReadWrite); -} - - -/** reimplemented from QIODevice*/ -bool QxtPipe::isSequential () const -{ - return true; -} - -/** reimplemented from QIODevice*/ -qint64 QxtPipe::bytesAvailable () const -{ - return qxt_d().q.count(); -} - -/** - * pipes the output of this instance to the \p other QxtPipe using the given mode and connectiontype \n - * connection pipes with this function can be considered thread safe \n - * - * Example usage: - * \code - QxtPipe p1; - QxtPipe p2; - p1.connect(&p2,QIODevice::ReadOnly); - - ///this data will go nowhere. p2 is connected to p1, but not p2 to p1. - p1.write("hello"); - - ///while this data will end up in p1 - p2.write("world"); - - qDebug()<connect(this,QIODevice::WriteOnly,connectionType); - } - - - Connection c; - c.pipe=other; - c.mode=mode; - c.connectionType=connectionType; - qxt_d().connections.append(c); - - return true; -} - -/** - * cuts the pipe to the \p other QxtPipe - */ -bool QxtPipe::disconnect (QxtPipe * other ) -{ - bool e=false; - - QMutableListIterator i(qxt_d().connections); - while (i.hasNext()) - { - i.next(); - if(i.value().pipe==other) - { - i.remove(); - e=true; - other->disconnect(this); - } - } - - return e; -} - -/** - * convinence function for QxtPipe::connect. - * pipes the output of this instance to the \p other QxtPipe in readwrite mode with autoconnection - */ -QxtPipe & QxtPipe::operator | ( QxtPipe & target) -{ - connect(&target); - return *this; -} - -/** reimplemented from QIODevice*/ -qint64 QxtPipe::readData ( char * data, qint64 maxSize ) -{ - QQueue * q=&qxt_d().q; - - qint64 i=0; - for (;iisEmpty()) - break; - (*data++)=q->dequeue(); - } - return i; -} - -/** reimplemented from QIODevice*/ -qint64 QxtPipe::writeData ( const char * data, qint64 maxSize ) -{ - foreach(Connection c,qxt_d().connections) - { - - if(!(c.mode & QIODevice::WriteOnly)) - continue; - - //we want thread safety, so we use a QByteArray instead of the raw data. that migth be slow - QMetaObject::invokeMethod(c.pipe, "receiveData",c.connectionType, - Q_ARG(QByteArray, data),Q_ARG(QxtPipe *,this)); - - } - return maxSize; -} - - -/** -receiveData is called from any connected pipe to input data into this instance. -*/ -qint64 QxtPipe::receiveData (QByteArray datab ,QxtPipe * sender) -{ - QQueue * q=&qxt_d().q; - - const char * data =datab.constData(); - qint64 maxSize =datab.size(); - - qint64 i=0; - for (;ienqueue(*data++); - - - foreach(Connection c,qxt_d().connections) - { - - //don't write back to sender - if(c.pipe==sender) - continue; - - if(!(c.mode & QIODevice::WriteOnly)) - continue; - - - QMetaObject::invokeMethod(c.pipe, "receiveData",c.connectionType, - Q_ARG(QByteArray, datab),Q_ARG(QxtPipe *,this)); - } - - - if (i>0) - emit(readyRead ()); - - return maxSize; -} - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.h b/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.h deleted file mode 100644 index 06b5743c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtpipe.h +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QxtPipe_H_GUARD -#define QxtPipe_H_GUARD -#include "qxtglobal.h" -#include "qxtpimpl.h" - -#include -#include - -class QxtPipePrivate; -class QXT_CORE_EXPORT QxtPipe : public QIODevice -{ -Q_OBJECT -public: - QxtPipe(QObject * parent=0); - - virtual bool isSequential () const; - virtual qint64 bytesAvailable () const; - - bool connect (QxtPipe * other , - QIODevice::OpenMode mode=QIODevice::ReadWrite, - Qt::ConnectionType connectionTyp=Qt::AutoConnection); - bool disconnect (QxtPipe * other ); - - QxtPipe & operator | (QxtPipe & target); - -protected: - virtual qint64 readData ( char * data, qint64 maxSize ); - virtual qint64 writeData ( const char * data, qint64 maxSize ); -private: - QXT_DECLARE_PRIVATE(QxtPipe); - -private slots: - virtual qint64 receiveData (QByteArray data, QxtPipe * sender ); -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.cpp deleted file mode 100644 index a7be0fdf..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtsemaphore.h" - -/** -\class QxtSemaphore QxtSemaphore -\ingroup QxtCore -\brief system wide semaphore (former QxtSingleInstance) - - -\code - QxtSemaphore instance("com.mycompany.foobla.uniquestring"); - if(!instance.trylock()) - { - qDebug("already started") - } - -\endcode - -Note that the semaphore is autoaticly unlocked on destruction, but not on segfault,sigkill,etc...! -*/ - -#ifdef Q_WS_WIN -#include "Windows.h" - -class QxtSemaphorePrivate : public QxtPrivate -{ -public: - QString name; - unsigned sem_m; - void init() - { - sem_m=0; - } - - bool trylock() - { - sem_m = (unsigned ) CreateSemaphoreA ( NULL , 1 , 2 , qPrintable("Global\\"+name) ); - if (sem_m == 0 ) - return false; - return true; - } - bool unlock() - { - if (sem_m==0) - return false; - return CloseHandle((void *)sem_m); - } -}; - - - -#else - -#include -#include -#include - -class QxtSemaphorePrivate : public QxtPrivate -{ -public: - QString name; - sem_t* m_sem; - bool s_N; - void init() - { - s_N=false; - m_sem=NULL; - } - - bool trylock() - { - m_sem=sem_open(qPrintable(name), O_CREAT, S_IRUSR | S_IWUSR, 1); - if (m_sem==(sem_t*)(SEM_FAILED) || sem_trywait(m_sem)) - { - m_sem=NULL; - s_N=true; - return false; - } - s_N=false; - return true; - } - bool unlock() - { - if (m_sem==NULL) - return false; - if (!s_N) - { - sem_post(m_sem); - } - return (sem_close(m_sem)==0); - } -}; - -#endif - -QxtSemaphore::QxtSemaphore(QString uniqueID) -{ - qxt_d().name=uniqueID; - qxt_d().init(); -} - -QxtSemaphore::~QxtSemaphore() -{ - unlock(); -} - -bool QxtSemaphore::trylock() -{ - return qxt_d().trylock(); -} -bool QxtSemaphore::unlock() -{ - return qxt_d().unlock(); -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.h b/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.h deleted file mode 100644 index e64410cb..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtsemaphore.h +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSEMAPHORE_H_NNN -#define QXTSEMAPHORE_H_NNN - -#include -#include -#include - -class QxtSemaphorePrivate; -class QXT_CORE_EXPORT QxtSemaphore -{ -public: - QxtSemaphore(QString ); - ~QxtSemaphore(); - bool trylock(); - bool unlock(); -private: - QXT_DECLARE_PRIVATE(QxtSemaphore); -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.cpp deleted file mode 100644 index 4820ddab..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -#include -#include -#include -#include - -QxtSignalWaiter::QxtSignalWaiter(const QObject* sender, const char* signal) : QObject(0) -{ - Q_ASSERT(sender && signal); - ready=false; - connect(sender, signal, this, SLOT(signalCaught())); - -} - -// Returns true if the signal was caught, returns false if the wait timed out -bool QxtSignalWaiter::wait(const QObject* sender, const char* signal, int msec) -{ - QxtSignalWaiter w(sender, signal); - return w.wait(msec); -} - -// Returns true if the signal was caught, returns false if the wait timed out -bool QxtSignalWaiter::wait(int msec,bool reset) -{ - // Check input parameters - if (msec < -1) return false; - - // activate the timeout - if (msec != -1) timerID = startTimer(msec); - - if(reset) - ready=false; - // Begin waiting - timeout = false; - while (!ready && !timeout) - QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents); - - // Clean up and return status - if (msec != -1) killTimer(timerID); - return ready || !timeout; -} - -void QxtSignalWaiter::signalCaught() -{ - ready = true; -} - -void QxtSignalWaiter::timerEvent(QTimerEvent* event) -{ - Q_UNUSED(event); - killTimer(timerID); - timeout = true; -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.h b/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.h deleted file mode 100644 index 13434002..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtsignalwaiter.h +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -#ifndef QXTSIGNALWAITER_H -#define QXTSIGNALWAITER_H -#include - -#include - -/** -\class QxtSignalWaiter QxtSignalWaiter - -\ingroup kit - -\brief Wait until a signal ocured - -In many cases, writing code that assumes certain actions are synchronous is considerably simpler than breaking your function into multiple blocks and using signals and slots to connect them all. Using this class, QSignalWaiter::wait will block until a certain signal is emitted and then return. The return value is true if the signal was caught, or false if a user-specified timeout elapses before catching the signal. - - - -\code -void MyObject::myFunction() { - QxtSignalWaiter waiter(myOtherObject, SIGNAL(longProcessFinished())); - myOtherObject->longProcess(); - if(waiter.wait(5000)) - doSomething(myOtherObject->information()); - else - QMessageBox::information(0, "MyObject", "Timed out while waiting on longProcessFinished()", QMessageBox::Ok); -} -\endcode - - -\bug -QxtSignalWaiter is, sadly, not reentrant. In particular, only one QxSignalWaiter object can be safely waiting at a time. If a second QxSignalWaiter is used while the first is waiting, the first will not return until the second has timed out or successfully caught its signal. A later revision of the class may be able to solve this problem. Until then, be careful not to rely on two QxtSignalWaiter objects at the same time. - -*/ -class QXT_CORE_EXPORT QxtSignalWaiter : public QObject -{ - Q_OBJECT -public: - - /** default constructor - Creates a QSignalWaiter and sets the default signal to sender::signal.*/ - QxtSignalWaiter(const QObject* sender, const char* signal); - - /** wait for signal - Waits for the signal sender::signal to be emitted. If msec is not -1, wait() will return after msec milliseconds. - If a signal is not specified, the default signal specified in the constructor is used instead. If no default signal was specified in the constructor, wait() will block until the timeout has elapsed. If no timeout was specified, wait() will return immediately.\n - Returns true if the signal was caught, false if it timed out. \n - This function is not reentrant. - */ - - bool wait(int msec = -1,bool reset=false); - static bool wait(const QObject* sender, const char* signal, int msec = -1); -protected: - void timerEvent(QTimerEvent* event); -private slots: - void signalCaught(); -private: - bool ready, timeout; - int timerID; -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.cpp deleted file mode 100644 index bf8cee03..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtslotjob_p.h" - -/** -\class QxtSlotJob QxtSlotJob - -\ingroup QxtCore - -\brief Execute an arbitary Slot on a QThread. - -\warning It is essential to understand that the Qobject you pass is not safe to use untill done(); is emited or result() or join() is called. -*/ - -/*! -execute \p slot from \p precv on \p thread detached \n -returns a QFuture which offers the functions required to get the result.\n -\code - QxtFuture f= QxtSlotJob::detach(&thread,&q,SLOT(exec(QString)),Q_ARG(QString, "select NOW();")); -\endcode - -\warning keep your hands of \p recv until you called QFuture::result(); -*/ -QxtFuture QxtSlotJob::detach(QThread * thread,QObject* recv, const char* slot, - QGenericArgument p1, - QGenericArgument p2, - QGenericArgument p3, - QGenericArgument p4, - QGenericArgument p5, - QGenericArgument p6, - QGenericArgument p7, - QGenericArgument p8, - QGenericArgument p9, - QGenericArgument p10) - { - QxtSlotJob * p= new QxtSlotJob(recv,slot,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10); - connect(p,SIGNAL(done()),p,SLOT(deleteLater())); - return p->exec(thread); - } -/*! -Construct a new Job Object that will run \p slot from \p precv with the specified arguments -*/ -QxtSlotJob::QxtSlotJob(QObject* recv, const char* slot, - QGenericArgument p1, - QGenericArgument p2, - QGenericArgument p3, - QGenericArgument p4, - QGenericArgument p5, - QGenericArgument p6, - QGenericArgument p7, - QGenericArgument p8, - QGenericArgument p9, - QGenericArgument p10) - { - qxt_d().f=QxtMetaObject::bind(recv,slot,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10); - qxt_d().receiver=recv; - qxt_d().orginalthread=QThread::currentThread(); - - connect(this,SIGNAL(done()),this,SLOT(pdone())); - } -/*! -asks for the result of the execution. \n -This calls QxtJob::join() means it will _block_ the current thread untill the Slot has finished execution -*/ -QVariant QxtSlotJob::result() - { - join(); - return qxt_d().r; - } -/*! -execute this job on \p thread \n -\warning keep your hands of the Object you passed until you called result() or join() -*/ -QxtFuture QxtSlotJob::exec(QThread *thread) - { - qxt_d().receiver->moveToThread(thread); - QxtJob::exec(thread); - return QxtFuture(this); - } - -void QxtSlotJob::run() - { - qxt_d().r=qVariantFromValue(qxt_d().f->invoke()); - qxt_d().receiver->moveToThread(qxt_d().orginalthread); - } - - -void QxtSlotJob::pdone() -{ - emit(done(qxt_d().r)); -} - - - - - - - - - - -/** -\class QxtFuture QxtFuture - -\ingroup QxtCore - -\brief Reference to a future result of a QxtSlotJob - -*/ - -QxtFuture::QxtFuture(const QxtFuture& other):QObject() -{ - job=other.job; - connect(job,SIGNAL(done()),this,SIGNAL(done())); - connect(job,SIGNAL(done(QVariant)),this,SIGNAL(done(QVariant))); - waiter=new QxtSignalWaiter(job,SIGNAL(done())); -} - -QxtFuture::QxtFuture(QxtSlotJob* j):QObject() -{ - job=j; - connect(job,SIGNAL(done()),this,SIGNAL(done())); - connect(job,SIGNAL(done(QVariant)),this,SIGNAL(done(QVariant))); - waiter=new QxtSignalWaiter(job,SIGNAL(done())); -} - -QxtFuture::~QxtFuture() -{ - delete waiter; -} -/*! -asks for the result of the execution. \n -This calls QxtJob::join() means it will _block_ the current thread untill the Slot has finished execution -*/ -QVariant QxtFuture::joinedResult() -{ - return job->result(); -} - - - -/*! -asks for the result of the execution. \n -waits until the done() signal occured -or return a QVariant() if the timout ocures earlier \n -This uses QxtSignalWaiter so it will _not_ block your current thread. -\warning this function is not reentrant. You have been warned - -*/ - - - -QVariant QxtFuture::delayedResult(int msec) -{ - if(!waiter->wait(msec,false)) - return QVariant(); - return job->result(); -} - - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.h b/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.h deleted file mode 100644 index 082ca01e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob.h +++ /dev/null @@ -1,108 +0,0 @@ - -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTJOB_H_GUARD -#define QXTJOB_H_GUARD - - -#include - -#include -#include -#include - - -class QxtSignalWaiter; -class QxtSlotJob; -class QXT_CORE_EXPORT QxtFuture: public QObject -{ -Q_OBJECT -public: - QVariant delayedResult(int msec=-1); - QVariant joinedResult(); - - QxtFuture(const QxtFuture& other); - ~QxtFuture(); -private: - friend class QxtSlotJob; - QxtFuture(QxtSlotJob* j); - QxtSlotJob * job; - QxtSignalWaiter * waiter; -signals: - void done(); - void done(QVariant); -}; - - -class QxtSlotJobPrivate; -class QThread; -class QXT_CORE_EXPORT QxtSlotJob : public QxtJob -{ -Q_OBJECT -public: - static QxtFuture detach(QThread * o,QObject* recv, const char* slot, - QGenericArgument p1=QGenericArgument(), - QGenericArgument p2=QGenericArgument(), - QGenericArgument p3=QGenericArgument(), - QGenericArgument p4=QGenericArgument(), - QGenericArgument p5=QGenericArgument(), - QGenericArgument p6=QGenericArgument(), - QGenericArgument p7=QGenericArgument(), - QGenericArgument p8=QGenericArgument(), - QGenericArgument p9=QGenericArgument(), - QGenericArgument p10=QGenericArgument()); - - QxtSlotJob(QObject* recv, const char* slot, - QGenericArgument p1=QGenericArgument(), - QGenericArgument p2=QGenericArgument(), - QGenericArgument p3=QGenericArgument(), - QGenericArgument p4=QGenericArgument(), - QGenericArgument p5=QGenericArgument(), - QGenericArgument p6=QGenericArgument(), - QGenericArgument p7=QGenericArgument(), - QGenericArgument p8=QGenericArgument(), - QGenericArgument p9=QGenericArgument(), - QGenericArgument p10=QGenericArgument()); - - QVariant result(); - QxtFuture exec(QThread *o); - -protected: - virtual void run(); -signals: - void done(QVariant); -private: - QXT_DECLARE_PRIVATE(QxtSlotJob); -///must not be in pimpl. that's heavy doom when they are both Qobject and one moves to another thread -private slots: - void pdone(); - -}; - - - - -#endif - - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob_p.h b/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob_p.h deleted file mode 100644 index ef67fd31..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtslotjob_p.h +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtslotjob.h" -#include -#include - -class QxtSlotJobPrivate : public QObject,public QxtPrivate -{ -public: - QxtBoundFunction * f; - QVariant r; - QThread * orginalthread; - QObject * receiver; - QXT_DECLARE_PUBLIC(QxtSlotJob); -}; - diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtstdio.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtstdio.cpp deleted file mode 100644 index 2d967725..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtstdio.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstdio.h" -#include -#include - -/** -\class QxtStdio QxtStdio - -\ingroup QxtCore - -\brief QIODevice support for stdin and stdout - -including readyRead() signal -note that when using this class, the buffers for stdin/stdout will be disabled, and NOT reenabled on destruction - -perfect as a counter part for QProcess -*/ - -QxtStdio::QxtStdio(QObject * parent):QIODevice(parent) -{ - setvbuf ( stdin , NULL , _IONBF , 0 ); - setvbuf ( stdout , NULL , _IONBF , 0 ); - - setOpenMode (QIODevice::ReadWrite); - notify = new QSocketNotifier ( - -#ifdef Q_CC_MSVC - _fileno(stdin) -#else - fileno(stdin) -#endif - - ,QSocketNotifier::Read,this ); - connect(notify, SIGNAL(activated(int)),this,SLOT(activated(int))); -} - -qint64 QxtStdio::readData ( char * data, qint64 maxSize ) -{ - qint64 i=0; - for (;i -** -****************************************************************************/ -#ifndef QxtStdin_H_GUARD -#define QxtStdin_H_GUARD -#include -#include -#include - -class QSocketNotifier; -class QXT_CORE_EXPORT QxtStdio : public QIODevice -{ - Q_OBJECT -public: - QxtStdio(QObject * parent=0); - virtual bool isSequential () const; - virtual qint64 bytesAvailable () const; -protected: - virtual qint64 readData ( char * data, qint64 maxSize ); - virtual qint64 writeData ( const char * data, qint64 maxSize ); -private: - QSocketNotifier * notify; - QQueue inbuffer; -private slots: - void activated(int ); - -}; -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.cpp b/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.cpp deleted file mode 100644 index 3a2e6161..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.cpp +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstdstreambufdevice.h" - -/** -\class QxtStdStreambufDevice QxtStdStreambufDevice - -\ingroup QxtCore - -\brief QIODevice support for std::streambuf - -does NOT include the readyRead() signal - -*/ - -/** -\fn QxtStdStreambufDevice::QxtStdStreambufDevice(std::streambuf * b,QObject * parent) - -creates a QxtStdStreambufDevice using a single stream buffer as in and output - - */ -QxtStdStreambufDevice::QxtStdStreambufDevice(std::streambuf * b,QObject * parent):QIODevice(parent),buff(b) -{ - setOpenMode (QIODevice::ReadWrite); ///we don't know the real state - buff_w=0; -} -/** -\fn QxtStdStreambufDevice::QxtStdStreambufDevice(std::streambuf * r,std::streambuf * w,QObject * parent) -creates a QxtStdStreambufDevice using \p r to read and \p w to write - */ - -QxtStdStreambufDevice::QxtStdStreambufDevice(std::streambuf * r,std::streambuf * w,QObject * parent):QIODevice(parent),buff(r),buff_w(w) -{ - setOpenMode (QIODevice::ReadWrite); -} -bool QxtStdStreambufDevice::isSequential() const -{ - return true;///for now -} - -qint64 QxtStdStreambufDevice::bytesAvailable () const -{ - return buff->in_avail(); -} -qint64 QxtStdStreambufDevice::readData ( char * data, qint64 maxSize ) -{ - return buff->sgetn(data,maxSize); -} - -qint64 QxtStdStreambufDevice::writeData ( const char * data, qint64 maxSize ) -{ - if (buff_w) - return buff_w->sputn(data,maxSize); - return buff->sputn(data,maxSize); -} diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.h b/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.h deleted file mode 100644 index 548351c7..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxtstdstreambufdevice.h +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtStdStreambufDevice_HEADER_GUARD -#define QxtStdStreambufDevice_HEADER_GUARD - -#include -#include -#include -#include "qxtglobal.h" - -class QXT_CORE_EXPORT QxtStdStreambufDevice : public QIODevice -{ - Q_OBJECT -public: - QxtStdStreambufDevice(std::streambuf *,QObject * parent=0); /// one rw device - QxtStdStreambufDevice(std::streambuf * r,std::streambuf * w,QObject * parent=0); ///one for read and one for write - - virtual bool isSequential () const; - virtual qint64 bytesAvailable () const; -protected: - virtual qint64 readData ( char * data, qint64 maxSize ); - virtual qint64 writeData ( const char * data, qint64 maxSize ); - - -private: - std::streambuf * buff; - std::streambuf * buff_w; - -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxttuple.h b/src/contrib/libqxt-2007-10-24/src/core/qxttuple.h deleted file mode 100644 index 555091e6..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxttuple.h +++ /dev/null @@ -1,441 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTTUPLE_H -#define QXTTUPLE_H -#include - -namespace QxtType -{ - -template -struct get - { - typedef typename get::type type; - }; - -template -struct get - {}; // does not define type - -template -struct get - { - typedef typename TYPELIST::head type; - }; - -template class QxtTuple; -template8)> struct QxtTupleValue; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return QxtTupleValue::value(&t->extend); - } - - static void setValue(QxtTuple* t, typename get::type val) - { - QxtTupleValue::setValue(&t->extend, val); - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t1; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t1 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t2; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t2 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t3; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t3 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t4; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t4 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t5; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t5 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t6; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t6 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t7; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t7 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t8; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t8 = val; - } -}; - -template struct QxtTupleValue -{ - static typename get::type value(QxtTuple* t) - { - return t->t9; - } - static void setValue(QxtTuple* t, typename get::type val) - { - t->t9 = val; - } -}; - -//----------------------------------------------------------------------------------------------- - -template -/** -\class QxtTuple QxtTuple - -\ingroup QxtCore - -\brief Arbitrary-length templated list - -Tuples and cons pairs are both pretty common template metaprogramming hacks. This set of classes -attempts to implement a healthy balance between the two. Tuples generally are implemented with a -fixed length; cons pairs have a lot of overhead and require a ton of typing. As with all template -metaprograms, it may take a while to compile. - -It is recommended to use the convenience macros to create tuples, but you can construct the -QxtTypeList template yourself if you desire; this may be preferable if you want to write generic -functions that use tuples. - ------ example: -\code -#include -#include -using namespace std; - -int main(int argc, char** argv) { - Qxt7Tuple(bool, char, short, int, long long, float, double) tuple; - - tuple.setValue<0>(true); - tuple.setValue<1>('a'); - tuple.setValue<2>(32767); - tuple.setValue<3>(1234567); - tuple.setValue<4>(987654321); - tuple.setValue<5>(1.414); - tuple.setValue<6>(3.14159265); - - cout << 0 << "=" << tuple.value<0>() << endl; - cout << 1 << "=" << tuple.value<1>() << endl; - cout << 2 << "=" << tuple.value<2>() << endl; - cout << 3 << "=" << tuple.value<3>() << endl; - cout << 4 << "=" << tuple.value<4>() << endl; - cout << 5 << "=" << tuple.value<5>() << endl; - cout << 6 << "=" << tuple.value<6>() << endl; -} -\endcode -*/ - -class QxtTuple -{ -public: - template typename get::type value() - { - return QxtTupleValue::value(this); - } - template void setValue(typename get::type val) - { - QxtTupleValue::setValue(this, val); - } - bool operator<(const QxtTuple& other) - { - if (t1 < other.t1) return true; - if (t2 < other.t2) return true; - if (t3 < other.t3) return true; - if (t4 < other.t4) return true; - if (t5 < other.t5) return true; - if (t6 < other.t6) return true; - if (t7 < other.t7) return true; - if (t8 < other.t8) return true; - if (t9 < other.t9) return true; - return false; - } - bool operator==(const QxtTuple& other) - { - if (t1 != other.t1) return false; - if (t2 != other.t2) return false; - if (t3 != other.t3) return false; - if (t4 != other.t4) return false; - if (t5 != other.t5) return false; - if (t6 != other.t6) return false; - if (t7 != other.t7) return false; - if (t8 != other.t8) return false; - if (t9 != other.t9) return false; - return true; - } - bool operator>=(const QxtTuple& other) - { - return !(*this < other); - } - bool operator<=(const QxtTuple& other) - { - if (t1 <= other.t1) return true; - if (t2 <= other.t2) return true; - if (t3 <= other.t3) return true; - if (t4 <= other.t4) return true; - if (t5 <= other.t5) return true; - if (t6 <= other.t6) return true; - if (t7 <= other.t7) return true; - if (t8 <= other.t8) return true; - if (t9 <= other.t9) return true; - return false; - } - bool operator>(const QxtTuple& other) - { - return !(*this <= other); - } - bool operator!=(const QxtTuple& other) - { - return !(*this == other); - } - - -// if only we could get away with making these protected - typename get::type t1; - typename get::type t2; - typename get::type t3; - typename get::type t4; - typename get::type t5; - typename get::type t6; - typename get::type t7; - typename get::type t8; - typename get::type t9; -}; - -//----------------------------------------------------------------------------------------------- - -template -class QxtTuple -{ -public: - template typename get::type value() - { - return QxtTupleValue::value(this); - } - template void setValue(typename get::type val) - { - QxtTupleValue::setValue(this, val); - } - bool operator<(const QxtTuple& other) - { - if (t1 < other.t1) return true; - if (t2 < other.t2) return true; - if (t3 < other.t3) return true; - if (t4 < other.t4) return true; - if (t5 < other.t5) return true; - if (t6 < other.t6) return true; - if (t7 < other.t7) return true; - if (t8 < other.t8) return true; - if (t9 < other.t9) return true; - if (extend < other.extend) return true; - return false; - } - bool operator==(const QxtTuple& other) - { - if (t1 != other.t1) return false; - if (t2 != other.t2) return false; - if (t3 != other.t3) return false; - if (t4 != other.t4) return false; - if (t5 != other.t5) return false; - if (t6 != other.t6) return false; - if (t7 != other.t7) return false; - if (t8 != other.t8) return false; - if (t9 != other.t9) return false; - if (extend != other.extend) return false; - return true; - } - bool operator>=(const QxtTuple& other) - { - return !(*this < other); - } - bool operator<=(const QxtTuple& other) - { - if (t1 <= other.t1) return true; - if (t2 <= other.t2) return true; - if (t3 <= other.t3) return true; - if (t4 <= other.t4) return true; - if (t5 <= other.t5) return true; - if (t6 <= other.t6) return true; - if (t7 <= other.t7) return true; - if (t8 <= other.t8) return true; - if (t9 <= other.t9) return true; - if (extend <= other.extend) return true; - return false; - } - bool operator>(const QxtTuple& other) - { - return !(*this <= other); - } - bool operator!=(const QxtTuple& other) - { - return !(*this == other); - } - -// if only we could get away with making these protected - typename get::type t1; - typename get::type t2; - typename get::type t3; - typename get::type t4; - typename get::type t5; - typename get::type t6; - typename get::type t7; - typename get::type t8; - typename get::type t9; - QxtTuple extend; -}; - -} - -#ifndef QXT_NO_USING -using QxtType::QxtTuple; -#endif - -#ifndef QXT_NO_MACROS -/*! \relates QxtTuple - * Declares a one-column tuple. - */ -#define Qxt1Tuple(a) QxtTuple > - -/*! \relates QxtTuple - * Declares a two-column tuple, similar to QPair. - */ -#define Qxt2Tuple(a, b) QxtTuple > - -/*! \relates QxtTuple - * Declares a three-column tuple, similar to QxtTriple. - */ -#define Qxt3Tuple(a, b, c) QxtTuple > - -/*! \relates QxtTuple - * Declares a four-column tuple. - */ -#define Qxt4Tuple(a, b, c, d) QxtTuple > - -/*! \relates QxtTuple - * Declares a five-column tuple. - */ -#define Qxt5Tuple(a, b, c, d, e) QxtTuple > - -/*! \relates QxtTuple - * Declares a six-column tuple. - */ -#define Qxt6Tuple(a, b, c, d, e, f) QxtTuple > - -/*! \relates QxtTuple - * Declares a seven-column tuple. - */ -#define Qxt7Tuple(a, b, c, d, e, f, g) QxtTuple > - -/*! \relates QxtTuple - * Declares an eight-column tuple. - */ -#define Qxt8Tuple(a, b, c, d, e, f, g, h) QxtTuple > - -/*! \relates QxtTuple - * Declares a nine-column tuple. - */ -#define Qxt9Tuple(a, b, c, d, e, f, g, h, i) QxtTuple > - -/*! \relates QxtTuple - * Declares an extended tuple with ten or more columns. Pay special attention to the syntax of the tenth parameter, which - * must be a QxtTypeList, not a storage type. -\code -QxtLongTuple(int, int, int, int, int, int, int, int, int, Qxt1TypeList(int)) tuple; // correct way to implement a 10-tuple -QxtLongTuple(int, int, int, int, int, int, int, int, int, int) tuple; // this will produce a (very long) compile-time error -\endcode - */ -#define QxtLongTuple(a, b, c, d, e, f, g, h, i, extend) QxtTuple, true > - -#endif - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/core/qxttuplelist.h b/src/contrib/libqxt-2007-10-24/src/core/qxttuplelist.h deleted file mode 100644 index ba6b03dd..00000000 --- a/src/contrib/libqxt-2007-10-24/src/core/qxttuplelist.h +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -QList find( qxNull(T,args)[] ) -{ - QList found; - - bool hit; - for (int i=0;i -** -****************************************************************************/ -#ifndef QXTTYPELIST_H -#define QXTTYPELIST_H -#include - -namespace QxtType -{ -struct NoExtend -{ - typedef QxtNull head; - enum { length = 0, extends = false }; -}; - -template -struct QxtTypeList; - -template -struct QxtTypeList -{ - typedef T1 head; - typedef QxtTypeList tail; - typedef EXTEND extend; - enum { length = tail::length + 1, extends = EXTEND::extends }; -}; - -template -struct QxtTypeList -{ - typedef typename EXTEND::head head; - typedef typename EXTEND::tail tail; - typedef EXTEND extend; - enum { length = EXTEND::length, extends = EXTEND::extends }; -}; - -template<> -struct QxtTypeList -{ - typedef QxtNull extend; - enum { length = 0, extends = false }; -}; -} - -#ifndef QXT_NO_USING -using QxtType::QxtTypeList; -#endif - -#ifndef QXT_NO_MACROS -/*! \relates QxtTypeList - * Declares a one-column tuple. - */ -#define Qxt1TypeList(a) QxtTypeList - -/*! \relates QxtTypeList - * Declares a two-column tuple, similar to QPair. - */ -#define Qxt2TypeList(a, b) QxtTypeList - -/*! \relates QxtTypeList - * Declares a three-column tuple, similar to QxtTriple. - */ -#define Qxt3TypeList(a, b, c) QxtTypeList - -/*! \relates QxtTypeList - * Declares a four-column tuple. - */ -#define Qxt4TypeList(a, b, c, d) QxtTypeList - -/*! \relates QxtTypeList - * Declares a five-column tuple. - */ -#define Qxt5TypeList(a, b, c, d, e) QxtTypeList - -/*! \relates QxtTypeList - * Declares a six-column tuple. - */ -#define Qxt6TypeList(a, b, c, d, e, f) QxtTypeList - -/*! \relates QxtTypeList - * Declares a seven-column tuple. - */ -#define Qxt7TypeList(a, b, c, d, e, f, g) QxtTypeList - -/*! \relates QxtTypeList - * Declares an eight-column tuple. - */ -#define Qxt8TypeList(a, b, c, d, e, f, g, h) QxtTypeList - -/*! \relates QxtTypeList - * Declares a nine-column tuple. - */ -#define Qxt9TypeList(a, b, c, d, e, f, g, h, i) QxtTypeList - -/*! \relates QxtTypeList - * Declares an extended tuple with ten or more columns. Pay special attention to the syntax of the tenth parameter, which - * must be a QxtTypeList, not a storage type. -\code -QxtLongTypeList(int, int, int, int, int, int, int, int, int, Qxt1TypeList(int)) tuple; // correct way to implement a 10-tuple -QxtLongTypeList(int, int, int, int, int, int, int, int, int, int) tuple; // this will produce a (very long) compile-time error -\endcode - */ -#define QxtLongTypeList(a, b, c, d, e, f, g, h, i, extend) QxtTypeList -#endif - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/crypto.pro b/src/contrib/libqxt-2007-10-24/src/crypto/crypto.pro deleted file mode 100644 index c005323b..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/crypto.pro +++ /dev/null @@ -1,30 +0,0 @@ -TARGET = QxtCrypto -DESTDIR = ../../deploy/libs/ -DEPENDPATH += . -INCLUDEPATH += . thirdparty ../core - -DEFINES += BUILD_QXT_CRYPTO -win32: CONFIG += dll -QT = core -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -include(../../config.pri) - -SOURCES+= thirdparty/md5.cpp thirdparty/md4.cpp - - -HEADERS += qxthash.h -SOURCES += qxthash.cpp - - -contains(DEFINES,HAVE_OPENSSL){ -HEADERS += qxtblowfish.h -SOURCES += qxtblowfish.cpp -LIBS+=-lssl -} - - - diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.cpp b/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.cpp deleted file mode 100644 index 6738df48..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCrypto module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -#include "qxtblowfish.h" -#include - - - -/** -\class QxtBlowFish QxtBlowFish - -\ingroup QxtCrypto - -\brief Blowfish Encryption Class - - -useage: -\code -QxtBlowFish() fish; -fish.setPassword("foobar"). - -QByteArray a("barblah"); - -a= fish.encrypt(a); -a= fish.decrypt(a); -\endcode -*/ - - - - - -QxtBlowFish::QxtBlowFish(QObject * parent) :QObject(parent) -{ - key=new BF_KEY; -} - -QxtBlowFish::~QxtBlowFish() -{ - delete(key); -} - - -void QxtBlowFish::setPassword(QByteArray k ) -{ - BF_set_key(key, k.count() , (unsigned char *)k.constData ()); -} - - - -QByteArray QxtBlowFish::encrypt(QByteArray in) -{ - QByteArray out(in); - int num =0; - unsigned char ivec [9]; - ivec[0]=(unsigned char )3887; - ivec[1]=(unsigned char )3432; - ivec[2]=(unsigned char )3887; - ivec[3]=(unsigned char )2344; - ivec[4]=(unsigned char )678; - ivec[5]=(unsigned char )3887; - ivec[6]=(unsigned char )575; - ivec[7]=(unsigned char )2344; - ivec[8]=(unsigned char )2222; - - - BF_cfb64_encrypt( - (unsigned char *)in.constData (), - (unsigned char *)out.data(), - in.size(), - key, - ivec, - &num, - BF_ENCRYPT - ); - - - out=out.toBase64(); - return out; - -} - - -QByteArray QxtBlowFish::decrypt(QByteArray in) - -{ - in=QByteArray::fromBase64(in); - - QByteArray out(in); - - int num =0; - unsigned char ivec [9]; - ivec[0]=(unsigned char )3887; - ivec[1]=(unsigned char )3432; - ivec[2]=(unsigned char )3887; - ivec[3]=(unsigned char )2344; - ivec[4]=(unsigned char )678; - ivec[5]=(unsigned char )3887; - ivec[6]=(unsigned char )575; - ivec[7]=(unsigned char )2344; - ivec[8]=(unsigned char )2222; - - - BF_cfb64_encrypt( - (unsigned char *)in.constData (), - (unsigned char *)out.data(), - in.size(), - key, - ivec, - &num, - BF_DECRYPT - ); - - - return out; -} diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.h b/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.h deleted file mode 100644 index 80b4ca5c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/qxtblowfish.h +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCrypto module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXT__BLOWFISH_H_sadasd -#define QXT__BLOWFISH_H_sadasd - -#include -#include -#include -struct bf_key_st; -class QXT_NETWORK_EXPORT QxtBlowFish : public QObject -{ - Q_OBJECT - -public: - QxtBlowFish(QObject * parent = 0); - ~QxtBlowFish(); - - void setPassword(QByteArray); - QByteArray encrypt(QByteArray); - QByteArray decrypt(QByteArray); - -private: - bf_key_st * key; - -}; - - -#endif - - diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/qxthash.cpp b/src/contrib/libqxt-2007-10-24/src/crypto/qxthash.cpp deleted file mode 100644 index fb035fef..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/qxthash.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCrypto module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#include "qxthash.h" -#include "qxthash_p.h" - -/** -\class QxtHash QxtHash - -\ingroup QxtCrypto - -\brief Hashing funcions - -\code -qDebug()< -** -****************************************************************************/ - -#ifndef QxtHash_H_GUARD -#define QxtHash_H_GUARD - -#include -#include -#include "qxtpimpl.h" - -class QxtHashPrivate; -class QXT_CRYPTO_EXPORT QxtHash -{ - QXT_DECLARE_PRIVATE(QxtHash); -public: - enum Algorithm - { - Md5, - Md4 - }; - QxtHash (Algorithm); - QxtHash (Algorithm, const QByteArray & ); - - void append ( const QByteArray & ); - void operator+= ( const QByteArray &); - - void reset(); - - QByteArray hash(); -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/qxthash_p.h b/src/contrib/libqxt-2007-10-24/src/crypto/qxthash_p.h deleted file mode 100644 index 6c4a6f47..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/qxthash_p.h +++ /dev/null @@ -1,12 +0,0 @@ -#include "md5.h" -#include "md4.h" -class QxtHashPrivate : public QxtPrivate -{ -public: - - QxtHash::Algorithm algo; - - MD5Context md5ctx; - md4_context md4ctx; -}; - diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.cpp b/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.cpp deleted file mode 100644 index 60b13736..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.cpp +++ /dev/null @@ -1,261 +0,0 @@ -/* - * MD4 (RFC-1320) message digest. - * Modified from MD5 code by Andrey Panin - * - * Written by Solar Designer in 2001, and placed in - * the public domain. There's absolutely no warranty. - * - * This differs from Colin Plumb's older public domain implementation in - * that no 32-bit integer data type is required, there's no compile-time - * endianness configuration, and the function prototypes match OpenSSL's. - * The primary goals are portability and ease of use. - * - * This implementation is meant to be fast, but not as fast as possible. - * Some known optimizations are not included to reduce source code size - * and avoid compile-time configuration. - */ - -#include "md4.h" - -#include - -/* - * The basic MD4 functions. - */ -#define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) -#define G(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) -#define H(x, y, z) ((x) ^ (y) ^ (z)) - -/* - * The MD4 transformation for all four rounds. - */ -#define STEP(f, a, b, c, d, x, s) \ - (a) += f((b), (c), (d)) + (x); \ - (a) = ((a) << (s)) | ((a) >> (32 - (s))) - - -/* - * SET reads 4 input bytes in little-endian byte order and stores them - * in a properly aligned word in host byte order. - * - * The check for little-endian architectures which tolerate unaligned - * memory accesses is just an optimization. Nothing will break if it - * doesn't work. - */ -#if defined(__i386__) || defined(__x86_64__) -#define SET(n) \ - (*(const quint32 *)&ptr[(n) * 4]) -#define GET(n) \ - SET(n) -#else -#define SET(n) \ - (ctx->block[(n)] = \ - (quint32)ptr[(n) * 4] | \ - ((quint32)ptr[(n) * 4 + 1] << 8) | \ - ((quint32)ptr[(n) * 4 + 2] << 16) | \ - ((quint32)ptr[(n) * 4 + 3] << 24)) -#define GET(n) \ - (ctx->block[(n)]) -#endif - -/* - * This processes one or more 64-byte data blocks, but does NOT update - * the bit counters. There're no alignment requirements. - */ -static const unsigned char *body(struct md4_context *ctx, const unsigned char *data, size_t size) -{ - const unsigned char *ptr; - quint32 a, b, c, d; - quint32 saved_a, saved_b, saved_c, saved_d; - - ptr = data; - - a = ctx->a; - b = ctx->b; - c = ctx->c; - d = ctx->d; - - do { - saved_a = a; - saved_b = b; - saved_c = c; - saved_d = d; - -/* Round 1 */ - STEP(F, a, b, c, d, SET( 0), 3); - STEP(F, d, a, b, c, SET( 1), 7); - STEP(F, c, d, a, b, SET( 2), 11); - STEP(F, b, c, d, a, SET( 3), 19); - - STEP(F, a, b, c, d, SET( 4), 3); - STEP(F, d, a, b, c, SET( 5), 7); - STEP(F, c, d, a, b, SET( 6), 11); - STEP(F, b, c, d, a, SET( 7), 19); - - STEP(F, a, b, c, d, SET( 8), 3); - STEP(F, d, a, b, c, SET( 9), 7); - STEP(F, c, d, a, b, SET(10), 11); - STEP(F, b, c, d, a, SET(11), 19); - - STEP(F, a, b, c, d, SET(12), 3); - STEP(F, d, a, b, c, SET(13), 7); - STEP(F, c, d, a, b, SET(14), 11); - STEP(F, b, c, d, a, SET(15), 19); -/* Round 2 */ - STEP(G, a, b, c, d, GET( 0) + 0x5A827999, 3); - STEP(G, d, a, b, c, GET( 4) + 0x5A827999, 5); - STEP(G, c, d, a, b, GET( 8) + 0x5A827999, 9); - STEP(G, b, c, d, a, GET(12) + 0x5A827999, 13); - - STEP(G, a, b, c, d, GET( 1) + 0x5A827999, 3); - STEP(G, d, a, b, c, GET( 5) + 0x5A827999, 5); - STEP(G, c, d, a, b, GET( 9) + 0x5A827999, 9); - STEP(G, b, c, d, a, GET(13) + 0x5A827999, 13); - - STEP(G, a, b, c, d, GET( 2) + 0x5A827999, 3); - STEP(G, d, a, b, c, GET( 6) + 0x5A827999, 5); - STEP(G, c, d, a, b, GET(10) + 0x5A827999, 9); - STEP(G, b, c, d, a, GET(14) + 0x5A827999, 13); - - STEP(G, a, b, c, d, GET( 3) + 0x5A827999, 3); - STEP(G, d, a, b, c, GET( 7) + 0x5A827999, 5); - STEP(G, c, d, a, b, GET(11) + 0x5A827999, 9); - STEP(G, b, c, d, a, GET(15) + 0x5A827999, 13); -/* Round 3 */ - STEP(H, a, b, c, d, GET( 0) + 0x6ED9EBA1, 3); - STEP(H, d, a, b, c, GET( 8) + 0x6ED9EBA1, 9); - STEP(H, c, d, a, b, GET( 4) + 0x6ED9EBA1, 11); - STEP(H, b, c, d, a, GET(12) + 0x6ED9EBA1, 15); - - STEP(H, a, b, c, d, GET( 2) + 0x6ED9EBA1, 3); - STEP(H, d, a, b, c, GET(10) + 0x6ED9EBA1, 9); - STEP(H, c, d, a, b, GET( 6) + 0x6ED9EBA1, 11); - STEP(H, b, c, d, a, GET(14) + 0x6ED9EBA1, 15); - - STEP(H, a, b, c, d, GET( 1) + 0x6ED9EBA1, 3); - STEP(H, d, a, b, c, GET( 9) + 0x6ED9EBA1, 9); - STEP(H, c, d, a, b, GET( 5) + 0x6ED9EBA1, 11); - STEP(H, b, c, d, a, GET(13) + 0x6ED9EBA1, 15); - - STEP(H, a, b, c, d, GET( 3) + 0x6ED9EBA1, 3); - STEP(H, d, a, b, c, GET(11) + 0x6ED9EBA1, 9); - STEP(H, c, d, a, b, GET( 7) + 0x6ED9EBA1, 11); - STEP(H, b, c, d, a, GET(15) + 0x6ED9EBA1, 15); - - a += saved_a; - b += saved_b; - c += saved_c; - d += saved_d; - - ptr += 64; - } while (size -= 64); - - ctx->a = a; - ctx->b = b; - ctx->c = c; - ctx->d = d; - - return ptr; -} - -static void md4_init(struct md4_context *ctx) -{ - ctx->a = 0x67452301; - ctx->b = 0xefcdab89; - ctx->c = 0x98badcfe; - ctx->d = 0x10325476; - - ctx->lo = 0; - ctx->hi = 0; -} - -static void md4_update(struct md4_context *ctx, const unsigned char *data, size_t size) -{ - /* @UNSAFE */ - quint32 saved_lo; - unsigned long used, free; - - saved_lo = ctx->lo; - if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) - ctx->hi++; - ctx->hi += size >> 29; - - used = saved_lo & 0x3f; - - if (used) { - free = 64 - used; - - if (size < free) { - memcpy(&ctx->buffer[used], data, size); - return; - } - - memcpy(&ctx->buffer[used], data, free); - data = (const unsigned char *) data + free; - size -= free; - body(ctx, ctx->buffer, 64); - } - - if (size >= 64) { - data = body(ctx, data, size & ~(unsigned long)0x3f); - size &= 0x3f; - } - - memcpy(ctx->buffer, data, size); -} - -static void md4_final(struct md4_context *ctx, unsigned char result[MD4_RESULTLEN]) -{ - /* @UNSAFE */ - unsigned long used, free; - - used = ctx->lo & 0x3f; - - ctx->buffer[used++] = 0x80; - - free = 64 - used; - - if (free < 8) { - memset(&ctx->buffer[used], 0, free); - body(ctx, ctx->buffer, 64); - used = 0; - free = 64; - } - - memset(&ctx->buffer[used], 0, free - 8); - - ctx->lo <<= 3; - ctx->buffer[56] = ctx->lo; - ctx->buffer[57] = ctx->lo >> 8; - ctx->buffer[58] = ctx->lo >> 16; - ctx->buffer[59] = ctx->lo >> 24; - ctx->buffer[60] = ctx->hi; - ctx->buffer[61] = ctx->hi >> 8; - ctx->buffer[62] = ctx->hi >> 16; - ctx->buffer[63] = ctx->hi >> 24; - - body(ctx, ctx->buffer, 64); - - result[0] = ctx->a; - result[1] = ctx->a >> 8; - result[2] = ctx->a >> 16; - result[3] = ctx->a >> 24; - result[4] = ctx->b; - result[5] = ctx->b >> 8; - result[6] = ctx->b >> 16; - result[7] = ctx->b >> 24; - result[8] = ctx->c; - result[9] = ctx->c >> 8; - result[10] = ctx->c >> 16; - result[11] = ctx->c >> 24; - result[12] = ctx->d; - result[13] = ctx->d >> 8; - result[14] = ctx->d >> 16; - result[15] = ctx->d >> 24; - - memset(ctx, 0, sizeof(*ctx)); -} - -#undef F -#undef G -#undef H diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.h b/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.h deleted file mode 100644 index b44e4656..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md4.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This is an OpenSSL-compatible implementation of the RSA Data Security, - * Inc. MD4 Message-Digest Algorithm. - * - * Written by Solar Designer in 2001, and placed in - * the public domain. See md4.c for more information. - */ - -#ifndef __MD4_H -#define __MD4_H - -#include - -#define MD4_RESULTLEN (128/8) - -struct md4_context { - quint32 lo, hi; - quint32 a, b, c, d; - unsigned char buffer[64]; - quint32 block[MD4_RESULTLEN]; -}; - -static void md4_init(struct md4_context *ctx); -static void md4_update(struct md4_context *ctx, const unsigned char *data, size_t size); -static void md4_final(struct md4_context *ctx, unsigned char result[MD4_RESULTLEN]); - - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.cpp b/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.cpp deleted file mode 100644 index 927135de..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.cpp +++ /dev/null @@ -1,238 +0,0 @@ -/* - * This code implements the MD5 message-digest algorithm. - * The algorithm is due to Ron Rivest. This code was - * written by Colin Plumb in 1993, no copyright is claimed. - * This code is in the public domain; do with it what you wish. - * - * Equivalent code is available from RSA Data Security, Inc. - * This code has been tested against that, and is equivalent, - * except that you don't need to include two pages of legalese - * with every copy. - * - * To compute the message digest of a chunk of bytes, declare an - * MD5Context structure, pass it to MD5Init, call MD5Update as - * needed on buffers full of bytes, and then call MD5Final, which - * will fill a supplied 16-byte array with the digest. - * - * Changed so as no longer to depend on Colin Plumb's `usual.h' header - * definitions; now uses stuff from dpkg's config.h. - * - Ian Jackson . - * Still in the public domain. - */ - -#include /* for memcpy() */ -#include /* for stupid systems */ - -#include "md5.h" - -static void -byteSwap(UWORD32 *buf, unsigned words) -{ - const quint32 byteOrderTest = 0x1; - if (((char *)&byteOrderTest)[0] == 0) { - md5byte *p = (md5byte *)buf; - - do { - *buf++ = (UWORD32)((unsigned)p[3] << 8 | p[2]) << 16 | - ((unsigned)p[1] << 8 | p[0]); - p += 4; - } while (--words); - } -} - -/* - * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious - * initialization constants. - */ -static void -MD5Init(struct MD5Context *ctx) -{ - ctx->buf[0] = 0x67452301; - ctx->buf[1] = 0xefcdab89; - ctx->buf[2] = 0x98badcfe; - ctx->buf[3] = 0x10325476; - - ctx->bytes[0] = 0; - ctx->bytes[1] = 0; -} - -/* - * Update context to reflect the concatenation of another buffer full - * of bytes. - */ -static void -MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) -{ - UWORD32 t; - - /* Update byte count */ - - t = ctx->bytes[0]; - if ((ctx->bytes[0] = t + len) < t) - ctx->bytes[1]++; /* Carry from low to high */ - - t = 64 - (t & 0x3f); /* Space available in ctx->in (at least 1) */ - if (t > len) { - memcpy((md5byte *)ctx->in + 64 - t, buf, len); - return; - } - /* First chunk is an odd size */ - memcpy((md5byte *)ctx->in + 64 - t, buf, t); - byteSwap(ctx->in, 16); - MD5Transform(ctx->buf, ctx->in); - buf += t; - len -= t; - - /* Process data in 64-byte chunks */ - while (len >= 64) { - memcpy(ctx->in, buf, 64); - byteSwap(ctx->in, 16); - MD5Transform(ctx->buf, ctx->in); - buf += 64; - len -= 64; - } - - /* Handle any remaining bytes of data. */ - memcpy(ctx->in, buf, len); -} - -/* - * Final wrapup - pad to 64-byte boundary with the bit pattern - * 1 0* (64-bit count of bits processed, MSB-first) - */ -static void -MD5Final(struct MD5Context *ctx, md5byte digest[16]) -{ - int count = ctx->bytes[0] & 0x3f; /* Number of bytes in ctx->in */ - md5byte *p = (md5byte *)ctx->in + count; - - /* Set the first char of padding to 0x80. There is always room. */ - *p++ = 0x80; - - /* Bytes of padding needed to make 56 bytes (-8..55) */ - count = 56 - 1 - count; - - if (count < 0) { /* Padding forces an extra block */ - memset(p, 0, count + 8); - byteSwap(ctx->in, 16); - MD5Transform(ctx->buf, ctx->in); - p = (md5byte *)ctx->in; - count = 56; - } - memset(p, 0, count); - byteSwap(ctx->in, 14); - - /* Append length in bits and transform */ - ctx->in[14] = ctx->bytes[0] << 3; - ctx->in[15] = ctx->bytes[1] << 3 | ctx->bytes[0] >> 29; - MD5Transform(ctx->buf, ctx->in); - - byteSwap(ctx->buf, 4); - memcpy(digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ -} - -#ifndef ASM_MD5 - -/* The four core functions - F1 is optimized somewhat */ - -/* #define F1(x, y, z) (x & y | ~x & z) */ -#define F1(x, y, z) (z ^ (x & (y ^ z))) -#define F2(x, y, z) F1(z, x, y) -#define F3(x, y, z) (x ^ y ^ z) -#define F4(x, y, z) (y ^ (x | ~z)) - -/* This is the central step in the MD5 algorithm. */ -#define MD5STEP(f,w,x,y,z,in,s) \ - (w += f(x,y,z) + in, w = (w<>(32-s)) + x) - -/* - * The core of the MD5 algorithm, this alters an existing MD5 hash to - * reflect the addition of 16 longwords of new data. MD5Update blocks - * the data and converts bytes into longwords for this routine. - */ -static void -MD5Transform(UWORD32 buf[4], UWORD32 const in[16]) -{ - register UWORD32 a, b, c, d; - - a = buf[0]; - b = buf[1]; - c = buf[2]; - d = buf[3]; - - MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); - MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); - MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); - MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); - MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); - MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); - MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); - MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); - MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); - MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); - MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); - MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); - MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); - MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); - MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); - MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); - - MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); - MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); - MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); - MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); - MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); - MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); - MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); - MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); - MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); - MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); - MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); - MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); - MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); - MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); - MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); - MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); - - MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); - MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); - MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); - MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); - MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); - MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); - MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); - MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); - MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); - MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); - MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); - MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); - MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); - MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); - MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); - MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); - - MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); - MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); - MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); - MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); - MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); - MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); - MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); - MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); - MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); - MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); - MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); - MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); - MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); - MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); - MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); - MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); - - buf[0] += a; - buf[1] += b; - buf[2] += c; - buf[3] += d; -} - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.h b/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.h deleted file mode 100644 index 1a6ebc73..00000000 --- a/src/contrib/libqxt-2007-10-24/src/crypto/thirdparty/md5.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * This is the header file for the MD5 message-digest algorithm. - * The algorithm is due to Ron Rivest. This code was - * written by Colin Plumb in 1993, no copyright is claimed. - * This code is in the public domain; do with it what you wish. - * - * Equivalent code is available from RSA Data Security, Inc. - * This code has been tested against that, and is equivalent, - * except that you don't need to include two pages of legalese - * with every copy. - * - * To compute the message digest of a chunk of bytes, declare an - * MD5Context structure, pass it to MD5Init, call MD5Update as - * needed on buffers full of bytes, and then call MD5Final, which - * will fill a supplied 16-byte array with the digest. - * - * Changed so as no longer to depend on Colin Plumb's `usual.h' - * header definitions; now uses stuff from dpkg's config.h - * - Ian Jackson . - * Still in the public domain. - */ - -#ifndef MD5_H -#define MD5_H - -#include -#include -#include -typedef unsigned char md5byte; -typedef quint32 UWORD32; - -struct MD5Context { - UWORD32 buf[4]; - UWORD32 bytes[2]; - UWORD32 in[16]; -}; - -static void MD5Init(struct MD5Context *context); -static void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); -static void MD5Final(struct MD5Context *context, unsigned char digest[16]); -static void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]); - -#endif /* !MD5_H */ diff --git a/src/contrib/libqxt-2007-10-24/src/designer/designer.pro b/src/contrib/libqxt-2007-10-24/src/designer/designer.pro deleted file mode 100644 index a5850ff8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/designer.pro +++ /dev/null @@ -1,59 +0,0 @@ -TARGET = QxtDesignerPlugins -DEPENDPATH += . -INCLUDEPATH += . ../core ../gui -win32: CONFIG += dll -QT = core gui -QXT = core gui -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += designer plugin qxtbuild -include(../../config.pri) - - -target.path = $$[QT_INSTALL_PLUGINS]/designer -INSTALLS+=target - - -HEADERS += qxtcheckcomboboxplugin.h \ - qxtdesignerplugin.h \ - qxtdesignerplugins.h \ - qxtgroupboxplugin.h \ - qxtlabelplugin.h \ - qxtlistwidgetplugin.h \ - qxtprogresslabelplugin.h \ - qxtpushbuttonplugin.h \ - qxtspansliderplugin.h \ - qxtstarsplugin.h \ - qxtstringspinboxplugin.h \ - qxttablewidgetplugin.h \ - qxttreewidgetplugin.h - -SOURCES += qxtcheckcomboboxplugin.cpp \ - qxtdesignerplugin.cpp \ - qxtdesignerplugins.cpp \ - qxtgroupboxplugin.cpp \ - qxtlabelplugin.cpp \ - qxtlistwidgetplugin.cpp \ - qxtprogresslabelplugin.cpp \ - qxtpushbuttonplugin.cpp \ - qxtspansliderplugin.cpp \ - qxtstarsplugin.cpp \ - qxtstringspinboxplugin.cpp \ - qxttablewidgetplugin.cpp \ - qxttreewidgetplugin.cpp - -RESOURCES += resources.qrc - - -CONFIG(debug, debug|release) { - unix: TARGET = $$join(TARGET,,,.debug) - mac: TARGET = $$join(TARGET,,,_debug) - win32: TARGET = $$join(TARGET,,d) -} - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.cpp deleted file mode 100644 index 43f56d00..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtcheckcombobox.h" -#include "qxtcheckcomboboxplugin.h" -#include - -QxtCheckComboBoxPlugin::QxtCheckComboBoxPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtCheckComboBox") -{} - -QWidget* QxtCheckComboBoxPlugin::createWidget(QWidget* parent) -{ - return new QxtCheckComboBox(parent); -} - -QString QxtCheckComboBoxPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 57\n" - " 17\n" - " \n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.h deleted file mode 100644 index 85955605..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtcheckcomboboxplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCHECKCOMBOBOXPLUGIN_H -#define QXTCHECKCOMBOBOXPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtCheckComboBoxPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtCheckComboBoxPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTCHECKCOMBOBOXPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.cpp deleted file mode 100644 index 3d2b64e9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdesignerplugin.h" - -QxtDesignerPlugin::QxtDesignerPlugin(const QString& plugin) : init(false), plugin(plugin) -{} - -QString QxtDesignerPlugin::group() const -{ - return "QxtGui Widgets"; -} - -QIcon QxtDesignerPlugin::icon() const -{ - return QIcon(":/logo.png"); -} - -QString QxtDesignerPlugin::includeFile() const -{ - return plugin; -} - -void QxtDesignerPlugin::initialize(QDesignerFormEditorInterface*) -{ - if (init) return; - init = true; -} - -bool QxtDesignerPlugin::isContainer() const -{ - return false; -} - -bool QxtDesignerPlugin::isInitialized() const -{ - return init; -} - -QString QxtDesignerPlugin::name() const -{ - return plugin; -} - -QString QxtDesignerPlugin::toolTip() const -{ - return plugin; -} - -QString QxtDesignerPlugin::whatsThis() const -{ - return plugin; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.h deleted file mode 100644 index 9bba38d0..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugin.h +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTDESIGNERPLUGIN_H -#define QXTDESIGNERPLUGIN_H - -#include - -class QxtDesignerPlugin : public QDesignerCustomWidgetInterface -{ - Q_INTERFACES(QDesignerCustomWidgetInterface) - -public: - QxtDesignerPlugin(const QString& plugin); - - QString group() const; - QIcon icon() const; - QString includeFile () const; - void initialize(QDesignerFormEditorInterface*); - bool isContainer() const; - bool isInitialized() const; - QString name() const; - QString toolTip() const; - QString whatsThis() const; - -private: - bool init; - QString plugin; -}; - -#endif // QXTDESIGNERPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.cpp deleted file mode 100644 index a62ed5e5..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdesignerplugins.h" -#include "qxtcheckcomboboxplugin.h" -#include "qxtgroupboxplugin.h" -#include "qxtlabelplugin.h" -#include "qxtlistwidgetplugin.h" -#include "qxtprogresslabelplugin.h" -#include "qxtpushbuttonplugin.h" -#include "qxtspansliderplugin.h" -#include "qxtstarsplugin.h" -#include "qxtstringspinboxplugin.h" -#include "qxttablewidgetplugin.h" -#include "qxttreewidgetplugin.h" -#include - -QList QxtDesignerPlugins::customWidgets() const -{ - QList plugins; - plugins << new QxtLabelPlugin() - << new QxtPushButtonPlugin() - << new QxtCheckComboBoxPlugin() - << new QxtSpanSliderPlugin() - << new QxtStringSpinBoxPlugin() - << new QxtGroupBoxPlugin() - << new QxtListWidgetPlugin() - << new QxtTreeWidgetPlugin() - << new QxtTableWidgetPlugin() - << new QxtStarsPlugin() - << new QxtProgressLabelPlugin(); - return plugins; -} - -Q_EXPORT_PLUGIN(QxtDesignerPlugins) diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.h deleted file mode 100644 index 07c191ea..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtdesignerplugins.h +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTDESIGNERPLUGINS_H -#define QXTDESIGNERPLUGINS_H - -#include -#include - -class QxtDesignerPlugins : public QObject, public QDesignerCustomWidgetCollectionInterface -{ - Q_OBJECT - Q_INTERFACES(QDesignerCustomWidgetCollectionInterface) - -public: - QList customWidgets() const; -}; - -#endif // QXTDESIGNERPLUGINS_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.cpp deleted file mode 100644 index 509f2db8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtgroupbox.h" -#include "qxtgroupboxplugin.h" -#include - -QxtGroupBoxPlugin::QxtGroupBoxPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtGroupBox") -{} - -QWidget* QxtGroupBoxPlugin::createWidget(QWidget* parent) -{ - return new QxtGroupBox(parent); -} - -QString QxtGroupBoxPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 120\n" - " 80\n" - " \n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.h deleted file mode 100644 index 78f537ef..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtgroupboxplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTGROUPBOXPLUGIN_H -#define QXTGROUPBOXPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtGroupBoxPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtGroupBoxPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; - bool isContainer() const - { - return true; - } -}; - -#endif // QXTGROUPBOXPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.cpp deleted file mode 100644 index 4e027da0..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtlabel.h" -#include "qxtlabelplugin.h" -#include - -QxtLabelPlugin::QxtLabelPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtLabel") -{} - -QWidget* QxtLabelPlugin::createWidget(QWidget* parent) -{ - return new QxtLabel(parent); -} - -QString QxtLabelPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 57\n" - " 17\n" - " \n" - " \n" - " \n" - " QxtLabel\n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.h deleted file mode 100644 index bd09cb09..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtlabelplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLABELPLUGIN_H -#define QXTLABELPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtLabelPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtLabelPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTLABELPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.cpp deleted file mode 100644 index 89878b45..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtlistwidget.h" -#include "qxtlistwidgetplugin.h" -#include - -QxtListWidgetPlugin::QxtListWidgetPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtListWidget") -{} - -QWidget* QxtListWidgetPlugin::createWidget(QWidget* parent) -{ - return new QxtListWidget(parent); -} - -QString QxtListWidgetPlugin::domXml() const -{ - return ""; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.h deleted file mode 100644 index 33e09de8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtlistwidgetplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLISTWIDGETPLUGIN_H -#define QXTLISTWIDGETPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtListWidgetPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtListWidgetPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTLISTWIDGETPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.cpp deleted file mode 100644 index 7bf13f77..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtprogresslabel.h" -#include "qxtprogresslabelplugin.h" -#include - -QxtProgressLabelPlugin::QxtProgressLabelPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtProgressLabel") -{} - -QWidget* QxtProgressLabelPlugin::createWidget(QWidget* parent) -{ - return new QxtProgressLabel(parent); -} - -QString QxtProgressLabelPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 57\n" - " 17\n" - " \n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.h deleted file mode 100644 index e7eedba2..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtprogresslabelplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTPROGRESSLABELPLUGIN_H -#define QXTPROGRESSLABELPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtProgressLabelPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtProgressLabelPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTPROGRESSLABELPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.cpp deleted file mode 100644 index 5bf63681..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtpushbutton.h" -#include "qxtpushbuttonplugin.h" -#include - -QxtPushButtonPlugin::QxtPushButtonPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtPushButton") -{} -QWidget* QxtPushButtonPlugin::createWidget(QWidget* parent) -{ - return new QxtPushButton(parent); -} - -QString QxtPushButtonPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 105\n" - " 27\n" - " \n" - " \n" - " \n" - " QxtPushButton\n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.h deleted file mode 100644 index 63143665..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtpushbuttonplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTPUSHBUTTONPLUGIN_H -#define QXTPUSHBUTTONPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtPushButtonPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtPushButtonPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTPUSHBUTTONPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.cpp deleted file mode 100644 index c2e4d32b..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtspanslider.h" -#include "qxtspansliderplugin.h" -#include - -QxtSpanSliderPlugin::QxtSpanSliderPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtSpanSlider") -{} - -QWidget* QxtSpanSliderPlugin::createWidget(QWidget* parent) -{ - return new QxtSpanSlider(parent); -} - -QString QxtSpanSliderPlugin::domXml() const -{ - return ""; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.h deleted file mode 100644 index 993153d4..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtspansliderplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSPANSLIDERPLUGIN_H -#define QXTSPANSLIDERPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtSpanSliderPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtSpanSliderPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTSPANSLIDERPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.cpp deleted file mode 100644 index ede8d82f..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstars.h" -#include "qxtstarsplugin.h" -#include - -QxtStarsPlugin::QxtStarsPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtStars") -{} - -QWidget* QxtStarsPlugin::createWidget(QWidget* parent) -{ - return new QxtStars(parent); -} - -QString QxtStarsPlugin::domXml() const -{ - return "\n" - " \n" - " \n" - " 0\n" - " 0\n" - " 57\n" - " 17\n" - " \n" - " \n" - "\n"; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.h deleted file mode 100644 index 76ce6881..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtstarsplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSTARSPLUGIN_H -#define QXTSTARSPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtStarsPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtStarsPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTSTARSPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.cpp deleted file mode 100644 index 7116ff53..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstringspinbox.h" -#include "qxtstringspinboxplugin.h" -#include -#include - -QxtStringSpinBoxPlugin::QxtStringSpinBoxPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtStringSpinBox") -{} - -QWidget* QxtStringSpinBoxPlugin::createWidget(QWidget* parent) -{ - return new QxtStringSpinBox(parent); -} - -QString QxtStringSpinBoxPlugin::domXml() const -{ - return ""; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.h deleted file mode 100644 index 061a3bf1..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxtstringspinboxplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSTRINGSPINBOXPLUGIN_H -#define QXTSTRINGSPINBOXPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtStringSpinBoxPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtStringSpinBoxPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTSTRINGSPINBOXPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.cpp deleted file mode 100644 index f9df0024..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttablewidget.h" -#include "qxttablewidgetplugin.h" -#include - -QxtTableWidgetPlugin::QxtTableWidgetPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtTableWidget") -{} - -QWidget* QxtTableWidgetPlugin::createWidget(QWidget* parent) -{ - return new QxtTableWidget(parent); -} - -QString QxtTableWidgetPlugin::domXml() const -{ - return ""; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.h deleted file mode 100644 index 8ffe7b62..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxttablewidgetplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTABLEWIDGETPLUGIN_H -#define QXTTABLEWIDGETPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtTableWidgetPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtTableWidgetPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTTABLEWIDGETPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.cpp b/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.cpp deleted file mode 100644 index 13dd3971..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttreewidget.h" -#include "qxttreewidgetplugin.h" -#include - -QxtTreeWidgetPlugin::QxtTreeWidgetPlugin(QObject* parent) - : QObject(parent), QxtDesignerPlugin("QxtTreeWidget") -{} - -QWidget* QxtTreeWidgetPlugin::createWidget(QWidget* parent) -{ - return new QxtTreeWidget(parent); -} - -QString QxtTreeWidgetPlugin::domXml() const -{ - return ""; -} diff --git a/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.h b/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.h deleted file mode 100644 index 22eac33c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/qxttreewidgetplugin.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtDesigner module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTREEWIDGETPLUGIN_H -#define QXTTREEWIDGETPLUGIN_H - -#include -#include "qxtdesignerplugin.h" - -class QxtTreeWidgetPlugin : public QObject, public QxtDesignerPlugin -{ - Q_OBJECT - -public: - QxtTreeWidgetPlugin(QObject* parent = 0); - - QWidget* createWidget(QWidget* parent); - QString domXml() const; -}; - -#endif // QXTTREEWIDGETPLUGIN_H diff --git a/src/contrib/libqxt-2007-10-24/src/designer/resources.qrc b/src/contrib/libqxt-2007-10-24/src/designer/resources.qrc deleted file mode 100644 index 3bddd909..00000000 --- a/src/contrib/libqxt-2007-10-24/src/designer/resources.qrc +++ /dev/null @@ -1,5 +0,0 @@ - - - ../../extras/artwork/logo.png - - diff --git a/src/contrib/libqxt-2007-10-24/src/gui/gui.pro b/src/contrib/libqxt-2007-10-24/src/gui/gui.pro deleted file mode 100644 index 9ce36d88..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/gui.pro +++ /dev/null @@ -1,87 +0,0 @@ -TARGET = QxtGui -DESTDIR = ../../deploy/libs/ -DEPENDPATH += . -INCLUDEPATH += . ../core -DEFINES += BUILD_QXT_GUI -win32: CONFIG += dll -QT = core gui -QXT = core -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -win32:LIBS += -luser32 -include(../../config.pri) - -HEADERS += qxtapplication.h \ - qxtapplication_p.h \ - qxtcheckcombobox.h \ - qxtcheckcombobox_p.h \ - qxtconfigdialog.h \ - qxtconfigdialog_p.h \ - qxtconfirmationmessage.h \ - qxtdesktopwidget.h \ - qxtdockwidget.h \ - qxtgui.h \ - qxtgroupbox.h \ - qxtheaderview.h \ - qxtitemdelegate.h \ - qxtitemdelegate_p.h \ - qxtlabel.h \ - qxtlistwidget.h \ - qxtlistwidget_p.h \ - qxtlistwidgetitem.h \ - qxtnativeeventfilter.h \ - qxtprogresslabel.h \ - qxtproxystyle.h \ - qxtpushbutton.h \ - qxtspanslider.h \ - qxtspanslider_p.h \ - qxtstars.h \ - qxtstringspinbox.h \ - qxttablewidget.h \ - qxttablewidget_p.h \ - qxttablewidgetitem.h \ - qxttabwidget.h \ - qxttooltip.h \ - qxttooltip_p.h \ - qxttreewidget.h \ - qxttreewidget_p.h \ - qxttreewidgetitem.h\ - qxtstringvalidator.h\ - qxtstringvalidator_p.h - -SOURCES += qxtapplication.cpp \ - qxtcheckcombobox.cpp \ - qxtconfigdialog.cpp \ - qxtconfirmationmessage.cpp \ - qxtdesktopwidget.cpp \ - qxtdockwidget.cpp \ - qxtgroupbox.cpp \ - qxtheaderview.cpp \ - qxtitemdelegate.cpp \ - qxtlabel.cpp \ - qxtlistwidget.cpp \ - qxtlistwidgetitem.cpp \ - qxtprogresslabel.cpp \ - qxtproxystyle.cpp \ - qxtpushbutton.cpp \ - qxtspanslider.cpp \ - qxtstars.cpp \ - qxtstringspinbox.cpp \ - qxttablewidget.cpp \ - qxttablewidgetitem.cpp \ - qxttabwidget.cpp \ - qxttooltip.cpp \ - qxttreewidget.cpp \ - qxttreewidgetitem.cpp\ - qxtstringvalidator.cpp - -unix:!macx: SOURCES += qxtdesktopwidget_x11.cpp qxtapplication_x11.cpp -macx { - SOURCES += qxtapplication_mac.cpp - SOURCES -= qxtdesktopwidget.cpp - HEADERS -= qxtdesktopwidget.h -} -win32: SOURCES += qxtdesktopwidget_win.cpp qxtapplication_win.cpp diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.cpp deleted file mode 100644 index 08bdb786..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtapplication.h" -#include "qxtapplication_p.h" -#include - -/*! - \class QxtApplication QxtApplication - \ingroup QxtGui - \brief An extended QApplication with support for hotkeys aka "global shortcuts". - - QxtApplication introduces hotkeys which trigger even if the application is not - active. This makes it easy to implement applications that react to certain - shortcuts still if some other application is active or if the application is - for example minimized to the system tray. - - QxtApplication also lets you install native event filters. This makes it - possible to access platform specific native events without subclassing - QApplication. - */ - -/*! - \fn QxtApplication::instance() - - Returns a pointer to the instance of the application object. - - A convenience macro \b qxtApp is also available. - */ - -QxtApplication::QxtApplication(int& argc, char** argv) - : QApplication(argc, argv) -{} - -QxtApplication::QxtApplication(int& argc, char** argv, bool GUIenabled) - : QApplication(argc, argv, GUIenabled) -{} - -QxtApplication::QxtApplication(int& argc, char** argv, Type type) - : QApplication(argc, argv, type) -{} - -QxtApplication::~QxtApplication() -{} - -/*! - Installs a native event \a filter. - - A native event filter is an object that receives all native events before they reach - the application object. The filter can either stop the native event or forward it to - the application object. The filter receives native events via its platform specific - native event filter function. The native event filter function must return \b true - if the event should be filtered, (i.e. stopped); otherwise it must return \b false. - - If multiple native event filters are installed, the filter that was installed last - is activated first. - - \sa removeNativeEventFilter() -*/ -void QxtApplication::installNativeEventFilter(QxtNativeEventFilter* filter) -{ - if (!filter) - return; - - qxt_d().nativeFilters.removeAll(filter); - qxt_d().nativeFilters.prepend(filter); -} - -/*! - Removes a native event \a filter. The request is ignored if such a native - event filter has not been installed. - - \sa installNativeEventFilter() -*/ -void QxtApplication::removeNativeEventFilter(QxtNativeEventFilter* filter) -{ - qxt_d().nativeFilters.removeAll(filter); -} - -/*! - Adds a hotkey using \a modifiers and \a key. The \a member - of \a receiver is invoked upon hotkey trigger. - - \return \b true if hotkey registration succeed, \b false otherwise. - - Example usage: - \code - QxtLabel* label = new QxtLabel("Hello world!"); - qxtApp->addHotKey(Qt::ShiftModifier | Qt::ControlModifier, Qt::Key_S, label, "show"); - \endcode -*/ -bool QxtApplication::addHotKey(Qt::KeyboardModifiers modifiers, Qt::Key key, QWidget* receiver, const char* member) -{ - Q_ASSERT(receiver); - Q_ASSERT(member); - uint mods = qxt_d().nativeModifiers(modifiers); - uint keycode = qxt_d().nativeKeycode(key); - if (keycode) - { - qxt_d().hotkeys.insert(qMakePair(mods, keycode), qMakePair(receiver, member)); - return qxt_d().registerHotKey(mods, keycode, receiver); - } - return false; -} - -/*! - Removes the hotkey using \a modifiers and \a key mapped to - \a member of \a receiver. - - \return \b true if hotkey unregistration succeed, \b false otherwise. -*/ -bool QxtApplication::removeHotKey(Qt::KeyboardModifiers modifiers, Qt::Key key, QWidget* receiver, const char* member) -{ - Q_ASSERT(receiver); - Q_UNUSED(member); - uint mods = qxt_d().nativeModifiers(modifiers); - uint keycode = qxt_d().nativeKeycode(key); - if (keycode) - { - qxt_d().hotkeys.remove(qMakePair(mods, keycode)); - return qxt_d().unregisterHotKey(mods, keycode, receiver); - } - return false; -} - -void QxtApplicationPrivate::activateHotKey(uint modifiers, uint keycode) const -{ - Receivers receivers = hotkeys.values(qMakePair(modifiers, keycode)); - foreach (Receiver receiver, receivers) - { - // QMetaObject::invokeMethod() has appropriate null checks - QMetaObject::invokeMethod(receiver.first, receiver.second); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.h deleted file mode 100644 index f77481d7..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication.h +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTAPPLICATION_H -#define QXTAPPLICATION_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtApplicationPrivate; -class QxtNativeEventFilter; - -#define qxtApp (QxtApplication::instance()) - -class QXT_GUI_EXPORT QxtApplication : public QApplication -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtApplication); - -public: - QxtApplication(int& argc, char** argv); - QxtApplication(int& argc, char** argv, bool GUIenabled); - QxtApplication(int& argc, char** argv, Type type); -#if defined(Q_WS_X11) - QxtApplication(Display* display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); - QxtApplication(Display* display, int& argc, char** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); -#endif // Q_WS_X11 - virtual ~QxtApplication(); - - void installNativeEventFilter(QxtNativeEventFilter* filter); - void removeNativeEventFilter(QxtNativeEventFilter* filter); - -#ifndef QXT_DOXYGEN_RUN -#if defined(Q_WS_X11) - virtual bool x11EventFilter(XEvent* event); -#elif defined(Q_WS_WIN) - virtual bool winEventFilter(MSG* msg, long* result); -#elif defined(Q_WS_MAC) - virtual bool macEventFilter(EventHandlerCallRef caller, EventRef event); -#endif // Q_WS_* -#endif // QXT_DOXYGEN_RUN - - bool addHotKey(Qt::KeyboardModifiers modifiers, Qt::Key key, QWidget* receiver, const char* member); - bool removeHotKey(Qt::KeyboardModifiers modifiers, Qt::Key key, QWidget* receiver, const char* member); - - inline static QxtApplication* instance() - { - return static_cast(QApplication::instance()); - } -}; - -#endif // QXTAPPLICATION_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_mac.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_mac.cpp deleted file mode 100644 index e7dacea9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_mac.cpp +++ /dev/null @@ -1,212 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include -#include "qxtapplication.h" -#include "qxtapplication_p.h" -#include -#include -#include - -static QMap keyRefs; -static QHash keyIDs; -static quint32 hotKeySerial = 0; -static bool qxt_mac_handler_installed = false; - -OSStatus qxt_mac_handle_hot_key(EventHandlerCallRef nextHandler, EventRef event, void* data) -{ - // pass event to the app event filter - qApp->macEventFilter(nextHandler, event); - return noErr; -} - -bool QxtApplication::macEventFilter(EventHandlerCallRef caller, EventRef event) -{ - foreach (QxtNativeEventFilter* filter, qxt_d().nativeFilters) - { - if (filter && filter->macEventFilter(caller, event)) - return true; - } - - if (GetEventClass(event) == kEventClassKeyboard && GetEventKind(event) == kEventHotKeyPressed) - { - EventHotKeyID keyID; - GetEventParameter(event, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(keyID), NULL, &keyID); - Identifier id = keyIDs.key(keyID.id); - qxt_d().activateHotKey(id.first, id.second); - } - return QApplication::macEventFilter(caller, event); -} - -uint QxtApplicationPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers) const -{ - uint native = 0; - if (modifiers & Qt::ShiftModifier) - native |= shiftKeyBit; - if (modifiers & Qt::ControlModifier) - native |= cmdKey; - if (modifiers & Qt::AltModifier) - native |= optionKey; - if (modifiers & Qt::MetaModifier) - native |= controlKey; - if (modifiers & Qt::KeypadModifier) - native |= kEventKeyModifierNumLockMask; - return native; -} - -uint QxtApplicationPrivate::nativeKeycode(Qt::Key key) const -{ - UTF16Char ch; - // Constants found in NSEvent.h from AppKit.framework - if (key == Qt::Key_Up) ch = 0xF700; - else if (key == Qt::Key_Down) ch = 0xF701; - else if (key == Qt::Key_Left) ch = 0xF702; - else if (key == Qt::Key_Right) ch = 0xF703; - else if (key >= Qt::Key_F1 && key <= Qt::Key_F35) - ch = key - Qt::Key_F1 + 0xF704; - else if (key == Qt::Key_Insert) ch = 0xF727; - else if (key == Qt::Key_Delete) ch = 0xF728; - else if (key == Qt::Key_Home) ch = 0xF729; - else if (key == Qt::Key_End) ch = 0xF72B; - else if (key == Qt::Key_PageUp) ch = 0xF72C; - else if (key == Qt::Key_PageDown) ch = 0xF72D; - else if (key == Qt::Key_Print) ch = 0xF72E; - else if (key == Qt::Key_ScrollLock) ch = 0xF72F; - else if (key == Qt::Key_Pause) ch = 0xF730; - else if (key == Qt::Key_SysReq) ch = 0xF731; - else if (key == Qt::Key_Stop) ch = 0xF734; - else if (key == Qt::Key_Menu) ch = 0xF735; - else if (key == Qt::Key_Select) ch = 0xF741; - else if (key == Qt::Key_Execute) ch = 0xF742; - else if (key == Qt::Key_Help) ch = 0xF746; - else if (key == Qt::Key_Mode_switch) ch = 0xF747; - else if (key == Qt::Key_Escape) ch = 27; - else if (key == Qt::Key_Return) ch = 13; - else if (key == Qt::Key_Enter) ch = 3; - else if (key == Qt::Key_Tab) ch = 9; - else ch = key; - - KeyboardLayoutRef layout; - KeyboardLayoutKind layoutKind; - KLGetCurrentKeyboardLayout(&layout); - KLGetKeyboardLayoutProperty(layout, kKLKind, const_cast(reinterpret_cast(&layoutKind))); - - if (layoutKind == kKLKCHRKind) - { // no Unicode available - if (ch > 255) return 0; - - char* data; - KLGetKeyboardLayoutProperty(layout, kKLKCHRData, const_cast(reinterpret_cast(&data))); - int ct = *reinterpret_cast(data + 258); - for (int i = 0; i < ct; i++) - { - char* keyTable = data + 260 + 128 * i; - for (int j = 0; j < 128; j++) - { - if (keyTable[j] == ch) return j; - } - } - - return 0; - } - - char* data; - KLGetKeyboardLayoutProperty(layout, kKLuchrData, const_cast(reinterpret_cast(&data))); - UCKeyboardLayout* header = reinterpret_cast(data); - UCKeyboardTypeHeader* table = header->keyboardTypeList; - - for (uint i=0; i < header->keyboardTypeCount; i++) - { - UCKeyStateRecordsIndex* stateRec = 0; - if (table[i].keyStateRecordsIndexOffset != 0) - { - stateRec = reinterpret_cast(data + table[i].keyStateRecordsIndexOffset); - if (stateRec->keyStateRecordsIndexFormat != kUCKeyStateRecordsIndexFormat) stateRec = 0; - } - - UCKeyToCharTableIndex* charTable = reinterpret_cast(data + table[i].keyToCharTableIndexOffset); - if (charTable->keyToCharTableIndexFormat != kUCKeyToCharTableIndexFormat) continue; - - for (uint j=0; j < charTable->keyToCharTableCount; j++) - { - UCKeyOutput* keyToChar = reinterpret_cast(data + charTable->keyToCharTableOffsets[j]); - for (uint k=0; k < charTable->keyToCharTableSize; k++) - { - if (keyToChar[k] & kUCKeyOutputTestForIndexMask) - { - long idx = keyToChar[k] & kUCKeyOutputGetIndexMask; - if (stateRec && idx < stateRec->keyStateRecordCount) - { - UCKeyStateRecord* rec = reinterpret_cast(data + stateRec->keyStateRecordOffsets[idx]); - if (rec->stateZeroCharData == ch) return k; - } - } - else if (!(keyToChar[k] & kUCKeyOutputSequenceIndexMask) && keyToChar[k] < 0xFFFE) - { - if (keyToChar[k] == ch) return k; - } - } // for k - } // for j - } // for i - - return 0; -} - -bool QxtApplicationPrivate::registerHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_UNUSED(receiver); - - if (!qxt_mac_handler_installed) - { - EventTypeSpec t; - t.eventClass = kEventClassKeyboard; - t.eventKind = kEventHotKeyPressed; - InstallApplicationEventHandler(&qxt_mac_handle_hot_key, 1, &t, NULL, NULL); - } - - EventHotKeyID keyID; - keyID.signature = 'cute'; - keyID.id = ++hotKeySerial; - - EventHotKeyRef ref = 0; - bool rv = !RegisterEventHotKey(keycode, modifiers, keyID, GetApplicationEventTarget(), 0, &ref); - if (rv) - { - keyIDs.insert(Identifier(modifiers, keycode), keyID.id); - keyRefs.insert(keyID.id, ref); - } - qDebug() << ref; - return rv; -} - -bool QxtApplicationPrivate::unregisterHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_UNUSED(receiver); - - Identifier id(modifiers, keycode); - if (!keyIDs.contains(id)) return false; - - EventHotKeyRef ref = keyRefs.take(keyIDs[id]); - keyIDs.remove(id); - return !UnregisterEventHotKey(ref); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_p.h deleted file mode 100644 index 5a1bbcb6..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_p.h +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTAPPLICATION_P_H -#define QXTAPPLICATION_P_H - -#include -#include -#include -#include "qxtpimpl.h" -#include "qxtapplication.h" -#include "qxtnativeeventfilter.h" - -typedef QPair Identifier; -typedef QList Identifiers; -typedef QPair Receiver; -typedef QList Receivers; - -class QxtApplicationPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtApplication); - - uint nativeKeycode(Qt::Key key) const; - uint nativeModifiers(Qt::KeyboardModifiers modifiers) const; - - bool registerHotKey(uint modifiers, uint keycode, QWidget* receiver); - bool unregisterHotKey(uint modifiers, uint keycode, QWidget* receiver); - void activateHotKey(uint modifiers, uint keycode) const; - - QMultiHash hotkeys; - QList nativeFilters; -}; - -inline uint qHash(const QPair& value) -{ - return qHash(value.first) ^ qHash(value.second); -} - -#endif // QXTAPPLICATION_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_win.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_win.cpp deleted file mode 100644 index f525be2e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_win.cpp +++ /dev/null @@ -1,222 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtapplication.h" -#include "qxtapplication_p.h" -#include -#include - -bool QxtApplication::winEventFilter(MSG* msg, long* result) -{ - foreach (QxtNativeEventFilter* filter, qxt_d().nativeFilters) - { - if (filter && filter->winEventFilter(msg, result)) - return true; - } - - if (msg->message == WM_HOTKEY) - { - uint modifiers = LOWORD(msg->lParam); - uint keycode = HIWORD(msg->lParam); - qxt_d().activateHotKey(modifiers, keycode); - } - return QApplication::winEventFilter(msg, result); -} - -uint QxtApplicationPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers) const -{ - // MOD_ALT, MOD_CONTROL, (MOD_KEYUP), MOD_SHIFT, MOD_WIN - uint native = 0; - if (modifiers & Qt::ShiftModifier) - native |= MOD_SHIFT; - if (modifiers & Qt::ControlModifier) - native |= MOD_CONTROL; - if (modifiers & Qt::AltModifier) - native |= MOD_ALT; - if (modifiers & Qt::MetaModifier) - native |= MOD_WIN; - // TODO: resolve these? - //if (modifiers & Qt::KeypadModifier) - //if (modifiers & Qt::GroupSwitchModifier) - return native; -} - -uint QxtApplicationPrivate::nativeKeycode(Qt::Key key) const -{ - switch (key) - { - case Qt::Key_Escape: - return VK_ESCAPE; - case Qt::Key_Tab: - case Qt::Key_Backtab: - return VK_TAB; - case Qt::Key_Backspace: - return VK_BACK; - case Qt::Key_Return: - case Qt::Key_Enter: - return VK_RETURN; - case Qt::Key_Insert: - return VK_INSERT; - case Qt::Key_Delete: - return VK_DELETE; - case Qt::Key_Pause: - return VK_PAUSE; - case Qt::Key_Print: - return VK_PRINT; - case Qt::Key_Clear: - return VK_CLEAR; - case Qt::Key_Home: - return VK_HOME; - case Qt::Key_End: - return VK_END; - case Qt::Key_Left: - return VK_LEFT; - case Qt::Key_Up: - return VK_UP; - case Qt::Key_Right: - return VK_RIGHT; - case Qt::Key_Down: - return VK_DOWN; - case Qt::Key_PageUp: - return VK_PRIOR; - case Qt::Key_PageDown: - return VK_NEXT; - case Qt::Key_F1: - return VK_F1; - case Qt::Key_F2: - return VK_F2; - case Qt::Key_F3: - return VK_F3; - case Qt::Key_F4: - return VK_F4; - case Qt::Key_F5: - return VK_F5; - case Qt::Key_F6: - return VK_F6; - case Qt::Key_F7: - return VK_F7; - case Qt::Key_F8: - return VK_F8; - case Qt::Key_F9: - return VK_F9; - case Qt::Key_F10: - return VK_F10; - case Qt::Key_F11: - return VK_F11; - case Qt::Key_F12: - return VK_F12; - case Qt::Key_F13: - return VK_F13; - case Qt::Key_F14: - return VK_F14; - case Qt::Key_F15: - return VK_F15; - case Qt::Key_F16: - return VK_F16; - case Qt::Key_F17: - return VK_F17; - case Qt::Key_F18: - return VK_F18; - case Qt::Key_F19: - return VK_F19; - case Qt::Key_F20: - return VK_F20; - case Qt::Key_F21: - return VK_F21; - case Qt::Key_F22: - return VK_F22; - case Qt::Key_F23: - return VK_F23; - case Qt::Key_F24: - return VK_F24; - case Qt::Key_Space: - return VK_SPACE; - case Qt::Key_Asterisk: - return VK_MULTIPLY; - case Qt::Key_Plus: - return VK_ADD; - case Qt::Key_Comma: - return VK_SEPARATOR; - case Qt::Key_Minus: - return VK_SUBTRACT; - case Qt::Key_Slash: - return VK_DIVIDE; - - // numbers - case Qt::Key_0: - case Qt::Key_1: - case Qt::Key_2: - case Qt::Key_3: - case Qt::Key_4: - case Qt::Key_5: - case Qt::Key_6: - case Qt::Key_7: - case Qt::Key_8: - case Qt::Key_9: - return key; - - // letters - case Qt::Key_A: - case Qt::Key_B: - case Qt::Key_C: - case Qt::Key_D: - case Qt::Key_E: - case Qt::Key_F: - case Qt::Key_G: - case Qt::Key_H: - case Qt::Key_I: - case Qt::Key_J: - case Qt::Key_K: - case Qt::Key_L: - case Qt::Key_M: - case Qt::Key_N: - case Qt::Key_O: - case Qt::Key_P: - case Qt::Key_Q: - case Qt::Key_R: - case Qt::Key_S: - case Qt::Key_T: - case Qt::Key_U: - case Qt::Key_V: - case Qt::Key_W: - case Qt::Key_X: - case Qt::Key_Y: - case Qt::Key_Z: - return key; - - default: - return 0; - } -} - -bool QxtApplicationPrivate::registerHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_ASSERT(receiver); - return RegisterHotKey(receiver->winId(), modifiers ^ keycode, modifiers, keycode); -} - -bool QxtApplicationPrivate::unregisterHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_ASSERT(receiver); - return UnregisterHotKey(receiver->winId(), modifiers ^ keycode); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_x11.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_x11.cpp deleted file mode 100644 index 237a5e5f..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtapplication_x11.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtapplication.h" -#include "qxtapplication_p.h" -#include -#include -#include - -QxtApplication::QxtApplication(Display* display, Qt::HANDLE visual, Qt::HANDLE colormap) - : QApplication(display, visual, colormap) -{} - -QxtApplication::QxtApplication(Display* display, int& argc, char** argv, Qt::HANDLE visual, Qt::HANDLE colormap) - : QApplication(display, argc, argv, visual, colormap) -{} - -bool QxtApplication::x11EventFilter(XEvent* event) -{ - foreach (QxtNativeEventFilter* filter, qxt_d().nativeFilters) - { - if (filter && filter->x11EventFilter(event)) - return true; - } - - if (event->type == KeyPress) - { - XKeyEvent* key = (XKeyEvent*) event; - qxt_d().activateHotKey(key->state, key->keycode); - } - return QApplication::x11EventFilter(event); -} - -uint QxtApplicationPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers) const -{ - // ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, and Mod5Mask - uint native = 0; - if (modifiers & Qt::ShiftModifier) - native |= ShiftMask; - if (modifiers & Qt::ControlModifier) - native |= ControlMask; - if (modifiers & Qt::AltModifier) - native |= Mod1Mask; - // TODO: resolve these? - //if (modifiers & Qt::MetaModifier) - //if (modifiers & Qt::KeypadModifier) - //if (modifiers & Qt::GroupSwitchModifier) - return native; -} - -uint QxtApplicationPrivate::nativeKeycode(Qt::Key key) const -{ - Display* display = QX11Info::display(); - return XKeysymToKeycode(display, XStringToKeysym(QKeySequence(key).toString().toLatin1().data())); -} - -bool QxtApplicationPrivate::registerHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_UNUSED(receiver); - Display* display = QX11Info::display(); - Window window = QX11Info::appRootWindow(); - Bool owner = True; - int pointer = GrabModeAsync; - int keyboard = GrabModeAsync; - return XGrabKey(display, keycode, modifiers, window, owner, pointer, keyboard); -} - -bool QxtApplicationPrivate::unregisterHotKey(uint modifiers, uint keycode, QWidget* receiver) -{ - Q_UNUSED(receiver); - Display* display = QX11Info::display(); - Window window = QX11Info::appRootWindow(); - return XUngrabKey(display, keycode, modifiers, window); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.cpp deleted file mode 100644 index 52b22e86..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.cpp +++ /dev/null @@ -1,380 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtcheckcombobox.h" -#include "qxtcheckcombobox_p.h" -#include -#include -#include -#include - -QxtCheckComboBoxPrivate::QxtCheckComboBoxPrivate() -{ - separator = QLatin1String(","); -} - -void QxtCheckComboBoxPrivate::hidePopup() -{ - qxt_p().hidePopup(); -} - -void QxtCheckComboBoxPrivate::updateCheckedItems() -{ - checkedItems.clear(); - for (int i = 0; i < qxt_p().model()->rowCount(); ++i) - { - const QModelIndex& index = qxt_p().model()->index(i, 0); - const QVariant& data = index.data(Qt::CheckStateRole); - const Qt::CheckState state = static_cast(data.toInt()); - if (state == Qt::Checked) - { - checkedItems += index.data().toString(); - } - } - - if (checkedItems.count() > 0) - qxt_p().lineEdit()->setText(checkedItems.join(separator)); - else - qxt_p().lineEdit()->setText(defaultText); - - // TODO: find a way to recalculate a meaningful size hint - - emit qxt_p().checkedItemsChanged(checkedItems); -} - -QxtCheckComboView::QxtCheckComboView(QWidget* parent) - : QListView(parent), mode(QxtCheckComboBox::CheckIndicator) -{} - -QxtCheckComboView::~QxtCheckComboView() -{} - -bool QxtCheckComboView::eventFilter(QObject* object, QEvent* event) -{ - Q_UNUSED(object); - if (event->type() == QEvent::MouseButtonRelease) - { - QMouseEvent* mouse = static_cast(event); - const QModelIndex& index = indexAt(mouse->pos()); - if (index.isValid()) - { - bool change = false; - switch (mode) - { - case QxtCheckComboBox::CheckIndicator: - change = handleIndicatorRelease(mouse, index); - break; - - case QxtCheckComboBox::CheckWholeItem: - change = handleItemRelease(mouse, index); - break; - - default: - qWarning("QxtCheckComboView::eventFilter(): unknown mode"); - break; - } - - if (change) - { - // the check state is about to change, bypass - // combobox and deliver the event just for the listview - QListView::mouseReleaseEvent(mouse); - } - else - { - // otherwise it's ok to close - emit hideRequested(); - } - return true; - } - } - return false; -} - -bool QxtCheckComboView::handleIndicatorRelease(QMouseEvent* event, const QModelIndex& index) -{ - // check if the mouse was released over the checkbox - QStyleOptionButton option; - option.QStyleOption::operator=(viewOptions()); - option.rect = visualRect(index); - const QRect& rect = style()->subElementRect(QStyle::SE_ViewItemCheckIndicator, &option); - return rect.contains(event->pos()); -} - -bool QxtCheckComboView::handleItemRelease(QMouseEvent* event, const QModelIndex& index) -{ - // check if the mouse was released outside the checkbox - QStyleOptionButton option; - option.QStyleOption::operator=(viewOptions()); - option.rect = visualRect(index); - const QRect& rect = style()->subElementRect(QStyle::SE_ViewItemCheckIndicator, &option); - if (!rect.contains(event->pos())) - { - Qt::CheckState state = (Qt::CheckState) index.data(Qt::CheckStateRole).toInt(); - switch (state) - { - case Qt::Unchecked: - state = Qt::Checked; - break; - - case Qt::Checked: - state = Qt::Unchecked; - break; - - default: - qWarning("QxtCheckComboView::handleItemRelease(): partially checked item"); - break; - } - model()->setData(index, state, Qt::CheckStateRole); - } - return true; -} - -QxtCheckComboModel::QxtCheckComboModel(QObject* parent) - : QStandardItemModel(0, 1, parent) // rows,cols -{ -} - -QxtCheckComboModel::~QxtCheckComboModel() -{} - -Qt::ItemFlags QxtCheckComboModel::flags(const QModelIndex& index) const -{ - return QStandardItemModel::flags(index) | Qt::ItemIsUserCheckable; -} - -QVariant QxtCheckComboModel::data(const QModelIndex& index, int role) const -{ - QVariant value = QStandardItemModel::data(index, role); - if (role == Qt::CheckStateRole && !value.isValid()) - value = Qt::Unchecked; - return value; -} - -bool QxtCheckComboModel::setData(const QModelIndex& index, const QVariant& value, int role) -{ - bool ok = QStandardItemModel::setData(index, value, role); - if (ok) - { - if (role == Qt::CheckStateRole) - { - emit checkStateChanged(); - } - } - return ok; -} - -/*! - \class QxtCheckComboBox QxtCheckComboBox - \ingroup QxtGui - \brief An extended QComboBox with checkable items. - - QxtComboBox is a specialized combo box with checkable items. - Checked items are collected together in the line edit. - - \image html qxtcheckcombobox.png "QxtCheckComboBox in Plastique style." - */ - -/*! - \enum QxtCheckComboBox::CheckMode - - This enum describes the check mode. - - \sa QxtCheckComboBox::checkMode - */ - -/*! - \var QxtCheckComboBox::CheckMode QxtCheckComboBox::CheckIndicator - - The check state changes only via the check indicator (like in item views). - */ - -/*! - \var QxtCheckComboBox::CheckMode QxtCheckComboBox::CheckWholeItem - - The check state changes via the whole item (like with a combo box). - */ - -/*! - \fn QxtCheckComboBox::checkedItemsChanged(const QStringList& items) - - This signal is emitted whenever the checked items have been changed. - */ - -/*! - Constructs a new QxtCheckComboBox with \a parent. - */ -QxtCheckComboBox::QxtCheckComboBox(QWidget* parent) : QComboBox(parent) -{ - QXT_INIT_PRIVATE(QxtCheckComboBox); - QxtCheckComboModel* model = new QxtCheckComboModel(this); - QxtCheckComboView* view = new QxtCheckComboView(this); - qxt_d().view = view; - setModel(model); - setView(view); - - // these 2 lines below are important and must be - // applied AFTER QComboBox::setView() because - // QComboBox installs its own filter on the view - view->installEventFilter(view); // <--- !!! - view->viewport()->installEventFilter(view); // <--- !!! - - // read-only contents - QLineEdit* lineEdit = new QLineEdit(this); - lineEdit->setReadOnly(true); - setLineEdit(lineEdit); - - connect(view, SIGNAL(hideRequested()), &qxt_d(), SLOT(hidePopup())); - connect(model, SIGNAL(checkStateChanged()), &qxt_d(), SLOT(updateCheckedItems())); - QTimer::singleShot(0, &qxt_d(), SLOT(updateCheckedItems())); -} - -/*! - Destructs the combo box. - */ -QxtCheckComboBox::~QxtCheckComboBox() -{} - -/*! - Returns the check state of the item at \a index. - */ -Qt::CheckState QxtCheckComboBox::itemCheckState(int index) const -{ - return static_cast(itemData(index, Qt::CheckStateRole).toInt()); -} - -/*! - Sets the check state of the item at \a index to \a state. - */ -void QxtCheckComboBox::setItemCheckState(int index, Qt::CheckState state) -{ - setItemData(index, state, Qt::CheckStateRole); -} - -/*! - \property QxtCheckComboBox::checkedItems - \brief This property holds the checked items. - */ -QStringList QxtCheckComboBox::checkedItems() const -{ - return qxt_d().checkedItems; -} - -void QxtCheckComboBox::setCheckedItems(const QStringList& items) -{ - // not the most efficient solution but most likely nobody - // will put too many items into a combo box anyway so... - foreach (const QString& text, items) - { - const int index = findText(text); - setItemCheckState(index, index != -1 ? Qt::Checked : Qt::Unchecked); - } -} - -/*! - \property QxtCheckComboBox::defaultText - \brief This property holds the default text. - - The default text is shown when there are no checked items. - The default value is an empty string. - */ -QString QxtCheckComboBox::defaultText() const -{ - return qxt_d().defaultText; -} - -void QxtCheckComboBox::setDefaultText(const QString& text) -{ - if (qxt_d().defaultText != text) - { - qxt_d().defaultText = text; - qxt_d().updateCheckedItems(); - } -} - -/*! - \property QxtCheckComboBox::separator - \brief This property holds the default separator. - - The checked items are joined together with the separator string. - The default value is a comma (","). - */ -QString QxtCheckComboBox::separator() const -{ - return qxt_d().separator; -} - -void QxtCheckComboBox::setSeparator(const QString& separator) -{ - if (qxt_d().separator != separator) - { - qxt_d().separator = separator; - qxt_d().updateCheckedItems(); - } -} - -/*! - \property QxtCheckComboBox::checkMode - \brief This property holds the check mode. - - The check mode describes item checking behaviour. - The default value is \b QxtCheckComboBox::CheckIndicator. - - \sa QxtCheckComboBox::CheckMode - */ -QxtCheckComboBox::CheckMode QxtCheckComboBox::checkMode() const -{ - return qxt_d().view->mode; -} - -void QxtCheckComboBox::setCheckMode(QxtCheckComboBox::CheckMode mode) -{ - if (qxt_d().view->mode != mode) - { - qxt_d().view->mode = mode; - } -} - -void QxtCheckComboBox::keyPressEvent(QKeyEvent* event) -{ - if (event->key() != Qt::Key_Up && event->key() != Qt::Key_Down) - { - QComboBox::keyPressEvent(event); - } - else - { - showPopup(); - } -} - -void QxtCheckComboBox::keyReleaseEvent(QKeyEvent* event) -{ - if (event->key() != Qt::Key_Up && event->key() != Qt::Key_Down) - { - QComboBox::keyReleaseEvent(event); - } - else - { - showPopup(); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.h deleted file mode 100644 index 06bef3a9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox.h +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCHECKCOMBOBOX_H -#define QXTCHECKCOMBOBOX_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtCheckComboBoxPrivate; - -class QXT_GUI_EXPORT QxtCheckComboBox : public QComboBox -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtCheckComboBox); - Q_PROPERTY(QString separator READ separator WRITE setSeparator) - Q_PROPERTY(QString defaultText READ defaultText WRITE setDefaultText) - Q_PROPERTY(QStringList checkedItems READ checkedItems WRITE setCheckedItems) - Q_PROPERTY(QxtCheckComboBox::CheckMode checkMode READ checkMode WRITE setCheckMode) - Q_ENUMS(CheckMode) - -public: - enum CheckMode - { - CheckIndicator, - CheckWholeItem - }; - - explicit QxtCheckComboBox(QWidget* parent = 0); - virtual ~QxtCheckComboBox(); - - QStringList checkedItems() const; - void setCheckedItems(const QStringList& items); - - QString defaultText() const; - void setDefaultText(const QString& text); - - Qt::CheckState itemCheckState(int index) const; - void setItemCheckState(int index, Qt::CheckState state); - - QString separator() const; - void setSeparator(const QString& separator); - - CheckMode checkMode() const; - void setCheckMode(CheckMode mode); - -signals: - void checkedItemsChanged(const QStringList& items); - -#ifndef QXT_DOXYGEN_RUN -protected: - void keyPressEvent(QKeyEvent* event); - void keyReleaseEvent(QKeyEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTCHECKCOMBOBOX_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox_p.h deleted file mode 100644 index d8c65618..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtcheckcombobox_p.h +++ /dev/null @@ -1,82 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCHECKCOMBOBOX_P_H -#define QXTCHECKCOMBOBOX_P_H - -#include -#include -#include "qxtcheckcombobox.h" -#include "qxtpimpl.h" - -class QxtCheckComboView : public QListView -{ - Q_OBJECT - -public: - explicit QxtCheckComboView(QWidget* parent = 0); - ~QxtCheckComboView(); - - virtual bool eventFilter(QObject* object, QEvent* event); - QxtCheckComboBox::CheckMode mode; - bool handleIndicatorRelease(QMouseEvent* event, const QModelIndex& index); - bool handleItemRelease(QMouseEvent* event, const QModelIndex& index); - -signals: - void hideRequested(); -}; - -class QxtCheckComboModel : public QStandardItemModel -{ - Q_OBJECT - -public: - explicit QxtCheckComboModel(QObject* parent = 0); - ~QxtCheckComboModel(); - - virtual Qt::ItemFlags flags(const QModelIndex& index) const; - virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; - virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - -signals: - void checkStateChanged(); -}; - -class QxtCheckComboBoxPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT - -public: - QXT_DECLARE_PUBLIC(QxtCheckComboBox); - QxtCheckComboBoxPrivate(); - QString separator; - QString defaultText; - QStringList checkedItems; - QxtCheckComboView* view; - -public slots: - void hidePopup(); - void updateCheckedItems(); -}; - -#endif // QXTCHECKCOMBOBOX_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.cpp deleted file mode 100644 index 135ba433..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.cpp +++ /dev/null @@ -1,751 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtconfigdialog.h" -#include "qxtconfigdialog_p.h" -#if QT_VERSION >= 0x040200 -#include -#else // QT_VERSION >= 0x040200 -#include -#include -#endif // QT_VERSION -#include -#include -#include -#include - -QxtConfigListWidget::QxtConfigListWidget(QWidget* parent) : QListWidget(parent) -{ - setItemDelegate(new QxtConfigDelegate(this)); - viewport()->setAttribute(Qt::WA_Hover, true); -} - -void QxtConfigListWidget::invalidate() -{ - hint = QSize(); - updateGeometry(); -} - -QSize QxtConfigListWidget::minimumSizeHint() const -{ - return sizeHint(); -} - -QSize QxtConfigListWidget::sizeHint() const -{ - if (!hint.isValid()) - { - const QStyleOptionViewItem options = viewOptions(); - const bool vertical = (flow() == QListView::TopToBottom); - for (int i = 0; i < count(); ++i) - { - const QSize size = itemDelegate()->sizeHint(options, model()->index(i, 0)); - if (i != 0) - hint = hint.expandedTo(size); - if (vertical) - hint += QSize(0, size.height()); - else - hint += QSize(size.width(), 0); - } - hint += QSize(2 * frameWidth(), 2 * frameWidth()); - } - return hint; -} - -bool QxtConfigListWidget::hasHoverEffect() const -{ - return static_cast(itemDelegate())->hover; -} - -void QxtConfigListWidget::setHoverEffect(bool enabled) -{ - static_cast(itemDelegate())->hover = enabled; -} - -void QxtConfigListWidget::scrollContentsBy(int dx, int dy) -{ - // prevent scrolling - Q_UNUSED(dx); - Q_UNUSED(dy); -} - -QxtConfigDelegate::QxtConfigDelegate(QObject* parent) - : QItemDelegate(parent), hover(true) -{} - -void QxtConfigDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - QStyleOptionViewItem opt = option; - if (hover) - { - QPalette::ColorGroup cg = (option.state & QStyle::State_Enabled) ? QPalette::Normal : QPalette::Disabled; - if (cg == QPalette::Normal && !(option.state & QStyle::State_Active)) - cg = QPalette::Inactive; - - if (option.state & QStyle::State_Selected) - { - painter->fillRect(option.rect, option.palette.brush(cg, QPalette::Highlight)); - } - else if ((option.state & QStyle::State_MouseOver) && (option.state & QStyle::State_Enabled)) - { - QColor color = option.palette.color(cg, QPalette::Highlight).light(); - if (color == option.palette.color(cg, QPalette::Base)) - color = option.palette.color(cg, QPalette::AlternateBase); - painter->fillRect(option.rect, color); - } - - opt.showDecorationSelected = false; - opt.state &= ~QStyle::State_HasFocus; - } - QItemDelegate::paint(painter, opt, index); -} - -void QxtConfigDialogPrivate::init(QxtConfigDialog::IconPosition position) -{ - QxtConfigDialog* p = &qxt_p(); - grid = new QGridLayout(p); - list = new QxtConfigListWidget(p); - stack = new QStackedWidget(p); - pos = position; - QObject::connect(list, SIGNAL(currentRowChanged(int)), stack, SLOT(setCurrentIndex(int))); - QObject::connect(stack, SIGNAL(currentChanged(int)), p, SIGNAL(currentIndexChanged(int))); - -#if QT_VERSION >= 0x040200 - buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, p); - QObject::connect(buttons, SIGNAL(accepted()), p, SLOT(accept())); - QObject::connect(buttons, SIGNAL(rejected()), p, SLOT(reject())); -#else // QT_VERSION >= 0x040200 - buttons = new QWidget(p); - QHBoxLayout* layout = new QHBoxLayout(buttons); - QPushButton* okButton = new QPushButton(QxtConfigDialog::tr("&OK")); - QPushButton* cancelButton = new QPushButton(QxtConfigDialog::tr("&Cancel")); - QObject::connect(okButton, SIGNAL(clicked()), p, SLOT(accept())); - QObject::connect(cancelButton, SIGNAL(clicked()), p, SLOT(reject())); - layout->addStretch(); - layout->addWidget(okButton); - layout->addWidget(cancelButton); -#endif - - initList(); - relayout(); -} - -void QxtConfigDialogPrivate::initList() -{ - // no scroll bars - list->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - list->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - // prevent editing - list->setEditTriggers(QAbstractItemView::NoEditTriggers); - // convenient navigation - list->setTabKeyNavigation(true); - // no dnd - list->setAcceptDrops(false); - list->setDragEnabled(false); - // list fine tuning - list->setMovement(QListView::Static); - list->setWrapping(false); - list->setResizeMode(QListView::Fixed); - list->setViewMode(QListView::IconMode); - // list->setWordWrap(false); 4.2 - // list->setSortingEnabled(false); 4.2 -} - -void QxtConfigDialogPrivate::relayout() -{ - // freeze - grid->setEnabled(false); - - // clear - while (grid->takeAt(0)); - - // relayout - switch (pos) - { - case QxtConfigDialog::North: - // +-----------+ - // | Icons | - // +-----------| - // | Stack | - // +-----------| - // | Buttons | - // +-----------+ - grid->addWidget(list, 0, 0); - grid->addWidget(stack, 1, 0); - grid->addWidget(buttons, 3, 0); - break; - - case QxtConfigDialog::West: - // +---+-------+ - // | I | | - // | c | | - // | o | Stack | - // | n | | - // | s | | - // +---+-------+ - // | Buttons | - // +-----------+ - grid->addWidget(list, 0, 0); - grid->addWidget(stack, 0, 1); - grid->addWidget(buttons, 2, 0, 1, 2); - break; - - case QxtConfigDialog::East: - // +-------+---+ - // | | I | - // | | c | - // | Stack | o | - // | | n | - // | | s | - // +-------+---+ - // | Buttons | - // +-----------+ - grid->addWidget(stack, 0, 0); - grid->addWidget(list, 0, 1); - grid->addWidget(buttons, 2, 0, 1, 2); - break; - - default: - qWarning("QxtConfigDialogPrivate::relayout(): unknown position"); - break; - } - - if (pos == QxtConfigDialog::North) - { - list->setFlow(QListView::LeftToRight); - list->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); - } - else - { - list->setFlow(QListView::TopToBottom); - list->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum); - } - list->invalidate(); - - // defrost - grid->setEnabled(true); -} - -/*! - \class QxtConfigDialog QxtConfigDialog - \ingroup QxtGui - \brief A configuration dialog. - - QxtConfigDialog provides a convenient interface for building - common configuration dialogs. QxtConfigDialog consists of a - list of icons and a stack of pages. - - Example usage: - \code - QxtConfigDialog dialog; - dialog.addPage(new ConfigurationPage(&dialog), QIcon(":/images/config.png"), tr("Configuration")); - dialog.addPage(new UpdatePage(&dialog), QIcon(":/images/update.png"), tr("Update")); - dialog.addPage(new QueryPage(&dialog), QIcon(":/images/query.png"), tr("Query")); - dialog.exec(); - \endcode - - \image html qxtconfigdialog.png "QxtConfigDialog with page icons on the left (QxtConfigDialog::West)." - */ - -/*! - \enum IconPosition::IconPosition - - This enum describes the page icon position. - - \sa QxtCheckComboBox::iconPosition - */ - -/*! - \var QxtConfigDialog::IconPosition QxtConfigDialog::North - - The icons are located above the pages. - */ - -/*! - \var QxtConfigDialog::IconPosition QxtConfigDialog::West - - The icons are located to the left of the pages. - */ - -/*! - \var QxtConfigDialog::IconPosition QxtConfigDialog::East - - The icons are located to the right of the pages. - */ - -/*! - \fn QxtConfigDialog::currentIndexChanged(int index) - - This signal is emitted whenever the current page \a index changes. - - \sa currentIndex() - */ - -/*! - Constructs a new QxtConfigDialog with \a parent and \a flags. - */ -QxtConfigDialog::QxtConfigDialog(QWidget* parent, Qt::WindowFlags flags) - : QDialog(parent, flags) -{ - QXT_INIT_PRIVATE(QxtConfigDialog); - qxt_d().init(); -} - -/*! - Constructs a new QxtConfigDialog with icon \a position, \a parent and \a flags. - */ -QxtConfigDialog::QxtConfigDialog(QxtConfigDialog::IconPosition position, QWidget* parent, Qt::WindowFlags flags) - : QDialog(parent, flags) -{ - QXT_INIT_PRIVATE(QxtConfigDialog); - qxt_d().init(position); -} - -/*! - Destructs the config dialog. - */ -QxtConfigDialog::~QxtConfigDialog() -{} - -/*! - \return The dialog button box. - - The default buttons are \b QDialogButtonBox::Ok and \b QDialogButtonBox::Cancel. - - \note QDialogButtonBox is available in Qt 4.2 or newer. - - \sa setDialogButtonBox() -*/ -#if QT_VERSION >= 0x040200 -QDialogButtonBox* QxtConfigDialog::dialogButtonBox() const -{ - return qxt_d().buttons; -} -#endif // QT_VERSION - -/*! - Sets the dialog \a buttonBox. - - \sa dialogButtonBox() -*/ -#if QT_VERSION >= 0x040200 -void QxtConfigDialog::setDialogButtonBox(QDialogButtonBox* buttonBox) -{ - if (qxt_d().buttons != buttonBox) - { - if (qxt_d().buttons && qxt_d().buttons->parent() == this) - { - delete qxt_d().buttons; - } - qxt_d().buttons = buttonBox; - qxt_d().relayout(); - } -} -#endif // QT_VERSION - -/*! - \property QxtConfigDialog::hoverEffect - \brief This property holds whether a hover effect is shown for page icons - - The default value is \b true. - - \note Hovered (but not selected) icons are highlighted with lightened \b QPalette::Highlight - (whereas selected icons are highlighted with \b QPalette::Highlight). In case lightened - \b QPalette::Highlight ends up same as \b QPalette::Base, \b QPalette::AlternateBase is used - as a fallback color for the hover effect. This usually happens when \b QPalette::Highlight - already is a light color (eg. light gray). - */ -bool QxtConfigDialog::hasHoverEffect() const -{ - return qxt_d().list->hasHoverEffect(); -} - -void QxtConfigDialog::setHoverEffect(bool enabled) -{ - qxt_d().list->setHoverEffect(enabled); -} - -/*! - \property QxtConfigDialog::iconPosition - \brief This property holds the position of page icons - */ -QxtConfigDialog::IconPosition QxtConfigDialog::iconPosition() const -{ - return qxt_d().pos; -} - -void QxtConfigDialog::setIconPosition(QxtConfigDialog::IconPosition position) -{ - if (qxt_d().pos != position) - { - qxt_d().pos = position; - qxt_d().relayout(); - } -} - -/*! - \property QxtConfigDialog::iconSize - \brief This property holds the size of page icons - */ -QSize QxtConfigDialog::iconSize() const -{ - return qxt_d().list->iconSize(); -} - -void QxtConfigDialog::setIconSize(const QSize& size) -{ - qxt_d().list->setIconSize(size); -} - -/*! - Adds a \a page with \a icon and \a title. - - In case \a title is an empty string, \b QWidget::windowTitle is used. - - \return The index of added page. - - \warning Adding and removing pages dynamically at run time might cause flicker. - - \sa insertPage() -*/ -int QxtConfigDialog::addPage(QWidget* page, const QIcon& icon, const QString& title) -{ - return insertPage(-1, page, icon, title); -} - -/*! - Inserts a \a page with \a icon and \a title. - - In case \a title is an empty string, \b QWidget::windowTitle is used. - - \return The index of inserted page. - - \warning Inserting and removing pages dynamically at run time might cause flicker. - - \sa addPage() -*/ -int QxtConfigDialog::insertPage(int index, QWidget* page, const QIcon& icon, const QString& title) -{ - if (!page) - { - qWarning("QxtConfigDialog::insertPage(): Attempt to insert null page"); - return -1; - } - - index = qxt_d().stack->insertWidget(index, page); - const QString label = !title.isEmpty() ? title : page->windowTitle(); - if (label.isEmpty()) - qWarning("QxtConfigDialog::insertPage(): Inserting a page with an empty title"); - QListWidgetItem* item = new QListWidgetItem(icon, label); - qxt_d().list->insertItem(index, item); - qxt_d().list->invalidate(); - return index; -} - -/*! - Removes the page at \a index. - - \note Does not delete the page widget. -*/ -void QxtConfigDialog::removePage(int index) -{ - if (QWidget* page = qxt_d().stack->widget(index)) - { - qxt_d().stack->removeWidget(page); - delete qxt_d().list->takeItem(index); - qxt_d().list->invalidate(); - } - else - { - qWarning("QxtConfigDialog::removePage(): Unknown index"); - } -} - -/*! - \property QxtConfigDialog::count - \brief This property holds the number of pages -*/ -int QxtConfigDialog::count() const -{ - return qxt_d().stack->count(); -} - -/*! - \property QxtConfigDialog::currentIndex - \brief This property holds the index of current page -*/ -int QxtConfigDialog::currentIndex() const -{ - return qxt_d().stack->currentIndex(); -} - -void QxtConfigDialog::setCurrentIndex(int index) -{ - qxt_d().list->setCurrentRow(index); - qxt_d().stack->setCurrentIndex(index); -} - -/*! - \return The current page. - - \sa currentIndex(), setCurrentPage() -*/ -QWidget* QxtConfigDialog::currentPage() const -{ - return qxt_d().stack->currentWidget(); -} - -/*! - Sets the current \a page. - - \sa currentPage(), currentIndex() -*/ -void QxtConfigDialog::setCurrentPage(QWidget* page) -{ - setCurrentIndex(qxt_d().stack->indexOf(page)); -} - -/*! - \return The index of \a page or \b -1 if the page is unknown. -*/ -int QxtConfigDialog::indexOf(QWidget* page) const -{ - return qxt_d().stack->indexOf(page); -} - -/*! - \return The page at \a index or \b 0 if the \a index is out of range. -*/ -QWidget* QxtConfigDialog::page(int index) const -{ - return qxt_d().stack->widget(index); -} - -/*! - \return \b true if the page at \a index is enabled; otherwise \b false. - - \sa setPageEnabled(), QWidget::isEnabled() -*/ -bool QxtConfigDialog::isPageEnabled(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); - return (item && (item->flags() & Qt::ItemIsEnabled)); -} - -/*! - Sets the page at \a index \a enabled. The corresponding - page icon is also \a enabled. - - \sa isPageEnabled(), QWidget::setEnabled() -*/ -void QxtConfigDialog::setPageEnabled(int index, bool enabled) -{ - QWidget* page = qxt_d().stack->widget(index); - QListWidgetItem* item = qxt_d().list->item(index); - if (page && item) - { - page->setEnabled(enabled); - if (enabled) - item->setFlags(item->flags() | Qt::ItemIsEnabled); - else - item->setFlags(item->flags() & ~Qt::ItemIsEnabled); - } - else - { - qWarning("QxtConfigDialog::setPageEnabled(): Unknown index"); - } -} - -/*! - \return \b true if the page at \a index is hidden; otherwise \b false. - - \sa setPageHidden(), QWidget::isVisible() -*/ -bool QxtConfigDialog::isPageHidden(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); -#if QT_VERSION >= 0x040200 - return (item && item->isHidden()); -#else // QT_VERSION - return (item && qxt_d().list->isItemHidden(item)); -#endif // QT_VERSION -} - -/*! - Sets the page at \a index \a hidden. The corresponding - page icon is also \a hidden. - - \sa isPageHidden(), QWidget::setVisible() -*/ -void QxtConfigDialog::setPageHidden(int index, bool hidden) -{ - QListWidgetItem* item = qxt_d().list->item(index); - if (item) - { -#if QT_VERSION >= 0x040200 - item->setHidden(hidden); -#else - qxt_d().list->setItemHidden(item, hidden); -#endif // QT_VERSION - } - else - { - qWarning("QxtConfigDialog::setPageHidden(): Unknown index"); - } -} - -/*! - \return The icon of page at \a index. - - \sa setPageIcon() -*/ -QIcon QxtConfigDialog::pageIcon(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); - return (item ? item->icon() : QIcon()); -} - -/*! - Sets the \a icon of page at \a index. - - \sa pageIcon() -*/ -void QxtConfigDialog::setPageIcon(int index, const QIcon& icon) -{ - QListWidgetItem* item = qxt_d().list->item(index); - if (item) - { - item->setIcon(icon); - } - else - { - qWarning("QxtConfigDialog::setPageIcon(): Unknown index"); - } -} - -/*! - \return The title of page at \a index. - - \sa setPageTitle() -*/ -QString QxtConfigDialog::pageTitle(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); - return (item ? item->text() : QString()); -} - -/*! - Sets the \a title of page at \a index. - - \sa pageTitle() -*/ -void QxtConfigDialog::setPageTitle(int index, const QString& title) -{ - QListWidgetItem* item = qxt_d().list->item(index); - if (item) - { - item->setText(title); - } - else - { - qWarning("QxtConfigDialog::setPageTitle(): Unknown index"); - } -} - -/*! - \return The tooltip of page at \a index. - - \sa setPageToolTip() -*/ -QString QxtConfigDialog::pageToolTip(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); - return (item ? item->toolTip() : QString()); -} - -/*! - Sets the \a tooltip of page at \a index. - - \sa pageToolTip() -*/ -void QxtConfigDialog::setPageToolTip(int index, const QString& tooltip) -{ - QListWidgetItem* item = qxt_d().list->item(index); - if (item) - { - item->setToolTip(tooltip); - } - else - { - qWarning("QxtConfigDialog::setPageToolTip(): Unknown index"); - } -} - -/*! - \return The what's this of page at \a index. - - \sa setPageWhatsThis() -*/ -QString QxtConfigDialog::pageWhatsThis(int index) const -{ - const QListWidgetItem* item = qxt_d().list->item(index); - return (item ? item->whatsThis() : QString()); -} - -/*! - Sets the \a whatsthis of page at \a index. - - \sa pageWhatsThis() -*/ -void QxtConfigDialog::setPageWhatsThis(int index, const QString& whatsthis) -{ - QListWidgetItem* item = qxt_d().list->item(index); - if (item) - { - item->setWhatsThis(whatsthis); - } - else - { - qWarning("QxtConfigDialog::setPageWhatsThis(): Unknown index"); - } -} - -/*! - \return The internal list widget used for showing page icons. - - \sa stackedWidget() -*/ -QListWidget* QxtConfigDialog::listWidget() const -{ - return qxt_d().list; -} - -/*! - \return The internal stacked widget used for stacking pages. - - \sa listWidget() -*/ -QStackedWidget* QxtConfigDialog::stackedWidget() const -{ - return qxt_d().stack; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.h deleted file mode 100644 index cce95580..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog.h +++ /dev/null @@ -1,106 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCONFIGDIALOG_H -#define QXTCONFIGDIALOG_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QListWidget; -class QStackedWidget; -class QDialogButtonBox; -class QxtConfigDialogPrivate; - -class QXT_GUI_EXPORT QxtConfigDialog : public QDialog -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtConfigDialog); - Q_PROPERTY(int count READ count) - Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex) - Q_PROPERTY(bool hoverEffect READ hasHoverEffect WRITE setHoverEffect) - Q_PROPERTY(QxtConfigDialog::IconPosition iconPosition READ iconPosition WRITE setIconPosition) - Q_PROPERTY(QSize iconSize READ iconSize WRITE setIconSize) - Q_ENUMS(IconPosition) - -public: - enum IconPosition { North, West, East }; - - explicit QxtConfigDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); - explicit QxtConfigDialog(QxtConfigDialog::IconPosition position, QWidget* parent = 0, Qt::WindowFlags flags = 0); - virtual ~QxtConfigDialog(); - - QDialogButtonBox* dialogButtonBox() const; - void setDialogButtonBox(QDialogButtonBox* buttonBox); - - bool hasHoverEffect() const; - void setHoverEffect(bool enabled); - - QxtConfigDialog::IconPosition iconPosition() const; - void setIconPosition(QxtConfigDialog::IconPosition position); - - QSize iconSize() const; - void setIconSize(const QSize& size); - - int addPage(QWidget* page, const QIcon& icon, const QString& title = QString()); - int insertPage(int index, QWidget* page, const QIcon& icon, const QString& title = QString()); - void removePage(int index); - - int count() const; - int currentIndex() const; - QWidget* currentPage() const; - int indexOf(QWidget* page) const; - QWidget* page(int index) const; - - bool isPageEnabled(int index) const; - void setPageEnabled(int index, bool enabled); - - bool isPageHidden(int index) const; - void setPageHidden(int index, bool hidden); - - QIcon pageIcon(int index) const; - void setPageIcon(int index, const QIcon& icon); - - QString pageTitle(int index) const; - void setPageTitle(int index, const QString& title); - - QString pageToolTip(int index) const; - void setPageToolTip(int index, const QString& tooltip); - - QString pageWhatsThis(int index) const; - void setPageWhatsThis(int index, const QString& whatsthis); - -public slots: - void setCurrentIndex(int index); - void setCurrentPage(QWidget* page); - -signals: - void currentIndexChanged(int index); - -protected: - QListWidget* listWidget() const; - QStackedWidget* stackedWidget() const; -}; - -#endif // QXTCONFIGDIALOG_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog_p.h deleted file mode 100644 index 31c660ea..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfigdialog_p.h +++ /dev/null @@ -1,84 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCONFIGDIALOG_P_H -#define QXTCONFIGDIALOG_P_H - -#include "qxtpimpl.h" -#include "qxtconfigdialog.h" -#include -#include - -class QGridLayout; -class QStackedWidget; -class QDialogButtonBox; - -class QxtConfigListWidget : public QListWidget -{ -public: - QxtConfigListWidget(QWidget* parent = 0); - QSize minimumSizeHint() const; - QSize sizeHint() const; - void invalidate(); - - bool hasHoverEffect() const; - void setHoverEffect(bool enabled); - -protected: - void scrollContentsBy(int dx, int dy); - -private: - mutable QSize hint; -}; - -class QxtConfigDelegate : public QItemDelegate -{ -public: - QxtConfigDelegate(QObject* parent = 0); - void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - bool hover; -}; - -class QxtConfigDialogPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT - -public: - QXT_DECLARE_PUBLIC(QxtConfigDialog); - - void init(QxtConfigDialog::IconPosition position = QxtConfigDialog::West); - void initList(); - void relayout(); - - QGridLayout* grid; - QStackedWidget* stack; - QxtConfigListWidget* list; -#if QT_VERSION >= 0x040200 - QDialogButtonBox* buttons; -#else // QT_VERSION >= 0x040200 - QWidget* buttons; -#endif // QT_VERSION - QxtConfigDialog::IconPosition pos; -}; - -#endif // QXTCONFIGDIALOG_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.cpp deleted file mode 100644 index e02b856f..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.cpp +++ /dev/null @@ -1,336 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtconfirmationmessage.h" - -#include -#if QT_VERSION >= 0x040200 -#include -#endif // QT_VERSION -#include -#include -#include - -static const QLatin1String DEFAULT_ORGANIZATION("QxtGui"); -static const QLatin1String DEFAULT_APPLICATION("QxtConfirmationMessage"); - -class QxtConfirmationMessagePrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtConfirmationMessage); - void init(const QString& message = QString()); - QString key() const; - static QString key(const QString& title, const QString& text, const QString& informativeText = QString()); - int showAgain(); - void doNotShowAgain(int result); - static void reset(const QString& title, const QString& text, const QString& informativeText); - - QCheckBox* confirm; - static QString path; - static QSettings::Scope scope; -}; - -QString QxtConfirmationMessagePrivate::path; -QSettings::Scope QxtConfirmationMessagePrivate::scope = QSettings::UserScope; - -void QxtConfirmationMessagePrivate::init(const QString& message) -{ -#if QT_VERSION >= 0x040200 - confirm = new QCheckBox(&qxt_p()); - if (!message.isNull()) - confirm->setText(message); - else - confirm->setText(QxtConfirmationMessage::tr("Do not show again.")); - - QGridLayout* grid = qobject_cast(qxt_p().layout()); - QDialogButtonBox* buttons = qFindChild(&qxt_p()); - if (grid && buttons) - { - const int idx = grid->indexOf(buttons); - int row, column, rowSpan, columnSpan = 0; - grid->getItemPosition(idx, &row, &column, &rowSpan, &columnSpan); - QLayoutItem* buttonsItem = grid->takeAt(idx); - grid->addWidget(confirm, row, column, rowSpan, columnSpan, Qt::AlignLeft | Qt::AlignTop); - grid->addItem(buttonsItem, ++row, column, rowSpan, columnSpan); - } -#endif // QT_VERSION -} - -QString QxtConfirmationMessagePrivate::key() const -{ -#if QT_VERSION >= 0x040200 - return key(qxt_p().windowTitle(), qxt_p().text(), qxt_p().informativeText()); -#else - return key(qxt_p().windowTitle(), qxt_p().text()); -#endif // QT_VERSION -} - -QString QxtConfirmationMessagePrivate::key(const QString& title, const QString& text, const QString& informativeText) -{ - const QString all = title + text + informativeText; - const QByteArray data = all.toLocal8Bit(); - return QString::number(qChecksum(data.constData(), data.length())); -} - -int QxtConfirmationMessagePrivate::showAgain() -{ - QString organization = QCoreApplication::organizationName(); - QString application = QCoreApplication::applicationName(); - if (organization.isEmpty()) - organization = DEFAULT_ORGANIZATION; - if (application.isEmpty()) - application = DEFAULT_APPLICATION; - QSettings settings(scope, organization, application); - if (!path.isEmpty()) - settings.beginGroup(path); - return settings.value(key(), -1).toInt(); -} - -void QxtConfirmationMessagePrivate::doNotShowAgain(int result) -{ - QString organization = QCoreApplication::organizationName(); - QString application = QCoreApplication::applicationName(); - if (organization.isEmpty()) - organization = DEFAULT_ORGANIZATION; - if (application.isEmpty()) - application = DEFAULT_APPLICATION; - QSettings settings(scope, organization, application); - if (!path.isEmpty()) - settings.beginGroup(path); - settings.setValue(key(), result); -} - -void QxtConfirmationMessagePrivate::reset(const QString& title, const QString& text, const QString& informativeText) -{ - QString organization = QCoreApplication::organizationName(); - QString application = QCoreApplication::applicationName(); - if (organization.isEmpty()) - organization = DEFAULT_ORGANIZATION; - if (application.isEmpty()) - application = DEFAULT_APPLICATION; - QSettings settings(scope, organization, application); - if (!path.isEmpty()) - settings.beginGroup(path); - settings.remove(key(title, text, informativeText)); -} - -/*! - \class QxtConfirmationMessage QxtConfirmationMessage - \ingroup QxtGui - \brief A confirmation message. - - QxtConfirmationMessage is a confirmation message with checkable - "Do not show again." option. A checked and accepted confirmation - message is no more shown until reseted. - - Example usage: - \code - void MainWindow::closeEvent(QCloseEvent* event) - { - static const QString text(tr("Are you sure you want to quit?")); - if (QxtConfirmationMessage::confirm(this, tr("Confirm"), text) == QMessageBox::No) - event->ignore(); - } - \endcode - - \image html qxtconfirmationmessage.png "QxtConfirmationMessage in action." - - \note \b QCoreApplication::organizationName and \b QCoreApplication::applicationName - are used for storing settings. In case these properties are empty, \b "QxtGui" and - \b "QxtConfirmationMessage" are used, respectively. - - \note Requires Qt 4.2 or newer. - */ - -/*! - Constructs a new QxtConfirmationMessage with \a parent. - */ -QxtConfirmationMessage::QxtConfirmationMessage(QWidget* parent) - : QMessageBox(parent) -{ - QXT_INIT_PRIVATE(QxtConfirmationMessage); - qxt_d().init(); -} - -/*! - Constructs a new QxtConfirmationMessage with \a icon, \a title, \a text, \a confirmation, \a buttons, \a parent and \a flags. - */ -#if QT_VERSION >= 0x040200 -QxtConfirmationMessage::QxtConfirmationMessage(QMessageBox::Icon icon, const QString& title, const QString& text, const QString& confirmation, - QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags flags) - : QMessageBox(icon, title, text, buttons, parent, flags) -{ - QXT_INIT_PRIVATE(QxtConfirmationMessage); - qxt_d().init(confirmation); -} -#endif // QT_VERSION - -/*! - Destructs the confirmation message. - */ -QxtConfirmationMessage::~QxtConfirmationMessage() -{} - -// QMessageBox::StandardButton showNewMessageBox() (qmessagebox.cpp) -#if QT_VERSION >= 0x040200 -QMessageBox::StandardButton QxtConfirmationMessage::confirm(QWidget* parent, - const QString& title, const QString& text, const QString& confirmation, - QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) -{ - QxtConfirmationMessage msgBox(QMessageBox::NoIcon, title, text, confirmation, QMessageBox::NoButton, parent); - QDialogButtonBox* buttonBox = qFindChild(&msgBox); - Q_ASSERT(buttonBox != 0); - - uint mask = QMessageBox::FirstButton; - while (mask <= QMessageBox::LastButton) - { - uint sb = buttons & mask; - mask <<= 1; - if (!sb) - continue; - QPushButton* button = msgBox.addButton((QMessageBox::StandardButton)sb); - // Choose the first accept role as the default - if (msgBox.defaultButton()) - continue; - if ((defaultButton == QMessageBox::NoButton && buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) - || (defaultButton != QMessageBox::NoButton && sb == uint(defaultButton))) - msgBox.setDefaultButton(button); - } - if (msgBox.exec() == -1) - return QMessageBox::Cancel; - return msgBox.standardButton(msgBox.clickedButton()); -} -#endif // QT_VERSION - -/*! - \property QxtConfirmationMessage::confirmationText - \brief This property holds the confirmation text - - The default value is "Do not show again." - */ -QString QxtConfirmationMessage::confirmationText() const -{ - return qxt_d().confirm->text(); -} - -void QxtConfirmationMessage::setConfirmationText(const QString& confirmation) -{ - qxt_d().confirm->setText(confirmation); -} - -/*! - \return The scope used for storing settings. - - The default value is \b QSettings::UserScope. - */ -QSettings::Scope QxtConfirmationMessage::settingsScope() -{ - return QxtConfirmationMessagePrivate::scope; -} - -/*! - Sets the scope used for storing settings. - */ -void QxtConfirmationMessage::setSettingsScope(QSettings::Scope scope) -{ - QxtConfirmationMessagePrivate::scope = scope; -} - -/*! - \return The path used for storing settings. - - The default value is an empty string. - */ -QString QxtConfirmationMessage::settingsPath() -{ - return QxtConfirmationMessagePrivate::path; -} - -/*! - Sets the path used for storing settings. - */ -void QxtConfirmationMessage::setSettingsPath(const QString& path) -{ - QxtConfirmationMessagePrivate::path = path; -} - -/*! - Shows the confirmation message if necessary. The confirmation message is not - shown in case "Do not show again." has been checked while the same - confirmation message was earlierly accepted. - - A confirmation message is identified by the combination of title, - \b QMessageBox::text and optional \b QMessageBox::informativeText. - - A clicked button with role \b QDialogButtonBox::AcceptRole or - \b QDialogButtonBox::YesRole is considered as "accepted". - - \warning This function does not reimplement but shadows \b QMessageBox::exec(). - - \sa QWidget::windowTitle, QMessageBox::text, QMessageBox::informativeText - */ -int QxtConfirmationMessage::exec() -{ - int res = qxt_d().showAgain(); - if (res == -1) - res = QMessageBox::exec(); - return res; -} - -void QxtConfirmationMessage::done(int result) -{ -#if QT_VERSION >= 0x040200 - QDialogButtonBox* buttons = qFindChild(this); - Q_ASSERT(buttons != 0); - - int role = buttons->buttonRole(clickedButton()); - if (qxt_d().confirm->isChecked() && - (role == QDialogButtonBox::AcceptRole || role == QDialogButtonBox::YesRole)) - { - qxt_d().doNotShowAgain(result); - } -#endif // QT_VERSION - QMessageBox::done(result); -} - -/*! - Resets confirmation message with given \a title, \a text and optional - \a informativeText. A reseted confirmation message is shown again until - user checks "Do not show again." and accepts the confirmation message. - */ -void QxtConfirmationMessage::reset(const QString& title, const QString& text, const QString& informativeText) -{ - QxtConfirmationMessagePrivate::reset(title, text, informativeText); -} - -/*! - Resets this instance of QxtConfirmationMessage. A reseted confirmation - message is shown again until user checks "Do not show again." and - accepts the confirmation message. - */ -void QxtConfirmationMessage::reset() -{ -#if QT_VERSION >= 0x040200 - QxtConfirmationMessagePrivate::reset(windowTitle(), text(), informativeText()); -#endif // QT_VERSION -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.h deleted file mode 100644 index e5d467d8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtconfirmationmessage.h +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTCONFIRMATIONMESSAGE_H -#define QXTCONFIRMATIONMESSAGE_H - -#include -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtConfirmationMessagePrivate; - -class QXT_GUI_EXPORT QxtConfirmationMessage : public QMessageBox -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtConfirmationMessage); - Q_PROPERTY(QString confirmationText READ confirmationText WRITE setConfirmationText); - -public: - explicit QxtConfirmationMessage(QWidget* parent = 0); - virtual ~QxtConfirmationMessage(); - -#if QT_VERSION >= 0x040200 - QxtConfirmationMessage(QMessageBox::Icon icon, - const QString& title, const QString& text, const QString& confirmation = QString(), - QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, - Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); - - static QMessageBox::StandardButton confirm(QWidget* parent, - const QString& title, const QString& text, const QString& confirmation = QString(), - QMessageBox::StandardButtons buttons = QMessageBox::Yes | QMessageBox::No, - QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); -#endif - - QString confirmationText() const; - void setConfirmationText(const QString& confirmation); - - static QSettings::Scope settingsScope(); - static void setSettingsScope(QSettings::Scope scope); - - static QString settingsPath(); - static void setSettingsPath(const QString& path); - - static void reset(const QString& title, const QString& text, const QString& informativeText = QString()); - -public slots: - int exec(); - void reset(); -#ifndef QXT_DOXYGEN_RUN - virtual void done(int result); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTCONFIRMATIONMESSAGE_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.cpp deleted file mode 100644 index 1fc618fa..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.cpp +++ /dev/null @@ -1,180 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdesktopwidget.h" -#include - -/*! - \class QxtDesktopWidget QxtDesktopWidget - \ingroup QxtGui - \brief QxtDesktopWidget provides means for accessing native windows. - - \note QxtDesktopWidget is portable in principle, but be careful while - using it since you are probably about to do something non-portable. - -

    Advanced example usage: - \code - class NativeWindow : public QWidget { - public: - NativeWindow(WId wid) { - QWidget::create(wid, false, false); // window, initializeWindow, destroyOldWindow - } - ~NativeWindow() { - QWidget::destroy(false, false); // destroyWindow, destroySubWindows - } - }; - \endcode - - \code - WindowList windows = QxtDesktopWidget::windows(); - QStringList titles = QxtDesktopWidget::windowTitles(); - bool ok = false; - QString title = QInputDialog::getItem(0, "Choose Window", "Choose a window to be hid:", titles, 0, false, &ok); - if (ok) - { - int index = titles.indexOf(title); - if (index != -1) - { - NativeWindow window(windows.at(index)); - window.hide(); - } - } - \endcode - - \note Currently supported platforms are \b X11 and \b Windows. - */ - -/*! - \fn QxtDesktopWidget::windows() - - Returns the list of native window system identifiers. - - \note The windows are not necessarily QWidgets. - - \sa QApplication::topLevelWidgets(), windowTitles() - */ - - -/*! - \fn QxtDesktopWidget::activeWindow() - - Returns the native window system identifier of the active window if any. - - Example usage: - \code - WId wid = QxtDesktopWidget::activeWindow(); - QString title = QxtDesktopWidget::windowTitle(wid); - qDebug() << "Currently active window is:" << title; - \endcode - - \note The window is not necessarily a QWidget. - - \sa QApplication::activeWindow() - */ - -/*! - \fn QxtDesktopWidget::findWindow(const QString& title) - - Returns the native window system identifier of the window if any with given \a title. - - Example usage: - \code - WId wid = QxtDesktopWidget::findWindow("Mail - Kontact"); - QPixmap screenshot = QPixmap::grabWindow(wid); - \endcode - - \note The window is not necessarily a QWidget. - - \sa QWidget::find() - */ - -/*! - \fn QxtDesktopWidget::windowAt(const QPoint& pos) - - Returns the native window system identifier of the window if any at \a pos. - - Example usage: - \code - QPoint point = // a mouse press or something - WId wid = QxtDesktopWidget::windowAt(point); - QPixmap screenshot = QPixmap::grabWindow(wid); - \endcode - - \note The window is not necessarily a QWidget. - - \sa QApplication::widgetAt() - */ - -/*! - \fn QxtDesktopWidget::windowTitle(WId window) - - Returns the title of the native \a window. - - Example usage: - \code - WId wid = QxtDesktopWidget::activeWindow(); - QString title = QxtDesktopWidget::windowTitle(wid); - qDebug() << "Currently active window is:" << title; - \endcode - - \sa QWidget::windowTitle(), windowTitles() - */ - -/*! - \fn QxtDesktopWidget::windowTitles() - - Returns a list of native window titles. - - Example usage: - \code - qDebug() << "Windows:"; - foreach (QString title, QxtDesktopWidget::windowTitles()) - qDebug() << title; - \endcode - - \sa QWidget::windowTitle(), windowTitle(), windows() - */ - -/*! - \fn QxtDesktopWidget::windowGeometry(WId window) - - Returns the geometry of the native \a window. - - Example usage: - \code - WId wid = QxtDesktopWidget::activeWindow(); - QRect geometry = QxtDesktopWidget::windowGeometry(wid); - qDebug() << "Geometry of the active window is:" << geometry; - \endcode - - \sa QWidget::frameGeometry() - */ - -QStringList QxtDesktopWidget::windowTitles() -{ - WindowList windows = QxtDesktopWidget::windows(); - QStringList titles; - foreach (WId window, windows) - titles += QxtDesktopWidget::windowTitle(window); - return titles; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.h deleted file mode 100644 index 6e88f0a4..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget.h +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTDESKTOPWIDGET_H -#define QXTDESKTOPWIDGET_H - -#include -#include "qxtglobal.h" - -typedef QList WindowList; - -class QXT_GUI_EXPORT QxtDesktopWidget -{ -public: - static WindowList windows(); - static WId activeWindow(); - static WId findWindow(const QString& title); - static WId windowAt(const QPoint& pos); - static QString windowTitle(WId window); - static QStringList windowTitles(); - static QRect windowGeometry(WId window); -}; - -#endif // QXTDESKTOPWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_win.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_win.cpp deleted file mode 100644 index 45895228..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_win.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdesktopwidget.h" -#include - -static WindowList qxt_Windows; - -BOOL CALLBACK qxt_EnumWindowsProc(HWND hwnd, LPARAM lParam) -{ - Q_UNUSED(lParam); - if (::IsWindowVisible(hwnd)) - qxt_Windows += hwnd; - return TRUE; -} - -WindowList QxtDesktopWidget::windows() -{ - qxt_Windows.clear(); - HDESK hdesk = ::OpenInputDesktop(0, FALSE, DESKTOP_READOBJECTS); - ::EnumDesktopWindows(hdesk, qxt_EnumWindowsProc, 0); - ::CloseDesktop(hdesk); - return qxt_Windows; -} - -WId QxtDesktopWidget::activeWindow() -{ - return ::GetForegroundWindow(); -} - -WId QxtDesktopWidget::findWindow(const QString& title) -{ - std::wstring str = title.toStdWString(); - return ::FindWindow(NULL, str.c_str()); -} - -WId QxtDesktopWidget::windowAt(const QPoint& pos) -{ - POINT pt; - pt.x = pos.x(); - pt.y = pos.y(); - return ::WindowFromPoint(pt); -} - -QString QxtDesktopWidget::windowTitle(WId window) -{ - QString title; - int len = ::GetWindowTextLength(window); - if (len >= 0) - { - wchar_t* buf = new wchar_t[len+1]; - len = ::GetWindowText(window, buf, len+1); - title = QString::fromStdWString(std::wstring(buf, len)); - delete[] buf; - } - return title; -} - -QRect QxtDesktopWidget::windowGeometry(WId window) -{ - RECT rc; - QRect rect; - if (::GetWindowRect(window, &rc)) - { - rect.setTop(rc.top); - rect.setBottom(rc.bottom); - rect.setLeft(rc.left); - rect.setRight(rc.right); - } - return rect; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_x11.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_x11.cpp deleted file mode 100644 index aa979009..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdesktopwidget_x11.cpp +++ /dev/null @@ -1,140 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdesktopwidget.h" -#include -#include - -static void qxt_getWindowProperty(Window wid, Atom prop, int maxlen, Window** data, int* count) -{ - Atom type = 0; - int format = 0; - unsigned long after = 0; - XGetWindowProperty(QX11Info::display(), wid, prop, 0, maxlen / 4, False, AnyPropertyType, - &type, &format, (unsigned long*) count, &after, (unsigned char**) data); -} - -static QRect qxt_getWindowRect(Window wid) -{ - QRect rect; - XWindowAttributes attr; - if (XGetWindowAttributes(QX11Info::display(), wid, &attr)) - { - rect = QRect(attr.x, attr.y, attr.width, attr.height); - } - return rect; -} - -WindowList QxtDesktopWidget::windows() -{ - static Atom net_clients = 0; - if (!net_clients) - net_clients = XInternAtom(QX11Info::display(), "_NET_CLIENT_LIST_STACKING", True); - - int count = 0; - Window* list = 0; - qxt_getWindowProperty(QX11Info::appRootWindow(), net_clients, 1024 * sizeof(Window), &list, &count); - - WindowList res; - for (int i = 0; i < count; ++i) - res += list[i]; - XFree(list); - return res; -} - -WId QxtDesktopWidget::activeWindow() -{ - Window focus; - int revert = 0; - Display* display = QX11Info::display(); - XGetInputFocus(display, &focus, &revert); - return focus; -} - -WId QxtDesktopWidget::findWindow(const QString& title) -{ - Window result = 0; - WindowList list = windows(); - foreach (Window wid, list) - { - if (windowTitle(wid) == title) - { - result = wid; - break; - } - } - return result; -} - -WId QxtDesktopWidget::windowAt(const QPoint& pos) -{ - Window result = 0; - WindowList list = windows(); - for (int i = list.size() - 1; i >= 0; --i) - { - WId wid = list.at(i); - if (windowGeometry(wid).contains(pos)) - { - result = wid; - break; - } - } - return result; -} - -QString QxtDesktopWidget::windowTitle(WId window) -{ - QString name; - char* str = 0; - if (XFetchName(QX11Info::display(), window, &str)) - { - name = QString::fromLatin1(str); - } - XFree(str); - return name; -} - -QRect QxtDesktopWidget::windowGeometry(WId window) -{ - QRect rect = qxt_getWindowRect(window); - - Window root = 0; - Window parent = 0; - Window* children = 0; - unsigned int count = 0; - Display* display = QX11Info::display(); - if (XQueryTree(display, window, &root, &parent, &children, &count)) - { - window = parent; // exclude decoration - XFree(children); - while (window != 0 && XQueryTree(display, window, &root, &parent, &children, &count)) - { - XWindowAttributes attr; - if (parent != 0 && XGetWindowAttributes(display, parent, &attr)) - rect.translate(QRect(attr.x, attr.y, attr.width, attr.height).topLeft()); - window = parent; - XFree(children); - } - } - return rect; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.cpp deleted file mode 100644 index 669ab2db..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtdockwidget.h" -#include - -class QxtDockWidgetPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtDockWidget); - - QSize contentsSize() const; - QSize prev; -}; - -QSize QxtDockWidgetPrivate::contentsSize() const -{ - QSize contents = qxt_p().size(); - int fw = qxt_p().style()->pixelMetric(QStyle::PM_DockWidgetFrameWidth); - QSize frame(2 * fw, fw); -#ifdef Q_WS_WIN - frame -= QSize(0, 3); -#endif - contents -= frame; - return contents; -} - -/*! - \class QxtDockWidget QxtDockWidget - \ingroup QxtGui - \brief An extended QDockWidget that remembers its size. - - QxtDockWidget fills in the gap in QDockWidget and makes the dock - widget to remember its size while toggling visibility off and on. - - \note 146752 - QDockWidget should remember its size when hidden/shown.
    - http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=146752 - */ - -/*! - Constructs a new QxtDockWidget with \a title, \a parent and \a flags. - */ -QxtDockWidget::QxtDockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) - : QDockWidget(title, parent, flags) -{ - QXT_INIT_PRIVATE(QxtDockWidget); -} - -/*! - Constructs a new QxtDockWidget with \a title, \a parent and \a flags. - */ -QxtDockWidget::QxtDockWidget(QWidget* parent, Qt::WindowFlags flags) - : QDockWidget(parent, flags) -{ - QXT_INIT_PRIVATE(QxtDockWidget); -} - -/*! - Destructs the dock widget. - */ -QxtDockWidget::~QxtDockWidget() -{} - -QSize QxtDockWidget::sizeHint() const -{ - QSize size; - if (qxt_d().prev.isValid() && !isFloating()) - size = qxt_d().prev; - else - size = QDockWidget::sizeHint(); - return size; -} - -void QxtDockWidget::setVisible(bool visible) -{ - if (!visible && !isFloating()) - qxt_d().prev = qxt_d().contentsSize(); - QDockWidget::setVisible(visible); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.h deleted file mode 100644 index 520bddb6..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtdockwidget.h +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTDOCKWIDGET_H -#define QXTDOCKWIDGET_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtDockWidgetPrivate; - -class QXT_GUI_EXPORT QxtDockWidget : public QDockWidget -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtDockWidget); - -public: - explicit QxtDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0); - explicit QxtDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0); - virtual ~QxtDockWidget(); - -#ifndef QXT_DOXYGEN_RUN - QSize sizeHint() const; - void setVisible(bool visible); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTDOCKWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.cpp deleted file mode 100644 index c56349cc..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtgroupbox.h" - -#include - -class QxtGroupBoxPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtGroupBox); - - QxtGroupBoxPrivate(); - void init(); - bool collapsive; -}; - -QxtGroupBoxPrivate::QxtGroupBoxPrivate() : collapsive(true) -{} - -void QxtGroupBoxPrivate::init() -{ - qxt_p().setCheckable(true); - qxt_p().setChecked(true); - QObject::connect(&qxt_p(), SIGNAL(toggled(bool)), &qxt_p(), SLOT(setExpanded(bool))); -} - -/*! - \class QxtGroupBox QxtGroupBox - \ingroup QxtGui - \brief A collapsive and checkable QGroupBox. - - QxtGroupBox is a checkable group box automatically expanding/collapsing - its content according to the check state. QxtGroupBox shows its children - when checked and hides its children when unchecked. - - \image html qxtgroupbox.png "Two QxtGroupBoxes - an expanded and a collapsed - on top of each other." - */ - -/*! - Constructs a new QxtGroupBox with \a parent. - */ -QxtGroupBox::QxtGroupBox(QWidget* parent) - : QGroupBox(parent) -{ - QXT_INIT_PRIVATE(QxtGroupBox); - qxt_d().init(); -} - -/*! - Constructs a new QxtGroupBox with \a title and \a parent. - */ -QxtGroupBox::QxtGroupBox(const QString& title, QWidget* parent) - : QGroupBox(title, parent) -{ - QXT_INIT_PRIVATE(QxtGroupBox); - qxt_d().init(); -} - -/*! - Destructs the group box. - */ -QxtGroupBox::~QxtGroupBox() -{} - -/*! - \property QxtGroupBox::collapsive - \brief This property holds whether the group box is collapsive - */ -bool QxtGroupBox::isCollapsive() const -{ - return qxt_d().collapsive; -} - -void QxtGroupBox::setCollapsive(bool enable) -{ - if (qxt_d().collapsive != enable) - { - qxt_d().collapsive = enable; - if (!enable) - setExpanded(true); - else if (!isChecked()) - setExpanded(false); - } -} - -/*! - Sets the group box \a collapsed. - - A collapsed group box hides its children. - - \sa setExpanded(), QGroupBox::toggled() - */ -void QxtGroupBox::setCollapsed(bool collapsed) -{ - setExpanded(!collapsed); -} - -/*! - Sets the group box \a expanded. - - An expanded group box shows its children. - - \sa setCollapsed(), QGroupBox::toggled() - */ -void QxtGroupBox::setExpanded(bool expanded) -{ - if (qxt_d().collapsive || expanded) - { - // show/hide direct children - foreach (QObject* child, children()) - { - if (child->isWidgetType()) - static_cast(child)->setVisible(expanded); - } - setFlat(!expanded); - } -} - -void QxtGroupBox::childEvent(QChildEvent* event) -{ - QObject* child = event->child(); - if (event->added() && child->isWidgetType()) - { - QWidget* widget = static_cast(child); - if (qxt_d().collapsive && !isChecked()) - widget->hide(); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.h deleted file mode 100644 index c932e35e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtgroupbox.h +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTGROUPBOX_H -#define QXTGROUPBOX_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtGroupBoxPrivate; - -class QXT_GUI_EXPORT QxtGroupBox : public QGroupBox -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtGroupBox); - Q_PROPERTY(bool collapsive READ isCollapsive WRITE setCollapsive) - -public: - explicit QxtGroupBox(QWidget* parent = 0); - explicit QxtGroupBox(const QString& title, QWidget* parent = 0); - virtual ~QxtGroupBox(); - - bool isCollapsive() const; - void setCollapsive(bool enabled); - -public slots: - void setCollapsed(bool collapsed = true); - void setExpanded(bool expanded = true); - -#ifndef QXT_DOXYGEN_RUN -protected: - virtual void childEvent(QChildEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTGROUPBOX_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtgui.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtgui.h deleted file mode 100644 index 48067658..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtgui.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtapplication.h" -#include "qxtcheckcombobox.h" -#include "qxtconfigdialog.h" -#include "qxtconfirmationmessage.h" -#include "qxtdesktopwidget.h" -#include "qxtdockwidget.h" -#include "qxtgroupbox.h" -#include "qxtheaderview.h" -#include "qxtitemdelegate.h" -#include "qxtlabel.h" -#include "qxtlistwidget.h" -#include "qxtlistwidgetitem.h" -#include "qxtnativeeventfilter.h" -#include "qxtprogresslabel.h" -#include "qxtproxystyle.h" -#include "qxtpushbutton.h" -#include "qxtspanslider.h" -#include "qxtstars.h" -#include "qxtstringspinbox.h" -#include "qxttabwidget.h" -#include "qxttablewidget.h" -#include "qxttablewidgetitem.h" -#include "qxttooltip.h" -#include "qxttreewidget.h" -#include "qxttreewidgetitem.h" diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.cpp deleted file mode 100644 index b7694787..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.cpp +++ /dev/null @@ -1,217 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#if 0 -#include "QxtHeaderView.h" -#include -#include -#include -#include -#include - - -class QxtHeaderViewPrivate -{ -public: - - QxtHeaderViewPrivate() - { - space=10; - action_size=NULL; - } - - QSize action_size_c() const - { - return *action_size; - } - - QList actions; - QSize * action_size; - int space; - -}; - - -/*! - \class QxtHeaderView QxtHeaderView - \ingroup QxtGui - \brief a headerview that can have QActions - - draws actions directly into the header. it's like a toolbar for your ItemView. - - \image html qxtheaderview.png "QxtHeaderView with a few actions." - */ - -/*! - \fn QxtHeaderView::QxtHeaderView() - - default Constructor - */ - -QxtHeaderView::QxtHeaderView (Qt::Orientation o ,QWidget *parent):QHeaderView(o,parent) -{ - priv = new QxtHeaderViewPrivate; - setStretchLastSection(true); - QStyleOptionViewItem option; - option.initFrom(this); - priv->action_size= new QSize( QApplication::style()->subElementRect(QStyle::SE_ViewItemCheckIndicator,&option).size()); - setMouseTracking (true ); -} - - - -//----------------------------------------------------------------- -/*! - adds a new QAction \a action to the header. - */ -void QxtHeaderView::addAction(QAction * action) -{ - priv->actions.append(action); -} - -//----------------------------------------------------------------- - -void QxtHeaderView::mouseMoveEvent ( QMouseEvent * m ) -{ - if (!priv->action_size) - { - setToolTip (QString()); - leaveEvent ( m ); - return; - } - int moved = subWidth(priv->action_size_c(),priv->space); - int wm=width()-moved; - if (m->x()>wm) - { - setToolTip (QString()); - leaveEvent ( m ); - return; - } - int i=0; - wm-=priv->space; - while (wm>0) - { - wm-=priv->action_size_c().width(); - wm-=priv->space; - - if (i>(priv->actions.count()-1))break; - - if (m->x() > wm) - { - setToolTip (priv->actions[i]->toolTip ()); - return; - } - i++; - } - - setToolTip (QString()); - leaveEvent ( m ); - -} - - -void QxtHeaderView::paintSection ( QPainter * painter, const QRect & rm, int logicalIndex ) const -{ - QRect rect=rm; - - - painter->save(); - QHeaderView::paintSection(painter,rect,logicalIndex); - painter->restore(); - - - subPaint(painter, rect, logicalIndex,priv->action_size_c(),priv->space); - int moved = subWidth(priv->action_size_c(),priv->space); - rect.adjust(0,0,-moved,0); - - rect.adjust(0,0,-priv->space,0); - QAction * a; - foreach(a, priv->actions) - { - QIcon img = a->icon(); - QRect r=QStyle::alignedRect ( Qt::LeftToRight, Qt::AlignRight | Qt::AlignVCenter, *priv->action_size,rect); - img.paint(painter, r.x(), r.y(), r.width(), r.height(), Qt::AlignCenter); - rect.adjust(0,0,-priv->action_size->width()-priv->space,0); ///shrink the available space rect - } -} - -void QxtHeaderView::mousePressEvent ( QMouseEvent * m ) -{ - if (!priv->action_size)return; - - subClick(m,priv->action_size_c(), priv->space ) ; - int moved = subWidth(priv->action_size_c(),priv->space); - - - int wm=width()-moved; - - if (m->x()>wm)return; - - int i=0; - wm-=priv->space; - while (wm>0) - { - wm-=priv->action_size_c().width(); - wm-=priv->space; - - if (i>(priv->actions.count()-1))break; - - if (m->x() > wm) - { - priv->actions[i]->trigger(); - break; - } - - i++; - } - - -// v -// | x | x | x | - -} - - -//----------------------------------------------------------------- -/*! - reimplement this to add your own icons, widgets, or whatever to the header.\n - */ - -void QxtHeaderView::subPaint(QPainter * , const QRect & , int ,QSize , int ) const - {} -/*! - reimplement this to receive clicks to your own icons,widgets, etc... - */ - -void QxtHeaderView::subClick(QMouseEvent * ,QSize , int) -{} -/*! - when reimplementing subPaint and/or subClick you must also override this function and return the width your custom drawing takes, - so the QActions know where to start. - */ - -int QxtHeaderView::subWidth(QSize , int ) const -{ - return 0; -} -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.h deleted file mode 100644 index 8ff29c51..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtheaderview.h +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#if 0 -#ifndef QxtHeaderViewHHGuard -#define QxtHeaderViewHHGuard -#include -#include - - -class QPainter; -class QAction; -class QxtHeaderViewPrivate; -class QXT_GUI_EXPORT QxtHeaderView : public QHeaderView -{ - Q_OBJECT - -public: - QxtHeaderView (Qt::Orientation orientation ,QWidget * parent); - void addAction(QAction * action); -protected: - virtual void subPaint(QPainter * painter, const QRect & rect, int logicalIndex,QSize icon_size, int spacing) const; - virtual void subClick(QMouseEvent * m,QSize icon_size, int spacing ) ; - virtual int subWidth(QSize icon_size, int spacing) const; -signals: - void checkBoxChanged(bool); - -private: - virtual void paintSection ( QPainter * painter, const QRect & rect, int logicalIndex ) const; - virtual void mousePressEvent ( QMouseEvent * m ); - virtual void mouseMoveEvent ( QMouseEvent * event ); - - QxtHeaderViewPrivate * priv;///TODO NO. this is wrong!!! - -}; - - -#endif -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.cpp deleted file mode 100644 index ccb2d142..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.cpp +++ /dev/null @@ -1,347 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtitemdelegate.h" -#include "qxtitemdelegate_p.h" -#include -#include -#include - -static const int TOP_LEVEL_EXTENT = 2; - -QxtItemDelegatePrivate::QxtItemDelegatePrivate() : - textVisible(true), - progressFormat("%1%"), - elide(Qt::ElideMiddle), - style(Qxt::NoDecoration) -{} - -void QxtItemDelegatePrivate::paintButton(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index, const QTreeView* view) const -{ - // draw the button - QStyleOptionButton buttonOption; - buttonOption.state = option.state; -#ifdef Q_WS_MAC - buttonOption.state |= QStyle::State_Raised; -#endif - buttonOption.state &= ~QStyle::State_HasFocus; - if (view->isExpanded(index)) - buttonOption.state |= QStyle::State_Sunken; - buttonOption.rect = option.rect; - buttonOption.palette = option.palette; - buttonOption.features = QStyleOptionButton::None; - view->style()->drawControl(QStyle::CE_PushButton, &buttonOption, painter, view); - - // draw the branch indicator - static const int i = 9; - const QRect& r = option.rect; - if (index.model()->hasChildren(index)) - { - QStyleOption branchOption; - branchOption.initFrom(view); - if (branchOption.direction == Qt::LeftToRight) - branchOption.rect = QRect(r.left() + i/2, r.top() + (r.height() - i)/2, i, i); - else - branchOption.rect = QRect(r.right() - i/2 - i, r.top() + (r.height() - i)/2, i, i); - branchOption.palette = option.palette; - branchOption.state = QStyle::State_Children; - if (view->isExpanded(index)) - branchOption.state |= QStyle::State_Open; - view->style()->drawPrimitive(QStyle::PE_IndicatorBranch, &branchOption, painter, view); - } - - // draw the text - QRect textrect = QRect(r.left() + i*2, r.top(), r.width() - ((5*i)/2), r.height()); -#if QT_VERSION < 0x040200 - QString text = QItemDelegate::elidedText(option.fontMetrics, textrect.width(), elide, index.data().toString()); -#else // QT_VERSION >= 0x040200 - QString text = option.fontMetrics.elidedText(index.data().toString(), elide, textrect.width()); -#endif // QT_VERSION - view->style()->drawItemText(painter, textrect, Qt::AlignCenter, option.palette, view->isEnabled(), text); -} - -void QxtItemDelegatePrivate::paintMenu(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index, const QTreeView* view) const -{ - // draw the menu bar item - QStyleOptionMenuItem menuOption; - menuOption.palette = view->palette(); - menuOption.fontMetrics = view->fontMetrics(); - menuOption.state = QStyle::State_None; - // QModelIndex::flags() was introduced in 4.2 - // => therefore "index.model()->flags(index)" - if (view->isEnabled() && index.model()->flags(index) & Qt::ItemIsEnabled) - menuOption.state |= QStyle::State_Enabled; - else - menuOption.palette.setCurrentColorGroup(QPalette::Disabled); - menuOption.state |= QStyle::State_Selected; - menuOption.state |= QStyle::State_Sunken; - menuOption.state |= QStyle::State_HasFocus; - menuOption.rect = option.rect; - menuOption.text = index.data().toString(); - menuOption.icon = QIcon(index.data(Qt::DecorationRole).value()); - view->style()->drawControl(QStyle::CE_MenuBarItem, &menuOption, painter, view); - - // draw the an arrow as a branch indicator - if (index.model()->hasChildren(index)) - { - QStyle::PrimitiveElement arrow; - if (view->isExpanded(index)) - arrow = QStyle::PE_IndicatorArrowUp; - else - arrow = QStyle::PE_IndicatorArrowDown; - static const int i = 9; - const QRect& r = option.rect; - menuOption.rect = QRect(r.left() + i/2, r.top() + (r.height() - i)/2, i, i); - view->style()->drawPrimitive(arrow, &menuOption, painter, view); - } -} - -void QxtItemDelegatePrivate::paintProgress(QPainter* painter, const QStyleOptionViewItem& option, int progress) const -{ - QStyleOptionProgressBar opt; - opt.minimum = 0; - opt.maximum = 100; - opt.rect = option.rect; - opt.progress = progress; - opt.textVisible = textVisible; - opt.text = progressFormat.arg(progress); - QApplication::style()->drawControl(QStyle::CE_ProgressBar, &opt, painter, 0); -} - -void QxtItemDelegatePrivate::setCurrentEditor(QWidget* editor, const QModelIndex& index) const -{ - currentEditor = editor; - currentEdited = index; -} - -void QxtItemDelegatePrivate::closeEditor(QWidget* editor) -{ - if (currentEdited.isValid() && editor == currentEditor) - { - setCurrentEditor(0, QModelIndex()); - emit qxt_p().editingFinished(currentEdited); - } -} - -/*! - \class QxtItemDelegate QxtItemDelegate - \ingroup QxtGui - \brief An extended QItemDelegate with additional signals and optional decoration. - - QxtItemDelegate provides signals for starting and finishing of editing - and an optional decoration for top level indices in a QTreeView. - QxtItemDelegate can also draw a progress bar for indices providing - appropriate progress data. - */ - -/*! - \fn QxtItemDelegate::editingStarted(const QModelIndex& index) - - This signal is emitted after the editing of \a index has been started. - - \sa editingFinished() - */ - -/*! - \fn QxtItemDelegate::editingFinished(const QModelIndex& index) - - This signal is emitted after the editing of \a index has been finished. - - \sa editingStarted() - */ - -/*! - Constructs a new QxtItemDelegate with \a parent. - */ -QxtItemDelegate::QxtItemDelegate(QObject* parent) : QItemDelegate(parent) -{ - QXT_INIT_PRIVATE(QxtItemDelegate); - connect(this, SIGNAL(closeEditor(QWidget*)), &qxt_d(), SLOT(closeEditor(QWidget*))); -} - -/*! - Destructs the item delegate. - */ -QxtItemDelegate::~QxtItemDelegate() -{} - -/*! - \property QxtItemDelegate::decorationStyle - \brief This property holds the top level index decoration style - - Top level indices are decorated according to this property. - The default value is \b Qxt::NoDecoration. - - \note The property has effect only in case the delegate is installed - on a QTreeView. The view must be the parent of the delegate. - - \note Set \b QTreeView::rootIsDecorated to \b false to avoid - multiple branch indicators. - - \sa Qxt::DecorationStyle, QTreeView::rootIsDecorated - */ -Qxt::DecorationStyle QxtItemDelegate::decorationStyle() const -{ - return qxt_d().style; -} - -void QxtItemDelegate::setDecorationStyle(Qxt::DecorationStyle style) -{ - qxt_d().style = style; -} - -/*! - \property QxtItemDelegate::elideMode - \brief This property holds the text elide mode - - The text of a decorated top level index is elided according to this property. - The default value is \b Qt::ElideMiddle. - - \note The property has effect only for decorated top level indices. - - \sa decorationStyle, Qt::TextElideMode - */ -Qt::TextElideMode QxtItemDelegate::elideMode() const -{ - return qxt_d().elide; -} - -void QxtItemDelegate::setElideMode(Qt::TextElideMode mode) -{ - qxt_d().elide = mode; -} - -/*! - \property QxtItemDelegate::progressTextFormat - \brief This property holds the format of optional progress text - - The progress text is formatted according to this property. - The default value is \b "%1%". - - \note Progress bar is rendered for indices providing valid - numerical data for \b ProgressRole. - - \note \b \%1 is replaced by the progress percent. - - \sa progressTextVisible, ProgressRole - */ -QString QxtItemDelegate::progressTextFormat() const -{ - return qxt_d().progressFormat; -} - -void QxtItemDelegate::setProgressTextFormat(const QString& format) -{ - qxt_d().progressFormat = format; -} - -/*! - \property QxtItemDelegate::progressTextVisible - \brief This property holds whether progress text is visible - - The default value is \b true. - - \note Progress bar is rendered for indices providing valid - numerical data for \b ProgressRole. - - \sa progressTextFormat, ProgressRole - */ -bool QxtItemDelegate::isProgressTextVisible() const -{ - return qxt_d().textVisible; -} - -void QxtItemDelegate::setProgressTextVisible(bool visible) -{ - qxt_d().textVisible = visible; -} - -QWidget* QxtItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - QWidget* editor = QItemDelegate::createEditor(parent, option, index); - qxt_d().setCurrentEditor(editor, index); - emit const_cast(this)->editingStarted(index); - return editor; -} - -void QxtItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const -{ - QItemDelegate::setModelData(editor, model, index); - qxt_d().setCurrentEditor(0, QModelIndex()); - emit const_cast(this)->editingFinished(index); -} - -void QxtItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - const QAbstractItemModel* model = index.model(); - const QTreeView* tree = dynamic_cast(parent()); - const bool topLevel = !index.parent().isValid(); - - if (tree && model && topLevel && qxt_d().style != Qxt::NoDecoration) - { - QStyleOptionViewItem opt; - opt.QStyleOption::operator=(option); - opt.showDecorationSelected = false; - - QModelIndex valid = model->index(index.row(), 0); - QModelIndex sibling = valid; - while (sibling.isValid()) - { - opt.rect |= tree->visualRect(sibling); - sibling = sibling.sibling(sibling.row(), sibling.column() + 1); - } - - switch (qxt_d().style) - { - case Qxt::Buttonlike: - qxt_d().paintButton(painter, opt, valid, tree); - break; - case Qxt::Menulike: - qxt_d().paintMenu(painter, opt, valid, tree); - break; - default: - qWarning("QxtItemDelegate::paint() unknown decoration style"); - QItemDelegate::paint(painter, opt, valid); - break; - } - } - else - { - QItemDelegate::paint(painter, option, index); - - bool ok = false; - const QVariant data = index.data(ProgressRole); - const int progress = data.toInt(&ok); - if (data.isValid() && ok) - qxt_d().paintProgress(painter, option, progress); - } -} - -QSize QxtItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - // something slightly bigger for top level indices - QSize size = QItemDelegate::sizeHint(option, index); - if (!index.parent().isValid()) - size += QSize(TOP_LEVEL_EXTENT, TOP_LEVEL_EXTENT); - return size; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.h deleted file mode 100644 index 202dbff8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTITEMDELEGATE_H -#define QXTITEMDELEGATE_H - -#include -#include "qxtglobal.h" -#include "qxtnamespace.h" -#include "qxtpimpl.h" - -class QxtItemDelegatePrivate; - -class QXT_GUI_EXPORT QxtItemDelegate : public QItemDelegate -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtItemDelegate); - Q_PROPERTY(Qxt::DecorationStyle decorationStyle READ decorationStyle WRITE setDecorationStyle) - Q_PROPERTY(Qt::TextElideMode elideMode READ elideMode WRITE setElideMode) - Q_PROPERTY(QString progressTextFormat READ progressTextFormat WRITE setProgressTextFormat) - Q_PROPERTY(bool progressTextVisible READ isProgressTextVisible WRITE setProgressTextVisible) - -public: - explicit QxtItemDelegate(QObject* parent = 0); - virtual ~QxtItemDelegate(); - - enum { ProgressRole = Qt::UserRole + 328 }; - - Qxt::DecorationStyle decorationStyle() const; - void setDecorationStyle(Qxt::DecorationStyle style); - - Qt::TextElideMode elideMode() const; - void setElideMode(Qt::TextElideMode mode); - - QString progressTextFormat() const; - void setProgressTextFormat(const QString& format); - - bool isProgressTextVisible() const; - void setProgressTextVisible(bool visible); - -#ifndef QXT_DOXYGEN_RUN - virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; - virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; - - virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -#endif // QXT_DOXYGEN_RUN - -signals: - void editingStarted(const QModelIndex& index); - void editingFinished(const QModelIndex& index); -}; - -#endif // QXTITEMDELEGATE_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate_p.h deleted file mode 100644 index 11f49f60..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtitemdelegate_p.h +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTITEMDELEGATE_P_H -#define QXTITEMDELEGATE_P_H - -#include "qxtpimpl.h" -#include "qxtitemdelegate.h" -#include -#include - -class QPainter; -class QTreeView; - -class QxtItemDelegatePrivate : public QObject, public QxtPrivate -{ - Q_OBJECT - -public: - QXT_DECLARE_PUBLIC(QxtItemDelegate); - QxtItemDelegatePrivate(); - - void paintButton(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index, const QTreeView* view) const; - void paintMenu(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index, const QTreeView* view) const; - void paintProgress(QPainter* painter, const QStyleOptionViewItem& option, int progress) const; - void setCurrentEditor(QWidget* editor, const QModelIndex& index) const; - - bool textVisible; - QString progressFormat; - Qt::TextElideMode elide; - Qxt::DecorationStyle style; - mutable QPointer currentEditor; - mutable QPersistentModelIndex currentEdited; - -private slots: - void closeEditor(QWidget* editor); -}; - -#endif // QXTITEMDELEGATE_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.cpp deleted file mode 100644 index 453a9f8a..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.cpp +++ /dev/null @@ -1,316 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtlabel.h" -#include -#include -#include -#include -#include -#if QT_VERSION < 0x040200 -#include -#endif // QT_VERSION - -static const int Vertical_Mask = 0x02; - -class QxtLabelPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtLabel); - - void init(const QString& txt = QString()); - void updateLabel(); - - QTime time; - QString text; - Qt::Alignment align; - Qt::TextElideMode mode; - Qxt::Rotation rot; -}; - -void QxtLabelPrivate::init(const QString& txt) -{ - text = txt; - align = Qt::AlignCenter; - mode = Qt::ElideMiddle; - rot = Qxt::NoRotation; -} - -void QxtLabelPrivate::updateLabel() -{ - qxt_p().updateGeometry(); - qxt_p().update(); -} - -/*! - \class QxtLabel QxtLabel - \ingroup QxtGui - \brief A label which is able to show elided and rotated plain text. - - QxtLabel is a label which is able to show elided and rotated plain text. - In addition, QxtLabel provides a signal for clicking. - - \image html qxtlabel.png "QxtLabel in action." - */ - -/*! - \fn QxtLabel::clicked() - - This signal is emitted whenever the label has been clicked. - - \note A combination of mouse button press and release in shorter - time than \b QApplication::doubleClickInterval is considered - as a click. - - \sa QApplication::doubleClickInterval - */ - -/*! - Constructs a new QxtLabel with \a parent and \a flags. - */ -QxtLabel::QxtLabel(QWidget* parent, Qt::WindowFlags flags) : QFrame(parent, flags) -{ - QXT_INIT_PRIVATE(QxtLabel); - qxt_d().init(); -} - -/*! - Constructs a new QxtLabel with \a text, \a parent and \a flags. - */ -QxtLabel::QxtLabel(const QString& text, QWidget* parent, Qt::WindowFlags flags) : QFrame(parent, flags) -{ - QXT_INIT_PRIVATE(QxtLabel); - qxt_d().init(text); -} - -/*! - Destructs the label. - */ -QxtLabel::~QxtLabel() -{} - -/*! - \property QxtLabel::text - \brief This property holds the text of the label - */ -QString QxtLabel::text() const -{ - return qxt_d().text; -} - -void QxtLabel::setText(const QString& text) -{ - if (qxt_d().text != text) - { - qxt_d().text = text; - qxt_d().updateLabel(); - emit textChanged(text); - } -} - -/*! - \property QxtLabel::alignment - \brief This property holds the alignment of the text - - The text is aligned according to this property. - The default value is \b Qt::AlignCenter. - - \sa text, Qt::Alignment - */ -Qt::Alignment QxtLabel::alignment() const -{ - return qxt_d().align; -} - -void QxtLabel::setAlignment(Qt::Alignment alignment) -{ - if (qxt_d().align != alignment) - { - qxt_d().align = alignment; - update(); // no geometry change, repaint is sufficient - } -} - -/*! - \property QxtLabel::elideMode - \brief This property holds the elide mode of the text - - The text is elided according to this property. - The default value is \b Qt::ElideMiddle. - - \sa text, Qt::TextElideMode - */ -Qt::TextElideMode QxtLabel::elideMode() const -{ - return qxt_d().mode; -} - -void QxtLabel::setElideMode(Qt::TextElideMode mode) -{ - if (qxt_d().mode != mode) - { - qxt_d().mode = mode; - qxt_d().updateLabel(); - } -} - -/*! - \property QxtLabel::rotation - \brief This property holds the rotation of the label - - The label is rotated according to this property. - The default value is \b Qxt::NoRotation. - - \sa Qxt::Rotation - */ -Qxt::Rotation QxtLabel::rotation() const -{ - return qxt_d().rot; -} - -void QxtLabel::setRotation(Qxt::Rotation rotation) -{ - if (qxt_d().rot != rotation) - { - Qxt::Rotation prev = qxt_d().rot; - qxt_d().rot = rotation; - switch (rotation) - { - case Qxt::NoRotation: - case Qxt::UpsideDown: - if (prev & Vertical_Mask) - { - updateGeometry(); - } - break; - - case Qxt::Clockwise: - case Qxt::CounterClockwise: - if ((prev & Vertical_Mask) == 0) - { - updateGeometry(); - } - break; - default: - // nothing to do - break; - } - } - update(); -} - -QSize QxtLabel::sizeHint() const -{ - const QFontMetrics& fm = fontMetrics(); - QSize size(fm.width(qxt_d().text), fm.height()); - if (qxt_d().rot & Vertical_Mask) - size.transpose(); - return size; -} - -QSize QxtLabel::minimumSizeHint() const -{ - switch (qxt_d().mode) - { -#if QT_VERSION >= 0x040200 - case Qt::ElideNone: - return sizeHint(); -#endif // QT_VERSION - default: - { - const QFontMetrics& fm = fontMetrics(); - QSize size(fm.width("..."), fm.height()); - if (qxt_d().rot & Vertical_Mask) - size.transpose(); - return size; - } - } -} - -void QxtLabel::paintEvent(QPaintEvent* event) -{ - QFrame::paintEvent(event); - QPainter p(this); - p.rotate(qxt_d().rot); - QRect r = contentsRect(); - switch (qxt_d().rot) - { - case Qxt::UpsideDown: - p.translate(-r.width(), -r.height()); - break; - - case Qxt::Clockwise: - p.translate(0, -r.width()); - break; - - case Qxt::CounterClockwise: - p.translate(-r.height(), 0); - break; - - default: - // nothing to do - break; - } - - if (qxt_d().rot & Vertical_Mask) - { - QSize s = r.size(); - s.transpose(); - r = QRect(r.topLeft(), s); - } - -#if QT_VERSION < 0x040200 - const QString elidedText = QAbstractItemDelegate::elidedText(fontMetrics(), r.width(), qxt_d().mode, qxt_d().text); -#else // QT_VERSION >= 0x040200 - const QString elidedText = fontMetrics().elidedText(qxt_d().text, qxt_d().mode, r.width()); -#endif // QT_VERSION - p.drawText(r, qxt_d().align, elidedText); -} - -void QxtLabel::changeEvent(QEvent* event) -{ - QFrame::changeEvent(event); - switch (event->type()) - { - case QEvent::FontChange: - case QEvent::ApplicationFontChange: - qxt_d().updateLabel(); - break; - default: - // nothing to do - break; - } -} - -void QxtLabel::mousePressEvent(QMouseEvent* event) -{ - QFrame::mousePressEvent(event); - qxt_d().time.start(); -} - -void QxtLabel::mouseReleaseEvent(QMouseEvent* event) -{ - QFrame::mouseReleaseEvent(event); - if (qxt_d().time.elapsed() < qApp->doubleClickInterval()) - emit clicked(); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.h deleted file mode 100644 index 825e9563..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlabel.h +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLABEL_H -#define QXTLABEL_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtLabelPrivate; - -class QXT_GUI_EXPORT QxtLabel : public QFrame -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtLabel); - Q_PROPERTY(QString text READ text WRITE setText) - Q_PROPERTY(Qt::Alignment alignment READ alignment WRITE setAlignment) - Q_PROPERTY(Qt::TextElideMode elideMode READ elideMode WRITE setElideMode) - Q_PROPERTY(Qxt::Rotation rotation READ rotation WRITE setRotation) - -public: - explicit QxtLabel(QWidget* parent = 0, Qt::WindowFlags flags = 0); - explicit QxtLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags flags = 0); - virtual ~QxtLabel(); - - QString text() const; - - Qt::Alignment alignment() const; - void setAlignment(Qt::Alignment alignment); - - Qt::TextElideMode elideMode() const; - void setElideMode(Qt::TextElideMode mode); - - Qxt::Rotation rotation() const; - void setRotation(Qxt::Rotation rotation); - -#ifndef QXT_DOXYGEN_RUN - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; -#endif // QXT_DOXYGEN_RUN - -public slots: - void setText(const QString& text); - -signals: - void clicked(); - void textChanged(const QString& text); - -#ifndef QXT_DOXYGEN_RUN -protected: - virtual void changeEvent(QEvent* event); - virtual void mousePressEvent(QMouseEvent* event); - virtual void mouseReleaseEvent(QMouseEvent* event); - virtual void paintEvent(QPaintEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTLABEL_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.cpp deleted file mode 100644 index 1477d498..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtlistwidget.h" -#include "qxtitemdelegate.h" -#include "qxtlistwidget_p.h" - -QxtListWidgetPrivate::QxtListWidgetPrivate() -{} - -void QxtListWidgetPrivate::informStartEditing(const QModelIndex& index) -{ - QListWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingStarted(item); -} - -void QxtListWidgetPrivate::informFinishEditing(const QModelIndex& index) -{ - QListWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingFinished(item); -} - -/*! - \class QxtListWidget QxtListWidget - \ingroup QxtGui - \brief An extended QListWidget with additional signals. - - QxtListWidget offers a few most commonly requested signals. - - \image html qxtlistwidget.png "QxtListWidget in Plastique style." - */ - -/*! - \fn QxtListWidget::itemEditingStarted(QListWidgetItem* item) - - This signal is emitted after the editing of \a item has been started. - - \sa itemEditingFinished() - */ - -/*! - \fn QxtListWidget::itemEditingFinished(QListWidgetItem* item) - - This signal is emitted after the editing of \a item has been finished. - - \sa itemEditingStarted() - */ - -/*! - \fn QxtListWidget::itemCheckStateChanged(QxtListWidgetItem* item) - - This signal is emitted whenever the check state of \a item has changed. - - \note Use QxtListWidgetItem in order to enable this feature. - - \sa QxtListWidgetItem, QListWidgetItem::checkState() - */ - -/*! - Constructs a new QxtListWidget with \a parent. - */ -QxtListWidget::QxtListWidget(QWidget* parent) : QListWidget(parent) -{ - QXT_INIT_PRIVATE(QxtListWidget); - QxtItemDelegate* delegate = new QxtItemDelegate(this); - connect(delegate, SIGNAL(editingStarted(const QModelIndex&)), - &qxt_d(), SLOT(informStartEditing(const QModelIndex&))); - connect(delegate, SIGNAL(editingFinished(const QModelIndex&)), - &qxt_d(), SLOT(informFinishEditing(const QModelIndex&))); - setItemDelegate(delegate); -} - -/*! - Destructs the list widget. - */ -QxtListWidget::~QxtListWidget() -{} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.h deleted file mode 100644 index 09a04798..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget.h +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLISTWIDGET_H -#define QXTLISTWIDGET_H - -#include -#include "qxtpimpl.h" -#include "qxtglobal.h" -#include "qxtlistwidgetitem.h" - -class QxtListWidgetPrivate; - -class QXT_GUI_EXPORT QxtListWidget : public QListWidget -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtListWidget); - friend class QxtListWidgetItem; - -public: - explicit QxtListWidget(QWidget* parent = 0); - virtual ~QxtListWidget(); - -signals: - void itemEditingStarted(QListWidgetItem* item); - void itemEditingFinished(QListWidgetItem* item); - void itemCheckStateChanged(QxtListWidgetItem* item); -}; - -#endif // QXTLISTWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget_p.h deleted file mode 100644 index 488659a8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidget_p.h +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLISTWIDGET_P_H -#define QXTLISTWIDGET_P_H - -#include "qxtpimpl.h" -#include "qxtlistwidget.h" - -class QxtItemDelegate; - -class QxtListWidgetPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT -public: - QXT_DECLARE_PUBLIC(QxtListWidget); - QxtListWidgetPrivate(); - -private slots: - void informStartEditing(const QModelIndex& index); - void informFinishEditing(const QModelIndex& index); -}; - -#endif // QXTLISTWIDGET_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.cpp deleted file mode 100644 index 76cc156e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtlistwidgetitem.h" -#include "qxtlistwidget.h" - -/*! - \class QxtListWidgetItem QxtListWidgetItem - \ingroup QxtGui - \brief An extended QListWidgetItem. - - QxtListWidgetItem provides means for offering check state change signals and - convenience methods for testing and setting flags. - - \sa QxtListWidget - */ - - -QxtListWidgetItem::QxtListWidgetItem(QListWidget* parent, int type) - : QListWidgetItem(parent, type) -{} - -QxtListWidgetItem::QxtListWidgetItem(const QString& text, QListWidget* parent, int type) - : QListWidgetItem(text, parent, type) -{} - -QxtListWidgetItem::QxtListWidgetItem(const QIcon& icon, const QString& text, QListWidget* parent, int type) - : QListWidgetItem(icon, text, parent, type) -{} - -QxtListWidgetItem::QxtListWidgetItem(const QxtListWidgetItem& other) - : QListWidgetItem(other) -{} - -QxtListWidgetItem::~QxtListWidgetItem() -{} - -/*! - Returns \b true if the \a flag is set, otherwise \b false. - - \sa setFlag(), QListWidgetItem::flags(), Qt::ItemFlag - */ -bool QxtListWidgetItem::testFlag(Qt::ItemFlag flag) const -{ - return (flags() & flag); -} - -/*! - If \a enabled is \b true, the item \a flag is enabled; otherwise, it is disabled. - - \sa testFlag(), QListWidgetItem::setFlags(), Qt::ItemFlag - */ -void QxtListWidgetItem::setFlag(Qt::ItemFlag flag, bool enabled) -{ - if (enabled) - setFlags(flags() | flag); - else - setFlags(flags() & ~flag); -} - -void QxtListWidgetItem::setData(int role, const QVariant& value) -{ - if (role == Qt::CheckStateRole) - { - const Qt::CheckState newState = static_cast(value.toInt()); - const Qt::CheckState oldState = static_cast(data(role).toInt()); - - QListWidgetItem::setData(role, value); - - if (newState != oldState) - { - QxtListWidget* list = qobject_cast(listWidget()); - if (list) - { - emit list->itemCheckStateChanged(this); - } - } - } - else - { - QListWidgetItem::setData(role, value); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.h deleted file mode 100644 index 1453342d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtlistwidgetitem.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTLISTWIDGETITEM_H -#define QXTLISTWIDGETITEM_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" - -class QXT_GUI_EXPORT QxtListWidgetItem : public QListWidgetItem -{ -public: - explicit QxtListWidgetItem(QListWidget* parent = 0, int type = Type); - explicit QxtListWidgetItem(const QString& text, QListWidget* parent = 0, int type = Type); - explicit QxtListWidgetItem(const QIcon& icon, const QString& text, QListWidget* parent = 0, int type = Type); - explicit QxtListWidgetItem(const QxtListWidgetItem& other); - virtual ~QxtListWidgetItem(); - - bool testFlag(Qt::ItemFlag flag) const; - void setFlag(Qt::ItemFlag flag, bool enabled = true); - -#ifndef QXT_DOXYGEN_RUN - virtual void setData(int role, const QVariant& value); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTLISTWIDGETITEM_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtnativeeventfilter.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtnativeeventfilter.h deleted file mode 100644 index 3fedf6a7..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtnativeeventfilter.h +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTNATIVEEVENTFILTER_H -#define QXTNATIVEEVENTFILTER_H - -#include "qxtapplication.h" - -typedef struct tagMSG MSG; -typedef union _XEvent XEvent; -typedef struct OpaqueEventRef *EventRef; -typedef struct OpaqueEventHandlerCallRef *EventHandlerCallRef; - -/*! - \class QxtNativeEventFilter QxtNativeEventFilter - \ingroup QxtGui - \brief A native event filter to access platform specific events. - - QxtNativeEventFilter provides access to platform specific native events - without the need of subclassing QApplication. - - \note QxtNativeEventFilter requires QxtApplication. - - Example usage: - \code - qxtApp->installNativeEventFilter(myWindow); - - class MyWindow : public QWidget, public QxtNativeEventFilter { - public: - ... - - bool x11EventFilter(XEvent* event) { - if (event->type == ...) { - ... - } - return false; - } - - bool winEventFilter(MSG* msg, long* result) { - if (msg->message == ...) { - ... - } - return false; - } - - bool macEventFilter(EventHandlerCallRef caller, EventRef event) { - if (GetEventClass(event) == ...) { - ... - } - return false; - } - }; - \endcode - - \sa QxtApplication::installNativeEventFilter() - */ - -/*! - \fn QxtNativeEventFilter::x11EventFilter(XEvent* event) - - Filters X11 events if this object has been installed as a native event filter. - In your reimplementation of this function, if you want to filter the event out, - i.e. stop it being handled further, return \b true; otherwise return \b false. - - \sa QxtApplication::installNativeEventFilter() - */ - -/*! - \fn QxtNativeEventFilter::winEventFilter(MSG* msg, long* result) - - Filters Windows events if this object has been installed as a native event filter. - In your reimplementation of this function, if you want to filter the event out, - i.e. stop it being handled further, return \b true; otherwise return \b false. - - \sa QxtApplication::installNativeEventFilter() - */ - -/*! - \fn QxtNativeEventFilter::macEventFilter(EventHandlerCallRef caller, EventRef event) - - Filters Mac events if this object has been installed as a native event filter. - In your reimplementation of this function, if you want to filter the event out, - i.e. stop it being handled further, return \b true; otherwise return \b false. - - \sa QxtApplication::installNativeEventFilter() - */ - -class QxtNativeEventFilter -{ -public: - virtual ~QxtNativeEventFilter() - { qxtApp->removeNativeEventFilter(this); } - - virtual bool x11EventFilter(XEvent* event) = 0; - virtual bool winEventFilter(MSG* msg, long* result) = 0; - virtual bool macEventFilter(EventHandlerCallRef caller, EventRef event) = 0; -}; - -#endif // QXTNATIVEEVENTFILTER_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.cpp deleted file mode 100644 index 26591122..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.cpp +++ /dev/null @@ -1,250 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtprogresslabel.h" -#include -#include -#include - -class QxtProgressLabelPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtProgressLabel); - QxtProgressLabelPrivate(); - - QTime start; - int interval; - int cachedMin; - int cachedMax; - int cachedVal; - QString cformat; - QString tformat; - QBasicTimer timer; -}; - -QxtProgressLabelPrivate::QxtProgressLabelPrivate() - : interval(-1), cachedMin(0), cachedMax(0), cachedVal(0) -{} - -/*! - \class QxtProgressLabel QxtProgressLabel - \ingroup QxtGui - \brief A label showing progress related time values. - - QxtProgressLabel is a label widget able to show elapsed and remaining - time of a progress. Usage is as simple as connecting signal - \b QProgressBar::valueChanged() to slot QxtProgressLabel::setValue(). - - Example usage: - \code - QProgressBar* bar = new QProgressBar(this); - QxtProgressLabel* label = new QxtProgressLabel(this); - connect(bar, SIGNAL(valueChanged(int)), label, SLOT(setValue(int))); - \endcode - - \image html qxtprogresslabel.png "QxtProgressLabel in action." - */ - -/*! - Constructs a new QxtProgressLabel with \a parent and \a flags. - */ -QxtProgressLabel::QxtProgressLabel(QWidget* parent, Qt::WindowFlags flags) - : QLabel(parent, flags) -{ - QXT_INIT_PRIVATE(QxtProgressLabel); - refresh(); -} - -/*! - Constructs a new QxtProgressLabel with \a text, \a parent and \a flags. - */ -QxtProgressLabel::QxtProgressLabel(const QString& text, QWidget* parent, Qt::WindowFlags flags) - : QLabel(text, parent, flags) -{ - QXT_INIT_PRIVATE(QxtProgressLabel); - refresh(); -} - -/*! - Destructs the progress label. - */ -QxtProgressLabel::~QxtProgressLabel() -{} - -/*! - \property QxtProgressLabel::contentFormat - \brief This property holds the content format of the progress label - - The content of the label is formatted according to this property. - The default value is an empty string which defaults to \b "ETA: %r". - - The following variables may be used in the format string: - - - - -
    VariableOutput
    \%eelapsed time
    \%rremaining time
    - - \sa timeFormat - */ -QString QxtProgressLabel::contentFormat() const -{ - return qxt_d().cformat; -} - -void QxtProgressLabel::setContentFormat(const QString& format) -{ - if (qxt_d().cformat != format) - { - qxt_d().cformat = format; - refresh(); - } -} - -/*! - \property QxtProgressLabel::timeFormat - \brief This property holds the time format of the progress label - - Time values are formatted according to this property. - The default value is an empty string which defaults to \b "mm:ss". - - \sa contentFormat, QTime::toString() - */ -QString QxtProgressLabel::timeFormat() const -{ - return qxt_d().tformat; -} - -void QxtProgressLabel::setTimeFormat(const QString& format) -{ - if (qxt_d().tformat != format) - { - qxt_d().tformat = format; - refresh(); - } -} - -/*! - \property QxtProgressLabel::updateInterval - \brief This property holds the update interval of the progress label - - The content of the progress label is updated according to this interval. - A negative interval makes the content to update only during value changes. - The default value is \b -1. - */ -int QxtProgressLabel::updateInterval() const -{ - return qxt_d().interval; -} - -void QxtProgressLabel::setUpdateInterval(int msecs) -{ - qxt_d().interval = msecs; - if (msecs < 0) - { - if (qxt_d().timer.isActive()) - qxt_d().timer.stop(); - } - else - { - if (!qxt_d().timer.isActive()) - qxt_d().timer.start(msecs, this); - } -} - -/*! - Sets the current value to \a value. - - \note Calling this slot by hand has no effect. - Connect this slot to \b QProgressBar::valueChange(). - */ -void QxtProgressLabel::setValue(int value) -{ - QProgressBar* bar = qobject_cast(sender()); - if (bar) - { - if (!qxt_d().start.isValid()) - restart(); - - qxt_d().cachedMin = bar->minimum(); - qxt_d().cachedMax = bar->maximum(); - qxt_d().cachedVal = value; - - refresh(); - } -} - -/*! - Restarts the calculation of elapsed and remaining times. - */ -void QxtProgressLabel::restart() -{ - qxt_d().cachedMin = 0; - qxt_d().cachedMax = 0; - qxt_d().cachedVal = 0; - qxt_d().start.restart(); - refresh(); -} - -/*! - Refreshes the content. - */ -void QxtProgressLabel::refresh() -{ - // elapsed - qreal elapsed = 0; - if (qxt_d().start.isValid()) - elapsed = qxt_d().start.elapsed() / 1000.0; - QTime etime(0, 0); - etime = etime.addSecs(static_cast(elapsed)); - - // percentage - qreal percent = 0; - if (qxt_d().cachedMax != 0) - percent = (qxt_d().cachedVal - qxt_d().cachedMin) / static_cast(qxt_d().cachedMax); - qreal total = 0; - if (percent != 0) - total = elapsed / percent; - - // remaining - QTime rtime(0, 0); - rtime = rtime.addSecs(static_cast(total - elapsed)); - - // format - QString tformat = qxt_d().tformat; - if (tformat.isEmpty()) - tformat = tr("mm:ss"); - QString cformat = qxt_d().cformat; - if (cformat.isEmpty()) - cformat = tr("ETA: %r"); - - QString result = QString(cformat).replace("%e", etime.toString(tformat)); - result = result.replace("%r", rtime.toString(tformat)); - setText(result); -} - -void QxtProgressLabel::timerEvent(QTimerEvent* event) -{ - Q_UNUSED(event); - refresh(); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.h deleted file mode 100644 index 989b755c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtprogresslabel.h +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTPROGRESSLABEL_H -#define QXTPROGRESSLABEL_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtProgressLabelPrivate; - -class QXT_GUI_EXPORT QxtProgressLabel : public QLabel -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtProgressLabel); - Q_PROPERTY(QString contentFormat READ contentFormat WRITE setContentFormat) - Q_PROPERTY(QString timeFormat READ timeFormat WRITE setTimeFormat) - Q_PROPERTY(int updateInterval READ updateInterval WRITE setUpdateInterval) - -public: - explicit QxtProgressLabel(QWidget* parent = 0, Qt::WindowFlags flags = 0); - explicit QxtProgressLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags flags = 0); - virtual ~QxtProgressLabel(); - - QString contentFormat() const; - void setContentFormat(const QString& format); - - QString timeFormat() const; - void setTimeFormat(const QString& format); - - int updateInterval() const; - void setUpdateInterval(int msecs); - -public slots: - void setValue(int value); - void refresh(); - void restart(); - -#ifndef QXT_DOXYGEN_RUN - virtual void timerEvent(QTimerEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTPROGRESSLABEL_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.cpp deleted file mode 100644 index 2278787c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.cpp +++ /dev/null @@ -1,209 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include -#include "qxtproxystyle.h" - -/*! - \class QxtProxyStyle QxtProxyStyle - \ingroup QxtGui - \brief A proxy style. - - A technique called "proxy style" is a common way for creating - cross-platform custom styles. Developers often want to do slight - adjustments in some specific values returned by QStyle. A proxy - style is the solution to avoid subclassing any platform specific - style (eg. QPlastiqueStyle, QWindowsXPStyle, or QMacStyle) and - to retain the native look on all supported platforms. - - The subject has been discussed in Qt Quarterly 9: - http://doc.trolltech.com/qq/qq09-q-and-a.html#style (just notice - that there are a few noteworthy spelling mistakes in the article). - - Proxy styles are becoming obsolete thanks to style sheets - introduced in Qt 4.2. However, style sheets still is a new - concept and only a portion of features are supported yet. Both - - style sheets and proxy styles - have their pros and cons. - - \section usage Usage - - Implement the custom behaviour in a subclass of QxtProxyStyle: - \code - class MyCustomStyle : public QxtProxyStyle - { - public: - MyCustomStyle(const QString& baseStyle) : QxtProxyStyle(baseStyle) - { - } - - int pixelMetric(PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const - { - if (metric == QStyle::PM_ButtonMargin) - return 6; - return QxtProxyStyle::pixelMetric(metric, option, widget); - } - }; - \endcode - - Using the custom style for the whole application: - \code - QString defaultStyle = QApplication::style()->objectName(); - QApplication::setStyle(new MyCustomStyle(defaultStyle)); - \endcode - - Using the custom style for a single widget: - \code - QString defaultStyle = widget->style()->objectName(); - widget->setStyle(new MyCustomStyle(defaultStyle)); - \endcode - */ - -/*! - Constructs a new QxtProxyStyle for \a style. - See QStyleFactory::keys() for supported styles. - - \sa QStyleFactory::keys() - */ -QxtProxyStyle::QxtProxyStyle(const QString& baseStyle) - : QStyle(), style(QStyleFactory::create(baseStyle)) -{ - setObjectName(QLatin1String("proxy")); -} - -/*! - Destructs the proxy style. - */ -QxtProxyStyle::~QxtProxyStyle() -{ - delete style; -} - -void QxtProxyStyle::drawComplexControl(ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget) const -{ - style->drawComplexControl(control, option, painter, widget); -} - -void QxtProxyStyle::drawControl(ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - style->drawControl(element, option, painter, widget); -} - -void QxtProxyStyle::drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const -{ - style->drawItemPixmap(painter, rect, alignment, pixmap); -} - -void QxtProxyStyle::drawItemText(QPainter* painter, const QRect& rect, int alignment, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) const -{ - style->drawItemText(painter, rect, alignment, pal, enabled, text, textRole); -} - -void QxtProxyStyle::drawPrimitive(PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget) const -{ - style->drawPrimitive(elem, option, painter, widget); -} - -QPixmap QxtProxyStyle::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* option) const -{ - return style->generatedIconPixmap(iconMode, pixmap, option); -} - -QStyle::SubControl QxtProxyStyle::hitTestComplexControl(ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget) const -{ - return style->hitTestComplexControl(control, option, pos, widget); -} - -QRect QxtProxyStyle::itemPixmapRect(const QRect& rect, int alignment, const QPixmap& pixmap) const -{ - return style->itemPixmapRect(rect, alignment, pixmap); -} - -QRect QxtProxyStyle::itemTextRect(const QFontMetrics& metrics, const QRect& rect, int alignment, bool enabled, const QString& text) const -{ - return style->itemTextRect(metrics, rect, alignment, enabled, text); -} - -int QxtProxyStyle::pixelMetric(PixelMetric metric, const QStyleOption* option, const QWidget* widget) const -{ - return style->pixelMetric(metric, option, widget); -} - -void QxtProxyStyle::polish(QWidget* widget) -{ - style->polish(widget); -} - -void QxtProxyStyle::polish(QApplication* app) -{ - style->polish(app); -} - -void QxtProxyStyle::polish(QPalette& pal) -{ - style->polish(pal); -} - -QSize QxtProxyStyle::sizeFromContents(ContentsType type, const QStyleOption* option, const QSize& contentsSize, const QWidget* widget) const -{ - return style->sizeFromContents(type, option, contentsSize, widget); -} - -QIcon QxtProxyStyle::standardIcon(StandardPixmap standardIcon, const QStyleOption* option, const QWidget* widget) const -{ - return style->standardIcon(standardIcon, option, widget); -} - -QPalette QxtProxyStyle::standardPalette() const -{ - return style->standardPalette(); -} - -QPixmap QxtProxyStyle::standardPixmap(StandardPixmap standardPixmap, const QStyleOption* option, const QWidget* widget) const -{ - return style->standardPixmap(standardPixmap, option, widget); -} - -int QxtProxyStyle::styleHint(StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const -{ - return style->styleHint(hint, option, widget, returnData); -} - -QRect QxtProxyStyle::subControlRect(ComplexControl control, const QStyleOptionComplex* option, SubControl subControl, const QWidget* widget) const -{ - return style->subControlRect(control, option, subControl, widget); -} - -QRect QxtProxyStyle::subElementRect(SubElement element, const QStyleOption* option, const QWidget* widget) const -{ - return style->subElementRect(element, option, widget); -} - -void QxtProxyStyle::unpolish(QWidget* widget) -{ - style->unpolish(widget); -} - -void QxtProxyStyle::unpolish(QApplication* app) -{ - style->unpolish(app); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.h deleted file mode 100644 index 8865fdef..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtproxystyle.h +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTPROXYSTYLE_H -#define QXTPROXYSTYLE_H - -#include -#include "qxtglobal.h" - -class QXT_GUI_EXPORT QxtProxyStyle : public QStyle -{ -public: - explicit QxtProxyStyle(const QString& baseStyle); - virtual ~QxtProxyStyle(); - -#ifndef QXT_DOXYGEN_RUN - virtual void drawComplexControl(ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = 0) const; - virtual void drawControl(ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; - virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; - virtual void drawItemText(QPainter* painter, const QRect& rect, int alignment, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; - virtual void drawPrimitive(PrimitiveElement elem, const QStyleOption* option, QPainter* painter, const QWidget* widget = 0) const; - virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* option) const; - virtual SubControl hitTestComplexControl(ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = 0) const; - virtual QRect itemPixmapRect(const QRect& rect, int alignment, const QPixmap& pixmap) const; - virtual QRect itemTextRect(const QFontMetrics& metrics, const QRect& rect, int alignment, bool enabled, const QString& text) const; - virtual int pixelMetric(PixelMetric metric, const QStyleOption* option = 0, const QWidget* widget = 0) const; - virtual void polish(QWidget* widget); - virtual void polish(QApplication* app); - virtual void polish(QPalette& pal); - virtual QSize sizeFromContents(ContentsType type, const QStyleOption* option, const QSize& contentsSize, const QWidget* widget = 0) const; - virtual QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption* option = 0, const QWidget* widget = 0) const; - virtual QPalette standardPalette() const; - virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption* option = 0, const QWidget* widget = 0) const; - virtual int styleHint(StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; - virtual QRect subControlRect(ComplexControl control, const QStyleOptionComplex* option, SubControl subControl, const QWidget* widget = 0) const; - virtual QRect subElementRect(SubElement element, const QStyleOption* option, const QWidget* widget = 0) const; - virtual void unpolish(QWidget* widget); - virtual void unpolish(QApplication* app); -#endif // QXT_DOXYGEN_RUN - -private: - QStyle* style; -}; - -#endif // QXTPROXYSTYLE_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.cpp deleted file mode 100644 index 9b3cf8a9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.cpp +++ /dev/null @@ -1,322 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtpushbutton.h" -#include -#include -#include -#include -#include -#include - -static const int Vertical_Mask = 0x02; - -class QxtPushButtonPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtPushButton); - QxtPushButtonPrivate(); - - bool isRichText() const; - QStyleOptionButton getStyleOption() const; - - QString text; - Qxt::Rotation rot; - Qt::TextFormat format; - mutable QTextDocument* doc; -}; - -QxtPushButtonPrivate::QxtPushButtonPrivate() : - rot(Qxt::NoRotation), format(Qt::PlainText), doc(0) -{} - -bool QxtPushButtonPrivate::isRichText() const -{ -#if QT_VERSION >= 0x040200 - bool rich = (format == Qt::RichText) || (format == Qt::AutoText && Qt::mightBeRichText(qxt_p().text())); - if (rich && !doc) - { - doc = new QTextDocument(const_cast(&qxt_p())); - doc->setUndoRedoEnabled(false); - } -#else // QT_VERSION < 0x040200 - bool rich = false; -#endif // QT_VERSION - return rich; -} - -QStyleOptionButton QxtPushButtonPrivate::getStyleOption() const -{ - QStyleOptionButton option; - option.initFrom(&qxt_p()); - if (rot & Vertical_Mask) - { - QSize size = option.rect.size(); - size.transpose(); - option.rect.setSize(size); - } - option.features = QStyleOptionButton::None; - if (qxt_p().isFlat()) - option.features |= QStyleOptionButton::Flat; - if (qxt_p().menu()) - option.features |= QStyleOptionButton::HasMenu; - if (qxt_p().autoDefault() || qxt_p().isDefault()) - option.features |= QStyleOptionButton::AutoDefaultButton; - if (qxt_p().isDefault()) - option.features |= QStyleOptionButton::DefaultButton; - if (qxt_p().isDown() || (qxt_p().menu() && qxt_p().menu()->isVisible())) - option.state |= QStyle::State_Sunken; - if (qxt_p().isChecked()) - option.state |= QStyle::State_On; - if (!qxt_p().isFlat() && !qxt_p().isDown()) - option.state |= QStyle::State_Raised; - if (!isRichText()) - { - option.text = qxt_p().text(); - option.icon = qxt_p().icon(); - option.iconSize = qxt_p().iconSize(); - } - return option; -} - -/*! - \class QxtPushButton QxtPushButton - \ingroup QxtGui - \brief An extended QPushButton with rotation and rich text support. - - QxtPushButton is a QPushButton which can be rotated. In addition, QxtPushButton - provides rich text support. - - \image html qxtpushbutton.png "QxtPushButton in action." - */ - -/*! - Constructs a new QxtPushButton with \a parent. - */ -QxtPushButton::QxtPushButton(QWidget* parent) : QPushButton(parent) -{ - QXT_INIT_PRIVATE(QxtPushButton); -} - -/*! - Constructs a new QxtPushButton with \a text and \a parent. - */ -QxtPushButton::QxtPushButton(const QString& text, QWidget* parent) : QPushButton(text, parent) -{ - QXT_INIT_PRIVATE(QxtPushButton); -} - -/*! - Constructs a new QxtPushButton with \a icon, \a text and \a parent. - - \note An icon is not rendered when using rich text. - */ -QxtPushButton::QxtPushButton(const QIcon& icon, const QString& text, QWidget* parent) : QPushButton(icon, text, parent) -{ - QXT_INIT_PRIVATE(QxtPushButton); -} - -/*! - Constructs a new QxtPushButton with \a rotation, \a text and \a parent. - */ -QxtPushButton::QxtPushButton(Qxt::Rotation rotation, const QString& text, QWidget* parent) : QPushButton(text, parent) -{ - QXT_INIT_PRIVATE(QxtPushButton); - setRotation(rotation); -} - -/*! - Destructs the button. - */ -QxtPushButton::~QxtPushButton() -{} - -/*! - \property QxtPushButton::rotation - \brief This property holds the rotation of the button - - The button is rotated according to this property. - The default value is \b Qxt::NoRotation. - - \sa Qxt::Rotation - */ -Qxt::Rotation QxtPushButton::rotation() const -{ - return qxt_d().rot; -} - -void QxtPushButton::setRotation(Qxt::Rotation rotation) -{ - if (qxt_d().rot != rotation) - { - qxt_d().rot = rotation; - switch (rotation) - { - case Qxt::NoRotation: - case Qxt::UpsideDown: - setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); - break; - - case Qxt::Clockwise: - case Qxt::CounterClockwise: - setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum); - break; - - default: - // nothing to do - break; - } - updateGeometry(); - update(); - } -} - -/*! - \property QxtPushButton::textFormat - \brief This property holds the text format of the button - - Supported formats are \b Qt::PlainText, \b Qt::RichText and \b Qt::AutoText. - - The default format is \b Qt::PlainText. - - \note Rich text requires Qt 4.2 or newer. - - \sa Qt::TextFormat - */ -Qt::TextFormat QxtPushButton::textFormat() const -{ - return qxt_d().format; -} - -void QxtPushButton::setTextFormat(Qt::TextFormat format) -{ - if (qxt_d().format != format) - { - qxt_d().format = format; - if (!qxt_d().isRichText()) - { - delete qxt_d().doc; - qxt_d().doc = 0; - } - qxt_d().text.clear(); - update(); - updateGeometry(); - } -} - -QSize QxtPushButton::sizeHint() const -{ - QSize size; - if (qxt_d().isRichText()) - size = qxt_d().doc->documentLayout()->documentSize().toSize(); - else - size = QPushButton::sizeHint(); - - if (qxt_d().rot & Vertical_Mask) - size.transpose(); - return size; -} - -QSize QxtPushButton::minimumSizeHint() const -{ - QSize size; - if (qxt_d().isRichText()) - size = qxt_d().doc->documentLayout()->documentSize().toSize(); - else - size = QPushButton::minimumSizeHint(); - - if (qxt_d().rot & Vertical_Mask) - size.transpose(); - return size; -} - -void QxtPushButton::paintEvent(QPaintEvent* event) -{ - Q_UNUSED(event); - - // the only reliable way to detect text changes - if (text() != qxt_d().text) - { - qxt_d().text = text(); - if (qxt_d().isRichText()) - qxt_d().doc->setHtml(qxt_d().text); - updateGeometry(); - } - - QStylePainter painter(this); - painter.rotate(qxt_d().rot); - switch (qxt_d().rot) - { - case Qxt::UpsideDown: - painter.translate(-width(), -height()); - break; - - case Qxt::Clockwise: - painter.translate(0, -width()); - break; - - case Qxt::CounterClockwise: - painter.translate(-height(), 0); - break; - - default: - // nothing to do - break; - } - - const QStyleOptionButton option = qxt_d().getStyleOption(); - painter.drawControl(QStyle::CE_PushButton, option); - -#if QT_VERSION >= 0x040200 - if (qxt_d().isRichText()) - { - int dx = 0; - int dy = 0; - if (option.state & (QStyle::State_On | QStyle::State_Sunken)) - { - dx += style()->pixelMetric(QStyle::PM_ButtonShiftHorizontal, &option, this); - dy += style()->pixelMetric(QStyle::PM_ButtonShiftVertical, &option, this); - } - - QRect area = rect(); - const QSizeF docSize = qxt_d().doc->documentLayout()->documentSize(); - if (qxt_d().rot & Vertical_Mask) - { - dx += static_cast((height() - docSize.width()) / 2); - dy += static_cast((width() - docSize.height()) / 2); - painter.translate(dx, dy); - - QSize size = area.size(); - size.transpose(); - area.setSize(size); - } - else - { - dx += static_cast((width() - docSize.width()) / 2); - dy += static_cast((height() - docSize.height()) / 2); - painter.translate(dx, dy); - } - qxt_d().doc->drawContents(&painter, area); - } -#endif // QT_VERSION -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.h deleted file mode 100644 index 929c3d70..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtpushbutton.h +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTPUSHBUTTON_H -#define QXTPUSHBUTTON_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtPushButtonPrivate; - -class QXT_GUI_EXPORT QxtPushButton : public QPushButton -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtPushButton); - Q_PROPERTY(Qxt::Rotation rotation READ rotation WRITE setRotation) - Q_PROPERTY(Qt::TextFormat textFormat READ textFormat WRITE setTextFormat) - -public: - explicit QxtPushButton(QWidget* parent = 0); - explicit QxtPushButton(const QString& text, QWidget* parent = 0); - explicit QxtPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0); - explicit QxtPushButton(Qxt::Rotation rotation, const QString& text, QWidget* parent = 0); - virtual ~QxtPushButton(); - - Qxt::Rotation rotation() const; - void setRotation(Qxt::Rotation rotation); - - Qt::TextFormat textFormat() const; - void setTextFormat(Qt::TextFormat format); - -#ifndef QXT_DOXYGEN_RUN - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; - -protected: - virtual void paintEvent(QPaintEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTPUSHBUTTON_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.cpp deleted file mode 100644 index 90844755..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.cpp +++ /dev/null @@ -1,561 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtspanslider.h" -#include "qxtspanslider_p.h" -#include -#include -#include -#include -#include - -QxtSpanSliderPrivate::QxtSpanSliderPrivate() - : lower(0), - upper(0), - offset(0), - position(0), - lastPressed(NoHandle), - mainControl(LowerHandle), - lowerPressed(QStyle::SC_None), - upperPressed(QStyle::SC_None) -{} - -// TODO: get rid of this in Qt 4.3 -void QxtSpanSliderPrivate::initStyleOption(QStyleOptionSlider* option, SpanHandle handle) const -{ - if (!option) - return; - - const QSlider* p = &qxt_p(); - option->initFrom(p); - option->subControls = QStyle::SC_None; - option->activeSubControls = QStyle::SC_None; - option->orientation = p->orientation(); - option->maximum = p->maximum(); - option->minimum = p->minimum(); - option->tickPosition = p->tickPosition(); - option->tickInterval = p->tickInterval(); - option->upsideDown = (p->orientation() == Qt::Horizontal) ? - (p->invertedAppearance() != (option->direction == Qt::RightToLeft)) : (!p->invertedAppearance()); - option->direction = Qt::LeftToRight; // we use the upsideDown option instead - option->sliderPosition = (handle == LowerHandle ? lower : upper); - option->sliderValue = (handle == LowerHandle ? lower : upper); - option->singleStep = p->singleStep(); - option->pageStep = p->pageStep(); - if (p->orientation() == Qt::Horizontal) - option->state |= QStyle::State_Horizontal; -} - -int QxtSpanSliderPrivate::pixelPosToRangeValue(int pos) const -{ - QStyleOptionSlider opt; - initStyleOption(&opt); - - int sliderMin = 0; - int sliderMax = 0; - int sliderLength = 0; - const QSlider* p = &qxt_p(); - const QRect gr = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderGroove, p); - const QRect sr = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, p); - if (p->orientation() == Qt::Horizontal) - { - sliderLength = sr.width(); - sliderMin = gr.x(); - sliderMax = gr.right() - sliderLength + 1; - } - else - { - sliderLength = sr.height(); - sliderMin = gr.y(); - sliderMax = gr.bottom() - sliderLength + 1; - } - return QStyle::sliderValueFromPosition(p->minimum(), p->maximum(), pos - sliderMin, - sliderMax - sliderMin, opt.upsideDown); -} - -void QxtSpanSliderPrivate::handleMousePress(const QPoint& pos, QStyle::SubControl& control, int value, SpanHandle handle) -{ - QStyleOptionSlider opt; - initStyleOption(&opt, handle); - QSlider* p = &qxt_p(); - const QStyle::SubControl oldControl = control; - control = p->style()->hitTestComplexControl(QStyle::CC_Slider, &opt, pos, p); - const QRect sr = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, p); - if (control == QStyle::SC_SliderHandle) - { - position = value; - offset = pick(pos - sr.topLeft()); - lastPressed = handle; - p->setSliderDown(true); - } - if (control != oldControl) - p->update(sr); -} - -void QxtSpanSliderPrivate::setupPainter(QPainter* painter, Qt::Orientation orientation, qreal x1, qreal y1, qreal x2, qreal y2) const -{ - QColor highlight = qxt_p().palette().color(QPalette::Highlight); - QLinearGradient gradient(x1, y1, x2, y2); - gradient.setColorAt(0, highlight.dark(120)); - gradient.setColorAt(1, highlight.light(108)); - painter->setBrush(gradient); - - if (orientation == Qt::Horizontal) - painter->setPen(QPen(highlight.dark(130), 0)); - else - painter->setPen(QPen(highlight.dark(150), 0)); -} - -void QxtSpanSliderPrivate::drawSpan(QStylePainter* painter, const QRect& rect) const -{ - QStyleOptionSlider opt; - initStyleOption(&opt); - const QSlider* p = &qxt_p(); - - // area - QRect groove = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderGroove, p); - if (opt.orientation == Qt::Horizontal) - groove.adjust(0, 0, -1, 0); - else - groove.adjust(0, 0, 0, -1); - - // pen & brush - painter->setPen(QPen(p->palette().color(QPalette::Dark).light(110), 0)); - if (opt.orientation == Qt::Horizontal) - setupPainter(painter, opt.orientation, groove.center().x(), groove.top(), groove.center().x(), groove.bottom()); - else - setupPainter(painter, opt.orientation, groove.left(), groove.center().y(), groove.right(), groove.center().y()); - - // draw groove -#if QT_VERSION >= 0x040200 - painter->drawRect(rect.intersected(groove)); -#else // QT_VERSION < 0x040200 - painter->drawRect(rect.intersect(groove)); -#endif // QT_VERSION -} - -void QxtSpanSliderPrivate::drawHandle(QStylePainter* painter, SpanHandle handle) const -{ - QStyleOptionSlider opt; - initStyleOption(&opt, handle); - opt.subControls = QStyle::SC_SliderHandle; - QStyle::SubControl pressed = (handle == LowerHandle ? lowerPressed : upperPressed); - if (pressed == QStyle::SC_SliderHandle) - { - opt.activeSubControls = pressed; - opt.state |= QStyle::State_Sunken; - } - painter->drawComplexControl(QStyle::CC_Slider, opt); -} - -void QxtSpanSliderPrivate::triggerAction(QAbstractSlider::SliderAction action, bool main) -{ - int value = 0; - bool up = false; - const int min = qxt_p().minimum(); - const int max = qxt_p().maximum(); - const SpanHandle altControl = (mainControl == LowerHandle ? UpperHandle : LowerHandle); - switch (action) - { - case QAbstractSlider::SliderSingleStepAdd: - if ((main && mainControl == UpperHandle) || (!main && altControl == UpperHandle)) - { - value = qBound(min, upper + qxt_p().singleStep(), max); - up = true; - break; - } - value = qBound(min, lower + qxt_p().singleStep(), max); - break; - case QAbstractSlider::SliderSingleStepSub: - if ((main && mainControl == UpperHandle) || (!main && altControl == UpperHandle)) - { - value = qBound(min, upper - qxt_p().singleStep(), max); - up = true; - break; - } - value = qBound(min, lower - qxt_p().singleStep(), max); - break; - case QAbstractSlider::SliderToMinimum: - value = min; - if ((main && mainControl == UpperHandle) || (!main && altControl == UpperHandle)) - up = true; - break; - case QAbstractSlider::SliderToMaximum: - value = max; - if ((main && mainControl == UpperHandle) || (!main && altControl == UpperHandle)) - up = true; - break; - default: - qWarning("QxtSpanSliderPrivate::triggerAction: Unknown action"); - break; - } - - if (!up) - { - if (value > upper) - { - swapControls(); - qxt_p().setUpperValue(value); - } - else - { - qxt_p().setLowerValue(value); - } - } - else - { - if (value < lower) - { - swapControls(); - qxt_p().setLowerValue(value); - } - else - { - qxt_p().setUpperValue(value); - } - } -} - -void QxtSpanSliderPrivate::swapControls() -{ - qSwap(lower, upper); - qSwap(lowerPressed, upperPressed); - lastPressed = (lastPressed == LowerHandle ? UpperHandle : LowerHandle); - mainControl = (mainControl == LowerHandle ? UpperHandle : LowerHandle); -} - -void QxtSpanSliderPrivate::updateRange(int min, int max) -{ - Q_UNUSED(min); - Q_UNUSED(max); - // setSpan() takes care of keeping span in range - qxt_p().setSpan(lower, upper); -} - -/*! - \class QxtSpanSlider QxtSpanSlider - \ingroup QxtGui - \brief A QSlider with two handles. - - QxtSpanSlider is a slider with two handles. QxtSpanSlider is - handy for letting user to choose an span between min/max. - - The span color is calculated based on \b QPalette::Highlight. - - The keys are bound according to the following table: - - - - - - - - - - -
    OrientationKeyHandle
    Qt::HorizontalQt::Key_Leftlower
    Qt::HorizontalQt::Key_Rightlower
    Qt::HorizontalQt::Key_Upupper
    Qt::HorizontalQt::Key_Downupper
    Qt::VerticalQt::Key_Uplower
    Qt::VerticalQt::Key_Downlower
    Qt::VerticalQt::Key_Leftupper
    Qt::VerticalQt::Key_Rightupper
    - - Keys are bound by the time the slider is created. A key is bound - to same handle for the lifetime of the slider. So even if the handle - representation might change from lower to upper, the same key binding - remains. - - \image html qxtspanslider.png "QxtSpanSlider in Plastique style." - - \note QxtSpanSlider inherits \b QSlider for implementation specific - reasons. Adjusting any single handle specific properties like -

      -
    • \b QAbstractSlider::sliderPosition
    • -
    • \b QAbstractSlider::value
    • -
    - has no effect. However, all slider specific properties like -
      -
    • \b QAbstractSlider::invertedAppearance
    • -
    • \b QAbstractSlider::invertedControls
    • -
    • \b QAbstractSlider::minimum
    • -
    • \b QAbstractSlider::maximum
    • -
    • \b QAbstractSlider::orientation
    • -
    • \b QAbstractSlider::pageStep
    • -
    • \b QAbstractSlider::singleStep
    • -
    • \b QSlider::tickInterval
    • -
    • \b QSlider::tickPosition
    • -
    - are taken into consideration. - */ - -/*! - \fn QxtSpanSlider::lowerValueChanged(int lower) - - This signal is emitted whenever the lower value has changed. - */ - -/*! - \fn QxtSpanSlider::upperValueChanged(int upper) - - This signal is emitted whenever the upper value has changed. - */ - -/*! - \fn QxtSpanSlider::spanChanged(int lower, int upper) - - This signal is emitted whenever the span has changed. - */ - -/*! - Constructs a new QxtSpanSlider with \a parent. - */ -QxtSpanSlider::QxtSpanSlider(QWidget* parent) : QSlider(parent) -{ - QXT_INIT_PRIVATE(QxtSpanSlider); - connect(this, SIGNAL(rangeChanged(int, int)), &qxt_d(), SLOT(updateRange(int, int))); -} - -/*! - Constructs a new QxtSpanSlider with \a orientation and \a parent. - */ -QxtSpanSlider::QxtSpanSlider(Qt::Orientation orientation, QWidget* parent) : QSlider(orientation, parent) -{ - QXT_INIT_PRIVATE(QxtSpanSlider); - connect(this, SIGNAL(rangeChanged(int, int)), &qxt_d(), SLOT(updateRange(int, int))); -} - -/*! - Destructs the slider. - */ -QxtSpanSlider::~QxtSpanSlider() -{} - -/*! - \property QxtSpanSlider::lowerValue - \brief This property holds the lower value of the span - */ -int QxtSpanSlider::lowerValue() const -{ - return qMin(qxt_d().lower, qxt_d().upper); -} - -void QxtSpanSlider::setLowerValue(int lower) -{ - setSpan(lower, qxt_d().upper); -} - -/*! - \property QxtSpanSlider::upperValue - \brief This property holds the upper value of the span - */ -int QxtSpanSlider::upperValue() const -{ - return qMax(qxt_d().lower, qxt_d().upper); -} - -void QxtSpanSlider::setUpperValue(int upper) -{ - setSpan(qxt_d().lower, upper); -} - -/*! - Sets the span from \a lower to \a upper. - \sa upperValue, lowerValue - */ -void QxtSpanSlider::setSpan(int lower, int upper) -{ - const int low = qBound(minimum(), qMin(lower, upper), maximum()); - const int upp = qBound(minimum(), qMax(lower, upper), maximum()); - if (low != qxt_d().lower || upp != qxt_d().upper) - { - if (low != qxt_d().lower) - { - qxt_d().lower = low; - emit lowerValueChanged(low); - } - if (upp != qxt_d().upper) - { - qxt_d().upper = upp; - emit upperValueChanged(upp); - } - emit spanChanged(qxt_d().lower, qxt_d().upper); - update(); - } -} - -void QxtSpanSlider::keyPressEvent(QKeyEvent* event) -{ - QSlider::keyPressEvent(event); - - bool main = true; - SliderAction action = SliderNoAction; - switch (event->key()) - { - case Qt::Key_Left: - main = (orientation() == Qt::Horizontal); - action = !invertedAppearance() ? SliderSingleStepSub : SliderSingleStepAdd; - break; - case Qt::Key_Right: - main = (orientation() == Qt::Horizontal); - action = !invertedAppearance() ? SliderSingleStepAdd : SliderSingleStepSub; - break; - case Qt::Key_Up: - main = (orientation() == Qt::Vertical); - action = invertedControls() ? SliderSingleStepSub : SliderSingleStepAdd; - break; - case Qt::Key_Down: - main = (orientation() == Qt::Vertical); - action = invertedControls() ? SliderSingleStepAdd : SliderSingleStepSub; - break; - case Qt::Key_Home: - main = (qxt_d().mainControl == QxtSpanSliderPrivate::LowerHandle); - action = SliderToMinimum; - break; - case Qt::Key_End: - main = (qxt_d().mainControl == QxtSpanSliderPrivate::UpperHandle); - action = SliderToMaximum; - break; - default: - event->ignore(); - break; - } - - if (action) - qxt_d().triggerAction(action, main); -} - -void QxtSpanSlider::mousePressEvent(QMouseEvent* event) -{ - if (minimum() == maximum() || (event->buttons() ^ event->button())) - { - event->ignore(); - return; - } - - qxt_d().handleMousePress(event->pos(), qxt_d().upperPressed, qxt_d().upper, QxtSpanSliderPrivate::UpperHandle); - if (qxt_d().upperPressed != QStyle::SC_SliderHandle) - qxt_d().handleMousePress(event->pos(), qxt_d().lowerPressed, qxt_d().lower, QxtSpanSliderPrivate::LowerHandle); - - event->accept(); -} - -void QxtSpanSlider::mouseMoveEvent(QMouseEvent* event) -{ - if (qxt_d().lowerPressed != QStyle::SC_SliderHandle && qxt_d().upperPressed != QStyle::SC_SliderHandle) - { - event->ignore(); - return; - } - - QStyleOptionSlider opt; - qxt_d().initStyleOption(&opt); - const int m = style()->pixelMetric(QStyle::PM_MaximumDragDistance, &opt, this); - int newPosition = qxt_d().pixelPosToRangeValue(qxt_d().pick(event->pos()) - qxt_d().offset); - if (m >= 0) - { - const QRect r = rect().adjusted(-m, -m, m, m); - if (!r.contains(event->pos())) - { - newPosition = qxt_d().position; - } - } - - if (qxt_d().lowerPressed == QStyle::SC_SliderHandle) - { - if (newPosition > qxt_d().upper) - { - qxt_d().swapControls(); - setUpperValue(newPosition); - } - else - { - setLowerValue(newPosition); - } - } - else if (qxt_d().upperPressed == QStyle::SC_SliderHandle) - { - if (newPosition < qxt_d().lower) - { - qxt_d().swapControls(); - setLowerValue(newPosition); - } - else - { - setUpperValue(newPosition); - } - } - event->accept(); -} - -void QxtSpanSlider::mouseReleaseEvent(QMouseEvent* event) -{ - QSlider::mouseReleaseEvent(event); - qxt_d().lowerPressed = QStyle::SC_None; - qxt_d().upperPressed = QStyle::SC_None; - update(); -} - -void QxtSpanSlider::paintEvent(QPaintEvent* event) -{ - Q_UNUSED(event); - QStylePainter painter(this); - - // ticks - QStyleOptionSlider opt; - qxt_d().initStyleOption(&opt); - opt.subControls = QStyle::SC_SliderTickmarks; - painter.drawComplexControl(QStyle::CC_Slider, opt); - - // groove - opt.sliderPosition = 0; - opt.subControls = QStyle::SC_SliderGroove; - painter.drawComplexControl(QStyle::CC_Slider, opt); - - // handle rects - opt.sliderPosition = qxt_d().lower; - const QRect lr = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, this); - const int lrv = qxt_d().pick(lr.center()); - opt.sliderPosition = qxt_d().upper; - const QRect ur = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, this); - const int urv = qxt_d().pick(ur.center()); - - // span - const int minv = qMin(lrv, urv); - const int maxv = qMax(lrv, urv); - const QPoint c = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderGroove, this).center(); - QRect spanRect; - if (orientation() == Qt::Horizontal) - spanRect = QRect(QPoint(minv, c.y()-2), QPoint(maxv, c.y()+1)); - else - spanRect = QRect(QPoint(c.x()-2, minv), QPoint(c.x()+1, maxv)); - qxt_d().drawSpan(&painter, spanRect); - - // handles - switch (qxt_d().lastPressed) - { - case QxtSpanSliderPrivate::LowerHandle: - qxt_d().drawHandle(&painter, QxtSpanSliderPrivate::UpperHandle); - qxt_d().drawHandle(&painter, QxtSpanSliderPrivate::LowerHandle); - break; - case QxtSpanSliderPrivate::UpperHandle: - default: - qxt_d().drawHandle(&painter, QxtSpanSliderPrivate::LowerHandle); - qxt_d().drawHandle(&painter, QxtSpanSliderPrivate::UpperHandle); - break; - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.h deleted file mode 100644 index 5ddef353..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSPANSLIDER_H -#define QXTSPANSLIDER_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtSpanSliderPrivate; - -class QXT_GUI_EXPORT QxtSpanSlider : public QSlider -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtSpanSlider); - Q_PROPERTY(int lowerValue READ lowerValue WRITE setLowerValue) - Q_PROPERTY(int upperValue READ upperValue WRITE setUpperValue) - -public: - explicit QxtSpanSlider(QWidget* parent = 0); - explicit QxtSpanSlider(Qt::Orientation orientation, QWidget* parent = 0); - virtual ~QxtSpanSlider(); - - int lowerValue() const; - int upperValue() const; - -public slots: - void setLowerValue(int lower); - void setUpperValue(int upper); - void setSpan(int lower, int upper); - -signals: - void spanChanged(int lower, int upper); - void lowerValueChanged(int lower); - void upperValueChanged(int upper); - -#ifndef QXT_DOXYGEN_RUN -protected: - virtual void keyPressEvent(QKeyEvent* event); - virtual void mousePressEvent(QMouseEvent* event); - virtual void mouseMoveEvent(QMouseEvent* event); - virtual void mouseReleaseEvent(QMouseEvent* event); - virtual void paintEvent(QPaintEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTSPANSLIDER_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider_p.h deleted file mode 100644 index 1e1faf85..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtspanslider_p.h +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSPANSLIDER_P_H -#define QXTSPANSLIDER_P_H - -#include -#include -#include "qxtspanslider.h" -#include "qxtpimpl.h" - -class QStylePainter; -class QStyleOptionSlider; - -class QxtSpanSliderPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT - -public: - QXT_DECLARE_PUBLIC(QxtSpanSlider); - - enum SpanHandle - { - NoHandle, - LowerHandle, - UpperHandle - }; - - QxtSpanSliderPrivate(); - void initStyleOption(QStyleOptionSlider* option, SpanHandle handle = UpperHandle) const; - int pick(const QPoint& pt) const - { - return qxt_p().orientation() == Qt::Horizontal ? pt.x() : pt.y(); - } - int pixelPosToRangeValue(int pos) const; - void handleMousePress(const QPoint& pos, QStyle::SubControl& control, int value, SpanHandle handle); - void drawHandle(QStylePainter* painter, SpanHandle handle) const; - void setupPainter(QPainter* painter, Qt::Orientation orientation, qreal x1, qreal y1, qreal x2, qreal y2) const; - void drawSpan(QStylePainter* painter, const QRect& rect) const; - void triggerAction(QAbstractSlider::SliderAction action, bool main); - void swapControls(); - - int lower; - int upper; - int offset; - int position; - SpanHandle lastPressed; - SpanHandle mainControl; - QStyle::SubControl lowerPressed; - QStyle::SubControl upperPressed; - -public slots: - void updateRange(int min, int max); -}; - -#endif // QXTSPANSLIDER_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.cpp deleted file mode 100644 index 4cf570be..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.cpp +++ /dev/null @@ -1,356 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstars.h" - -#include -#include -#include -#include - -class QxtStarsPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtStars); - QxtStarsPrivate(); - int pixelPosToRangeValue(int pos) const; - inline int pick(const QPoint& pt) const; - QStyleOptionSlider getStyleOption() const; - QSize getStarSize() const; - int snapBackPosition; - bool readOnly; - QSize starSize; - QPainterPath star; -}; - -QxtStarsPrivate::QxtStarsPrivate() - : snapBackPosition(0), readOnly(false) -{ - star.moveTo(14.285716,-43.352104); - star.lineTo(38.404536,9.1654726); - star.lineTo(95.804846,15.875014); - star.lineTo(53.310787,55.042197); - star.lineTo(64.667306,111.7065); - star.lineTo(14.285714,83.395573); - star.lineTo(-36.095881,111.7065); - star.lineTo(-24.739359,55.042198); - star.lineTo(-67.233416,15.875009); - star.lineTo(-9.8331075,9.1654728); - star.closeSubpath(); -} - -int QxtStarsPrivate::pixelPosToRangeValue(int pos) const -{ - const QxtStars* p = &qxt_p(); - QStyleOptionSlider opt = getStyleOption(); - QRect gr = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderGroove, p); - QRect sr = p->style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, p); - int sliderMin, sliderMax, sliderLength; - - gr.setSize(qxt_p().sizeHint()); - if (p->orientation() == Qt::Horizontal) - { - sliderLength = sr.width(); - sliderMin = gr.x(); - sliderMax = gr.right() - sliderLength + 1; - } - else - { - sliderLength = sr.height(); - sliderMin = gr.y(); - sliderMax = gr.bottom() - sliderLength + 1; - } - return QStyle::sliderValueFromPosition(p->minimum(), p->maximum(), pos - sliderMin, - sliderMax - sliderMin, opt.upsideDown); -} - -inline int QxtStarsPrivate::pick(const QPoint& pt) const -{ - return qxt_p().orientation() == Qt::Horizontal ? pt.x() : pt.y(); -} - -// TODO: get rid of this in Qt 4.3 -QStyleOptionSlider QxtStarsPrivate::getStyleOption() const -{ - const QxtStars* p = &qxt_p(); - QStyleOptionSlider opt; - opt.initFrom(p); - opt.subControls = QStyle::SC_None; - opt.activeSubControls = QStyle::SC_None; - opt.orientation = p->orientation(); - opt.maximum = p->maximum(); - opt.minimum = p->minimum(); - opt.upsideDown = (p->orientation() == Qt::Horizontal) ? - (p->invertedAppearance() != (opt.direction == Qt::RightToLeft)) : (!p->invertedAppearance()); - opt.direction = Qt::LeftToRight; // we use the upsideDown option instead - opt.sliderPosition = p->sliderPosition(); - opt.sliderValue = p->value(); - opt.singleStep = p->singleStep(); - opt.pageStep = p->pageStep(); - if (p->orientation() == Qt::Horizontal) - opt.state |= QStyle::State_Horizontal; - return opt; -} - -QSize QxtStarsPrivate::getStarSize() const -{ - QSize size = starSize; - if (!size.isValid() || size.isNull()) - { - const int width = qxt_p().style()->pixelMetric(QStyle::PM_SmallIconSize); - size = QSize(width, width); - } - return size; -} - -/*! - \class QxtStars QxtStars - \ingroup QxtGui - \brief A stars assessment widget. - - QxtStars is an optionally interactive stars assessment widget. - - By default, orientation is \b Qt::Horizonal and range is from \b 0 to \b 5. - - The stars are rendered accoring to palette with the following color roles: - - - - - -
    ColorRoleElement
    QPalette::Textoutlines
    QPalette::Baseunselected stars
    QPalette::Highlightselected stars
    - - \image html qxtstars.png "QxtStars in action." - */ - -/*! - \fn QxtStars::valueChanged(int value) - - This signal is emitted whenever the value has been changed. - */ - -/*! - Constructs a new QxtStars with \a parent. - */ -QxtStars::QxtStars(QWidget* parent) : QAbstractSlider(parent) -{ - QXT_INIT_PRIVATE(QxtStars); - setOrientation(Qt::Horizontal); - setFocusPolicy(Qt::FocusPolicy(style()->styleHint(QStyle::SH_Button_FocusPolicy))); - setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - setRange(0, 5); -} - -/*! - Destructs the stars. - */ -QxtStars::~QxtStars() -{} - -/*! - \property QxtStars::readOnly - \brief This property holds whether stars are adjustable - - In read-only mode, the user is not able to change the value. - The default value is \b false. - */ -bool QxtStars::isReadOnly() const -{ - return qxt_d().readOnly; -} - -void QxtStars::setReadOnly(bool readOnly) -{ - if (qxt_d().readOnly != readOnly) - { - qxt_d().readOnly = readOnly; - if (readOnly) - setFocusPolicy(Qt::NoFocus); - else - setFocusPolicy(Qt::FocusPolicy(style()->styleHint(QStyle::SH_Button_FocusPolicy))); - } -} - -/*! - \property QxtStars::starSize - \brief This property holds the size of star icons - - The default value is \b QStyle::PM_SmallIconSize. - */ -QSize QxtStars::starSize() const -{ - return qxt_d().starSize; -} - -void QxtStars::setStarSize(const QSize& size) -{ - if (qxt_d().starSize != size) - { - qxt_d().starSize = size; - updateGeometry(); - update(); - } -} - -QSize QxtStars::sizeHint() const -{ - return minimumSizeHint(); -} - -QSize QxtStars::minimumSizeHint() const -{ - QSize size = qxt_d().getStarSize(); - size.rwidth() *= maximum() - minimum(); - if (orientation() == Qt::Vertical) - size.transpose(); - return size; -} - -void QxtStars::paintEvent(QPaintEvent* event) -{ - QAbstractSlider::paintEvent(event); - - QPainter painter(this); - painter.save(); - painter.setPen(palette().color(QPalette::Text)); - painter.setRenderHint(QPainter::Antialiasing); - - const bool invert = invertedAppearance(); - const QSize size = qxt_d().getStarSize(); - const QRectF star = qxt_d().star.boundingRect(); - painter.scale(size.width() / star.width(), size.height() / star.height()); - const int count = maximum() - minimum(); - if (orientation() == Qt::Horizontal) - { - painter.translate(-star.x(), -star.y()); - if (invert != isRightToLeft()) - painter.translate((count - 1) * star.width(), 0); - } - else - { - painter.translate(-star.x(), -star.y()); - if (!invert) - painter.translate(0, (count - 1) * star.height()); - } - for (int i = 0; i < count; ++i) - { - if (value() > minimum() + i) - painter.setBrush(palette().highlight()); - else - painter.setBrush(palette().base()); - painter.drawPath(qxt_d().star); - - if (orientation() == Qt::Horizontal) - painter.translate(invert != isRightToLeft() ? -star.width() : star.width(), 0); - else - painter.translate(0, invert ? star.height() : -star.height()); - } - - painter.restore(); - if (hasFocus()) - { - QStyleOptionFocusRect opt; - opt.initFrom(this); - opt.rect.setSize(sizeHint()); - style()->drawPrimitive(QStyle::PE_FrameFocusRect, &opt, &painter, this); - } -} - -void QxtStars::keyPressEvent(QKeyEvent* event) -{ - if (qxt_d().readOnly) - { - event->ignore(); - return; - } - QAbstractSlider::keyPressEvent(event); -} - -void QxtStars::mousePressEvent(QMouseEvent* event) -{ - if (qxt_d().readOnly) - { - event->ignore(); - return; - } - QAbstractSlider::mousePressEvent(event); - - if (maximum() == minimum() || (event->buttons() ^ event->button())) - { - event->ignore(); - return; - } - - event->accept(); - QStyleOptionSlider opt = qxt_d().getStyleOption(); - const QRect sliderRect = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, this); - const QPoint center = sliderRect.center() - sliderRect.topLeft(); - const int pos = qxt_d().pixelPosToRangeValue(qxt_d().pick(event->pos() - center)); - setSliderPosition(pos); - triggerAction(SliderMove); - setRepeatAction(SliderNoAction); - qxt_d().snapBackPosition = pos; - update(); -} - -void QxtStars::mouseMoveEvent(QMouseEvent* event) -{ - if (qxt_d().readOnly) - { - event->ignore(); - return; - } - QAbstractSlider::mouseMoveEvent(event); - - event->accept(); - int newPosition = qxt_d().pixelPosToRangeValue(qxt_d().pick(event->pos())); - QStyleOptionSlider opt = qxt_d().getStyleOption(); - int m = style()->pixelMetric(QStyle::PM_MaximumDragDistance, &opt, this); - if (m >= 0) - { - QRect r = rect(); - r.adjust(-m, -m, m, m); - if (!r.contains(event->pos())) - newPosition = qxt_d().snapBackPosition; - } - setSliderPosition(newPosition); -} - -void QxtStars::mouseReleaseEvent(QMouseEvent* event) -{ - if (qxt_d().readOnly) - { - event->ignore(); - return; - } - QAbstractSlider::mouseReleaseEvent(event); - - if (event->buttons()) - { - event->ignore(); - return; - } - - event->accept(); - setRepeatAction(SliderNoAction); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.h deleted file mode 100644 index 618f5b7e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstars.h +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSTARS_H -#define QXTSTARS_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtStarsPrivate; - -class QXT_GUI_EXPORT QxtStars : public QAbstractSlider -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtStars); - Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly) - Q_PROPERTY(QSize starSize READ starSize WRITE setStarSize) - -public: - explicit QxtStars(QWidget* parent = 0); - virtual ~QxtStars(); - - bool isReadOnly() const; - void setReadOnly(bool readOnly); - - QSize starSize() const; - void setStarSize(const QSize& size); - -#ifndef QXT_DOXYGEN_RUN - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; -#endif // QXT_DOXYGEN_RUN - -#ifndef QXT_DOXYGEN_RUN -protected: - virtual void keyPressEvent(QKeyEvent* event); - virtual void mousePressEvent(QMouseEvent* event); - virtual void mouseMoveEvent(QMouseEvent* event); - virtual void mouseReleaseEvent(QMouseEvent* event); - virtual void paintEvent(QPaintEvent* event); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTSTARS_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.cpp deleted file mode 100644 index e04b67ea..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.cpp +++ /dev/null @@ -1,140 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtstringspinbox.h" - -class QxtStringSpinBoxPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtStringSpinBox); - int startsWith(const QString& start, QString& string) const; - QStringList strings; -}; - -int QxtStringSpinBoxPrivate::startsWith(const QString& start, QString& string) const -{ - const int size = strings.size(); - for (int i = 0; i < size; ++i) - { - if (strings.at(i).startsWith(start, Qt::CaseInsensitive)) - { - // found - string = strings.at(i); - return i; - } - } - // not found - return -1; -} - -/*! - \class QxtStringSpinBox QxtStringSpinBox - \ingroup QxtGui - \brief A spin box with string items. - - QxtStringSpinBox is spin box that takes strings. QxtStringSpinBox allows - the user to choose a value by clicking the up and down buttons or by - pressing Up or Down on the keyboard to increase or decrease the value - currently displayed. The user can also type the value in manually. - - \image html qxtstringspinbox.png "QxtStringSpinBox in Cleanlooks style." - */ - -/*! - Constructs a new QxtStringSpinBox with \a parent. - */ -QxtStringSpinBox::QxtStringSpinBox(QWidget* pParent) : QSpinBox(pParent) -{ - setRange(0, 0); -} - -/*! - Destructs the spin box. - */ -QxtStringSpinBox::~QxtStringSpinBox() -{} - -/*! - \property QxtStringSpinBox::strings - \brief This property holds the string items of the spin box. - */ -const QStringList& QxtStringSpinBox::strings() const -{ - return qxt_d().strings; -} - -void QxtStringSpinBox::setStrings(const QStringList& strings) -{ - qxt_d().strings = strings; - setRange(0, strings.size() - 1); - if (!strings.isEmpty()) - setValue(0); -} - -void QxtStringSpinBox::fixup(QString& input) const -{ - // just attempt to change the input string to be valid according to the string list - // no need to result in a valid string, callers of this function are responsible to - // re-test the validity afterwards - - // try finding a string from the list which starts with input - input = input.simplified(); - if (!input.isEmpty()) - { - qxt_d().startsWith(input, input); - } -} - -QValidator::State QxtStringSpinBox::validate(QString& input, int& pos) const -{ - // Invalid: input is invalid according to the string list - // Intermediate: it is likely that a little more editing will make the input acceptable - // (e.g. the user types "A" and stringlist contains "ABC") - // Acceptable: the input is valid. - Q_UNUSED(pos); - QString temp; - QValidator::State state = QValidator::Invalid; - if (qxt_d().strings.contains(input)) - { - // exact match - state = QValidator::Acceptable; - } - else if (input.isEmpty() || qxt_d().startsWith(input, temp) != -1) - { - // still empty or some string in the list starts with input - state = QValidator::Intermediate; - } - // else invalid - return state; -} - -QString QxtStringSpinBox::textFromValue(int value) const -{ - Q_ASSERT(qxt_d().strings.isEmpty() || (value >= 0 && value < qxt_d().strings.size())); - return qxt_d().strings.isEmpty() ? QLatin1String("") : qxt_d().strings.at(value); -} - -int QxtStringSpinBox::valueFromText(const QString& text) const -{ - return qxt_d().strings.indexOf(text); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.h deleted file mode 100644 index e2db4a03..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringspinbox.h +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSTRINGSPINBOX_H -#define QXTSTRINGSPINBOX_H - -#include -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtStringSpinBoxPrivate; - -class QXT_GUI_EXPORT QxtStringSpinBox : public QSpinBox -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtStringSpinBox); - Q_PROPERTY(QStringList strings READ strings WRITE setStrings) - -public: - explicit QxtStringSpinBox(QWidget* pParent = 0); - virtual ~QxtStringSpinBox(); - - const QStringList& strings() const; - void setStrings(const QStringList& strings); - -#ifndef QXT_DOXYGEN_RUN - virtual void fixup(QString& input) const; - virtual QValidator::State validate(QString& input, int& pos) const; - -protected: - virtual QString textFromValue(int value) const; - virtual int valueFromText(const QString& text) const; -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTSTRINGSPINBOX_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.cpp deleted file mode 100644 index d558a80d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.cpp +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#include "qxtstringvalidator.h" -#include "qxtstringvalidator_p.h" - -#include -#include -#include -#include - -QxtStringValidatorPrivate::QxtStringValidatorPrivate() : isUserModel(false) - , model(0) - , cs(Qt::CaseSensitive) - , lookupRole(Qt::EditRole) - , userFlags(Qt::MatchWrap) - , lookupStartModelIndex(QModelIndex()) -{} - -QModelIndex QxtStringValidatorPrivate::lookupPartialMatch(const QString &value) const -{ - Qt::MatchFlags matchFlags = Qt::MatchStartsWith| userFlags; - if (cs == Qt::CaseSensitive) - matchFlags |= Qt::MatchCaseSensitive; - - return lookup(value,matchFlags); -} - -QModelIndex QxtStringValidatorPrivate::lookupExactMatch(const QString &value) const -{ - Qt::MatchFlags matchFlags = Qt::MatchFixedString | userFlags; - if (cs == Qt::CaseSensitive) - matchFlags |= Qt::MatchCaseSensitive; - - return lookup(value,matchFlags); -} - -QModelIndex QxtStringValidatorPrivate::lookup(const QString &value,const Qt::MatchFlags &matchFlags) const -{ - QModelIndex startIndex = lookupStartModelIndex.isValid() ? lookupStartModelIndex : model->index(0,0); - - QModelIndexList list = model->match(startIndex,lookupRole,value,1,matchFlags); - - if (list.size() > 0) - return list[0]; - return QModelIndex(); -} - - -/*! - \class QxtStringValidator QxtStringValidator - \ingroup QxtGui - \brief The QxtStringValidator class provides validation on a QStringList or a QAbstractItemModel - - It provides a String based validation in a stringlist or a custom model. - QxtStringValidator uses QAbstractItemModel::match() to validate the input. - For a partial match it returns QValidator::Intermediate and for a full match QValidator::Acceptable. - - Example usage: - \code - - QLineEdit * testLineEdit = new QLineEdit(); - - QStringList testList; - testList << "StringTestString" << "sTrInGCaSe"<< "StringTest"<< "String"<< "Foobar"<< "BarFoo"<< "QxtLib"; - - QxtStringValidator *validator = new QxtStringValidator(ui.lineEdit); - validator->setStringList(testList); - - //change lookup case sensitivity - validator->setCaseSensitivity(Qt::CaseInsensitive); - - testLineEdit->setValidator(validator); - - \endcode - */ - -/*! - Constructs a validator object with a parent object that accepts any string in the stringlist. -*/ -QxtStringValidator::QxtStringValidator(QObject * parent) : QValidator(parent) -{ - QXT_INIT_PRIVATE(QxtStringValidator); -} - -QxtStringValidator::~QxtStringValidator(void) -{} - -/*! - Fixes up the string input if there is no exact match in the stringlist/model. - The first match in the stringlist/model is used to fix the input. -*/ -void QxtStringValidator::fixup ( QString & input ) const -{ - qDebug()<<"Fixup called"; - - if (!qxt_d().model) - return; - - if (qxt_d().lookupExactMatch(input).isValid()) - return; - - QModelIndex partialMatch = qxt_d().lookupPartialMatch(input); - if (partialMatch.isValid()) - input = partialMatch.data(qxt_d().lookupRole).toString(); - -} - -/*! - uses stringlist as new validation list - if a model was set before it is not deleted -*/ -void QxtStringValidator::setStringList(const QStringList &stringList) -{ - //delete model only if it is a model created by us - if (qxt_d().model && !qxt_d().isUserModel) - { - delete qxt_d().model; - qxt_d().model = 0; - } - - qxt_d().isUserModel = false; - qxt_d().lookupStartModelIndex = QModelIndex(); - qxt_d().lookupRole = Qt::EditRole; - qxt_d().model = new QStringListModel(stringList,this); -} - -/*! - Returns Acceptable if the string input matches a item in the stringlist. - Returns Intermediate if the string input matches a item in the stringlist partial or if input is empty. - Returns Invalid otherwise. - - Note: A partial match means the beginning of the strings are matching: - qxtL matches qxtLib but not testqxtLib -*/ -QValidator::State QxtStringValidator::validate ( QString & input, int & pos ) const -{ - Q_UNUSED(pos); - - // no model or a empty model has only Acceptable values (like no validator was set) - if (!qxt_d().model) - return QValidator::Acceptable; - - if (qxt_d().model->rowCount() == 0) - return QValidator::Acceptable; - - if (input.isEmpty()) - return QValidator::Intermediate; - - if (qxt_d().lookupExactMatch(input).isValid()) - { - qDebug()<index(0,0); - } - return QModelIndex(); -} - -/*! - Returns if recursive lookup is enabled. - \sa setRecursiveLookup() -*/ -bool QxtStringValidator::recursiveLookup() const -{ - if (qxt_d().userFlags & Qt::MatchRecursive) - return true; - return false; -} - -/*! - Returns if wrapping lookup is enabled. - \sa setWrappingLookup() -*/ -bool QxtStringValidator::wrappingLookup() const -{ - if (qxt_d().userFlags & Qt::MatchWrap) - return true; - return false; -} - -/*! - Returns the used model if it was set by the user. - \sa setLookupModel() -*/ -QAbstractItemModel * QxtStringValidator::lookupModel() const -{ - if (qxt_d().isUserModel) - return qxt_d().model; - return 0; -} - -/*! - Returns Qt::CaseSensitive if the QxtStringValidator is matched case sensitively; otherwise returns Qt::CaseInsensitive. - \sa setCaseSensitivity(). -*/ -Qt::CaseSensitivity QxtStringValidator::caseSensitivity () const -{ - return qxt_d().cs; -} - -/*! - Sets case sensitive matching to cs. - If cs is Qt::CaseSensitive, inp matches input but not INPUT. - The default is Qt::CaseSensitive. - \sa caseSensitivity(). -*/ -void QxtStringValidator::setCaseSensitivity ( Qt::CaseSensitivity caseSensitivity ) -{ - qxt_d().cs = caseSensitivity; -} - -/*! - Sets the index the search should start at - The default is QModelIndex(0,0). - Note: this is set to default when the model changes. - Changing the startModelIndex is only possible if the validator uses a userdefined model - and the modelindex comes from the used model - \sa startModelIndex() -*/ -void QxtStringValidator::setStartModelIndex(const QModelIndex &index) -{ - if (index.model() == qxt_d().model) - qxt_d().lookupStartModelIndex = index; - else - qWarning()<<"ModelIndex from different model. Ignoring."; -} - -/*! - If enabled QxtStringValidator searches the entire hierarchy of the model. - This is disabled by default. - \sa recursiveLookup() -*/ -void QxtStringValidator::setRecursiveLookup(bool enable) -{ - if (enable) - qxt_d().userFlags |= Qt::MatchRecursive; - else - qxt_d().userFlags &= ~Qt::MatchRecursive; - -} - -/*! - If enabled QxtStringValidator performs a search that wraps around, - so that when the search reaches the last item in the model, it begins again at the first item and continues until all items have been examined. - This is set by default. - \sa wrappingLookup() -*/ -void QxtStringValidator::setWrappingLookup(bool enable) -{ - if (enable) - qxt_d().userFlags |= Qt::MatchWrap; - else - qxt_d().userFlags &= ~Qt::MatchWrap; -} - -/*! - Uses model as new validation model. - Note: The validator does not take ownership of the model. - sa\ lookupModel() -*/ -void QxtStringValidator::setLookupModel(QAbstractItemModel *model) -{ - if (!qxt_d().isUserModel && qxt_d().model) - { - delete qxt_d().model; - qxt_d().model = 0; - } - - qxt_d().lookupRole = Qt::EditRole; - qxt_d().isUserModel = true; - qxt_d().lookupStartModelIndex = QModelIndex(); - qxt_d().model = QPointer(model); -} - -/*! - Sets the item role to be used to query the contents of items for validation. - Note: this is only possible if the model was set with setLookupModel() - This is set to default Value Qt::EditRole when the model changes - \sa lookupRole() -*/ -void QxtStringValidator::setLookupRole(const int role) -{ - if (qxt_d().isUserModel) - qxt_d().lookupRole = role; -} - -/*! - Returns the item role to be used to query the contents of items for validation. - \sa setLookupRole() -*/ -int QxtStringValidator::lookupRole() const -{ - return qxt_d().lookupRole; -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.h deleted file mode 100644 index 7d95983b..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator.h +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTSTRINGLISTVALIDATOR_H_INCLUDED -#define QXTSTRINGLISTVALIDATOR_H_INCLUDED - -#include -#include -#include -#include "qxtpimpl.h" -#include "qxtglobal.h" - -class QxtStringValidatorPrivate; -class QAbstractItemModel; - -class QXT_GUI_EXPORT QxtStringValidator : public QValidator -{ - Q_OBJECT - -public: - QxtStringValidator (QObject * parent); - ~QxtStringValidator (); - - virtual void fixup ( QString & input ) const; - virtual QValidator::State validate ( QString & input, int & pos ) const; - - Qt::CaseSensitivity caseSensitivity () const; - void setCaseSensitivity ( Qt::CaseSensitivity caseSensitivity ); - void setStartModelIndex(const QModelIndex &index); - void setStringList(const QStringList &stringList); - void setRecursiveLookup(bool enable); - void setWrappingLookup(bool enable); - void setLookupModel(QAbstractItemModel *model); - void setLookupRole(const int role); - - QModelIndex startModelIndex() const; - bool recursiveLookup() const; - bool wrappingLookup() const; - QAbstractItemModel * lookupModel() const; - int lookupRole() const; - -private: - QXT_DECLARE_PRIVATE(QxtStringValidator); -}; - -#endif //QXTSTRINGLISTVALIDATOR_H_INCLUDED diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator_p.h deleted file mode 100644 index 91d3f721..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxtstringvalidator_p.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTSTRINGLISTVALIDATOR_P_H_INCLUDED -#define QXTSTRINGLISTVALIDATOR_P_H_INCLUDED - -#include -#include -#include -#include - -class QxtStringValidator; - -class QxtStringValidatorPrivate : public QxtPrivate -{ -public: - QxtStringValidatorPrivate(); - QXT_DECLARE_PUBLIC(QxtStringValidator); - - bool isUserModel; - QPointer model; - Qt::CaseSensitivity cs; - int lookupColumn; - int lookupRole; - Qt::MatchFlags userFlags; - QModelIndex lookupStartModelIndex; - - QModelIndex lookupPartialMatch(const QString &value) const; - QModelIndex lookupExactMatch(const QString &value) const; - QModelIndex lookup(const QString &value,const Qt::MatchFlags &matchFlags) const; - -}; - -#endif //QXTSTRINGLISTVALIDATOR_P_H_INCLUDED diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.cpp deleted file mode 100644 index f22458c9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttablewidget.h" -#include "qxtitemdelegate.h" -#include "qxttablewidget_p.h" - -QxtTableWidgetPrivate::QxtTableWidgetPrivate() -{} - -void QxtTableWidgetPrivate::informStartEditing(const QModelIndex& index) -{ - QTableWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingStarted(item); -} - -void QxtTableWidgetPrivate::informFinishEditing(const QModelIndex& index) -{ - QTableWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingFinished(item); -} - -/*! - \class QxtTableWidget QxtTableWidget - \ingroup QxtGui - \brief An extended QTableWidget with additional signals. - - QxtTableWidget offers a few most commonly requested signals. - - \image html qxttablewidget.png "QxtTableWidget in Plastique style." - */ - -/*! - \fn QxtTableWidget::itemEditingStarted(QTableWidgetItem* item) - - This signal is emitted after the editing of \a item has been started. - - \sa itemEditingFinished() - */ - -/*! - \fn QxtTableWidget::itemEditingFinished(QTableWidgetItem* item) - - This signal is emitted after the editing of \a item has been finished. - - \sa itemEditingStarted() - */ - -/*! - \fn QxtTableWidget::itemCheckStateChanged(QxtTableWidgetItem* item) - - This signal is emitted whenever the check state of \a item has changed. - - \note Use QxtTableWidgetItem in order to enable this feature. - - \sa QxtTableWidgetItem, QTableWidgetItem::checkState() - */ - -/*! - Constructs a new QxtTableWidget with \a parent. - */ -QxtTableWidget::QxtTableWidget(QWidget* parent) - : QTableWidget(parent) -{ - QXT_INIT_PRIVATE(QxtTableWidget); - setItemPrototype(new QxtTableWidgetItem); - QxtItemDelegate* delegate = new QxtItemDelegate(this); - connect(delegate, SIGNAL(editingStarted(const QModelIndex&)), - &qxt_d(), SLOT(informStartEditing(const QModelIndex&))); - connect(delegate, SIGNAL(editingFinished(const QModelIndex&)), - &qxt_d(), SLOT(informFinishEditing(const QModelIndex&))); - setItemDelegate(delegate); -} - -/*! - Constructs a new QxtTableWidget with \a rows, \a columns and \a parent. - */ -QxtTableWidget::QxtTableWidget(int rows, int columns, QWidget* parent) - : QTableWidget(rows, columns, parent) -{ - QXT_INIT_PRIVATE(QxtTableWidget); - setItemPrototype(new QxtTableWidgetItem); - QxtItemDelegate* delegate = new QxtItemDelegate(this); - connect(delegate, SIGNAL(editingStarted(const QModelIndex&)), - &qxt_d(), SLOT(informStartEditing(const QModelIndex&))); - connect(delegate, SIGNAL(editingFinished(const QModelIndex&)), - &qxt_d(), SLOT(informFinishEditing(const QModelIndex&))); - setItemDelegate(delegate); -} - -/*! - Destructs the table widget. - */ -QxtTableWidget::~QxtTableWidget() -{} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.h deleted file mode 100644 index 26866646..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget.h +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTABLEWIDGET_H -#define QXTTABLEWIDGET_H - -#include -#include "qxtpimpl.h" -#include "qxtglobal.h" -#include "qxttablewidgetitem.h" - -class QxtTableWidgetPrivate; - -class QXT_GUI_EXPORT QxtTableWidget : public QTableWidget -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtTableWidget); - friend class QxtTableWidgetItem; - -public: - explicit QxtTableWidget(QWidget* parent = 0); - explicit QxtTableWidget(int rows, int columns, QWidget* parent = 0); - virtual ~QxtTableWidget(); - -signals: - void itemEditingStarted(QTableWidgetItem* item); - void itemEditingFinished(QTableWidgetItem* item); - void itemCheckStateChanged(QxtTableWidgetItem* item); -}; - -#endif // QXTTABLEWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget_p.h deleted file mode 100644 index c244668c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidget_p.h +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTABLEWIDGET_P_H -#define QXTTABLEWIDGET_P_H - -#include "qxtpimpl.h" -#include "qxttablewidget.h" - -class QxtItemDelegate; - -class QxtTableWidgetPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT -public: - QXT_DECLARE_PUBLIC(QxtTableWidget); - QxtTableWidgetPrivate(); - -private slots: - void informStartEditing(const QModelIndex& index); - void informFinishEditing(const QModelIndex& index); -}; - -#endif // QXTTABLEWIDGET_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.cpp deleted file mode 100644 index 0395afd2..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttablewidgetitem.h" -#include "qxttablewidget.h" - -/*! - \class QxtTableWidgetItem QxtTableWidgetItem - \ingroup QxtGui - \brief An extended QTableWidgetItem. - - QxtTableWidgetItem provides means for offering check state change signals and - convenience methods for testing and setting flags. - - \sa QxtTableWidget - */ - - -QxtTableWidgetItem::QxtTableWidgetItem(int type) - : QTableWidgetItem(type) -{} - -QxtTableWidgetItem::QxtTableWidgetItem(const QString& text, int type) - : QTableWidgetItem(text, type) -{} - -QxtTableWidgetItem::QxtTableWidgetItem(const QIcon& icon, const QString& text, int type) - : QTableWidgetItem(text, type) -{ - setIcon(icon); // for 4.1 compatibility -} - -QxtTableWidgetItem::QxtTableWidgetItem(const QTableWidgetItem& other) - : QTableWidgetItem(other) -{} - -QxtTableWidgetItem::~QxtTableWidgetItem() -{} - -/*! - Returns \b true if the \a flag is set, otherwise \b false. - - \sa setFlag(), QTableWidgetItem::flags(), Qt::ItemFlag - */ -bool QxtTableWidgetItem::testFlag(Qt::ItemFlag flag) const -{ - return (flags() & flag); -} - -/*! - If \a enabled is \b true, the item \a flag is enabled; otherwise, it is disabled. - - \sa testFlag(), QTableWidgetItem::setFlags(), Qt::ItemFlag - */ -void QxtTableWidgetItem::setFlag(Qt::ItemFlag flag, bool enabled) -{ - if (enabled) - setFlags(flags() | flag); - else - setFlags(flags() & ~flag); -} - -void QxtTableWidgetItem::setData(int role, const QVariant& value) -{ - if (role == Qt::CheckStateRole) - { - const Qt::CheckState newState = static_cast(value.toInt()); - const Qt::CheckState oldState = static_cast(data(role).toInt()); - - QTableWidgetItem::setData(role, value); - - if (newState != oldState) - { - QxtTableWidget* table = qobject_cast(tableWidget()); - if (table) - { - emit table->itemCheckStateChanged(this); - } - } - } - else - { - QTableWidgetItem::setData(role, value); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.h deleted file mode 100644 index 4927c623..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttablewidgetitem.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTABLEWIDGETITEM_H -#define QXTTABLEWIDGETITEM_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" - -class QXT_GUI_EXPORT QxtTableWidgetItem : public QTableWidgetItem -{ -public: - explicit QxtTableWidgetItem(int type = Type); - explicit QxtTableWidgetItem(const QString& text, int type = Type); - explicit QxtTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); - explicit QxtTableWidgetItem(const QTableWidgetItem& other); - virtual ~QxtTableWidgetItem(); - - bool testFlag(Qt::ItemFlag flag) const; - void setFlag(Qt::ItemFlag flag, bool enabled = true); - -#ifndef QXT_DOXYGEN_RUN - virtual void setData(int role, const QVariant& value); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTTABLEWIDGETITEM_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.cpp deleted file mode 100644 index 3a5b4e3d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.cpp +++ /dev/null @@ -1,397 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttabwidget.h" -#include -#include -#include -#include -#include - -typedef QList Actions; - -class QxtTabWidgetPrivate : public QxtPrivate -{ -public: - QXT_DECLARE_PUBLIC(QxtTabWidget); - - QxtTabWidgetPrivate(); - int tabIndexAt(const QPoint& pos) const; - - QList actions; - Qt::ContextMenuPolicy policy; -}; - -QxtTabWidgetPrivate::QxtTabWidgetPrivate() : policy(Qt::DefaultContextMenu) -{} - -int QxtTabWidgetPrivate::tabIndexAt(const QPoint& pos) const -{ - const int count = qxt_p().count(); - const QTabBar* tabBar = qxt_p().tabBar(); - for (int i = 0; i < count; ++i) - if (tabBar->tabRect(i).contains(pos)) - return i; - return -1; -} - -/*! - \class QxtTabWidget QxtTabWidget - \ingroup QxtGui - \brief An extended QTabWidget. - - QxtTabWidget provides some convenience for handling tab specific context menus. - - Example usage: - \code - QxtTabWidget* tabWidget = new QxtTabWidget(); - tabWidget->addTab(tab0, "1"); - tabWidget->addTab(tab1, "2"); - - QList actions0; - actions0 << new QAction("Quisque", tab0) << new QAction("Aenean", tab0); - QList actions1; - actions1 << new QAction("Phasellus", tab1) << new QAction("Maecenas", tab1); - - tabWidget->setTabContextMenuPolicy(Qt::ActionsContextMenu); - tabWidget->addTabActions(0, actions0); - tabWidget->addTabActions(1, actions1); - \endcode - - \image html qxttabwidget.png "QxtTabWidget in WindowsXP style." - - \note http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=137891 - */ - -/*! - \fn QxtTabWidget::tabContextMenuRequested(int index, const QPoint& globalPos) - - This signal is emitted whenever the context menu is requested over - tab at \a index at \a globalPos. - */ - -/*! - Constructs a new QxtTabWidget with \a parent. - */ -QxtTabWidget::QxtTabWidget(QWidget* parent) : QTabWidget(parent) -{ - QXT_INIT_PRIVATE(QxtTabWidget); -} - -/*! - Destructs the tab widget. - */ -QxtTabWidget::~QxtTabWidget() -{} - -/*! - \property QxtTabWidget::tabContextMenuPolicy - \brief This property holds how the tab specific context menus are handled. - - The default value of this property is \b Qt::DefaultContextMenu, - which means that the tabContextMenuEvent() handler is called. - Other values are \b Qt::NoContextMenu, \b Qt::PreventContextMenu - (since Qt 4.2), \b Qt::ActionsContextMenu, and \b Qt::CustomContextMenu. - With \b Qt::CustomContextMenu, the signal tabContextMenuRequested() is - emitted. - - \sa tabContextMenuEvent(), tabContextMenuRequested(), tabActions() - */ -Qt::ContextMenuPolicy QxtTabWidget::tabContextMenuPolicy() const -{ - return qxt_d().policy; -} - -void QxtTabWidget::setTabContextMenuPolicy(Qt::ContextMenuPolicy policy) -{ - qxt_d().policy = policy; -} - -/*! - Appends the \a action to the list of actions of the - tab at \a index. - - \sa removeTabAction(), insertTabAction(), tabActions() - */ -void QxtTabWidget::addTabAction(int index, QAction* action) -{ - insertTabAction(index, 0, action); -} - -/*! - This convenience function creates a new action with \a text. The function - adds the newly created action to the list of actions of the tab at - \a index, and returns it. - - \sa addTabAction() - */ -QAction* QxtTabWidget::addTabAction(int index, const QString& text) -{ - return addTabAction(index, QIcon(), text, 0, 0); -} - -/*! - This convenience function creates a new action with \a icon and \a text. - The function adds the newly created action to the list of actions of the - tab at \a index, and returns it. - - \sa addTabAction() - */ -QAction* QxtTabWidget::addTabAction(int index, const QIcon& icon, const QString& text) -{ - return addTabAction(index, icon, text, 0, 0); -} - -/*! - This convenience function creates a new action with \a text and - an optional \a shortcut. The action's triggered() signal is - connected to the \a receiver's \a member slot. The function adds - the newly created action to the list of actions of the tab at - \a index, and returns it. - - \note In order to make it possible for the shortcut to work even - when the context menu is not open, the action must be added to - a visible widget. The corresponding tab is a good alternative. - - \code - QWidget* tab = createNewTab(); - tabWidget->addTab(tab, title); - QAction* action = tabWidget->addTabAction(index, tr("Close"), this, SLOT(closeCurrentTab()), tr("Ctrl+W")); - tab->addAction(act); - \endcode - - \sa addTabAction(), QWidget::addAction() - */ -QAction* QxtTabWidget::addTabAction(int index, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) -{ - return addTabAction(index, QIcon(), text, receiver, member, shortcut); -} - -/*! - This convenience function creates a new action with \a icon, \a text - and an optional \a shortcut. The action's triggered() signal is connected - to the \a receiver's \a member slot. The function adds the newly created - action to the list of actions of the tab at \a index, and returns it. - - \sa addTabAction() - */ -QAction* QxtTabWidget::addTabAction(int index, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) -{ - QAction* action = new QAction(icon, text, this); - addTabAction(index, action); - if (receiver && member) - connect(action, SIGNAL(triggered()), receiver, member); - action->setShortcut(shortcut); - return action; -} - -/*! - Appends the \a actions to the list of actions of the - tab at \a index. - - \sa removeTabAction(), addTabAction() - */ -void QxtTabWidget::addTabActions(int index, QList actions) -{ - foreach (QAction* action, actions) - { - insertTabAction(index, 0, action); - } -} - -/*! - Clears the list of actions of the tab at \a index. - - \note Only actions owned by the tab widget are deleted. - - \sa removeTabAction(), addTabAction() - */ -void QxtTabWidget::clearTabActions(int index) -{ - Q_ASSERT(index >= 0 && index < qxt_d().actions.count()); - - while (qxt_d().actions[index].count()) - { - QAction* action = qxt_d().actions[index].last(); - removeTabAction(index, action); - if (action->parent() == this) - delete action; - } -} - -/*! - Inserts the \a action to the list of actions of the - tab at \a index, before the action \a before. It appends - the action if \a before is \c 0. - - \sa removeTabAction(), addTabAction(), tabContextMenuPolicy, tabActions() - */ -void QxtTabWidget::insertTabAction(int index, QAction* before, QAction* action) -{ - Q_ASSERT(index >= 0 && index < qxt_d().actions.count()); - - if (!action) - { - qWarning("QxtTabWidget::insertTabAction: Attempt to insert a null action"); - return; - } - - const Actions& actions = qxt_d().actions.at(index); - if (actions.contains(action)) - removeTabAction(index, action); - - int pos = actions.indexOf(before); - if (pos < 0) - { - before = 0; - pos = actions.count(); - } - qxt_d().actions[index].insert(pos, action); - - QActionEvent e(QEvent::ActionAdded, action, before); - QApplication::sendEvent(this, &e); -} - -/*! - Inserts the \a actions to the list of actions of the - tab at \a index, before the action \a before. It appends - the action if \a before is \c 0. - - \sa removeAction(), QMenu, insertAction(), contextMenuPolicy - */ -void QxtTabWidget::insertTabActions(int index, QAction* before, QList actions) -{ - foreach (QAction* action, actions) - { - insertTabAction(index, before, action); - } -} - -/*! - Removes the action \a action from the list of actions of the - tab at \a index. - - \note The removed action is not deleted. - - \sa insertTabAction(), tabActions(), insertTabAction() - */ -void QxtTabWidget::removeTabAction(int index, QAction* action) -{ - Q_ASSERT(index >= 0 && index < qxt_d().actions.count()); - - if (!action) - { - qWarning("QxtTabWidget::removeTabAction: Attempt to remove a null action"); - return; - } - - if (qxt_d().actions[index].removeAll(action)) - { - QActionEvent e(QEvent::ActionRemoved, action); - QApplication::sendEvent(this, &e); - } -} - -/*! - Returns the (possibly empty) list of actions for the - tab at \a index. - - \sa tabContextMenuPolicy, insertTabAction(), removeTabAction() - */ -QList QxtTabWidget::tabActions(int index) const -{ - Q_ASSERT(index >= 0 && index < qxt_d().actions.count()); - return qxt_d().actions.at(index); -} - -void QxtTabWidget::tabInserted(int index) -{ - Q_ASSERT(index >= 0 && index <= qxt_d().actions.count()); - qxt_d().actions.insert(index, Actions()); -} - -void QxtTabWidget::tabRemoved(int index) -{ - Q_ASSERT(index >= 0 && index < qxt_d().actions.count()); - qxt_d().actions.removeAt(index); -} - -void QxtTabWidget::contextMenuEvent(QContextMenuEvent* event) -{ - const QPoint& pos = event->pos(); - if (!tabBar()->geometry().contains(pos)) - return QTabWidget::contextMenuEvent(event); - - const int index = qxt_d().tabIndexAt(event->pos()); - switch (qxt_d().policy) - { - case Qt::NoContextMenu: - event->ignore(); - break; - -#if QT_VERSION >= 0x040200 - case Qt::PreventContextMenu: - event->accept(); - break; -#endif // QT_VERSION - - case Qt::ActionsContextMenu: - if (index != -1 && qxt_d().actions.at(index).count()) - { - QMenu::exec(qxt_d().actions.at(index), event->globalPos()); - } - break; - - case Qt::CustomContextMenu: - if (index != -1) - { - emit tabContextMenuRequested(index, event->globalPos()); - } - break; - - case Qt::DefaultContextMenu: - default: - if (index != -1) - { - tabContextMenuEvent(index, event); - } - break; - } -} - -/*! - This event handler, for event \a event, can be reimplemented in a - subclass to receive context menu events for the tab at \a index. - - The handler is called when \b tabContextMenuPolicy is - \b Qt::DefaultContextMenu. - - The default implementation ignores the context menu event. - - \sa tabContextMenuPolicy, tabContextMenuRequested() - */ -void QxtTabWidget::tabContextMenuEvent(int index, QContextMenuEvent* event) -{ - Q_UNUSED(index); - event->ignore(); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.h deleted file mode 100644 index e1949118..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttabwidget.h +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTABWIDGET_H -#define QXTTABWIDGET_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtTabWidgetPrivate; - -class QXT_GUI_EXPORT QxtTabWidget : public QTabWidget -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtTabWidget); - Q_PROPERTY(Qt::ContextMenuPolicy tabContextMenuPolicy READ tabContextMenuPolicy WRITE setTabContextMenuPolicy) - -public: - explicit QxtTabWidget(QWidget* parent = 0); - virtual ~QxtTabWidget(); - - Qt::ContextMenuPolicy tabContextMenuPolicy() const; - void setTabContextMenuPolicy(Qt::ContextMenuPolicy policy); - - void addTabAction(int index, QAction* action); - QAction* addTabAction(int index, const QString& text); - QAction* addTabAction(int index, const QIcon& icon, const QString& text); - QAction* addTabAction(int index, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - QAction* addTabAction(int index, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - void addTabActions(int index, QList actions); - void clearTabActions(int index); - void insertTabAction(int index, QAction* before, QAction* action); - void insertTabActions(int index, QAction* before, QList actions); - void removeTabAction(int index, QAction* action); - QList tabActions(int index) const; - -signals: - void tabContextMenuRequested(int index, const QPoint& globalPos); - -protected: -#ifndef QXT_DOXYGEN_RUN - virtual void tabInserted(int index); - virtual void tabRemoved(int index); - - virtual void contextMenuEvent(QContextMenuEvent* event); -#endif // QXT_DOXYGEN_RUN - virtual void tabContextMenuEvent(int index, QContextMenuEvent* event); -}; - -#endif // QXTQXTTABWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.cpp deleted file mode 100644 index 8d274704..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.cpp +++ /dev/null @@ -1,370 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttooltip.h" -#include "qxttooltip_p.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -static const Qt::WindowFlags FLAGS = Qt::ToolTip; - -QxtToolTipPrivate* QxtToolTipPrivate::self = 0; - -QxtToolTipPrivate* QxtToolTipPrivate::instance() -{ - if (!self) - self = new QxtToolTipPrivate(); - return self; -} - -QxtToolTipPrivate::QxtToolTipPrivate() : QWidget(qApp->desktop(), FLAGS) -{ - setWindowFlags(FLAGS); - vbox = new QVBoxLayout(this); - setPalette(QToolTip::palette()); - setWindowOpacity(style()->styleHint(QStyle::SH_ToolTipLabel_Opacity, 0, this) / 255.0); - layout()->setMargin(style()->pixelMetric(QStyle::PM_ToolTipLabelFrameWidth, 0, this)); - qApp->installEventFilter(this); -} - -QxtToolTipPrivate::~QxtToolTipPrivate() -{ - qApp->removeEventFilter(this); // not really necessary but rather for completeness :) - self = 0; -} - -void QxtToolTipPrivate::show(const QPoint& pos, QWidget* tooltip, QWidget* parent, const QRect& rect) -{ - Q_ASSERT(tooltip && parent); - if (!isVisible()) - { - int scr = 0; - if (QApplication::desktop()->isVirtualDesktop()) - scr = QApplication::desktop()->screenNumber(pos); - else - scr = QApplication::desktop()->screenNumber(this); - setParent(QApplication::desktop()->screen(scr)); - setWindowFlags(FLAGS); - setToolTip(tooltip); - currentParent = parent; - currentRect = rect; - move(calculatePos(scr, pos)); - QWidget::show(); - } -} - -void QxtToolTipPrivate::setToolTip(QWidget* tooltip) -{ - for (int i = 0; i < vbox->count(); ++i) - { - QLayoutItem* item = layout()->takeAt(i); - if (item->widget()) - item->widget()->hide(); - } - vbox->addWidget(tooltip); - tooltip->show(); -} - -void QxtToolTipPrivate::enterEvent(QEvent* event) -{ - Q_UNUSED(event); - hideLater(); -} - -void QxtToolTipPrivate::paintEvent(QPaintEvent* event) -{ - Q_UNUSED(event); - QStylePainter painter(this); - QStyleOptionFrame opt; - opt.initFrom(this); - painter.drawPrimitive(QStyle::PE_PanelTipLabel, opt); -} - -bool QxtToolTipPrivate::eventFilter(QObject* object, QEvent* event) -{ - switch (event->type()) - { - case QEvent::KeyPress: - case QEvent::KeyRelease: - { - // accept only modifiers - const QKeyEvent* keyEvent = static_cast(event); - const int key = keyEvent->key(); - const Qt::KeyboardModifiers mods = keyEvent->modifiers(); - if ((mods & Qt::KeyboardModifierMask) || - (key == Qt::Key_Shift || key == Qt::Key_Control || - key == Qt::Key_Alt || key == Qt::Key_Meta)) - break; - } - case QEvent::Leave: - case QEvent::WindowActivate: - case QEvent::WindowDeactivate: - case QEvent::MouseButtonPress: - case QEvent::MouseButtonRelease: - case QEvent::MouseButtonDblClick: - case QEvent::FocusIn: - case QEvent::FocusOut: - case QEvent::Wheel: - hideLater(); - break; - - case QEvent::MouseMove: - { - const QPoint pos = static_cast(event)->pos(); - if (!currentRect.isNull() && !currentRect.contains(pos)) - { - hideLater(); - } - break; - } - - case QEvent::ToolTip: - { - // eat appropriate tooltip events - QWidget* widget = static_cast(object); - if (tooltips.contains(widget)) - { - QHelpEvent* helpEvent = static_cast(event); - const QRect area = tooltips.value(widget).second; - if (area.isNull() || area.contains(helpEvent->pos())) - { - show(helpEvent->globalPos(), tooltips.value(widget).first, widget, area); - return true; - } - } - } - - default: - break; - } - return false; -} - -void QxtToolTipPrivate::hideLater() -{ - currentRect = QRect(); - if (isVisible()) - QTimer::singleShot(0, this, SLOT(hide())); -} - -QPoint QxtToolTipPrivate::calculatePos(int scr, const QPoint& eventPos) const -{ -#ifdef Q_WS_MAC - QRect screen = QApplication::desktop()->availableGeometry(scr); -#else - QRect screen = QApplication::desktop()->screenGeometry(scr); -#endif - - QPoint p = eventPos; - p += QPoint(2, -#ifdef Q_WS_WIN - 24 -#else - 16 -#endif - ); - QSize s = sizeHint(); - if (p.x() + s.width() > screen.x() + screen.width()) - p.rx() -= 4 + s.width(); - if (p.y() + s.height() > screen.y() + screen.height()) - p.ry() -= 24 + s.height(); - if (p.y() < screen.y()) - p.setY(screen.y()); - if (p.x() + s.width() > screen.x() + screen.width()) - p.setX(screen.x() + screen.width() - s.width()); - if (p.x() < screen.x()) - p.setX(screen.x()); - if (p.y() + s.height() > screen.y() + screen.height()) - p.setY(screen.y() + screen.height() - s.height()); - return p; -} - -/*! - \class QxtToolTip QxtToolTip - \ingroup QxtGui - \brief Show any arbitrary widget as a tooltip. - - QxtToolTip provides means for showing any arbitrary widget as a tooltip. - - \note The rich text support of QToolTip already makes it possible to - show heavily customized tooltips with lists, tables, embedded images - and such. However, for example dynamically created images like - thumbnails cause problems. Basically the only way is to dump the - thumbnail to a temporary file to be able to embed it into HTML. This - is where QxtToolTip steps in. A generated thumbnail may simply be set - on a QLabel which is then shown as a tooltip. Yet another use case - is a tooltip with dynamically changing content. - - \image html qxttooltip.png "QxtToolTip in action." - - \warning Added tooltip widgets remain in the memory for the lifetime - of the application or until they are removed/deleted. Do NOT flood your - application up with lots of complex tooltip widgets or it will end up - being a resource hog. QToolTip is sufficient for most of the cases! - */ - -/*! - Shows the \a tooltip at \a pos for \a parent at \a rect. - - \sa hide() -*/ -void QxtToolTip::show(const QPoint& pos, QWidget* tooltip, QWidget* parent, const QRect& rect) -{ - QxtToolTipPrivate::instance()->show(pos, tooltip, parent, rect); -} - -/*! - Hides the tooltip. - - \sa show() -*/ -void QxtToolTip::hide() -{ - QxtToolTipPrivate::instance()->hide(); -} - -/*! - Returns the tooltip for \a parent. - - \sa setToolTip() -*/ -QWidget* QxtToolTip::toolTip(QWidget* parent) -{ - Q_ASSERT(parent); - QWidget* tooltip = 0; - if (!QxtToolTipPrivate::instance()->tooltips.contains(parent)) - qWarning("QxtToolTip::toolTip: Unknown parent"); - else - tooltip = QxtToolTipPrivate::instance()->tooltips.value(parent).first; - return tooltip; -} - -/*! - Sets the \a tooltip to be shown for \a parent. - An optional \a rect may also be passed. - - \sa toolTip() -*/ -void QxtToolTip::setToolTip(QWidget* parent, QWidget* tooltip, const QRect& rect) -{ - Q_ASSERT(parent); - if (tooltip) - { - // set - tooltip->hide(); - QxtToolTipPrivate::instance()->tooltips[parent] = qMakePair(QPointer(tooltip), rect); - } - else - { - // remove - if (!QxtToolTipPrivate::instance()->tooltips.contains(parent)) - qWarning("QxtToolTip::setToolTip: Unknown parent"); - else - QxtToolTipPrivate::instance()->tooltips.remove(parent); - } -} - -/*! - Returns the rect on which tooltip is shown for \a parent. - - \sa setToolTipRect() -*/ -QRect QxtToolTip::toolTipRect(QWidget* parent) -{ - Q_ASSERT(parent); - QRect rect; - if (!QxtToolTipPrivate::instance()->tooltips.contains(parent)) - qWarning("QxtToolTip::toolTipRect: Unknown parent"); - else - rect = QxtToolTipPrivate::instance()->tooltips.value(parent).second; - return rect; -} - -/*! - Sets the \a rect on which tooltip is shown for \a parent. - - \sa toolTipRect() -*/ -void QxtToolTip::setToolTipRect(QWidget* parent, const QRect& rect) -{ - Q_ASSERT(parent); - if (!QxtToolTipPrivate::instance()->tooltips.contains(parent)) - qWarning("QxtToolTip::setToolTipRect: Unknown parent"); - else - QxtToolTipPrivate::instance()->tooltips[parent].second = rect; -} - -/*! - Returns the margin of the tooltip. - - \sa setMargin() -*/ -int QxtToolTip::margin() -{ - return QxtToolTipPrivate::instance()->layout()->margin(); -} - -/*! - Sets the margin of the tooltip. - - The default value is \b QStyle::PM_ToolTipLabelFrameWidth. - - \sa margin() -*/ -void QxtToolTip::setMargin(int margin) -{ - QxtToolTipPrivate::instance()->layout()->setMargin(margin); -} - -/*! - Returns the opacity level of the tooltip. - - \sa QWidget::windowOpacity() -*/ -qreal QxtToolTip::opacity() -{ - return QxtToolTipPrivate::instance()->windowOpacity(); -} - -/*! - Sets the opacity level of the tooltip. - - The default value is \b QStyle::SH_ToolTipLabel_Opacity. - - \sa QWidget::setWindowOpacity() -*/ -void QxtToolTip::setOpacity(qreal level) -{ - QxtToolTipPrivate::instance()->setWindowOpacity(level); -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.h deleted file mode 100644 index 3dc7733c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip.h +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTOOLTIP_H -#define QXTTOOLTIP_H - -#include -#include -#include "qxtglobal.h" - -class QWidget; - -class QXT_GUI_EXPORT QxtToolTip -{ -#ifndef QXT_DOXYGEN_RUN - explicit QxtToolTip() - {} -#endif // QXT_DOXYGEN_RUN - -public: - static void show(const QPoint& pos, QWidget* tooltip, QWidget* parent = 0, const QRect& rect = QRect()); - static void hide(); - - static QWidget* toolTip(QWidget* parent); - static void setToolTip(QWidget* parent, QWidget* tooltip, const QRect& rect = QRect()); - - static QRect toolTipRect(QWidget* parent); - static void setToolTipRect(QWidget* parent, const QRect& rect); - - static int margin(); - static void setMargin(int margin); - - static qreal opacity(); - static void setOpacity(qreal level); -}; - -inline uint qHash(const QPointer key) -{ - return reinterpret_cast(key ? (&*key) : 0); -} - -#endif // QXTTOOLTIP_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip_p.h deleted file mode 100644 index 49e1968e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttooltip_p.h +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTOOLTIP_P_H -#define QXTTOOLTIP_P_H - -#include -#include -#include - -class QVBoxLayout; - -typedef QPointer WidgetPtr; -typedef QPair WidgetArea; - -class QxtToolTipPrivate : public QWidget -{ - Q_OBJECT - -public: - QxtToolTipPrivate(); - ~QxtToolTipPrivate(); - - static QxtToolTipPrivate* instance(); - void show(const QPoint& pos, QWidget* tooltip, QWidget* parent = 0, const QRect& rect = QRect()); - void setToolTip(QWidget* tooltip); - bool eventFilter(QObject* parent, QEvent* event); - void hideLater(); - QPoint calculatePos(int scr, const QPoint& eventPos) const; - QHash tooltips; - QVBoxLayout* vbox; - -protected: - void enterEvent(QEvent* event); - void paintEvent(QPaintEvent* event); - -private: - static QxtToolTipPrivate* self; - QWidget* currentParent; - QRect currentRect; -}; - -#endif // QXTTOOLTIP_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.cpp deleted file mode 100644 index af3aa4cc..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttreewidget.h" -#include "qxtitemdelegate.h" -#include "qxttreewidget_p.h" -#include - -QxtTreeWidgetPrivate::QxtTreeWidgetPrivate() -{} - -QxtItemDelegate* QxtTreeWidgetPrivate::delegate() const -{ - QxtItemDelegate* del = dynamic_cast(qxt_p().itemDelegate()); - Q_ASSERT(del); - return del; -} - -void QxtTreeWidgetPrivate::informStartEditing(const QModelIndex& index) -{ - QTreeWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingStarted(item); -} - -void QxtTreeWidgetPrivate::informFinishEditing(const QModelIndex& index) -{ - QTreeWidgetItem* item = qxt_p().itemFromIndex(index); - Q_ASSERT(item); - emit qxt_p().itemEditingFinished(item); -} - -void QxtTreeWidgetPrivate::expandCollapse(QTreeWidgetItem* item) -{ - if (item && !item->parent() && delegate()->decorationStyle() != Qxt::NoDecoration) - qxt_p().setItemExpanded(item, !qxt_p().isItemExpanded(item)); -} - -/*! - \class QxtTreeWidget QxtTreeWidget - \ingroup QxtGui - \brief An extended QTreeWidget with additional signals. - - QxtTreeWidget offers an optional top level item decoration - and a few most commonly requested signals. - - \image html qxttreewidget.png "QxtTreeWidget with Qxt::Menulike and Qxt::Buttonlike decoration styles, respectively." - */ - -/*! - \fn QxtTreeWidget::itemEditingStarted(QTreeWidgetItem* item) - - This signal is emitted after the editing of \a item has been started. - - \sa itemEditingFinished() - */ - -/*! - \fn QxtTreeWidget::itemEditingFinished(QTreeWidgetItem* item) - - This signal is emitted after the editing of \a item has been finished. - - \sa itemEditingStarted() - */ - -/*! - \fn QxtTreeWidget::itemCheckStateChanged(QxtTreeWidgetItem* item) - - This signal is emitted whenever the check state of \a item has changed. - - \note Use QxtTreeWidgetItem in order to enable this feature. - - \sa QxtTreeWidgetItem, QTreeWidgetItem::checkState() - */ - -/*! - Constructs a new QxtTreeWidget with \a parent. - */ -QxtTreeWidget::QxtTreeWidget(QWidget* parent) : QTreeWidget(parent) -{ - QXT_INIT_PRIVATE(QxtTreeWidget); - QxtItemDelegate* delegate = new QxtItemDelegate(this); - connect(delegate, SIGNAL(editingStarted(const QModelIndex&)), - &qxt_d(), SLOT(informStartEditing(const QModelIndex&))); - connect(delegate, SIGNAL(editingFinished(const QModelIndex&)), - &qxt_d(), SLOT(informFinishEditing(const QModelIndex&))); - connect(this, SIGNAL(itemPressed(QTreeWidgetItem*, int)), - &qxt_d(), SLOT(expandCollapse(QTreeWidgetItem*))); - setItemDelegate(delegate); -} - -/*! - Destructs the tree widget. - */ -QxtTreeWidget::~QxtTreeWidget() -{} - -/*! - \property QxtTreeWidget::decorationStyle - \brief This property holds the top level item decoration style - - Top level items are decorated according to this property. - The default value is \b Qxt::NoDecoration. - - \note Setting the property to anything else than \b Qxt::NoDecoration - hides the header and sets \b QTreeView::rootIsDecorated to \b false - (to avoid multiple branch indicators). - - \sa Qxt::DecorationStyle QTreeView::rootIsDecorated - */ -Qxt::DecorationStyle QxtTreeWidget::decorationStyle() const -{ - return qxt_d().delegate()->decorationStyle(); -} - -void QxtTreeWidget::setDecorationStyle(Qxt::DecorationStyle style) -{ - if (qxt_d().delegate()->decorationStyle() != style) - { - qxt_d().delegate()->setDecorationStyle(style); - - if (style != Qxt::NoDecoration) - { - setRootIsDecorated(false); - header()->hide(); - } - reset(); - } -} - -/*! - \property QxtTreeWidget::elideMode - \brief This property holds the text elide mode - - The text of a decorated top level item is elided according to this property. - The default value is \b Qt::ElideMiddle. - - \note The property has effect only for decorated top level items. - - \sa decorationStyle, Qt::TextElideMode - */ -Qt::TextElideMode QxtTreeWidget::elideMode() const -{ - return qxt_d().delegate()->elideMode(); -} - -void QxtTreeWidget::setElideMode(Qt::TextElideMode mode) -{ - if (qxt_d().delegate()->elideMode() != mode) - { - qxt_d().delegate()->setElideMode(mode); - reset(); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.h deleted file mode 100644 index a8d8da04..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget.h +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTREEWIDGET_H -#define QXTTREEWIDGET_H - -#include -#include "qxttreewidgetitem.h" -#include "qxtnamespace.h" -#include "qxtglobal.h" -#include "qxtpimpl.h" - -class QxtTreeWidgetPrivate; - -class QXT_GUI_EXPORT QxtTreeWidget : public QTreeWidget -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtTreeWidget); - Q_PROPERTY(Qxt::DecorationStyle decorationStyle READ decorationStyle WRITE setDecorationStyle) - Q_PROPERTY(Qt::TextElideMode elideMode READ elideMode WRITE setElideMode) - friend class QxtTreeWidgetItem; - -public: - explicit QxtTreeWidget(QWidget* parent = 0); - virtual ~QxtTreeWidget(); - - Qxt::DecorationStyle decorationStyle() const; - void setDecorationStyle(Qxt::DecorationStyle style); - - Qt::TextElideMode elideMode() const; - void setElideMode(Qt::TextElideMode mode); - -signals: - void itemEditingStarted(QTreeWidgetItem* item); - void itemEditingFinished(QTreeWidgetItem* item); - void itemCheckStateChanged(QxtTreeWidgetItem* item); -}; - -#endif // QXTTREEWIDGET_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget_p.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget_p.h deleted file mode 100644 index ba80abdc..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidget_p.h +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTREEWIDGET_P_H -#define QXTTREEWIDGET_P_H - -#include "qxttreewidget.h" -#include "qxtpimpl.h" - -class QxtItemDelegate; - -class QxtTreeWidgetPrivate : public QObject, public QxtPrivate -{ - Q_OBJECT -public: - QXT_DECLARE_PUBLIC(QxtTreeWidget); - QxtTreeWidgetPrivate(); - QxtItemDelegate* delegate() const; - -private slots: - void informStartEditing(const QModelIndex& index); - void informFinishEditing(const QModelIndex& index); - void expandCollapse(QTreeWidgetItem* item); -}; - -#endif // QXTTREEWIDGET_P_H diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.cpp b/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.cpp deleted file mode 100644 index 42975e8f..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxttreewidgetitem.h" -#include "qxttreewidget.h" - -/*! - \class QxtTreeWidgetItem QxtTreeWidgetItem - \ingroup QxtGui - \brief An extended QTreeWidgetItem. - - QxtTreeWidgetItem provides means for offering check state change signals and - convenience methods for testing and setting flags. - - \sa QxtTreeWidget - */ - - -QxtTreeWidgetItem::QxtTreeWidgetItem(int type) - : QTreeWidgetItem(type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(const QStringList& strings, int type) - : QTreeWidgetItem(strings, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidget* parent, int type) - : QTreeWidgetItem(parent, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidget* parent, const QStringList& strings, int type) - : QTreeWidgetItem(parent, strings, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidget* parent, QTreeWidgetItem* preceding, int type) - : QTreeWidgetItem(parent, preceding, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidgetItem* parent, int type) - : QTreeWidgetItem(parent, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type) - : QTreeWidgetItem(parent, strings, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* preceding, int type) - : QTreeWidgetItem(parent, preceding, type) -{} - -QxtTreeWidgetItem::QxtTreeWidgetItem(const QxtTreeWidgetItem& other) - : QTreeWidgetItem(other) -{} - -QxtTreeWidgetItem::~QxtTreeWidgetItem() -{} - -/*! - Returns \b true if the \a flag is set, otherwise \b false. - - \sa setFlag(), QTreeWidgetItem::flags(), Qt::ItemFlag - */ -bool QxtTreeWidgetItem::testFlag(Qt::ItemFlag flag) const -{ - return (flags() & flag); -} - -/*! - If \a enabled is \b true, the item \a flag is enabled; otherwise, it is disabled. - - \sa testFlag(), QTreeWidgetItem::setFlags(), Qt::ItemFlag - */ -void QxtTreeWidgetItem::setFlag(Qt::ItemFlag flag, bool enabled) -{ - if (enabled) - setFlags(flags() | flag); - else - setFlags(flags() & ~flag); -} - -void QxtTreeWidgetItem::setData(int column, int role, const QVariant& value) -{ - if (role == Qt::CheckStateRole) - { - const Qt::CheckState newState = static_cast(value.toInt()); - const Qt::CheckState oldState = static_cast(data(column, role).toInt()); - - QTreeWidgetItem::setData(column, role, value); - - if (newState != oldState) - { - QxtTreeWidget* tree = qobject_cast(treeWidget()); - if (tree) - { - emit tree->itemCheckStateChanged(this); - } - } - } - else - { - QTreeWidgetItem::setData(column, role, value); - } -} diff --git a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.h b/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.h deleted file mode 100644 index b55c09c1..00000000 --- a/src/contrib/libqxt-2007-10-24/src/gui/qxttreewidgetitem.h +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtGui module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QXTTREEWIDGETITEM_H -#define QXTTREEWIDGETITEM_H - -#include -#include "qxtnamespace.h" -#include "qxtglobal.h" - -class QXT_GUI_EXPORT QxtTreeWidgetItem : public QTreeWidgetItem -{ -public: - explicit QxtTreeWidgetItem(int type = Type); - explicit QxtTreeWidgetItem(const QStringList& strings, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidget* parent, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidget* parent, const QStringList& strings, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidget* parent, QTreeWidgetItem* preceding, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidgetItem* parent, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type); - explicit QxtTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* preceding, int type = Type); - explicit QxtTreeWidgetItem(const QxtTreeWidgetItem& other); - virtual ~QxtTreeWidgetItem(); - - bool testFlag(Qt::ItemFlag flag) const; - void setFlag(Qt::ItemFlag flag, bool enabled = true); - -#ifndef QXT_DOXYGEN_RUN - virtual void setData(int column, int role, const QVariant& value); -#endif // QXT_DOXYGEN_RUN -}; - -#endif // QXTTREEWIDGETITEM_H diff --git a/src/contrib/libqxt-2007-10-24/src/network/network.pro b/src/contrib/libqxt-2007-10-24/src/network/network.pro deleted file mode 100644 index fd324c63..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/network.pro +++ /dev/null @@ -1,23 +0,0 @@ -TARGET = QxtNetwork -DESTDIR = ../../deploy/libs -DEPENDPATH += . -INCLUDEPATH += . ../core -DEFINES += BUILD_QXT_NETWORK -win32: CONFIG += dll -QT = core network -QXT = core -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -include(../../config.pri) - - - -HEADERS += qxtrpcpeer.h -SOURCES += qxtrpcpeer.cpp - - -#HEADERS += qxtnamedpipe.h -#SOURCES += qxtnamedpipe.cpp diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.cpp b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.cpp deleted file mode 100644 index 0513af7b..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtNetwork module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -/** -\class QxtNamedPipe QxtNamedPipe - -\ingroup QxtNetwork - -\brief Provides a QIODevice over a named pipe - -\note not part of 0.2.4 -*/ - - - - -#include "qxtnamedpipe.h" -#ifdef Q_OS_UNIX -# include -class QxtNamedPipePrivate : public QxtPrivate -{ -public: - QxtNamedPipePrivate() - {} - QXT_DECLARE_PUBLIC(QxtNamedPipe); - - QString pipeName; - int fd; -}; - -QxtNamedPipe::QxtNamedPipe(const QString& name, QObject* parent) : QAbstractSocket(QAbstractSocket::UnknownSocketType, parent) -{ - QXT_INIT_PRIVATE(QxtNamedPipe); - qxt_d().pipeName = name; - qxt_d().fd = 0; -} - -bool QxtNamedPipe::open(QIODevice::OpenMode mode) -{ - int m = O_RDWR; - - if (!(mode & QIODevice::ReadOnly)) ///FIXME: what? - m = O_WRONLY; - else if (!(mode & QIODevice::WriteOnly)) - m = O_RDONLY; - qxt_d().fd = ::open(qPrintable(qxt_d().pipeName), m); - - if (qxt_d().fd != 0) - { - setSocketDescriptor(qxt_d().fd, QAbstractSocket::ConnectedState, mode); - setOpenMode ( mode); - return true; - } - else - { - return false; - } -} - -bool QxtNamedPipe::open(const QString& name, QIODevice::OpenMode mode) -{ - qxt_d().pipeName = name; - return QxtNamedPipe::open(mode); -} - -void QxtNamedPipe::close() -{ - if (qxt_d().fd) ::close(qxt_d().fd); - setOpenMode(QIODevice::NotOpen); -} - -QByteArray QxtNamedPipe::readAvailableBytes() -{ - char ch; - QByteArray rv; - while (getChar(&ch)) rv += ch; - return rv; -} -#else -# error "No Windows implementation for QxtNamedPipe" -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.h b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.h deleted file mode 100644 index c8217bfa..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe.h +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtNetwork module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#ifndef QXTNAMEDPIPE_H -#define QXTNAMEDPIPE_H - -#include -#include -#include -#include -#include - -class QxtNamedPipePrivate; -class QXT_NETWORK_EXPORT QxtNamedPipe : public QAbstractSocket -{ - Q_OBJECT -public: - QxtNamedPipe(const QString& name = QString(), QObject* parent = 0); - - bool open(QIODevice::OpenMode mode); - bool open(const QString& name, QIODevice::OpenMode mode); - void close(); - - QByteArray readAvailableBytes(); - -private: - QXT_DECLARE_PRIVATE(QxtNamedPipe); -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_unix.cpp b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_unix.cpp deleted file mode 100644 index 2f5c7cf8..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_unix.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "QxtNamedPipe.h" -#ifdef Q_OS_UNIX -# include -#else -# error "No Windows implementation for QxtNamedPipe" -#endif - -class QxtNamedPipePrivate : public QxtPrivate -{ -public: - QxtNamedPipePrivate(); - QXT_DECLARE_PUBLIC(QxtNamedPipe); - - QString pipeName; - int fd; -}; - -QxtNamedPipe::QxtNamedPipe(const QString& name, QObject* parent) : QAbstractSocket(QAbstractSocket::UnknownSocketType, parent) -{ - QXT_INIT_PRIVATE(QxtNamedPipe); - qxt_d().pipeName = name; - qxt_d().fd = 0; -} - -bool QxtNamedPipe::open(QIODevice::OpenMode mode) -{ - int m = O_RDWR; - if (!(mode & QIODevice::ReadOnly)) m = O_WRONLY; - else if (!(mode & QIODevice::WriteOnly)) m = O_RDONLY; - qxt_d().fd = ::open(qPrintable(qxt_d().pipeName), m); - return (qxt_d().fd != 0); -} - -bool QxtNamedPipe::open(const QString& name, QIODevice::OpenMode mode) -{ - qxt_d().pipeName = name; - return QxtNamedPipe::open(mode); -} - -void QxtNamedPipe::close() -{ - if (qxt_d().fd) ::close(qxt_d().fd); -} - -QByteArray QxtNamedPipe::readAvailableBytes() -{ - char ch; - QByteArray rv; - while (getChar(&ch)) rv += ch; - return rv; -} diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.cpp b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.cpp deleted file mode 100644 index d7fc6da3..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include -#include -#include "qxtnamedpipe.h" - -#define BUFSIZE 4096 -#define PIPE_TIMEOUT (120*1000) /*120 seconds*/ - -#include "qxtnamedpipe_win_p.h" - -void QxtNamedPipePrivate::bytesAvailable() -{ - char chBuf[BUFSIZE]; - bool fSuccess = false; - DWORD cbRead = 0; - - do - { - // Read from the pipe. - - memset((void *)chBuf,0,BUFSIZE*sizeof(char)); - - fSuccess = ReadFile( - this->win32Handle, // pipe handle - chBuf, // buffer to receive reply - BUFSIZE*sizeof(char), // size of buffer - &cbRead, // number of bytes read - NULL); // not overlapped - - if (! fSuccess && GetLastError() != ERROR_MORE_DATA) - break; - - this->readBuffer.append(QByteArray(chBuf,cbRead)); - - } - while (!fSuccess); // repeat loop if ERROR_MORE_DATA - - emit readyRead(); -} - -QxtNamedPipe::QxtNamedPipe(const QString& name, QObject* parent) : QIODevice(parent) -{ - QXT_INIT_PRIVATE(QxtNamedPipe); - qxt_d().pipeName = name; - qxt_d().win32Handle = INVALID_HANDLE_VALUE; - qxt_d().fd = -1; - qxt_d().serverMode = false; - qxt_d().notify = 0; - -} - -bool QxtNamedPipe::open(QIODevice::OpenMode mode) -{ - int m = PIPE_ACCESS_DUPLEX; - int m_client = GENERIC_READ | GENERIC_WRITE; - - if (!(mode & QIODevice::ReadOnly)) - { - m = PIPE_ACCESS_OUTBOUND; - m_client = GENERIC_WRITE; - } - else if (!(mode & QIODevice::WriteOnly)) - { - m = PIPE_ACCESS_INBOUND; - m_client = GENERIC_READ; - } - - QString pipePrefix("\\\\.\\pipe\\"); - - // first try to open in client mode - qxt_d().win32Handle = CreateFileA(qPrintable(pipePrefix+qxt_d().pipeName), // pipe name - m_client, // read and write access - 0, // no sharing - NULL, // default security attributes - OPEN_EXISTING , // opens a pipe - 0, // default attributes - NULL); // no template file - - //if we have no success create the pipe and open it - if (qxt_d().win32Handle == NULL || qxt_d().win32Handle == INVALID_HANDLE_VALUE) - { - qxt_d().win32Handle = CreateNamedPipeA(qPrintable(pipePrefix+qxt_d().pipeName), //pipe Name must be \\.\pipe\userdefinedname - m, //read/write mode - PIPE_NOWAIT, //don't block - 1, //max number of instances 1 - BUFSIZE, //ouput buffer size allocate as needed - BUFSIZE, //input buffer size allocate as needed - PIPE_TIMEOUT, //default timeout value - NULL); //security attributes - if (qxt_d().win32Handle != NULL && qxt_d().win32Handle != INVALID_HANDLE_VALUE) - qxt_d().serverMode = true; - } - else - { - qxt_d().serverMode = false; - - DWORD pipeMode = PIPE_NOWAIT; - SetNamedPipeHandleState( - qxt_d().win32Handle, // pipe handle - &pipeMode, // new pipe mode - NULL, // don't set maximum bytes - NULL); // don't set maximum time - - } - - - if (qxt_d().win32Handle != NULL && qxt_d().win32Handle != INVALID_HANDLE_VALUE) - { - qxt_d().fd = _open_osfhandle((long)qxt_d().win32Handle,0); //FIXME that is not x64 compatible - setOpenMode ( mode); - - if (!qxt_d().notify) - qxt_d().notify = new QSocketNotifier(qxt_d().fd,QSocketNotifier::Read,this); - - qxt_d().notify->setEnabled(true); - connect(qxt_d().notify,SIGNAL(activated(int)),&qxt_d(),SLOT(bytesAvailable())); - connect(&qxt_d(),SIGNAL(readyRead()),this,SIGNAL(readyRead())); - - return true; - } - else - { - return false; - } -} - -bool QxtNamedPipe::open(const QString& name, QIODevice::OpenMode mode) -{ - qxt_d().pipeName = name; - return QxtNamedPipe::open(mode); -} - -void QxtNamedPipe::close() -{ - if (qxt_d().win32Handle != NULL && qxt_d().win32Handle != INVALID_HANDLE_VALUE) - { - FlushFileBuffers(qxt_d().win32Handle); - if (qxt_d().serverMode) - { - DisconnectNamedPipe(qxt_d().win32Handle); - } - - qxt_d().notify->setEnabled(false); - delete qxt_d().notify; - qxt_d().notify = 0; - qxt_d().readBuffer.clear(); - - //this will close native and C handle - _close(qxt_d().fd); - qxt_d().win32Handle = INVALID_HANDLE_VALUE; - qxt_d().fd = -1; - } - setOpenMode(QIODevice::NotOpen); -} - -QByteArray QxtNamedPipe::readAvailableBytes() -{ - char ch; - QByteArray rv; - while (getChar(&ch)) rv += ch; - return rv; -} - -qint64 QxtNamedPipe::bytesAvailable () const -{ - return qxt_d().readBuffer.size(); -} - -qint64 QxtNamedPipe::readData ( char * data, qint64 maxSize ) -{ - qint64 toRead = qxt_d().readBuffer.size() < maxSize ? qxt_d().readBuffer.size() : maxSize; - - memcpy(data,qxt_d().readBuffer.data(),toRead); - qxt_d().readBuffer.remove(0,toRead); - - return toRead; - -} - -qint64 QxtNamedPipe::writeData ( const char * data, qint64 maxSize ) -{ - DWORD bytesWritten = 0; - - bool fSuccess = WriteFile( - qxt_d().win32Handle, // pipe handle - data, // message - maxSize, // message length - &bytesWritten, // bytes written - NULL); // not overlapped - if (!fSuccess) - { - return -1; - } - return bytesWritten; -} - -bool QxtNamedPipe::isSequential () const -{ - return true; -} - diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.h b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.h deleted file mode 100644 index f231126c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef QXTNAMEDPIPE_H -#define QXTNAMEDPIPE_H - -#include -#include -#include -#include -#include - -class QxtNamedPipePrivate; - -class QXT_NETWORK_EXPORT QxtNamedPipe : public QIODevice -{ - Q_OBJECT - -public: - QxtNamedPipe(const QString& name = QString(), QObject* parent = 0); - virtual bool isSequential () const; - - virtual qint64 bytesAvailable () const; - virtual qint64 readData ( char * data, qint64 maxSize ); - virtual qint64 writeData ( const char * data, qint64 maxSize ); - - bool open(QIODevice::OpenMode mode); - bool open(const QString& name, QIODevice::OpenMode mode); - void close(); - - QByteArray readAvailableBytes(); - -private: - QXT_DECLARE_PRIVATE(QxtNamedPipe); -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win_p.h b/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win_p.h deleted file mode 100644 index 321c34e0..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtnamedpipe_win_p.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef QXTNAMEDPIPEPRIVATE_WIN_H_INCLUDED -#define QXTNAMEDPIPEPRIVATE_WIN_H_INCLUDED - -#include -#include -#include -#include -#include "qxtpimpl.h" - -class QSocketNotifier; -class QxtNamedPipe; - -class QxtNamedPipePrivate : public QObject, public QxtPrivate -{ - Q_OBJECT -public: - QxtNamedPipePrivate() - {} - QXT_DECLARE_PUBLIC(QxtNamedPipe); - QString pipeName; - HANDLE win32Handle; - int fd; - bool serverMode; - QSocketNotifier * notify; - QByteArray readBuffer; - -signals: - void readyRead(); - -public slots: - void bytesAvailable(); - -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.cpp b/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.cpp deleted file mode 100644 index 58a6bf9a..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.cpp +++ /dev/null @@ -1,710 +0,0 @@ -/**************************************************************************** - ** - ** Copyright (C) Qxt Foundation. Some rights reserved. - ** - ** This file is part of the QxtNetwork module of the Qt eXTension library - ** - ** This library is free software; you can redistribute it and/or modify it - ** under the terms of th Common Public License, version 1.0, as published by - ** IBM. - ** - ** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY - ** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY - ** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR - ** FITNESS FOR A PARTICULAR PURPOSE. - ** - ** You should have received a copy of the CPL along with this file. - ** See the LICENSE file and the cpl1.0.txt file included with the source - ** distribution for more information. If you did not receive a copy of the - ** license, contact the Qxt Foundation. - ** - ** - ** - ****************************************************************************/ - -#include "qxtrpcpeer.h" -#include -#include -#include -#include -#include -#include -#include -#include "qxtmetaobject.h" -#include - -class QxtIntrospector: public QObject -{ -// This class MANUALLY implements the necessary parts of QObject. -// Do NOT add the Q_OBJECT macro. As this class isn't intended -// for direct use, it doesn't offer any sort of useful meta-object. -public: - QxtIntrospector(QxtRPCPeer* parent, QObject* source, const char* signal); - - int qt_metacall(QMetaObject::Call _c, int _id, void **_a); - - QString rpcFunction; - -private: - QxtRPCPeer* peer; - QList argTypes; -}; - -struct QxtRPCConnection -{ - QTcpSocket* socket; - QByteArray buffer; - QString lastMethod; -}; - -class QxtRPCPeerPrivate : public QxtPrivate, public QTcpServer -{ -public: - QXT_DECLARE_PUBLIC(QxtRPCPeer); - - void incomingConnection ( int socketDescriptor ); - - - void receivePeerSignal(QString fn, QVariant p0 = QVariant(), QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), - QVariant p4 = QVariant(), QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant(), QVariant p8 = QVariant()) const; - void receiveClientSignal(quint64 id, QString fn, QVariant p0 = QVariant(), QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), - QVariant p4 = QVariant(), QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant()) const; - - void processInput(QIODevice* socket, QByteArray& buffer); - - // Object -> introspector for each signal - QMultiHash attachedSignals; - // RPC function -> (object, slot ID) - typedef QPair MethodID; - QHash > attachedSlots; - - typedef QHash ConnHash; - ConnHash m_clients; - QIODevice* m_peer; - - QByteArray m_buffer; - int m_rpctype; - - - QStack pending_connections; - -}; - -QxtRPCPeer::QxtRPCPeer(QObject* parent) : QObject(parent) -{ - QXT_INIT_PRIVATE(QxtRPCPeer); - qxt_d().m_rpctype = Peer; - qxt_d().m_peer = new QTcpSocket(this); - QObject::connect(qxt_d().m_peer, SIGNAL(connected()), this, SIGNAL(peerConnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SIGNAL(peerDisconnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SLOT(disconnectSender())); - QObject::connect(qxt_d().m_peer, SIGNAL(readyRead()), this, SLOT(dataAvailable())); - QObject::connect(qxt_d().m_peer, SIGNAL(error(QAbstractSocket::SocketError)), this, SIGNAL(peerError(QAbstractSocket::SocketError))); -} - - -QxtRPCPeer::QxtRPCPeer(RPCTypes type, QObject* parent) : QObject(parent) -{ - QXT_INIT_PRIVATE(QxtRPCPeer); - qxt_d().m_rpctype = type; - qxt_d().m_peer = new QTcpSocket(this); - QObject::connect(qxt_d().m_peer, SIGNAL(connected()), this, SIGNAL(peerConnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SIGNAL(peerDisconnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SLOT(disconnectSender())); - QObject::connect(qxt_d().m_peer, SIGNAL(readyRead()), this, SLOT(dataAvailable())); - QObject::connect(qxt_d().m_peer, SIGNAL(error(QAbstractSocket::SocketError)), this, SIGNAL(peerError(QAbstractSocket::SocketError))); -} - - -QxtRPCPeer::QxtRPCPeer(QIODevice* device, RPCTypes type, QObject* parent) : QObject(parent) -{ - if (!device->isOpen()) - { - qWarning("QxtRPCPeer::the device you passed is not open!"); - } - - QXT_INIT_PRIVATE(QxtRPCPeer); - qxt_d().m_rpctype = type; - qxt_d().m_peer = device; - - if (qobject_cast(device)!=0) - { - QObject::connect(qxt_d().m_peer, SIGNAL(connected()), this, SIGNAL(peerConnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SIGNAL(peerDisconnected())); - QObject::connect(qxt_d().m_peer, SIGNAL(disconnected()), this, SLOT(disconnectSender())); - QObject::connect(qxt_d().m_peer, SIGNAL(error(QAbstractSocket::SocketError)), this, SIGNAL(peerError(QAbstractSocket::SocketError))); - } - QObject::connect(qxt_d().m_peer, SIGNAL(readyRead()), this, SLOT(dataAvailable())); -} - - -void QxtRPCPeer::setRPCType(RPCTypes type) -{ - if (qxt_d().m_peer->isOpen () || qxt_d().isListening()) - { - qWarning() << "QxtRPCPeer: Cannot change RPC types while connected or listening"; - return; - } - qxt_d().m_rpctype = type; -} - - -QxtRPCPeer::RPCTypes QxtRPCPeer::rpcType() const -{ - return (RPCTypes)(qxt_d().m_rpctype); -} - - -void QxtRPCPeer::connect(QHostAddress addr, int port) -{ - if (qxt_d().m_rpctype == Server) - { - qWarning() << "QxtRPCPeer: Cannot connect outward in Server mode"; - return; - } - - QAbstractSocket * sock = qobject_cast(qxt_d().m_peer); - if (!sock) - { - qWarning("QxtRPCPeer: cannot connect a custom QIODevice"); - return; - } - - if (sock->state()!=QAbstractSocket::UnconnectedState) - { - qWarning("QxtRPCPeer: Already connected"); - return; - } - - sock->connectToHost(addr, port); -} - - -bool QxtRPCPeer::listen(QHostAddress iface, int port) -{ - if (qxt_d().m_rpctype == Client) - { - qWarning() << "QxtRPCPeer: Cannot listen in Client mode"; - return false; - } - else if (qxt_d().m_rpctype == Peer && qxt_d().m_peer->isOpen ()) - { - qWarning() << "QxtRPCPeer: Cannot listen while connected to a peer"; - return false; - } - else if (qxt_d().isListening()) - { - qWarning() << "QxtRPCPeer: Already listening"; - return false; - } - return qxt_d().listen(iface, port); -} - - -void QxtRPCPeer::disconnectPeer(quint64 id) -{ - if (qxt_d().m_rpctype == Server && id==(quint64)-1) - { - qWarning() << "QxtRPCPeer: Server mode does not have a peer"; - return; - } - else if (qxt_d().m_rpctype!= Server && id!=(quint64)-1) - { - qWarning() << "QxtRPCPeer: Must specify a client ID to disconnect"; - return; - } - QxtRPCConnection* conn; - if (id==(quint64)-1) - { - qxt_d().m_peer->close(); - ///hackaround for qt bug - QAbstractSocket *s =qobject_cast( qxt_d().m_peer); - if (s) - s->disconnectFromHost(); - - } - else if ((conn = qxt_d().m_clients.take((QObject*)(id)))!= 0) - { - conn->socket->disconnectFromHost(); - conn->socket->deleteLater(); - delete conn; - } - else - { - qWarning() << "QxtRPCPeer: no client with id " << id; - } -} - - -void QxtRPCPeer::disconnectAll() -{ - if (qxt_d().m_rpctype!= Server) - disconnectPeer(); - else - { - for (QxtRPCPeerPrivate::ConnHash::const_iterator i = qxt_d().m_clients.constBegin(); i!= qxt_d().m_clients.constEnd(); i++) - { - (*i)->socket->deleteLater(); - delete *i; - } - qxt_d().m_clients.clear(); - } -} - - -void QxtRPCPeer::stopListening() -{ - if (!qxt_d().isListening()) - { - qWarning() << "QxtRPCPeer: Not listening"; - return; - } - qxt_d().close(); -} - - -bool QxtRPCPeer::attachSignal(QObject* sender, const char* signal, const QByteArray& rpcFunction) -{ - const QMetaObject* meta = sender->metaObject(); - QByteArray sig(meta->normalizedSignature(signal).mid(1)); - int methodID = meta->indexOfMethod(sig.constData()); - if (methodID == -1 || meta->method(methodID).methodType() != QMetaMethod::Signal) - { - qWarning() << "QxtRPCPeer::attachSignal: No such signal " << signal; - return false; - } - - - QxtIntrospector* spec = new QxtIntrospector(this, sender, signal); - if (!rpcFunction.isEmpty()) - { - if (QxtMetaObject::isSignalOrSlot(rpcFunction.constData())) - { - spec->rpcFunction = QMetaObject::normalizedSignature(rpcFunction); - } - else - { - spec->rpcFunction = rpcFunction.simplified(); - } - } - else - { - spec->rpcFunction = QMetaObject::normalizedSignature(signal); - } - qxt_d().attachedSignals.insertMulti(sender, spec); - return true; -} - - -bool QxtRPCPeer::attachSlot(const QByteArray& rpcFunction, QObject* recv, const char* slot) -{ - const QMetaObject* meta = recv->metaObject(); - int methodID = meta->indexOfMethod(meta->normalizedSignature(slot).mid(1)); - if (methodID == -1 || meta->method(methodID).methodType() == QMetaMethod::Method) - { - qWarning() << "QxtRPCPeer::attachSlot: No such slot " << slot; - return false; - } - - QString fn; - - if (QxtMetaObject::isSignalOrSlot(rpcFunction.constData())) - { - fn = QMetaObject::normalizedSignature(rpcFunction.constData()); - } - else - { - fn = rpcFunction.simplified(); - } - - qxt_d().attachedSlots[fn].append(QPair(recv, recv->metaObject()->indexOfMethod(recv->metaObject()->normalizedSignature(slot).mid(1)))); - return true; -} - - -void QxtRPCPeer::detachSender() -{ - detachObject(sender()); -} - - -void QxtRPCPeer::detachObject(QObject* obj) -{ - foreach(QxtIntrospector* i, qxt_d().attachedSignals.values(obj)) i->deleteLater(); - qxt_d().attachedSignals.remove(obj); - foreach(QString slot, qxt_d().attachedSlots.keys()) - { - for (QList >::iterator i(qxt_d().attachedSlots[slot].begin()); - i!= qxt_d().attachedSlots[slot].end(); ) - { - if ((*i).first == obj) - i = qxt_d().attachedSlots[slot].erase(i); - else - i++; - } - } -} - - -QByteArray QxtRPCPeer::serialize(QString fn, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8, QVariant p9) const -{ - QByteArray rv; - QDataStream str(&rv, QIODevice::WriteOnly); - str << fn; - unsigned char ct = 9; - if (p1.isNull()) ct = 0; - else if (p2.isNull()) ct = 1; - else if (p3.isNull()) ct = 2; - else if (p4.isNull()) ct = 3; - else if (p5.isNull()) ct = 4; - else if (p6.isNull()) ct = 5; - else if (p7.isNull()) ct = 6; - else if (p8.isNull()) ct = 7; - else if (p9.isNull()) ct = 8; - str << ct; - if (ct-- >0 ) str << p1; - if (ct-- >0) str << p2; - if (ct-- >0) str << p3; - if (ct-- >0) str << p4; - if (ct-- >0) str << p5; - if (ct-- >0) str << p6; - if (ct-- >0) str << p7; - if (ct-- >0) str << p8; - if (ct-- >0) str << p9; - rv.replace(QByteArray("\\"), QByteArray("\\\\")); - rv.replace(QByteArray("\n"), QByteArray("\\n")); - rv.append("\n"); - return rv; -} - - -void QxtRPCPeer::call(const char * signal , QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8, QVariant p9) -{ - - QByteArray sig=QMetaObject::normalizedSignature(signal); - - QAbstractSocket * sock = qobject_cast(qxt_d().m_peer); - if (!qxt_d().m_peer->isOpen () || ( sock && sock->state()!=QAbstractSocket::ConnectedState )) - { - qWarning("can't call on a closed device"); - return; - } - qxt_d().m_peer->write(serialize(sig, p1, p2, p3, p4, p5, p6, p7, p8, p9)); -} - - -void QxtRPCPeer::callClientList(QList ids, QString fn, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8) -{ - QByteArray c = serialize(fn, p1, p2, p3, p4, p5, p6, p7, p8, QVariant()); - foreach(quint64 id, ids) - { - QxtRPCConnection* conn = qxt_d().m_clients.value((QObject*)(id)); - if (!conn) - { - qWarning() << "QxtRPCPeer: no client with id" << id; - } - else - { - conn->socket->write(c); - } - } -} - - -void QxtRPCPeer::callClient(quint64 id, QString fn, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8) -{ - callClientList(QList() << id, fn, p1, p2, p3, p4, p5, p6, p7, p8); -} - - -void QxtRPCPeer::callClientsExcept(quint64 id, QString fn, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8) -{ - QList cs = clients(); - cs.removeAll(id); - callClientList(cs, fn, p1, p2, p3, p4, p5, p6, p7, p8); -} - - -#define QXT_ARG(i) ((numParams>i)?QGenericArgument(p ## i .typeName(), p ## i .constData()):QGenericArgument()) -void QxtRPCPeerPrivate::receivePeerSignal(QString fn, QVariant p0, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8) const -{ - QByteArray sig; - int numParams; - foreach(QxtRPCPeerPrivate::MethodID i, attachedSlots.value(fn)) - { - sig = i.first->metaObject()->method(i.second).signature(); - sig = sig.left(sig.indexOf('(')); - numParams = i.first->metaObject()->method(i.second).parameterTypes().count(); - if(!QMetaObject::invokeMethod(i.first, sig, QXT_ARG(0), QXT_ARG(1), QXT_ARG(2), QXT_ARG(3), QXT_ARG(4), QXT_ARG(5), QXT_ARG(6), QXT_ARG(7), QXT_ARG(8))) - { - qWarning("QxtRPCPeerPrivate::receivePeerSignal: invokeMethod for \"%s\" failed ",sig.constData()); - } - } -} - - -void QxtRPCPeerPrivate::receiveClientSignal(quint64 id, QString fn, QVariant p0, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7) const -{ - QByteArray sig; - int numParams; - foreach(QxtRPCPeerPrivate::MethodID i, attachedSlots.value(fn)) - { - sig = i.first->metaObject()->method(i.second).signature(); - sig = sig.left(sig.indexOf('(')); - numParams = i.first->metaObject()->method(i.second).parameterTypes().count(); - if(!QMetaObject::invokeMethod(i.first, sig, Q_ARG(quint64, id), QXT_ARG(0), QXT_ARG(1), QXT_ARG(2), QXT_ARG(3), QXT_ARG(4), QXT_ARG(5), QXT_ARG(6), QXT_ARG(7))) - { - qWarning("QxtRPCPeerPrivate::receiveClientSignal: invokeMethod for \"%s\" failed ",sig.constData()); - } - } -} - - -#undef QXT_ARG - -void QxtRPCPeerPrivate::incomingConnection ( int socketDescriptor ) -{ - QTcpSocket* next = qxt_p().incomingConnection(socketDescriptor); - if (m_rpctype == QxtRPCPeer::Peer) - { - if (m_peer->isOpen ()) - { - qWarning() << "QxtRPCPeer: Rejected connection from " << next->peerAddress().toString() << "; another peer is connected"; - next->disconnectFromHost(); - next->deleteLater(); - } - else - { - m_peer->deleteLater(); - m_peer = next; - QObject::connect(m_peer, SIGNAL(connected()), &qxt_p(), SIGNAL(peerConnected())); - QObject::connect(m_peer, SIGNAL(disconnected()), &qxt_p(), SIGNAL(peerDisconnected())); - QObject::connect(m_peer, SIGNAL(disconnected()), &qxt_p(), SLOT(disconnectSender())); - QObject::connect(m_peer, SIGNAL(readyRead()), &qxt_p(), SLOT(dataAvailable())); - QObject::connect(m_peer, SIGNAL(error(QAbstractSocket::SocketError)), &qxt_p(), SIGNAL(peerError(QAbstractSocket::SocketError))); - emit qxt_p().peerConnected(); - } - } - else - { - QxtRPCConnection* conn = new QxtRPCConnection; - conn->socket = next; - m_clients[next] = conn; - QObject::connect(next, SIGNAL(disconnected()), &qxt_p(), SLOT(disconnectSender())); - QObject::connect(next, SIGNAL(readyRead()), &qxt_p(), SLOT(dataAvailable())); - QObject::connect(next, SIGNAL(error(QAbstractSocket::SocketError)), &qxt_p(), SIGNAL(peerError(QAbstractSocket::SocketError))); - emit qxt_p().clientConnected((quint64)(next)); - } -} - - -void QxtRPCPeer::dataAvailable() -{ - if (qxt_d().m_rpctype!=QxtRPCPeer::Server && qxt_d().m_peer==sender()) - { - qxt_d().m_buffer.append(qxt_d().m_peer->readAll()); - qxt_d().processInput(qxt_d().m_peer, qxt_d().m_buffer); - return; - } - else - { - QxtRPCConnection* conn = qxt_d().m_clients.value(sender()); - if (!conn) - { - qWarning() << "QxtRPCPeer: Unrecognized client object connected to dataAvailable"; - return; - } - conn->buffer.append(conn->socket->readAll()); - qxt_d().processInput(conn->socket, (conn->buffer)); - return; - } - qWarning() << "QxtRPCPeer: Unrecognized peer object connected to dataAvailable"; -} - - -void QxtRPCPeer::disconnectSender() -{ - QxtRPCConnection* conn = qxt_d().m_clients.value(sender()); - if (!conn) - { - if (qxt_d().m_peer!= qobject_cast(sender())) - { - qWarning() << "QxtRPCPeer: Unrecognized object connected to disconnectSender"; - return; - } - qxt_d().m_buffer.append(qxt_d().m_peer->readAll()); - qxt_d().m_buffer.append("\n"); - qxt_d().processInput(qxt_d().m_peer, qxt_d().m_buffer); - qxt_d().m_buffer.clear(); - emit clientDisconnected((quint64)(sender())); - return; - } - conn->buffer.append(conn->socket->readAll()); - conn->buffer.append("\n"); - qxt_d().processInput(conn->socket, conn->buffer); - conn->socket->deleteLater(); - delete conn; - qxt_d().m_clients.remove(sender()); -} - - -void QxtRPCPeerPrivate::processInput(QIODevice* socket, QByteArray& buffer) -{ - while (qxt_p().canDeserialize(buffer)) - { - QPair > sig = qxt_p().deserialize(buffer); - if (sig.first.isEmpty()) - { - if (sig.second.count()) - { - qWarning() << "QxtRPCPeer: Invalid data received; disconnecting"; - if (socket == m_peer) - qxt_p().disconnectPeer(); - else - qxt_p().disconnectPeer((quint64)(socket)); - return; - } - continue; - } - while (sig.second.count() < 9) sig.second << QVariant(); - if (socket == m_peer) - { - receivePeerSignal(sig.first, sig.second[0], sig.second[1], sig.second[2], sig.second[3], sig.second[4], sig.second[5], sig.second[6], sig.second[7], sig.second[8]); - } - else - { - receiveClientSignal((quint64)(socket), sig.first, sig.second[0], sig.second[1], sig.second[2], sig.second[3], sig.second[4], sig.second[5], sig.second[6], sig.second[7]); - } - } -} - - -QList QxtRPCPeer::clients() const -{ - QList rv; - QList cs = qxt_d().m_clients.keys(); - foreach(QObject* id, cs) rv << (const quint64)(id); - return rv; -} - - -QxtIntrospector::QxtIntrospector(QxtRPCPeer* parent, QObject* source, const char* signal): QObject(parent) -{ - peer = parent; - QByteArray sig_ba = QMetaObject::normalizedSignature(QByteArray(signal).mid(1)); - const char * sig=sig_ba.constData(); - int idx = source->metaObject()->indexOfSignal(sig); - if (idx<0) - qWarning("no such signal: %s",sig_ba.constData()); - -// Our "method" will have the first ID not used by the superclass. - QMetaObject::connect(source, idx, this, QObject::staticMetaObject.methodCount()); - QObject::connect(source, SIGNAL(destroyed()), peer, SLOT(detachSender())); - QList p = source->metaObject()->method(idx).parameterTypes(); - int ct = p.count(); - for (int i=0; icall(rpcFunction.toUtf8().constData(), v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], v[8]); - } - _id -= 1; - } - return _id; -} - - -QPair > QxtRPCPeer::deserialize(QByteArray& data) -{ - QByteArray cmd; - int pos = data.indexOf('\n'); - cmd = data.left(pos-1); - data = data.mid(pos+1); - if (cmd.length()==0) return qMakePair(QString(), QList()); - cmd.replace(QByteArray("\\n"), QByteArray("\n")); - cmd.replace(QByteArray("\\\\"), QByteArray("\\")); - QDataStream str(cmd); - QString signal; - unsigned char argCount; - QList v; - QVariant t; - str >> signal >> argCount; - - if (str.status() == QDataStream::ReadCorruptData) - { - v << QVariant(); - return qMakePair(QString(), v); - } - - for (int i=0; i> t; - v << t; - } - return qMakePair(signal, v); -} - - -bool QxtRPCPeer::canDeserialize(const QByteArray& buffer) const -{ - if (buffer.indexOf('\n') == -1) - { - return false; - } - return true; - -} - - - - -QIODevice * QxtRPCPeer::socket() -{ - if (qxt_d().m_rpctype == Server)return 0; - return qxt_d().m_peer; -} - - - - -QTcpSocket * QxtRPCPeer::incomingConnection ( int socketDescriptor ) -{ - QTcpSocket * t = new QTcpSocket; - t->setSocketDescriptor (socketDescriptor); - return t; -} - - - - -const QTcpSocket * QxtRPCPeer::clientSocket(quint64 id) const - { - if (qxt_d().m_rpctype != Server) - return 0; - - return qxt_d().m_clients[(QTcpSocket*)(id)]->socket; - } -QList QxtRPCPeer::clients() - { - QList list; - foreach(QObject * o,qxt_d().m_clients.keys ()) - { - list.append((quint64)o); - } - return list; - } - - - diff --git a/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.h b/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.h deleted file mode 100644 index 1584211e..00000000 --- a/src/contrib/libqxt-2007-10-24/src/network/qxtrpcpeer.h +++ /dev/null @@ -1,313 +0,0 @@ -/**************************************************************************** - ** - ** Copyright (C) Qxt Foundation. Some rights reserved. - ** - ** This file is part of the QxtNetwork module of the Qt eXTension library - ** - ** This library is free software; you can redistribute it and/or modify it - ** under the terms of th Common Public License, version 1.0, as published by - ** IBM. - ** - ** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY - ** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY - ** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR - ** FITNESS FOR A PARTICULAR PURPOSE. - ** - ** You should have received a copy of the CPL along with this file. - ** See the LICENSE file and the cpl1.0.txt file included with the source - ** distribution for more information. If you did not receive a copy of the - ** license, contact the Qxt Foundation. - ** - ** - ** - ****************************************************************************/ - -#ifndef QXTRPCPEER -#define QXTRPCPEER - -#include -#include -#include -#include -#include -#include -#include -#include -class QTcpSocket; -class QxtRPCPeerPrivate; -/*! - * \class QxtRPCPeer QxtRPCPeer - * \ingroup QxtNetwork - * \brief Transmits Qt signals over a network connection - * - * QxtRPCPeer is a tool that encapsulates Qt signals and transmits them over a network connection. - * The signal is subsequently re-emitted on the receiving end of the connection. - * - * QxtRPCPeer can operate in peer-to-peer mode (that is, one-to-one) or client-server (that is, one-to-many) mode. - * In peer or server mode, QxtRPCPeer can listen for and accept incoming connections. In peer or client mode, - * QxtRPCPeer can connect to a listening peer or server. - * - * All data types used in attached signals and slots must be declared and registered with QMetaType using - * Q_DECLARE_METATYPE and qRegisterMetaType, and they must have stream operators registered with qRegisterMetaTypeStreamOperators. - * - * The limits on the number of parameters passed to call() and related functions are a restriction of Qt, - * which limits parameters on a signal or slot to 10. - */ -class QXT_NETWORK_EXPORT QxtRPCPeer : public QObject -{ - Q_OBJECT -public: - - /*! - * This enum is used with the \a setRPCType() to describe the role played in a connection. It is also returned by \a rpcType(). - */ - enum RPCTypes - { - Server, /**< Listen for clients and accept multiple connections. */ - Client, /**< Connect to a server. */ - Peer /**< Listen for a connection or connect to a peer. */ - }; - - /*! - * Creates a QxtRPCPeer object with the given parent. Unless changed later, this object will use Peer mode and QTcpSocket for its I/O device. - */ - QxtRPCPeer(QObject* parent = 0); - - /*! - * Creates a QxtRPCPeer object with the given parent and type. Unless changed later, this object will use QTcpSocket for its I/O device. - */ - QxtRPCPeer(RPCTypes type, QObject* parent = 0); - - /*! - * Creates a QxtRPCPeer object with the given parent and type and connects it to the specified I/O device. - * - * Note that the I/O device must already be opened for reading and writing. This constructor cannot be used for Server mode. - */ - QxtRPCPeer(QIODevice* device, RPCTypes type = QxtRPCPeer::Peer, QObject* parent = 0); - - /*! - * Sets the RPC type. - * - * Attempting to change the RPC type while listening or connected will be ignored with a warning. - */ - void setRPCType(RPCTypes type); - - /*! - * Returns the current RPC type. - */ - RPCTypes rpcType() const; - - /*! - * Connects to the specified peer or server on the selected port. - * - * When the connection is complete, the \a peerConnected() signal will be emitted. If an error occurs, the \a peerError() signal will be emitted. - */ - void connect(QHostAddress addr, int port = 80); - - /*! - * Listens on the specified interface on the specified port for connections. - * - * Attempting to listen while in Client mode or while connected in Peer mode will be ignored with a warning. In Peer mode, only one connection - * can be active at a time. Additional incoming connections while connected to a peer will be dropped. When a peer connects, the \a peerConnected() - * signal will be emitted. In Server mode, multiple connections can be active at a time. Each client that connects will be provided a unique ID, - * included in the \a clientConnected() signal that will be emitted. - */ - bool listen(QHostAddress iface = QHostAddress::Any, int port = 80); - - /*! - * Disconnects from a server, client, or peer. - * - * Servers must provide a client ID, provided by the \a clientConnected() signal; clients and peers must not. - */ - void disconnectPeer(quint64 id = -1); - - /*! - * Disconnects from all clients, or from the server or peer. - */ - void disconnectAll(); - - /*! - * Stops listening for connections. Any connections still open will remain connected. - */ - void stopListening(); - - /*! - * Returns a list of client IDs for all connected clients. - */ - QList clients() const; - - /*! - * Attaches the given signal. - * - * When the attached signal is emitted, it will be transmitted to all connected servers, clients, or peers. - * If an optional rpcFunction is provided, it will be used in place of the name of the transmitted signal. - * Use the SIGNAL() macro to specify the signal, just as you would for QObject::connect(). - * - * Like QObject::connect(), attachSignal returns false if the connection cannot be established. - */ - bool attachSignal(QObject* sender, const char* signal, const QByteArray& rpcFunction = QByteArray()); - - /*! - * Attaches the given slot. - * - * When a signal with the name given by rpcFunction is received from the network, the attached slot is executed. - * Use the SLOT() macro to specify the slot, just as you would for QObject::connect(). - * - * Like QObject::connect(), attachSignal returns false if the connection cannot be established. - * - * \Note In Server mode, the first parameter of the slot must be int id. The parameters of the signal follow. - * For example, SIGNAL(mySignal(QString)) from the client connects to SLOT(mySlot(int, QString)) on the server. - */ - bool attachSlot(const QByteArray& rpcFunction, QObject* recv, const char* slot); - - /*! - * Detaches all signals and slots for the given object. - */ - void detachObject(QObject* obj); - - - /*! - * Returns the current used iodevice (might be asocket or a custom iodevie) in client and peer mode. - * returns 0 for server mode - */ - QIODevice * socket(); - -public slots: - /*! - * Sends the signal fn with the given parameter list to the server or peer. - * - * This function accepts up to 9 QVariant parameters. - * - * The receiver is not obligated to act upon the signal. If no server or peer is connected, the call is ignored. - * In particular, this function does nothing in Server mode. - */ - void call(const char *signal, QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), QVariant p4 = QVariant(), - QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant(), QVariant p8 = QVariant(), QVariant p9 = QVariant()); - - /*! - * Sends the signal with the given parameter list to the provided list of clients. - * - * This function accepts up to 8 QVariant parameters. - * - * The receivers are not obligated to act upon the signal. If no client is connected with a provided ID, the ID - * is ignored with a warning. - */ - void callClientList(QList ids, QString fn, QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), QVariant p4 = QVariant(), - QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant(), QVariant p8 = QVariant()); - - /*! - * Sends the signal fn with the given parameter list to the specified client. - * - * This function accepts up to 8 QVariant parameters. - * - * The receiver is not obligated to act upon the signal. If no client with the given ID is connected, the call will be ignored with a warning. - */ - void callClient(quint64 id, QString fn, QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), QVariant p4 = QVariant(), - QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant(), QVariant p8 = QVariant()); - - /*! - * Sends the signal fn with the given parameter list to all connected clients except for the client specified. - * - * This function accepts up to 8 QVariant parameters. - * - * The receiver is not obligated to act upon the signal. This function is useful for rebroadcasting a signal from one client - * to all other connected clients. - */ - void callClientsExcept(quint64 id, QString fn, QVariant p1 = QVariant(), QVariant p2 = QVariant(), QVariant p3 = QVariant(), QVariant p4 = QVariant(), - QVariant p5 = QVariant(), QVariant p6 = QVariant(), QVariant p7 = QVariant(), QVariant p8 = QVariant()); - - /*! - * Detaches all signals and slots for the object that emitted the signal connected to detachSender(). - */ - void detachSender(); - - /*! - * gives Access to the socket of the client \n - * usefull to get information about the client, like adress, port, etc..\n - * returns 0 when not in server mode or if the client \p id does not exist. - */ - - const QTcpSocket * clientSocket(quint64 id) const; - - /*! - * returns alist of all clients currently connected \n - * returns an empty List when not in server mode - */ - - QList clients(); - -signals: - /*! - * This signal is emitted after a successful connection to or from a peer or server. - */ - void peerConnected(); - - /*! - * This signal is emitted after a successful connection from a client. - * - * The given ID is used for disconnectPeer(), callClient(), and related functions. - */ - void clientConnected(quint64 id); - - /*! - * This signal is emitted when a peer or server is disconnected. - */ - void peerDisconnected(); - - /*! - * This signal is emitted when a client disconnects. The given ID is no longer valid. - */ - void clientDisconnected(quint64 id); - - /*! - * This signal is emitted whenever an error occurs on a socket. - * - * Currently, no information about the socket that raised the error is available. - */ - void peerError(QAbstractSocket::SocketError); - -protected: - /*! - * Serializes a signal into a form suitable for transmitting over the network. - * - * Reimplement this function in a subclass to allow QxtRPCPeer to use a different protocol. - */ - virtual QByteArray serialize(QString fn, QVariant p1, QVariant p2, QVariant p3, QVariant p4, QVariant p5, QVariant p6, QVariant p7, QVariant p8, QVariant p9) const; - - /*! - * Deserializes network data into a signal name and a list of parameters. - * - * Reimplement this function in a subclass to allow QxtRPCPeer to understand a different protocol. - * If you reimplement it, be sure to remove the processed portion of the data from the reference parameter. - * Return "qMakePair(QString(), QList())" if the deserialized data doesn't invoke a signal. - * Return "qMakePair(QString(), QList() << QVariant())" if the protocol has been violated and - * the connection should be severed. - */ - virtual QPair > deserialize(QByteArray& data); - - /*! - * Indicates whether the data currently received from the network can be deserialized. - * - * The default behavior of this function returns true if the buffer contains a newline character. - * - * Reimplement this function in a subclass to allow QxtRPCPeer to understand a different protocol. - */ - virtual bool canDeserialize(const QByteArray& buffer) const; - - - - /*! - * is called in Server mode when a new connection is available. the default implementation returns a new QTCPSocket - * for the \p socketDescriptor - */ - virtual QTcpSocket * incomingConnection ( int socketDescriptor ); - - -private: - QXT_DECLARE_PRIVATE(QxtRPCPeer); - -private slots: - void dataAvailable(); - void disconnectSender(); -}; -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackage.cpp b/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackage.cpp deleted file mode 100644 index 01b8cc41..00000000 --- a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackage.cpp +++ /dev/null @@ -1,195 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtSql module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#include "qxtsqlpackage.h" -#include -#include - -QxtSqlPackage::QxtSqlPackage(QObject *parent) : QObject(parent) -{ - record = -1; -} - -QxtSqlPackage::QxtSqlPackage(const QxtSqlPackage & other, QObject *parent) : QObject(parent) -{ - record = -1; - - setData(other.data()); -} - -bool QxtSqlPackage::isValid() -{ - if ((record >= 0) && (record < map.count())) - return true; - else - return false; -} - -int QxtSqlPackage::at() -{ - return record; -} - -bool QxtSqlPackage::next() -{ - record++; - if (record > (map.count()-1)) - { - last(); - return false; - } - - return true; -} - -bool QxtSqlPackage::last() -{ - record=map.count()-1; - if (record >= 0) - return true; - else - return false; -} - -bool QxtSqlPackage::first() -{ - if (map.count()) - { - record=0; - return true; - } - else - { - record=-1; - return false; - } -} - -QString QxtSqlPackage::value(const QString& key) -{ - if ((record<0) || !map.count()) return QString(); - - return map.at(record).value(key); -} - - - -void QxtSqlPackage::insert(QSqlQuery query) -{ - map.clear(); - record=-1; - - /*query will be invalid if next is not called first*/ - if (!query.isValid()) - query.next(); - - QSqlRecord infoRecord = query.record(); - int iNumCols = infoRecord.count(); - QVector tableMap = QVector(iNumCols); - - /*first create a map of index->colname pairs*/ - for (int iLoop = 0; iLoop < iNumCols; iLoop++) - { - tableMap[iLoop] = infoRecord.fieldName(iLoop); - } - - /*now use this created map to get column names - *this should be faster than querying the QSqlRecord every time - *but that depends on the databasetype and size of the table (number of rows and cols) - */ - do - { - QHash hash; - for (int iColLoop = 0; iColLoop < iNumCols; iColLoop++) - { - hash[tableMap[iColLoop]] = query.value(iColLoop).toString(); - } - map.append(hash); - - } - while (query.next()); -} - - -int QxtSqlPackage::count() const -{ - return map.count(); -} - - -QByteArray QxtSqlPackage::data() const -{ - QBuffer buff; - buff.open(QBuffer::WriteOnly); - QDataStream stream(&buff); - - stream<> c; - - for (int i=0; i hash; - stream >> hash; - map.append(hash); - } -} - -QHash QxtSqlPackage::hash(int index) -{ - if (index > count()) return QHash(); - return map.at(index); -} - - -QHash QxtSqlPackage::hash() -{ - qDebug()< -** -****************************************************************************/ - - -/** -\class QxtSqlPackage QxtSqlPackage - -\ingroup QxtSql - -\brief full serialiseable QSqlQuery storage - - -Sometimes you want to set sql results over network or store them into files. QxtSqlPackage can provide you a storage that is still valid after the actual QSqlQuery has been destroyed -for confidence the interface is similiar to QSqlQuery. -*/ - -#ifndef QXTSQLPACKAGE_H -#define QXTSQLPACKAGE_H -#include -#include -#include -#include -#include - -class QXT_SQL_EXPORT QxtSqlPackage : public QObject -{ - Q_OBJECT - -public: - QxtSqlPackage(QObject *parent = 0); - QxtSqlPackage(const QxtSqlPackage & other,QObject *parent = 0); - - ///determinates if the package curently points to a valid row - bool isValid(); - - ///curent pointer position - int at(); - - /** \brief point to next entry - - returns false if there is no next entry.\n - provided for easy porting from QSqlQuery. - - \code - while (query.next()) - { - } - \endcode - */ - bool next(); - - ///point to last entry in storage - bool last(); - - ///point to first entry in storage - bool first(); - - /** \brief return a cloumn in curent row - - in contrast to QSqlQuery you have to provide the name of the key. - - the entry is returned as QString becouse in most cases you need QString anyway, and converting to needed data type is easy. - \code - QString name = query.value("name"); - \endcode - */ - QString value(const QString& key); - - /** \brief read from QSqlQuery - - read out a QSqlQuery and store the result. you may close the query after reading, the data will stay. - - \code - QxSqlPackage::insert(QSqlQuery::exec("select name,foo,bar from table;")); - \endcode - */ - void insert(QSqlQuery query); - - ///Returns the number of rows stored - int count() const; - - ///serialise Data - QByteArray data() const; - - ///deserialise data - void setData(const QByteArray& data); - - ///return a specific row as Hash - QHash hash(int index); - ///return the curent row as Hash - QHash hash(); - QxtSqlPackage& operator= (const QxtSqlPackage& other); - -private: - QList > map; - int record; -}; - - - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.cpp b/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.cpp deleted file mode 100644 index b5b212f1..00000000 --- a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtSql module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -#include "qxtsqlpackagemodel.h" - - - -QxtSqlPackageModel::QxtSqlPackageModel (QObject * parent ) : QAbstractTableModel(parent) -{} - - -void QxtSqlPackageModel::setQuery(QxtSqlPackage a) -{ - pack =a; - -} - - -int QxtSqlPackageModel::rowCount ( const QModelIndex & ) const -{ - return pack.count(); -} - - -int QxtSqlPackageModel::columnCount ( const QModelIndex & ) const -{ - QxtSqlPackage p =pack; - return p.hash(0).count(); -} - - -QVariant QxtSqlPackageModel::data ( const QModelIndex & index, int role ) const -{ - if (role != Qt::DisplayRole ) - return QVariant(); - - - - if ((index.row()<0) || (index.column()<0) ) return QVariant(); - QxtSqlPackage p =pack; - - return p.hash(index.row()).values ().at( index.column()); - - -} - - -QVariant QxtSqlPackageModel::headerData ( int section, Qt::Orientation orientation, int role ) const -{ - - if (orientation == Qt::Vertical && role == Qt::DisplayRole) - return section; - - - if (orientation==Qt::Horizontal && role == Qt::DisplayRole) - { - QxtSqlPackage p =pack; - return p.hash(0).keys ().at( section ) ; - } - - return QAbstractItemModel::headerData(section, orientation, role); - -} - diff --git a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.h b/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.h deleted file mode 100644 index 3fccb42c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/sql/qxtsqlpackagemodel.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtSql module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - - -/** -\class QxtSqlPackageModel QxtSqlPackageModel - -\ingroup QxtSql - -\brief provides a read-only data model for QxtSqlPackage result.. -*/ - - - -#ifndef QXTSQLTABLEMODEL_H -#define QXTSQLTABLEMODEL_H -#include -#include -#include -#include - - -class QXT_SQL_EXPORT QxtSqlPackageModel : public QAbstractTableModel -{ -public: -/// \reimp - QxtSqlPackageModel (QObject * parent = 0 ); - - - -/// set the data for the model. do this before any access - void setQuery(QxtSqlPackage a) ; - - -/// \reimp - int rowCount ( const QModelIndex & = QModelIndex()) const ; -/// \reimp - int columnCount ( const QModelIndex & = QModelIndex() ) const ; -/// \reimp - QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const; -/// \reimp - QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; - -private: - - QxtSqlPackage pack; -}; - - -#endif - - - diff --git a/src/contrib/libqxt-2007-10-24/src/sql/sql.pro b/src/contrib/libqxt-2007-10-24/src/sql/sql.pro deleted file mode 100644 index 664fb8ff..00000000 --- a/src/contrib/libqxt-2007-10-24/src/sql/sql.pro +++ /dev/null @@ -1,16 +0,0 @@ -TARGET = QxtSql -#DESTDIR = .lib -DEPENDPATH += . -INCLUDEPATH += . ../core -DEFINES += BUILD_QXT_SQL -win32: CONFIG += dll -QT = core sql -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -include(../../config.pri) - -HEADERS += qxtsqlpackage.h qxtsqlpackagemodel.h -SOURCES += qxtsqlpackage.cpp qxtsqlpackagemodel.cpp diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtabstractwebconnector.h b/src/contrib/libqxt-2007-10-24/src/web/qxtabstractwebconnector.h deleted file mode 100644 index e0884c8a..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtabstractwebconnector.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtAbstractWebConnector_header_guards_oaksndoapsid -#define QxtAbstractWebConnector_header_guards_oaksndoapsid - - -#include -#include - -#include "qxtwebcore.h" - - -class QxtAbstractWebConnector : public QObject -{ - Q_OBJECT -public: - virtual int start (quint16 port,const QHostAddress & address)=0; - - - virtual QIODevice * socket()=0; - virtual void sendHeader(server_t &)=0; - - virtual void close()=0; - - virtual QByteArray content(quint64 maxsize)=0; - -signals: - void incomming(server_t ); - void aboutToClose(); -}; - - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.cpp b/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.cpp deleted file mode 100644 index 51a8180c..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.cpp +++ /dev/null @@ -1,189 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtfcgiconnector.h" -#include "qxtfcgiconnector_p.h" -#include -#include -#include -#include "qxtstdstreambufdevice.h" -#include "qxtsignalwaiter.h" - - -QxtFcgiConnector::QxtFcgiConnector():QxtAbstractWebConnector() -{ - qRegisterMetaType("server_t"); - qRegisterMetaTypeStreamOperators("server_t"); - QXT_INIT_PRIVATE(QxtFcgiConnector); -} - -int QxtFcgiConnector::start (quint16 ,const QHostAddress & ) -{ - qxt_d().start(); - return QxtSignalWaiter::wait(&qxt_d(),SIGNAL(started()),20000); - -} - -QIODevice * QxtFcgiConnector::socket() -{ - return qxt_d().io; -} - - -QByteArray QxtFcgiConnector::content(quint64 maxsize) -{ - char * clenstr = FCGX_GetParam("CONTENT_LENGTH", qxt_d().request.envp); - quint64 clen = maxsize; - QByteArray content; - if (clenstr) - { - clen = strtol(clenstr, &clenstr, 10); - if (*clenstr) - { - qDebug()<< "can't parse \"CONTENT_LENGTH=" - << FCGX_GetParam("CONTENT_LENGTH", qxt_d().request.envp) - << "\"\n"; - clen = maxsize; - } - - // *always* put a cap on the amount of data that will be read - if (clen > maxsize) clen = maxsize; - - - - content.resize(clen+200); - std::cin.read(content.data(), clen+200); - - clen = std::cin.gcount(); - } - else - { - // *never* read stdin when CONTENT_LENGTH is missing or unparsable - clen = 0; - } - - // Chew up any remaining stdin - this shouldn't be necessary - // but is because mod_fastcgi doesn't handle it correctly. - - // ignore() doesn't set the eof bit in some versions of glibc++ - // so use gcount() instead of eof()... - do std::cin.ignore(1024); while (std::cin.gcount() == 1024); - - return content; - -} - - -void QxtFcgiConnector::sendHeader(server_t & answer) -{ - if (!answer.contains("Status")) - answer["Status"]="200 OK"; - if (!answer.contains("Content-Type")) - answer["Content-Type"]="text/html; charset=utf-8"; - - server_t::const_iterator i = answer.constBegin(); - while (i != answer.constEnd()) - { - qxt_d().io->write(i.key()+": "+i.value()+"\r\n"); - ++i; - } - qxt_d().io->write("\r\n"); -} - -void QxtFcgiConnector::close() -{ - emit(aboutToClose()); - qxt_d().open=false; - emit(qxt_d().close_ss()); -} - - -/* ********** IMPL ***********/ - - -QxtFcgiConnectorPrivate::QxtFcgiConnectorPrivate() -{ - open=false; - io=0; - qRegisterMetaType("server_t"); - qRegisterMetaTypeStreamOperators("server_t"); -} - -void QxtFcgiConnectorPrivate::run() -{ - qRegisterMetaType("server_t"); - qRegisterMetaTypeStreamOperators("server_t"); - - - FCGX_Init(); - FCGX_InitRequest(&request, 0, 0); - - ///FIXME: i just need a damn fd to use select() on. arrg - while (FCGX_Accept_r(&request) == 0) - { - open=true; - fcgi_streambuf fio_in(request.in); - fcgi_streambuf fio_out(request.out); - fcgi_streambuf fio_err(request.err); - - -#if HAVE_IOSTREAM_WITHASSIGN_STREAMBUF - std::cin = &fio_in; - std::cout = &fio_out; - std::cerr = &fio_err; -#else - std::cin.rdbuf(&fio_in); - std::cout.rdbuf(&fio_out); - std::cerr.rdbuf(&fio_err); -#endif - - io= new QxtStdStreambufDevice (&fio_in,&fio_out); - - server_t SERVER; - const char * const * envp=request.envp; - for ( ; *envp; ++envp) - { - QByteArray ee(*envp); - SERVER[ee.left(ee.indexOf('='))]=ee.mid(ee.indexOf('=')+1); - } - emit(qxt_p().incomming(SERVER)); - /// heck this is a frikin waste of RAM, cpu and my nerves. - /// I hope those arrogants retards burn in hell for it. - if (open) - QxtSignalWaiter::wait(this,SIGNAL(close_ss())); - open=false; - delete(io); - io=0; - - } -} - - - - - - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.h b/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.h deleted file mode 100644 index a7e37e9d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector.h +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtFcgiConnector_header_guards_oaksndoapsid -#define QxtFcgiConnector_header_guards_oaksndoapsid - - -#include -#include -#include -#include "qxtabstractwebconnector.h" - -class QxtFcgiConnectorPrivate; -class QxtFcgiConnector : public QxtAbstractWebConnector -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtFcgiConnector); - -public: - QxtFcgiConnector(); - virtual int start (quint16 ,const QHostAddress &); - - virtual QIODevice * socket(); - virtual void sendHeader(server_t &); - - virtual void close(); - - virtual QByteArray content(quint64 maxsize); -}; - - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector_p.h b/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector_p.h deleted file mode 100644 index a96accc1..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtfcgiconnector_p.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtfcgiconnector.h" -#include -#include - - -#include -#ifdef _WIN32 -#include -#else -#include -extern char ** environ; -#endif -#include "fcgio.h" -#include "fcgi_config.h" -#include -#include -#include "qxtstdstreambufdevice.h" - -Q_DECLARE_METATYPE(FCGX_Request) - -// Maximum number of bytes allowed to be read from stdin -static const unsigned long STDIN_MAX = 1000000; - - -class QxtFcgiConnectorPrivate : public QThread,public QxtPrivate -{ - QXT_DECLARE_PUBLIC(QxtFcgiConnector); - Q_OBJECT -public: - QxtFcgiConnectorPrivate(); - void run(); - - QxtStdStreambufDevice * io; - - bool open; - - - FCGX_Request request; - -signals: - void close_ss(); - - - -}; - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxthtmltemplate.cpp b/src/contrib/libqxt-2007-10-24/src/web/qxthtmltemplate.cpp deleted file mode 100644 index 1987b205..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxthtmltemplate.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ - -/*! - \class QxtHtmlTemplate QxtHtmlTemplate - \ingroup QxtWeb - \brief Basic Html Template Engine - - open a file containing html code and php style variables. - use the square bracket operators to assign content for a variable - - \code - QxtHtmlTemplate index; - if(!index.open) - return 404; - index["content"]="hello world"; - echo()< - - Test Page - - - - \endcode - - funny storry: whe are using this class to make our documentation (eat your own dogfood, you know ;). - but when we where parsing exactly this file you read right now the first time, QxtHtmlTemplate got stuck in an infinite loop. guess why. becouse of that example above :D - So be warned: when you assign content to a variable that contains the variable name itself, render() will never return. - - -*/ - -/*! - \fn QxtHtmlTemplate::open(const QString& filename) - Returns true on sucess and false on failure. - note that it will also return false for an empty html file. - - \fn QString QxtHtmlTemplate::render() const - Uses the variables you set and renders the opened file. - returns an empty string on failure. - Does NOT take care of not assigned variables, they will remain in the returned string - */ - -#include "qxthtmltemplate.h" -#include -#include - -QxtHtmlTemplate::QxtHtmlTemplate() : QMap() -{} - -void QxtHtmlTemplate::load(const QString& d) -{ - data=d; -} - -bool QxtHtmlTemplate::open(const QString& filename) -{ - QFile f(filename); - f.open(QIODevice::ReadOnly); - data = QString::fromLocal8Bit(f.readAll()); - f.close(); - if (data.isEmpty()) - { - qWarning("QxtHtmlTemplate::open(\"%s\") empty or non existant",qPrintable(filename)); - return false; - } - return true; -} - -QString QxtHtmlTemplate::render() const -{ - ///try to preserve indention by parsing char by char and saving the last non-space character - - - QString output = data; - int lastnewline=0; - - - for (int i=0;i') - { - j=jj; - break; - } - var+=output.at(jj); - } - - - if (j==i) - { - qWarning("QxtHtmlTemplate::render() unterminated -** -****************************************************************************/ - -#ifndef QXTHTMLTEMPLATE_H -#define QXTHTMLTEMPLATE_H - -#include -#include -#include -#include - -class QXT_WEB_EXPORT QxtHtmlTemplate : public QMap -{ -public: - QxtHtmlTemplate(); - bool open(const QString& filename); - void load(const QString& data); - - QString render() const; - -private: - QString data; -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.cpp b/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.cpp deleted file mode 100644 index 72abdd4b..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.cpp +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtscgiconnector.h" -#include -#include -#include -#include -#include - -class QxtScgiConnectorPrivate : public QTcpServer,public QxtPrivate -{ - QXT_DECLARE_PUBLIC(QxtScgiConnector); - -protected: - - void incomingConnection ( int socketDescriptor ) - { - qDebug("%i, -> incomming",(int)time(NULL)); - QTcpSocket * tcpSocket = new QTcpSocket; - if (!tcpSocket->setSocketDescriptor(socketDescriptor)) - { - delete tcpSocket; - socket_m=0; - return; - } - socket_m=tcpSocket; - connect(tcpSocket,SIGNAL(disconnected()),tcpSocket,SLOT(deleteLater())); ///TODO:right. and what id the client disconnects earlier? - SERVER.clear(); - int eee1=readHeaderFromSocket(tcpSocket,SERVER); - if (eee1) - { - tcpSocket->write("Status: 500 INTERNAL SERVER ERROR\r\ncontent-type: text/html\r\n\r\nHEADER NOT READABLE"); - } - - emit(qxt_p().incomming(SERVER)); - } - - QTcpSocket * socket_m; - server_t SERVER; - - - int readHeaderFromSocket(QTcpSocket * tcpSocket,server_t & SERVER) - { - if (!tcpSocket) - return 5012; - - - ///--------------get the header size---------------- - - QByteArray size_in; - while (!size_in.endsWith(':')) - { - if (!tcpSocket->bytesAvailable ()) - if (!tcpSocket->waitForReadyRead (200)) - return 50033; - - char a[4]; ///4? yes, i know i'm paranoid about bounds. - - - if (!tcpSocket->read (a, 1 )) - return 50034; - - size_in+=a[0]; - - if (size_in.size()>20)/// after the 20ths char is an attack atemp for sure - return 50034; - - } - - - size_in.chop(1); - int size=size_in.toInt()+1; - - - if (size>10240) ///do not accept headers over 10kb - return 50037; - - - ///--------------read the header------------------ - - while (tcpSocket->bytesAvailable ()waitForReadyRead (200)) - return 50033; - } - QByteArray header_in; - header_in.resize(size); - - if (tcpSocket->read (header_in.data(), size )!=size) - return 50034; - - if (!header_in.endsWith(',')) - return 50090; - ///--------------parse the header------------------ - - - int i=0; - QByteArray name=""; - QByteArray a =header_in; - while ((i=a.indexOf('\0'))>-1) - { - if (name=="") - { - name= a.left(i).replace('\0',""); - } - else - { - SERVER[name]=a.left(i).replace('\0',"").replace("%20"," "); - name=""; - } - - a=a.mid(i+1); - } - - - return 0; - } - - - - - - -}; - -QxtScgiConnector::QxtScgiConnector():QxtAbstractWebConnector() -{ - QXT_INIT_PRIVATE(QxtScgiConnector); - qxt_d().socket_m=0; -} - -int QxtScgiConnector::start (quint16 port,const QHostAddress & address) -{ - return qxt_d().listen(address,port); -} - -QIODevice * QxtScgiConnector::socket() -{ - return qxt_d().socket_m; -} -void QxtScgiConnector::sendHeader(server_t & answer) -{ - if (!answer.contains("Status")) - answer["Status"]="200 OK"; - if (!answer.contains("Content-Type")) - answer["Content-Type"]="text/html; charset=utf-8"; - - server_t::const_iterator i = answer.constBegin(); - while (i != answer.constEnd()) - { - qxt_d().socket_m->write(i.key()+": "+i.value()+"\r\n"); - ++i; - } - qxt_d().socket_m->write("\r\n"); -} - -void QxtScgiConnector::close() -{ - emit(aboutToClose()); - qxt_d().socket_m->close(); -} - - -QByteArray QxtScgiConnector::content(quint64 maxsize) -{ - QIODevice * tcpSocket= qxt_d().socket_m; - - if (!tcpSocket) - return QByteArray(); - - - unsigned int content_size= qxt_d().SERVER["CONTENT_LENGTH"].toUInt(); - - qDebug()<<"receiving content"<maxsize) - content_size=maxsize; - - ///--------------read the content------------------ - - - - - - while (tcpSocket->bytesAvailable ()waitForReadyRead (2000)) - return QByteArray(); - } - - QByteArray content_in; - content_in.resize(content_size); - - - if (tcpSocket->read (content_in.data(), content_size )!=content_size) - return QByteArray(); - - - tcpSocket->readAll(); //fix apache fcgi bug - return content_in; -} - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.h b/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.h deleted file mode 100644 index 01653308..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtscgiconnector.h +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtScgiConnector_header_guards_oaksndoapsid -#define QxtScgiConnector_header_guards_oaksndoapsid - - -#include -#include -#include -#include "qxtabstractwebconnector.h" - -class QxtScgiConnectorPrivate; -class QxtScgiConnector : public QxtAbstractWebConnector -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtScgiConnector); - -public: - QxtScgiConnector(); - virtual int start (quint16 port,const QHostAddress & address); - - virtual QIODevice * socket(); - virtual void sendHeader(server_t &); - - virtual void close(); - - virtual QByteArray content(quint64 maxsize); -}; - - -#endif diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.cpp b/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.cpp deleted file mode 100644 index dcfb8dd0..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.cpp +++ /dev/null @@ -1,193 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtwebcontroller.h" -#include "qxtwebcore.h" -#include -#include -#include -#include -static QTextStream nullstream; - -QString QxtWebController::WebRoot() -{ - - return QCoreApplication::applicationDirPath()+"/../"; -} - - -QxtWebController::QxtWebController(QString name):QObject(QCoreApplication::instance()) -{ - stream_m=0; - setObjectName(name); -} - - -QTextStream & QxtWebController::echo() -{ - if (!stream_m) - { - qDebug("QxtWebController::echo() no stream open"); - return nullstream; - } - return *stream_m; -} - - -QString QxtWebController::self() -{ - return "/"+objectName(); -} - - -int QxtWebController::invoke(server_t & SERVER_i) -{ - SERVER=SERVER_i; - QList args_d = SERVER["REQUEST_URI"].split('/'); - - ///--------------find action ------------------ - QByteArray action="index"; - if (args_d.count()>2) - { - action=args_d.at(2); - if (action.trimmed().isEmpty())action="index"; - } - else if (args_d.count()>1) - action="index"; - - - if (args_d.count()>3) - { - args_d.removeFirst(); - args_d.removeFirst(); - args_d.removeFirst(); - } - else - args_d.clear(); - - QStringList args; - foreach(QByteArray arg,args_d) - args<8) - { - if (!QMetaObject::invokeMethod(this, action,Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - ,Q_ARG(QString, args.at(4)),Q_ARG(QString, args.at(5)),Q_ARG(QString, args.at(6)),Q_ARG(QString, args.at(8)))) - { - retVal=4042; ///FIXME: the return value of the invoke has a meaning, handle it! - } - } - else if (args.count()>7) - { - if (!QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - ,Q_ARG(QString, args.at(4)),Q_ARG(QString, args.at(5)),Q_ARG(QString, args.at(6)),Q_ARG(QString, args.at(7)) - )) - { - retVal=4042; - } - - } - else if (args.count()>6) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - ,Q_ARG(QString, args.at(4)),Q_ARG(QString, args.at(5)),Q_ARG(QString, args.at(6)) - )) - { - retVal=4042; - } - } - else if (args.count()>5) - { - if (!QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - ,Q_ARG(QString, args.at(4)),Q_ARG(QString, args.at(5)) - )) - { - retVal=4042; - } - } - else if ( args.count()>4) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - ,Q_ARG(QString, args.at(4)) - )) - { - retVal=4042; - } - } - else if (args.count()>3) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)),Q_ARG(QString, args.at(3)) - )) - { - retVal=4042; - } - } - else if (args.count()>2) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)),Q_ARG(QString, args.at(2)) - )) - retVal=4042; - } - else if (args.count()>1) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) , - Q_ARG(QString, args.at(0)),Q_ARG(QString, args.at(1)) - )) - retVal=4042; - } - else if (args.count()>0) - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) ,Q_ARG(QString, args.at(0)))) - retVal=4042; - } - else - { - if ( !QMetaObject::invokeMethod(this, (action),Q_RETURN_ARG(int, retVal) )) - { - retVal=4042; - } - } - - stream_m->flush (); - stream_m=0; - if(buffer.size()) - QxtWebCore::send(buffer); - return retVal; -}; - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.h b/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.h deleted file mode 100644 index 5c255c6d..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcontroller.h +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtWebController_H_sapoidnasoas -#define QxtWebController_H_sapoidnasoas - -#include -#include -#include -#include "qxtwebcore.h" - -class QxtWebController : public QObject -{ - Q_OBJECT -public: - QxtWebController(QString name); - int invoke(server_t &); - static QString WebRoot(); -public slots: - int index() - { - echo()<<"overwrite the index function of this controller("+objectName()+")"; - return 404; - } - -protected: - QTextStream & echo(); - QString self(); - server_t SERVER; -private: - QTextStream *stream_m; -}; - -#endif - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.cpp b/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.cpp deleted file mode 100644 index a83feb48..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.cpp +++ /dev/null @@ -1,304 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtwebcore.h" -#include "qxtabstractwebconnector.h" -#include "qxtwebcore_p.h" - -#include -#include -#include "qxtwebcontroller.h" -#include -#include -#include -#include -#include -#include - -/*! - \class QxtWebCore QxtWebCore - \ingroup QxtWeb - \brief qxtweb application core class. communicates, delegates, does all of the magic ;) - - - QxtWebCore is the base class of your web application. - it listens to the scgi protocoll - - construct one webcore object in the main function of your application. - you must contruct it AFTER QCoreApplication and BEFORe any controllers. - - \code - int main(int argc,char ** argv) - { - QCoreApplication app(argc,argv); - QxtWebCore core(); - core.listen(8080); - QxtWebController controller("root"); - app.exec(); - } - \endcode -*/ - -/*! - \fn static QxtWebCore* instance(); - singleton accessor - \fn static void send(QByteArray); - Send data to the client. Use this rarely, but use it always when sending binary data such as images. \n - normal text/html comunication should be done using the controllers echo() function \n - note that after you called send the first time you cannot modify the header anymore \n - sending may be ignored by the transport when there is no client currently handled - \fn static QIODevice * socket(); - direct access to a iodevice for writing binary data. \n - You shouldn't use that unless it's absolutly nessesary - \fn static QxtError parseString(QByteArray str, post_t & POST); - much like phps parse_string \n - \fn static QByteArray readContent(int maxsize=5000); - reads the content from the current socket if any has sent. \n - returns an empty QByteArray on any error. \n - the content is cut at maxsize and not read from the socket. \n - FIXME:\warning: this function is BLOCKING. while content is read from the client, no other requests can be handled. - FIXME:\warning: due to paranoid timeouts this might not work for slow clients - */ - - -static QxtWebCore * singleton_m=0; - -//-----------------------interface---------------------------- -QxtWebCore::QxtWebCore(QxtAbstractWebConnector * pt):QObject() -{ - if (singleton_m) - qFatal("you're trying to construct QxtWebCore twice!"); - qRegisterMetaType("server_t"); - qRegisterMetaTypeStreamOperators("server_t"); - - singleton_m=this; - QXT_INIT_PRIVATE(QxtWebCore); - qxt_d().connector=pt; - connect(pt,SIGNAL(aboutToClose()),this,SIGNAL(aboutToClose())); - connect(pt,SIGNAL(incomming(server_t)),&qxt_d(),SLOT(incomming(server_t))); -} - -QxtWebCore::~QxtWebCore() -{ - singleton_m=0; -} - - -void QxtWebCore::send(QString a) -{ - instance()->qxt_d().send(a); -} -void QxtWebCore::header(QString a,QString b) -{ - instance()->qxt_d().header(a,b); -} - -server_t & QxtWebCore::SERVER() -{ - return instance()->qxt_d().currentservert; -} - -QIODevice * QxtWebCore::socket() -{ - return instance()->qxt_d().connector->socket(); -} - -int QxtWebCore::start (quint16 port ,const QHostAddress & address ) -{ - return instance()->qxt_d().connector->start(port,address); -} - -void QxtWebCore::redirect(QString location,int code) -{ - instance()->qxt_d().redirect(location,code); -} - -QxtWebCore * QxtWebCore::instance() -{ - if (!singleton_m) - qFatal("no QxtWebCore constructed"); - return singleton_m; -} -void QxtWebCore::setCodec ( QTextCodec * codec ) -{ - instance()->qxt_d().decoder=codec->makeDecoder(); - instance()->qxt_d().encoder=codec->makeEncoder(); -} - -void QxtWebCore::close() -{ - instance()->qxt_d().close(); -} -void QxtWebCore::sendHeader() -{ - instance()->qxt_d().sendheader(); - -} - -//-----------------------implementation---------------------------- - - - - -QxtWebCorePrivate::QxtWebCorePrivate(QObject *parent):QObject(parent),QxtPrivate() -{ - connector=0; - decoder=0; - encoder=0; -} - -void QxtWebCorePrivate::send(QString str) -{ - sendheader(); - - if (encoder) - connector->socket()->write(encoder->fromUnicode (str)); - else - connector->socket()->write(str.toUtf8()); - -} -void QxtWebCorePrivate::close() -{ - sendheader(); - connector->close(); -} - -void QxtWebCorePrivate::sendheader() -{ - if (!header_sent) - { - header_sent=true; - connector->sendHeader(answer); - } -} -void QxtWebCorePrivate::header(QString k,QString v) -{ - if (header_sent) - qWarning("headers already sent"); - if (encoder) - answer[encoder->fromUnicode (k)]=encoder->fromUnicode (v); - else - answer[k.toUtf8()]=v.toUtf8(); - -} -void QxtWebCorePrivate::redirect(QString l,int code) -{ - QByteArray loc =QUrl(l).toEncoded (); - - if (loc.isEmpty()) - loc="/"; - QxtWebCore::header("Status",QString::number(code).toUtf8()); - QxtWebCore::header("Location",loc); - send(QString("
    "+loc+"")); -} - - - - - - -void QxtWebCorePrivate::incomming(server_t SERVER) -{ - header_sent=false; - answer.clear(); - qDebug("%i, %s -> %s",(int)time(NULL),SERVER["HTTP_HOST"].constData(),SERVER["REQUEST_URI"].constData()); - - - currentservert=SERVER; - - emit(qxt_p().request()); - - ///--------------find controller ------------------ - QByteArray path="404"; - QList requestsplit = SERVER["REQUEST_URI"].split('/'); - if (requestsplit.count()>1) - { - path=requestsplit.at(1); - if (path.trimmed().isEmpty())path="root"; - } - else if (requestsplit.count()>0) - path="root"; - - ///--------------controller------------------ - - QxtWebController * controller =qFindChild (QCoreApplication::instance(), path ); - if (!controller) - { - header("Status","404"); - send("

    404 Controller "); - send(path); - send(" not found

    "); - close(); - qDebug("404 controller '%s' not found",path.constData()); - return; - } - - int i=controller->invoke(SERVER); - if (i!=0 && i!=2) - { - header("Status","404"); - send("

    "); - send(QString::number(i)); - send("

    Sorry,, that didn't work as expected. You might want to contact this systems administrator."); - } - if (i!=2) ///FIXME temporary solution for keepalive - close(); -} - - - - - - - - - - - - - -//-----------------------helper---------------------------- - -QByteArray QxtWebCore::content(int maxsize) -{ - return instance()->qxt_d().connector->content(maxsize); -} - - -QxtError QxtWebCore::parseString(QByteArray content_in, post_t & POST) -{ - QList posts = content_in.split('&'); - QByteArray post; - foreach(post,posts) - { - QList b =post.split('='); - if (b.count()!=2)continue; - POST[QUrl::fromPercentEncoding ( b[0].replace("+","%20"))]=QUrl::fromPercentEncoding ( b[1].replace("+","%20") ); - } - QXT_DROP_OK -} - - - - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.h b/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.h deleted file mode 100644 index 28c903f5..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore.h +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#ifndef QxtWebCore_HEADER_GIAURX_H -#define QxtWebCore_HEADER_GIAURX_H - -#include -#include -#include - -#include -#include - -#include -#include - -typedef QMap server_t; -typedef QMap post_t; - - -Q_DECLARE_METATYPE(server_t) -class QIODevice; -class QxtAbstractWebConnector; -class QTextCodec; -class QxtWebCorePrivate; -class QXT_WEB_EXPORT QxtWebCore: public QObject -{ - Q_OBJECT - QXT_DECLARE_PRIVATE(QxtWebCore); -public: - QxtWebCore (QxtAbstractWebConnector *); - ~QxtWebCore (); - - int start (quint16 port = 8000,const QHostAddress & address = QHostAddress::LocalHost); - - static void setCodec ( QTextCodec * codec ); - - static void send(QString); - static void close(); - static void header(QString,QString); - static void sendHeader(); - - static server_t & SERVER(); - static QIODevice * socket(); - - static void redirect(QString location,int code=303); - - - - - static QxtWebCore * instance(); - - /*helper*/ - static QxtError parseString(QByteArray str, post_t & POST); - static QByteArray content(int maxsize=5000); - -signals: - void request(); - void aboutToClose(); -}; - - - -#endif - - diff --git a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore_p.h b/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore_p.h deleted file mode 100644 index e5937969..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/qxtwebcore_p.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtWeb module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or modify it -** under the terms of th Common Public License, version 1.0, as published by -** IBM. -** -** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY -** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR -** FITNESS FOR A PARTICULAR PURPOSE. -** -** You should have received a copy of the CPL along with this file. -** See the LICENSE file and the cpl1.0.txt file included with the source -** distribution for more information. If you did not receive a copy of the -** license, contact the Qxt Foundation. -** -** -** -****************************************************************************/ -#include "qxtwebcore.h" -#include -#include -#include -#include - -class QxtScgiController; -class QxtWebCorePrivate : public QObject,public QxtPrivate -{ - Q_OBJECT - QXT_DECLARE_PUBLIC(QxtWebCore); - -public: - QxtWebCorePrivate(QObject *parent = 0); - void send(QString); - void sendheader(); - void header(QString,QString); - void redirect(QString,int ); - void close(); - - - QxtAbstractWebConnector * connector; - server_t currentservert; - bool header_sent; - server_t answer; - QTextDecoder *decoder; - QTextEncoder *encoder; -public slots: - void incomming(server_t SERVER); - -}; diff --git a/src/contrib/libqxt-2007-10-24/src/web/web.pro b/src/contrib/libqxt-2007-10-24/src/web/web.pro deleted file mode 100644 index bed296f9..00000000 --- a/src/contrib/libqxt-2007-10-24/src/web/web.pro +++ /dev/null @@ -1,28 +0,0 @@ -TARGET = QxtWeb -#DESTDIR = ../../deploy/libs -DEPENDPATH += . -INCLUDEPATH += . ../core ../network -DEFINES += BUILD_QXT_WEB -win32: CONFIG += dll -QT = core network -QXT = core network -INCLUDEPATH += . -TEMPLATE = lib -MOC_DIR = .moc -OBJECTS_DIR = .obj -CONFIG += qxtbuild convenience -include(../../config.pri) - - -HEADERS+= qxthtmltemplate.h qxtwebcore.h qxtwebcontroller.h qxtwebcore_p.h qxtabstractwebconnector.h qxtscgiconnector.h -SOURCES+= qxthtmltemplate.cpp qxtwebcore.cpp qxtwebcontroller.cpp qxtscgiconnector.cpp - - - - -contains(DEFINES,HAVE_FCGI){ -HEADERS += qxtfcgiconnector.h qxtfcgiconnector_p.h -SOURCES += qxtfcgiconnector.cpp -LIBS+=-lfcgi++ -} - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/QxtCursesTest.pro b/src/contrib/libqxt-2007-10-24/tests/QxtCurses/QxtCursesTest.pro deleted file mode 100644 index 62ff63be..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/QxtCursesTest.pro +++ /dev/null @@ -1,15 +0,0 @@ -###################################################################### -# Automatically generated by qmake (2.01a) Tue Feb 13 23:13:40 2007 -###################################################################### - -TEMPLATE = app -DESTDIR = . -INCLUDEPATH = ../../src/curses/ -LIBS += -L../../deploy/libs -lQxtCurses -lQxtCore -lQxtKit -TARGET = QxtCursesTest - -# Input -SOURCES += cursestest.cpp -HEADERS += cursestest.h -CONFIG += qxt -QXT += curses core kit diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.cpp deleted file mode 100644 index cf269b55..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License as published by the Free Software Foundation; either -** version 2.1 of the License, or any later version. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** There is aditional information in the LICENSE file of libqxt. -** If you did not receive a copy of the file try to download it or -** contact the libqxt Management -** -** -** -****************************************************************************/ -#include -#include -#include -#include "cursestest.h" - -QxtCFrame *_f, *_g, *_h; - -void Test::moveWindows() { - static int step = 0; - if(step<2) - _f->move(_f->x()+1, _f->y()); - else if(step<4) - _g->move(_g->x()+1, _g->y()); - else if(step<6) - _h->resize(_h->width()+1, _h->height()); - else if(step<8) - _f->move(_f->x(), _f->y()+1); - else if(step<10) - _g->move(_g->x(), _g->y()+1); - else if(step<12) - _h->resize(_h->width(), _h->height()+1); - else if(step<14) - _f->move(_f->x()-1, _f->y()); - else if(step<16) - _g->move(_g->x()-1, _g->y()); - else if(step<18) - _h->resize(_h->width()-1, _h->height()); - else if(step<20) - _f->move(_f->x(), _f->y()-1); - else if(step<22) - _g->move(_g->x(), _g->y()-1); - else - _h->resize(_h->width(), _h->height()-1); - - step = (step+1)%24; -} - -int main(int argc, char** argv) { - QxtCursesApplication app(argc, argv); - QxtCFrame f; - f.move(20,10); - f.resize(60,60); - QxtCFrame* g = new QxtCFrame(&f); - QxtCFrame* h = new QxtCFrame(g); - g->move(10,10); - g->resize(60,20); - h->move(5,5); - h->resize(5,5); - f.update(); - g->update(); - h->update(); - _f = &f; - _g = g; - _h = h; - QTimer t; - Test test; - QObject::connect(&t, SIGNAL(timeout()), &test, SLOT(moveWindows())); - t.start(100); - app.exec(); -} diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.h b/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.h deleted file mode 100644 index e81b3e24..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtCurses/cursestest.h +++ /dev/null @@ -1,28 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) Qxt Foundation. Some rights reserved. -** -** This file is part of the QxtCore module of the Qt eXTension library -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License as published by the Free Software Foundation; either -** version 2.1 of the License, or any later version. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** There is aditional information in the LICENSE file of libqxt. -** If you did not receive a copy of the file try to download it or -** contact the libqxt Management -** -** -** -****************************************************************************/ -#include - -class Test : public QObject { -Q_OBJECT -public slots: - void moveWindows(); -}; diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/qxtfilelock.pro b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/qxtfilelock.pro deleted file mode 100644 index 3f6c3138..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/qxtfilelock.pro +++ /dev/null @@ -1,5 +0,0 @@ -SUBDIRS += src -TEMPLATE = subdirs -CONFIG += warn_on \ - qt \ - thread diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.cpp deleted file mode 100644 index b1df0a4d..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "HelperClass.h" -#include "locktestclient.h" - -HelperClass::HelperClass(QObject *parent) - : QThread(parent) -{ -} - - -HelperClass::~HelperClass() -{ -} - -void HelperClass::run() -{ - QObject threadParent; - LockTestClient *client = new LockTestClient(&threadParent); - client->startTests(); - exec(); -} - - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.h b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.h deleted file mode 100644 index 8e99331c..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/HelperClass.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef HELPERCLASS_H -#define HELPERCLASS_H - -#include - -/** - @author Benjamin Zeller -*/ -class HelperClass : public QThread -{ -Q_OBJECT -public: - HelperClass(QObject *parent = 0); - ~HelperClass(); - void run(); - -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.cpp deleted file mode 100644 index bc2f800f..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.cpp +++ /dev/null @@ -1,104 +0,0 @@ -#include "locktestclient.h" -#include -#include -#include -#include -#include - -LockTestClient::LockTestClient(QObject *parent) - : QObject(parent) -{ -} - - -LockTestClient::~LockTestClient() -{ -} - -void LockTestClient::startTests() -{ - QTcpSocket socket; - socket.connectToHost ( "localhost", 55555); - char control; - - #define GetNextCommand() if(socket.waitForReadyRead (-1) )\ - {\ - if(socket.bytesAvailable() > 1)\ - qDebug()<<"Something is wrong here";\ - socket.getChar(&control);\ - if(control == 'a')\ - {\ - socket.disconnectFromHost();\ - return;\ - }\ - if(control != 'n')\ - { \ - qDebug()<<"Wrong control command";\ - }\ - } - - if(socket.waitForConnected (-1)) - { - QFile file("lock.file"); - - if(!file.open(QIODevice::ReadWrite)) - { - qDebug()<<"Could not open lockfile"; - return; - } - - if(1) - { - GetNextCommand(); - //Trying to readlock the same region - QxtFileLock lock(&file,0x10,20,QxtFileLock::ReadLock); - if(lock.lock()) - socket.putChar('s'); //s for success f for fail - else - socket.putChar('f'); - socket.waitForBytesWritten(-1); - } - - if(1) - { - GetNextCommand(); - //Trying to lock the same region with different locks - QxtFileLock lock(&file,0x10,20,QxtFileLock::WriteLock); - - if(!lock.lock()) - socket.putChar('s'); //s for success f for fail - else - socket.putChar('f'); - socket.waitForBytesWritten(-1); - } - - if(1) - { - GetNextCommand(); - //Trying to writelock the same region - QxtFileLock lock(&file,0x10,20,QxtFileLock::WriteLock); - - if(!lock.lock()) - socket.putChar('s'); //s for success f for fail - else - socket.putChar('f'); - socket.waitForBytesWritten(-1); - } - - if(1) - { - GetNextCommand(); - //Trying to writelock different regions - QxtFileLock lock(&file,0x10+21,20,QxtFileLock::WriteLock); - - if(lock.lock()) - socket.putChar('s'); //s for success f for fail - else - socket.putChar('f'); - socket.waitForBytesWritten(-1); - } - - } -} - - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.h b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.h deleted file mode 100644 index 5bb0f6f9..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/locktestclient.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef LOCKTESTCLIENT_H -#define LOCKTESTCLIENT_H - -#include - -/** - @author Benjamin Zeller -*/ - -class QTcpSocket; - -class LockTestClient : public QObject -{ - Q_OBJECT - public: - LockTestClient(QObject *parent = 0); - ~LockTestClient(); - - public slots: - void startTests(); - - private: - QTcpSocket *socket; - -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/main.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/main.cpp deleted file mode 100644 index 590f7aa4..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/main.cpp +++ /dev/null @@ -1,151 +0,0 @@ - - -#include -#include -#include -#include - -#include - - -#include "threadtestcontroller.h" -#include "HelperClass.h" - - -/* -Needed Test: -1. one thread test - - open the same file twice - - lock fileregion with readlock (handle 1) - - try to lock the same region with a read lock -> should work - - try to lock the same region with a write lock -> should fail - - remove all locks - - create a writelock on handle 1 - - create a writelock on handle 2 ->>fail - - try to lock totally different regions --> should work - -2. multiple threadstest: - - spawn two threads - - open the same file twice - - let thread 1 lock (READLOCK) a region of a file - - let thread 2 do the same lock ---> should work - - let thread 1 upgrade its lock to a WRITELOCK -->should fail (because thread 2 holds the readlock) - - remove all locks - - try to lock totally different regions of the file -> should work -*/ - -int main(int argc, char *argv[]) -{ - QCoreApplication app(argc, argv); - - if(1) - { - QFile file1("lock.file"); - QFile file2("lock.file"); - - if(file1.open(QIODevice::ReadWrite) && file2.open(QIODevice::ReadWrite)) - { - - if(1) - { - qDebug()<<"----Starting first test----"; - qDebug()<<"Trying to create some locks without collison"; - - QxtFileLock lock1(&file1,0x10,20,QxtFileLock::WriteLock); - if(lock1.lock()) - qDebug()<<"---- Write Lock Test passed----"; - else - qDebug()<<"---- Write Lock Test failed----"; - - lock1.unlock(); - - QxtFileLock lock2(&file2,0x10,20,QxtFileLock::ReadLock); - if(lock2.lock()) - qDebug()<<"---- Read Lock Test passed----"; - else - qDebug()<<"---- Read Lock Test failed----"; - - lock2.unlock(); - - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to readlock the same region with DIFFERENT handles "; - QxtFileLock *lock1 = new QxtFileLock(&file1,0x10,20,QxtFileLock::ReadLock); - QxtFileLock *lock2 = new QxtFileLock(&file2,0x10,20,QxtFileLock::ReadLock); - - if(lock1->lock() && lock2->lock()) - qDebug()<<"----Test passed----"; - else - qDebug()<<"----Test failed----"; - - delete lock1; - delete lock2; - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to lock the same region with DIFFERENT handles and different locks"; - QxtFileLock *lock1 = new QxtFileLock(&file1,0x10,20,QxtFileLock::ReadLock); - QxtFileLock *lock2 = new QxtFileLock(&file2,0x10,20,QxtFileLock::WriteLock); - - if(lock1->lock() && !lock2->lock()) - qDebug()<<"----Test passed----"; - else - qDebug()<<"----Test failed----"; - - delete lock1; - delete lock2; - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to writelock the same region with DIFFERENT handles"; - QxtFileLock *lock1 = new QxtFileLock(&file1,0x10,20,QxtFileLock::WriteLock); - QxtFileLock *lock2 = new QxtFileLock(&file2,0x10,20,QxtFileLock::WriteLock); - - if(lock1->lock() && !lock2->lock()) - qDebug()<<"----Test passed----"; - else - qDebug()<<"----Test failed----"; - - delete lock1; - delete lock2; - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to writelock the different regions with DIFFERENT handles"; - QxtFileLock *lock1 = new QxtFileLock(&file1,0x10,20,QxtFileLock::WriteLock); - QxtFileLock *lock2 = new QxtFileLock(&file2,0x10+21,20,QxtFileLock::WriteLock); - - if(lock1->lock() && lock2->lock()) - qDebug()<<"----Test passed----"; - else - qDebug()<<"----Test failed----"; - - delete lock1; - delete lock2; - } - } - } - - qDebug()<<"All base tests are finished, now starting the threaded tests"; - - ThreadTestController controller; - - if(controller.startTests()) - { - HelperClass *testClient = new HelperClass(); - testClient->start(); - return app.exec(); - } - - return 0; -} - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/src.pro b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/src.pro deleted file mode 100644 index 98e7d88a..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/src.pro +++ /dev/null @@ -1,20 +0,0 @@ -SOURCES += main.cpp \ -threadtestcontroller.cpp \ -locktestclient.cpp \ -HelperClass.cpp -TEMPLATE = app -CONFIG += warn_on \ - thread \ - qt \ - debug -TARGET = ../bin/qxtfilelock - -QT -= gui -QT += core \ -network -CONFIG += qxt -CONFIG += console -QXT += core -HEADERS += threadtestcontroller.h \ -locktestclient.h \ -HelperClass.h diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.cpp deleted file mode 100644 index e1c0fd08..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.cpp +++ /dev/null @@ -1,102 +0,0 @@ -#include "threadtestcontroller.h" -#include -#include -#include - -#include -#include -#include - -ThreadTestController::ThreadTestController(QObject *parent) - : QObject(parent) -{ - server = new QTcpServer(this); - connect(server,SIGNAL(newConnection ()),this,SLOT(doTests())); -} - - -ThreadTestController::~ThreadTestController() -{ -} - -void ThreadTestController::doTests() -{ - QTcpSocket *socket = server->nextPendingConnection(); - QFile file("lock.file"); - - #define DoNextTest() socket->putChar('n');\ - if(socket->waitForReadyRead(-1))\ - {\ - socket->getChar(&testResult);\ - if(testResult == 'f')\ - qDebug()<<"----Test failed----";\ - else if(testResult == 's')\ - qDebug()<<"----Test passed----";\ - else\ - qDebug()<<"----Wrong result value----";\ - }\ - else qDebug()<<"No ready read"; - - if(socket && file.open(QIODevice::ReadWrite)) - { - char testResult = 'f'; - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to readlock the same region "; - QxtFileLock lock(&file,0x10,20,QxtFileLock::ReadLock); - if(lock.lock()) - { - DoNextTest(); - } - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to lock the same region with different locks"; - QxtFileLock lock(&file,0x10,20,QxtFileLock::ReadLock); - if(lock.lock()) - { - DoNextTest(); - } - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to writelock the same region twice"; - QxtFileLock lock(&file,0x10,20,QxtFileLock::WriteLock); - if(lock.lock()) - { - DoNextTest(); - } - } - - if(1) - { - qDebug()<<"----Starting next test-----"; - qDebug()<<"Trying to writelock different regions"; - QxtFileLock lock(&file,0x10,20,QxtFileLock::WriteLock); - if(lock.lock()) - { - DoNextTest(); - } - } - - } - QCoreApplication::instance()->exit(); -} - -bool ThreadTestController::startTests() -{ - if (!server->listen(QHostAddress::Any,55555)) - { - qDebug()<<"Could not start listening Server "<serverError(); - return false; - } - return true; -} - - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.h b/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.h deleted file mode 100644 index a2fa7395..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtFileLock/src/threadtestcontroller.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef THREADTESTCONTROLLER_H -#define THREADTESTCONTROLLER_H - -#include - -/** - @author Benjamin Zeller -*/ - - -/** - * the test controller controls the client over a QTcpSocker port 55555 - * there are some controll commands - * n : start next test - * a : abort testing - * from the client there are two possible answers - * s: the test succeeded - * f: the test failed - */ - -class QTcpServer; - -class ThreadTestController : public QObject -{ - Q_OBJECT - public: - ThreadTestController(QObject *parent = 0); - ~ThreadTestController(); - bool startTests(); - - public slots: - void doTests(); - - private: - QTcpServer *server; - -}; - -#endif diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.pro b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.pro deleted file mode 100644 index 125f1e6f..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG += qxt -QXT += core gui - -FORMS += mainwindow.ui tab.ui -HEADERS += mainwindow.h tab.h -SOURCES += main.cpp mainwindow.cpp tab.cpp -RESOURCES += app.qrc diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.qrc b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.qrc deleted file mode 100644 index 466bb4bd..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/app.qrc +++ /dev/null @@ -1,7 +0,0 @@ - - - images/calendar.png - images/tree.png - images/list.png - - diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/calendar.png b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/calendar.png deleted file mode 100644 index 97259598..00000000 Binary files a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/calendar.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/list.png b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/list.png deleted file mode 100644 index 970f1810..00000000 Binary files a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/list.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/tree.png b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/tree.png deleted file mode 100644 index 7ee04940..00000000 Binary files a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/images/tree.png and /dev/null differ diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/main.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/main.cpp deleted file mode 100644 index 7097a818..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/main.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include "mainwindow.h" - -int main(int argc, char* argv[]) -{ - QxtApplication a(argc, argv); - MainWindow w; - w.show(); - return a.exec(); -} diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.cpp deleted file mode 100644 index f43ea7dd..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.cpp +++ /dev/null @@ -1,116 +0,0 @@ -#include "mainwindow.h" -#include "tab.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if QT_VERSION >= 0x040200 -#include -#include -#endif // QT_VERSION - -MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags flags) - : QMainWindow(parent, flags) -{ - ui.setupUi(this); - createProgressBar(); - ui.tabWidget->setTabContextMenuPolicy(Qt::ActionsContextMenu); - - connect(ui.actionQuit, SIGNAL(triggered()), this, SLOT(close())); - connect(ui.actionAddTab, SIGNAL(triggered()), this, SLOT(addTab())); - connect(ui.actionAboutQt, SIGNAL(triggered()), qApp, SLOT(aboutQt())); - connect(ui.actionAboutQxtGui, SIGNAL(triggered()), this, SLOT(aboutQxtGui())); - connect(ui.actionSwitchLayoutDirection, SIGNAL(triggered()), this, SLOT(switchLayoutDirection())); - connect(ui.actionConfigure, SIGNAL(triggered()), this, SLOT(configure())); - - if (!qxtApp->addHotKey(Qt::ControlModifier | Qt::ShiftModifier | Qt::AltModifier, Qt::Key_S, this, "toggleVisibility")) - ui.labelVisibility->hide(); -} - -MainWindow::~MainWindow() -{ -} - -void MainWindow::closeEvent(QCloseEvent* event) -{ -#if QT_VERSION >= 0x040200 - static const QString title("QxtConfirmationMessage"); - static const QString text(tr("Are you sure you want to quit?")); - if (QxtConfirmationMessage::confirm(this, title, text) == QMessageBox::No) - event->ignore(); -#endif // QT_VERSION -} - -void MainWindow::aboutQxtGui() -{ - QMessageBox::information(this, tr("About QxtGui"), - tr("

    About QxtGui

    " - "

    QxtGui is part of Qxt, the Qt eXTension library <" - "http://libqxt.sf.net>.

    ")); -} - -void MainWindow::addTab() -{ - Tab* tab = new Tab(ui.tabWidget); - ui.tabWidget->addTab(tab, tr("Tab %1").arg(ui.tabWidget->count() + 1)); - QAction* act = ui.tabWidget->addTabAction(ui.tabWidget->indexOf(tab), tr("Close"), tab, SLOT(close()), tr("Ctrl+W")); - tab->addAction(act); - ui.tabWidget->setCurrentWidget(tab); - connect(tab, SIGNAL(somethingHappened(const QString&)), statusBar(), SLOT(showMessage(const QString&))); -} - -void MainWindow::switchLayoutDirection() -{ - qApp->setLayoutDirection(layoutDirection() == Qt::LeftToRight ? Qt::RightToLeft : Qt::LeftToRight); -} - -void MainWindow::toggleVisibility() -{ - setVisible(!isVisible()); -} - -void MainWindow::createProgressBar() -{ - QxtProgressLabel* label = new QxtProgressLabel(statusBar()); - - QProgressBar* bar = new QProgressBar(statusBar()); - bar->setMaximumWidth(label->sizeHint().width() * 2); - bar->setRange(0, 120); - -#if QT_VERSION >= 0x040200 - QTimeLine* timeLine = new QTimeLine(120000, this); - timeLine->setFrameRange(0, 120); - - connect(timeLine, SIGNAL(frameChanged(int)), bar, SLOT(setValue(int))); - connect(timeLine, SIGNAL(finished()), label, SLOT(restart())); - connect(bar, SIGNAL(valueChanged(int)), label, SLOT(setValue(int))); - timeLine->start(); -#endif // QT_VERSION - - statusBar()->addPermanentWidget(bar); - statusBar()->addPermanentWidget(label); -} - -void MainWindow::configure() -{ - QxtConfigDialog dialog(this); - dialog.setWindowTitle(tr("QxtConfigDialog")); - QTreeView* page2 = new QTreeView(&dialog); - page2->setModel(new QDirModel(page2)); - QListWidget* page3 = new QListWidget(&dialog); - for (int i = 0; i < 100; ++i) - page3->addItem(QString::number(i)); - dialog.addPage(page2, QIcon(":tree.png"), "A directory tree"); - dialog.addPage(page3, QIcon(":list.png"), "Some kind of list"); -#if QT_VERSION >= 0x040200 - QCalendarWidget* page1 = new QCalendarWidget(&dialog); - dialog.addPage(page1, QIcon(":calendar.png"), "Calendar"); -#endif - dialog.exec(); -} diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.h b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.h deleted file mode 100644 index 2e61d573..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include "ui_mainwindow.h" - -class MainWindow : public QMainWindow -{ - Q_OBJECT - -public: - MainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0); - ~MainWindow(); - -protected: - void closeEvent(QCloseEvent* event); - -private slots: - void aboutQxtGui(); - void addTab(); - void switchLayoutDirection(); - void toggleVisibility(); - void configure(); - -private: - void createProgressBar(); - Ui::MainWindow ui; -}; - -#endif // MAINWINDOW_H diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.ui b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.ui deleted file mode 100644 index 5f6ba089..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/mainwindow.ui +++ /dev/null @@ -1,186 +0,0 @@ - - MainWindow - - - - 0 - 0 - 629 - 438 - - - - MainWindow - - - - - 0 - - - 6 - - - - - - - - QxtTabWidget - - - QxtTabWidget - - - 0 - - - - Tab 1 - - - - 9 - - - 6 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Welcome to QxtGui test application. Start with adding a tab from View->Add Tab. - - - Qt::ElideRight - - - - - - - The visibility of the application may be toggled with Ctrl+Alt+Shift+S. - - - Qt::ElideRight - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - 0 - 0 - 629 - 29 - - - - - &File - - - - - - &Help - - - - - - - &View - - - - - - - - - - - - - &Quit - - - Ctrl+Q - - - - - About QxtGui - - - - - About Qt - - - - - &Add Tab - - - Ctrl+T - - - - - Switch Layout Direction - - - - - Configure... - - - - - - QxtTabWidget - QTabWidget -
    QxtTabWidget
    -
    - - QxtLabel - QFrame -
    QxtLabel
    -
    -
    - - -
    diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.cpp deleted file mode 100644 index b5a148b6..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.cpp +++ /dev/null @@ -1,239 +0,0 @@ -#include "tab.h" -#include -#include - -Tab::Tab(QWidget* parent) : QWidget(parent) -{ - ui.setupUi(this); - setAttribute(Qt::WA_DeleteOnClose); - fillItemViews(); -} - -Tab::~Tab() -{ -} - -void Tab::on_qxtCheckComboBox_checkedItemsChanged(const QStringList& items) -{ - QString what = QString("QxtCheckComboBox::checkedItemsChanged(%1)"); - what = what.arg(items.join(ui.qxtCheckComboBox->separator())); - emit somethingHappened(what); -} - -void Tab::on_qxtGroupBox_toggled(bool on) -{ - QString what = QString("QxtGroupBox::toggled(%1)").arg(on ? tr("true") : tr("false")); - emit somethingHappened(what); -} - -void Tab::on_qxtLabel_clicked() -{ - emit somethingHappened("QxtLabel::clicked()"); -} - -void Tab::on_qxtListWidget_itemEditingStarted(QListWidgetItem* item) -{ - QString what = QString("QxtListWidget::itemEditingStarted(%1)").arg(item->text()); - emit somethingHappened(what); -} - -void Tab::on_qxtListWidget_itemEditingFinished(QListWidgetItem* item) -{ - QString what = QString("QxtListWidget::itemEditingFinished(%1)").arg(item->text()); - emit somethingHappened(what); -} - -void Tab::on_qxtListWidget_itemCheckStateChanged(QxtListWidgetItem* item) -{ - QString what = QString("QxtListWidget::itemCheckStateChanged(%1, %2)"); - what = what.arg(item->text()).arg(item->checkState() == Qt::Unchecked ? "Qt::Unchecked" : "Qt::Checked"); - emit somethingHappened(what); -} - -void Tab::on_qxtSpanSliderHor_spanChanged(int lower, int upper) -{ - QString what = QString("QxtSpanSlider::spanChanged(%1,%2)").arg(lower).arg(upper); - emit somethingHappened(what); -} - -void Tab::on_qxtSpanSliderVer_lowerValueChanged(int value) -{ - QString what = QString("QxtSpanSlider::lowerValueChanged(%1)").arg(value); - emit somethingHappened(what); -} - -void Tab::on_qxtSpanSliderVer_upperValueChanged(int value) -{ - QString what = QString("QxtSpanSlider::upperValueChanged(%1)").arg(value); - emit somethingHappened(what); -} - -void Tab::on_qxtStarsHor_valueChanged(int value) -{ - QString what = QString("QxtStars::valueChanged(%1)").arg(value); - emit somethingHappened(what); -} - -void Tab::on_qxtStarsVer_valueChanged(int value) -{ - QString what = QString("QxtStars::valueChanged(%1)").arg(value); - emit somethingHappened(what); -} - -void Tab::on_qxtStringSpinBox_valueChanged(const QString& value) -{ - QString what = QString("QxtStringSpinBox::valueChanged(%1)").arg(value); - emit somethingHappened(what); -} - -void Tab::on_qxtTableWidget_itemEditingStarted(QTableWidgetItem* item) -{ -#if QT_VERSION >= 0x040200 - int row = item->row(); - int col = item->column(); -#else // QT_VERSION < 0x040200 - int row = item->tableWidget()->row(item); - int col = item->tableWidget()->column(item); -#endif // QT_VERSION - QString what = QString("QxtTableWidget::itemEditingStarted(%1,%2)").arg(row).arg(col); - emit somethingHappened(what); -} - -void Tab::on_qxtTableWidget_itemEditingFinished(QTableWidgetItem* item) -{ -#if QT_VERSION >= 0x040200 - int row = item->row(); - int col = item->column(); -#else // QT_VERSION < 0x040200 - int row = item->tableWidget()->row(item); - int col = item->tableWidget()->column(item); -#endif // QT_VERSION - QString what = QString("QxtTableWidget::itemEditingFinished(%1,%2)").arg(row).arg(col); - emit somethingHappened(what); -} - -void Tab::on_qxtTableWidget_itemCheckStateChanged(QxtTableWidgetItem* item) -{ -#if QT_VERSION >= 0x040200 - int row = item->row(); - int col = item->column(); -#else // QT_VERSION < 0x040200 - int row = item->tableWidget()->row(item); - int col = item->tableWidget()->column(item); -#endif // QT_VERSION - QString what = QString("QxtTableWidget::itemCheckStateChanged(%1, %2, %3)").arg(row).arg(col); - what = what.arg(item->checkState() == Qt::Unchecked ? "Qt::Unchecked" : "Qt::Checked"); - emit somethingHappened(what); -} - -void Tab::on_qxtTreeWidget_itemEditingStarted(QTreeWidgetItem* item) -{ - QString what = QString("QxtTreeWidget::itemEditingStarted(%1)").arg(item->text(0)); - emit somethingHappened(what); -} - -void Tab::on_qxtTreeWidget_itemEditingFinished(QTreeWidgetItem* item) -{ - QString what = QString("QxtTreeWidget::itemEditingFinished(%1)").arg(item->text(0)); - emit somethingHappened(what); -} - -void Tab::on_qxtTreeWidget_itemCheckStateChanged(QxtTreeWidgetItem* item) -{ - QString what = QString("QxtTreeWidget::itemCheckStateChanged(%1, %2)"); - what = what.arg(item->text(0)).arg(item->checkState(0) == Qt::Unchecked ? "Qt::Unchecked" : "Qt::Checked"); - emit somethingHappened(what); -} - -void Tab::fillItemViews() -{ - ui.qxtTreeWidget->header()->hide(); -#if QT_VERSION >= 0x040200 - ui.qxtTreeWidget->header()->setResizeMode(QHeaderView::ResizeToContents); -#endif - QxtTreeWidgetItem* treeItem = new QxtTreeWidgetItem(ui.qxtTreeWidget, QStringList() << tr("Phasellus")); - treeItem = new QxtTreeWidgetItem(treeItem, QStringList() << tr("Faucibus")); - treeItem->setFlag(Qt::ItemIsUserCheckable); - treeItem->setFlag(Qt::ItemIsEditable); - treeItem->setCheckState(0, Qt::Unchecked); - treeItem->setData(1, QxtItemDelegate::ProgressRole, 75); - treeItem = new QxtTreeWidgetItem(ui.qxtTreeWidget, QStringList() << tr("Curabitur")); - treeItem = new QxtTreeWidgetItem(treeItem, QStringList() << tr("Mauris")); - treeItem->setFlag(Qt::ItemIsUserCheckable); - treeItem->setFlag(Qt::ItemIsEditable); - treeItem->setCheckState(0, Qt::Unchecked); - treeItem->setData(1, QxtItemDelegate::ProgressRole, 98); - treeItem = new QxtTreeWidgetItem(ui.qxtTreeWidget, QStringList() << tr("Quisque")); - treeItem = new QxtTreeWidgetItem(treeItem, QStringList() << tr("Vestibulum")); - treeItem->setFlag(Qt::ItemIsUserCheckable); - treeItem->setFlag(Qt::ItemIsEditable); - treeItem->setCheckState(0, Qt::Unchecked); - treeItem->setData(1, QxtItemDelegate::ProgressRole, 0); - treeItem = new QxtTreeWidgetItem(treeItem, QStringList() << tr("Pellentesque")); - treeItem->setFlag(Qt::ItemIsUserCheckable); - treeItem->setFlag(Qt::ItemIsEditable); - treeItem->setCheckState(0, Qt::Unchecked); - treeItem->setData(1, QxtItemDelegate::ProgressRole, 99); - - QxtListWidgetItem* listItem = new QxtListWidgetItem(tr("Phasellus"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Faucibus"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Curabitur"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Mauris"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Quisque"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Vestibulum"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - listItem = new QxtListWidgetItem(tr("Pellentesque"), ui.qxtListWidget); - listItem->setFlag(Qt::ItemIsUserCheckable); - listItem->setFlag(Qt::ItemIsEditable); - listItem->setCheckState(Qt::Unchecked); - - ui.qxtTableWidget->setColumnCount(2); - ui.qxtTableWidget->setRowCount(3); - QxtTableWidgetItem* tableItem = new QxtTableWidgetItem(tr("Phasellus")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(0, 0, tableItem); - tableItem = new QxtTableWidgetItem(tr("Faucibus")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(0, 1, tableItem); - tableItem = new QxtTableWidgetItem(tr("Curabitur")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(1, 0, tableItem); - tableItem = new QxtTableWidgetItem(tr("Mauris")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(1, 1, tableItem); - tableItem = new QxtTableWidgetItem(tr("Quisque")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(2, 0, tableItem); - tableItem = new QxtTableWidgetItem(tr("Vestibulum")); - tableItem->setFlag(Qt::ItemIsUserCheckable); - tableItem->setFlag(Qt::ItemIsEditable); - tableItem->setCheckState(Qt::Unchecked); - ui.qxtTableWidget->setItem(2, 1, tableItem); -} diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.h b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.h deleted file mode 100644 index 8d253f90..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef TAB_H -#define TAB_H - -#include "ui_tab.h" - -class Tab : public QWidget -{ - Q_OBJECT - -public: - Tab(QWidget* parent = 0); - ~Tab(); - -signals: - void somethingHappened(const QString& what); - -private slots: - void on_qxtCheckComboBox_checkedItemsChanged(const QStringList& items); - void on_qxtGroupBox_toggled(bool on); - void on_qxtLabel_clicked(); - void on_qxtListWidget_itemEditingStarted(QListWidgetItem* item); - void on_qxtListWidget_itemEditingFinished(QListWidgetItem* item); - void on_qxtListWidget_itemCheckStateChanged(QxtListWidgetItem* item); - void on_qxtSpanSliderHor_spanChanged(int lower, int upper); - void on_qxtSpanSliderVer_lowerValueChanged(int value); - void on_qxtSpanSliderVer_upperValueChanged(int value); - void on_qxtStarsHor_valueChanged(int value); - void on_qxtStarsVer_valueChanged(int value); - void on_qxtStringSpinBox_valueChanged(const QString& value); - void on_qxtTableWidget_itemEditingStarted(QTableWidgetItem* item); - void on_qxtTableWidget_itemEditingFinished(QTableWidgetItem* item); - void on_qxtTableWidget_itemCheckStateChanged(QxtTableWidgetItem* item); - void on_qxtTreeWidget_itemEditingStarted(QTreeWidgetItem* item); - void on_qxtTreeWidget_itemEditingFinished(QTreeWidgetItem* item); - void on_qxtTreeWidget_itemCheckStateChanged(QxtTreeWidgetItem* item); - -private: - void fillItemViews(); - Ui::Tab ui; -}; - -#endif // TAB_H diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.ui b/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.ui deleted file mode 100644 index 026d5c02..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/app/tab.ui +++ /dev/null @@ -1,459 +0,0 @@ - - Tab - - - - 0 - 0 - 479 - 331 - - - - Form - - - - 9 - - - 6 - - - - - - - - QxtGroupBox - - - QxtGroupBox - - - GroupBox - - - false - - - - 9 - - - 6 - - - - - - - - QxtSpanSlider - - - QxtSpanSlider - - - 5 - - - Qt::Horizontal - - - QSlider::TicksAbove - - - 15 - - - 0 - - - 0 - - - - - - - QxtStars - - - QxtStars - - - 10 - - - 3 - - - 7 - - - Qt::Horizontal - - - - - - - - - - QxtSpanSlider - - - QxtSpanSlider - - - Qt::Vertical - - - true - - - true - - - 0 - - - 99 - - - - - - - QxtStars - - - QxtStars - - - 3 - - - 3 - - - 1 - - - Qt::Vertical - - - - - - - - - - QxtCheckComboBox - - - QxtCheckComboBox - - - ... - - - - - - QxtCheckComboBox::CheckWholeItem - - - - Curabitur - - - - - eleifend - - - - - purus - - - - - id - - - - - velit - - - - - - - - - - - QxtStringSpinBox - - - QxtStringSpinBox - - - - Curabitur - eleifend - purus - id - velit - - - - - - - - - - - - 3 - 5 - 0 - 0 - - - - 1 - - - - - 0 - 0 - 112 - 112 - - - - List - - - - 9 - - - 6 - - - - - QxtListWidget - - - QxtListWidget - - - - - - - - - 0 - 0 - 397 - 169 - - - - Tree - - - - 9 - - - 6 - - - - - - - - QxtTreeWidget - - - QxtTreeWidget - - - 2 - - - Qxt::Buttonlike - - - - 1 - - - - - 2 - - - - - - - - - - 0 - 0 - 112 - 112 - - - - Table - - - - 9 - - - 6 - - - - - - - - - - - - - 4 - 5 - 0 - 0 - - - - Click me! - - - QxtLabel - - - QxtLabel - - - QFrame::Panel - - - QFrame::Sunken - - - 2 - - - 0 - - - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. - - - Qxt::CounterClockwise - - - - - - - - - - QxtPushButton - - - QxtPushButton - - - <h1>Nam <font color="red">dapibus</font> semper.</h1> - - - Qxt::Clockwise - - - Qt::AutoText - - - - - - - - QxtStars - QWidget -
    QxtStars
    -
    - - QxtTableWidget - QTableWidget -
    QxtTableWidget
    -
    - - QxtTreeWidget - QTreeWidget -
    QxtTreeWidget
    -
    - - QxtLabel - QFrame -
    QxtLabel
    -
    - - QxtStringSpinBox - QSpinBox -
    QxtStringSpinBox
    -
    - - QxtListWidget - QListWidget -
    QxtListWidget
    -
    - - QxtGroupBox - QGroupBox -
    QxtGroupBox
    - 1 -
    - - QxtCheckComboBox - QComboBox -
    QxtCheckComboBox
    -
    - - QxtPushButton - QPushButton -
    QxtPushButton
    -
    - - QxtSpanSlider - QSlider -
    QxtSpanSlider
    -
    -
    - - -
    diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/main.cpp b/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/main.cpp deleted file mode 100644 index a4921f25..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/main.cpp +++ /dev/null @@ -1,650 +0,0 @@ -#include -#include -#include - -class TestQxtGui : public QObject -{ - Q_OBJECT - -private slots: - void testQxtApplication(); - - void testQxtCheckComboBox_data(); - void testQxtCheckComboBox(); - - void testQxtConfigDialog(); - void testQxtConfirmationMessage(); - void testQxtDesktopWidget(); - void testQxtDockWidget(); - void testQxtGroupBox(); - void testQxtItemDelegate(); - - void testQxtLabel(); - - void testQxtListWidget_data(); - void testQxtListWidget(); - - void testQxtProgressLabel(); - void testQxtProxyStyle(); - void testQxtPushButton(); - void testQxtSpanSlider(); - void testQxtStars(); - void testQxtStringSpinBox(); - - void testQxtTableWidget_data(); - void testQxtTableWidget(); - - void testQxtTabWidget(); - void testQxtToolTip(); - - void testQxtTreeWidget_data(); - void testQxtTreeWidget(); -}; - -void TestQxtGui::testQxtApplication() -{ - // See: test/app -} - -void TestQxtGui::testQxtCheckComboBox_data() -{ - QTest::addColumn("popup"); - QTest::addColumn("select"); - QTest::addColumn("close"); - QTest::addColumn("expected"); - - QTestEventList popup1; - popup1.addKeyClick(Qt::Key_Up); // popup - - QTestEventList popup2; - popup2.addKeyClick(Qt::Key_Down); // popup - - QTestEventList close1; - close1.addKeyClick(Qt::Key_Escape); // close - - QTestEventList close2; - close2.addKeyClick(Qt::Key_Return); // close - - QTestEventList select0; - QStringList result0; - - QTestEventList select1; - select1.addKeyClick(Qt::Key_Space); // select first - select1.addKeyClick(Qt::Key_Down); // move to second - select1.addKeyClick(Qt::Key_Down); // move to third - select1.addKeyClick(Qt::Key_Space); // select third - QStringList result1 = QStringList() << "1" << "3"; - - QTestEventList select2; - select2.addKeyClick(Qt::Key_Down); // move to second - select2.addKeyClick(Qt::Key_Down); // move to third - select2.addKeyClick(Qt::Key_Up); // move back to second - select2.addKeyClick(Qt::Key_Space); // select second - QStringList result2 = QStringList() << "2"; - - QTest::newRow("-") << popup1 << select0 << close2 << result0; - QTest::newRow("1,3") << popup1 << select1 << close1 << result1; - QTest::newRow("2") << popup2 << select2 << close2 << result2; -} - -void TestQxtGui::testQxtCheckComboBox() -{ - QFETCH(QTestEventList, popup); - QFETCH(QTestEventList, select); - QFETCH(QTestEventList, close); - QFETCH(QStringList, expected); - - QxtCheckComboBox combo; - combo.addItems(QStringList() << "1" << "2" << "3" << "4"); - - QSignalSpy spy(&combo, SIGNAL(checkedItemsChanged(const QStringList&))); - QVERIFY(spy.isValid()); - - popup.simulate(&combo); - select.simulate(combo.view()); - close.simulate(&combo); - - QCOMPARE(combo.checkedItems(), expected); - - if (!combo.checkedItems().isEmpty()) - { - QVERIFY(spy.count() > 0); - while (!spy.isEmpty()) - { - QList arguments = spy.takeFirst(); - QVERIFY(arguments.at(0).type() == QVariant::StringList); - } - } - else - { - QVERIFY(spy.count() == 0); - } -} - -void TestQxtGui::testQxtConfigDialog() -{ - // See: test/app, demos/configdialog -} - -void TestQxtGui::testQxtConfirmationMessage() -{ - // See: test/app -} - -void TestQxtGui::testQxtDesktopWidget() -{ - // See: demos/qxtsnapshot - WId activeId = QxtDesktopWidget::activeWindow(); - QString activeTitle = QxtDesktopWidget::windowTitle(activeId); - WId foundId = QxtDesktopWidget::findWindow(activeTitle); - QString foundTitle = QxtDesktopWidget::windowTitle(foundId); - QRect activeRect = QxtDesktopWidget::windowGeometry(activeId); - WId atId = QxtDesktopWidget::windowAt(activeRect.center()); - QString atTitle = QxtDesktopWidget::windowTitle(atId); - QVERIFY(activeId == foundId); - QVERIFY(foundId == atId); - QVERIFY(activeTitle == foundTitle); - QVERIFY(foundTitle == atTitle); -} - -void TestQxtGui::testQxtDockWidget() -{ - // See: demos/dockwidgets -} - -void TestQxtGui::testQxtGroupBox() -{ - // See: test/app -} - -void TestQxtGui::testQxtItemDelegate() -{ - // See: - // - testQxtListWidget() - // - testQxtTableWidget() - // - testQxtTreeWidget() -} - -void TestQxtGui::testQxtLabel() -{ - QxtLabel label("Text"); - - QTestEventList events; - events.addMouseClick(Qt::LeftButton); - - QSignalSpy clicked(&label, SIGNAL(clicked())); - QSignalSpy textChanged(&label, SIGNAL(textChanged(const QString&))); - QVERIFY(clicked.isValid()); - QVERIFY(textChanged.isValid()); - - events.simulate(&label); - label.setText("Changed"); - - QCOMPARE(clicked.count(), 1); - QCOMPARE(textChanged.count(), 1); - - QList arguments = clicked.takeFirst(); - QVERIFY(arguments.isEmpty()); - - arguments = textChanged.takeFirst(); - QVERIFY(arguments.at(0).toString() == "Changed"); -} - -void TestQxtGui::testQxtListWidget_data() -{ - QTest::addColumn("events"); - QTest::addColumn("amount"); - - QTestEventList all; - for (int i = 0; i < 10; ++i) - { - all.addKeyClick(Qt::Key_Down); // select/finish edit - all.addKeyClick(Qt::Key_Space); // check - all.addKeyClick(Qt::Key_F2); // start edit - } - all.addKeyClick(Qt::Key_Up); - QTest::newRow("all checked") << all << 10; - - QTestEventList second; - for (int i = 0; i < 10; i += 2) - { - second.addKeyClick(Qt::Key_Down); // select - second.addKeyClick(Qt::Key_Space); // check - second.addKeyClick(Qt::Key_F2); // start edit - second.addKeyClick(Qt::Key_Escape); // finish edit - } - second.addKeyClick(Qt::Key_Up); - QTest::newRow("every second checked") << second << 5; - - QTestEventList none; - QTest::newRow("none checked") << none << 0; -} - -void TestQxtGui::testQxtListWidget() -{ - QFETCH(QTestEventList, events); - QFETCH(int, amount); - - QxtListWidget listWidget; - listWidget.setEditTriggers(QAbstractItemView::EditKeyPressed); - for (int i = 0; i < 10; ++i) - { - QxtListWidgetItem* item = new QxtListWidgetItem(QString::number(i), &listWidget); - item->setFlag(Qt::ItemIsUserCheckable); - item->setFlag(Qt::ItemIsEditable); - item->setCheckState(Qt::Unchecked); - } - - qRegisterMetaType("QListWidgetItem*"); - qRegisterMetaType("QxtListWidgetItem*"); - QSignalSpy editStarted(&listWidget, SIGNAL(itemEditingStarted(QListWidgetItem*))); - QSignalSpy editFinished(&listWidget, SIGNAL(itemEditingFinished(QListWidgetItem*))); - QSignalSpy checkChanged(&listWidget, SIGNAL(itemCheckStateChanged(QxtListWidgetItem*))); - QVERIFY(editStarted.isValid()); - QVERIFY(editFinished.isValid()); - QVERIFY(checkChanged.isValid()); - - events.simulate(listWidget.viewport()); - - QList checkedItems; - for (int i = 0; i < 10; ++i) - { - QListWidgetItem* item = listWidget.item(i); - if (item && item->data(Qt::CheckStateRole).toInt() == Qt::Checked) - checkedItems += item; - } - - QCOMPARE(checkChanged.count(), checkedItems.count()); - QCOMPARE(editStarted.count(), amount); - QCOMPARE(editFinished.count(), amount); -} - -void TestQxtGui::testQxtProgressLabel() -{ - // See: test/app -} - -void TestQxtGui::testQxtProxyStyle() -{ - // Nothing to test -} - -void TestQxtGui::testQxtPushButton() -{ - // See: test/app -} - -void TestQxtGui::testQxtStars() -{ - // See: test/app -} - -void TestQxtGui::testQxtSpanSlider() -{ - QxtSpanSlider slider; - slider.setRange(0, 99); - - QSignalSpy spanChanged(&slider, SIGNAL(spanChanged(int, int))); - QSignalSpy lowerChanged(&slider, SIGNAL(lowerValueChanged(int))); - QSignalSpy upperChanged(&slider, SIGNAL(upperValueChanged(int))); - QVERIFY(spanChanged.isValid()); - QVERIFY(lowerChanged.isValid()); - QVERIFY(upperChanged.isValid()); - - // #1 setSpan() - basic change - slider.setSpan(4, 75); - QCOMPARE(slider.lowerValue(), 4); - QCOMPARE(slider.upperValue(), 75); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 1); - QList args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 4); - QVERIFY(args.at(1).toInt() == 75); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 4); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 75); - - // #2 setSpan() - no change - slider.setSpan(75, 4); - QCOMPARE(slider.lowerValue(), 4); - QCOMPARE(slider.upperValue(), 75); - QCOMPARE(spanChanged.count(), 0); - QCOMPARE(lowerChanged.count(), 0); - QCOMPARE(upperChanged.count(), 0); - - // #3 setSpan() - inverse span - slider.setSpan(66, 33); - QCOMPARE(slider.lowerValue(), 33); - QCOMPARE(slider.upperValue(), 66); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 1); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 33); - QVERIFY(args.at(1).toInt() == 66); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 33); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 66); - - // #4 setSpan() - keep span in range - slider.setSpan(-400, 400); - QCOMPARE(slider.lowerValue(), 0); - QCOMPARE(slider.upperValue(), 99); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 1); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 0); - QVERIFY(args.at(1).toInt() == 99); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 0); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 99); - - // #5 setLowerValue() - basic change - slider.setLowerValue(3); - QCOMPARE(slider.lowerValue(), 3); - QCOMPARE(slider.upperValue(), 99); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 0); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 3); - QVERIFY(args.at(1).toInt() == 99); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 3); - - // #6 setLowerValue() - no change - slider.setLowerValue(3); - QCOMPARE(slider.lowerValue(), 3); - QCOMPARE(slider.upperValue(), 99); - QCOMPARE(spanChanged.count(), 0); - QCOMPARE(lowerChanged.count(), 0); - QCOMPARE(upperChanged.count(), 0); - - // #7 setLowerValue() - keep span in range - slider.setLowerValue(-3); - QCOMPARE(slider.lowerValue(), 0); - QCOMPARE(slider.upperValue(), 99); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 0); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 0); - QVERIFY(args.at(1).toInt() == 99); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 0); - - // #8 setUpperValue() - basic change - slider.setUpperValue(77); - QCOMPARE(slider.lowerValue(), 0); - QCOMPARE(slider.upperValue(), 77); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 0); - QCOMPARE(upperChanged.count(), 1); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 0); - QVERIFY(args.at(1).toInt() == 77); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 77); - - // #9 setUpperValue() - no change - slider.setUpperValue(77); - QCOMPARE(slider.lowerValue(), 0); - QCOMPARE(slider.upperValue(), 77); - QCOMPARE(spanChanged.count(), 0); - QCOMPARE(lowerChanged.count(), 0); - QCOMPARE(upperChanged.count(), 0); - - // #10 setUpperValue() - keep span in range - slider.setUpperValue(111); - QCOMPARE(slider.lowerValue(), 0); - QCOMPARE(slider.upperValue(), 99); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 0); - QCOMPARE(upperChanged.count(), 1); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 0); - QVERIFY(args.at(1).toInt() == 99); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 99); - - // #11 setLowerValue(), setUpperValue() - inverse span - slider.setLowerValue(66); // a: lower->66,upper=99 - slider.setUpperValue(33); // b: lower->33,upper->66 - slider.setLowerValue(77); // c: lower->66,upper->77 - QCOMPARE(spanChanged.count(), 3); - QCOMPARE(lowerChanged.count(), 3); - QCOMPARE(upperChanged.count(), 2); - // a - args = spanChanged.takeFirst(); - QVERIFY(args.at(0).toInt() == 66); - QVERIFY(args.at(1).toInt() == 99); - QVERIFY(lowerChanged.takeFirst().at(0).toInt() == 66); - // b - args = spanChanged.takeFirst(); - QVERIFY(args.at(0).toInt() == 33); - QVERIFY(args.at(1).toInt() == 66); - QVERIFY(lowerChanged.takeFirst().at(0).toInt() == 33); - QVERIFY(upperChanged.takeFirst().at(0).toInt() == 66); - // c - args = spanChanged.takeFirst(); - QVERIFY(args.at(0).toInt() == 66); - QVERIFY(args.at(1).toInt() == 77); - QVERIFY(lowerChanged.takeFirst().at(0).toInt() == 66); - QVERIFY(upperChanged.takeFirst().at(0).toInt() == 77); - - // # 12 change of range - slider.setRange(68, 72); - QCOMPARE(slider.lowerValue(), 68); - QCOMPARE(slider.upperValue(), 72); - QCOMPARE(spanChanged.count(), 1); - QCOMPARE(lowerChanged.count(), 1); - QCOMPARE(upperChanged.count(), 1); - args = spanChanged.takeLast(); - QVERIFY(args.at(0).toInt() == 68); - QVERIFY(args.at(1).toInt() == 72); - QVERIFY(lowerChanged.takeLast().at(0).toInt() == 68); - QVERIFY(upperChanged.takeLast().at(0).toInt() == 72); -} - -void TestQxtGui::testQxtStringSpinBox() -{ - QStringList strings; - for (int i = 0; i < 10; ++i) - strings += QString::number(i); - - QxtStringSpinBox spinBox; - spinBox.setStrings(strings); - - QTestEventList up; - up.addKeyClick(Qt::Key_Up); - - QTestEventList down; - down.addKeyClick(Qt::Key_Down); - - for (int i = 0; i < 10; ++i) - { - QCOMPARE(spinBox.cleanText(), QString::number(i)); - up.simulate(&spinBox); - QCOMPARE(spinBox.cleanText(), QString::number(qMin(i+1, 9))); - } - - for (int i = 9; i >= 0; --i) - { - QCOMPARE(spinBox.cleanText(), QString::number(i)); - down.simulate(&spinBox); - QCOMPARE(spinBox.cleanText(), QString::number(qMax(i-1, 0))); - } -} - -void TestQxtGui::testQxtTableWidget_data() -{ - QTest::addColumn("events"); - QTest::addColumn("amount"); - - QTestEventList all; - all.addKeyClick(Qt::Key_Tab); // select first - all.addKeyClick(Qt::Key_F2); // start editing - all.addKeyClick(Qt::Key_Tab); // select second - all.addKeyClick(Qt::Key_F2); // start editing - all.addKeyClick(Qt::Key_Tab); // select third - all.addKeyClick(Qt::Key_F2); // start editing - all.addKeyClick(Qt::Key_Tab); // select fourth - all.addKeyClick(Qt::Key_F2); // start editing - all.addKeyClick(Qt::Key_Tab); // finish editing - QTest::newRow("all edited") << all << 4; - - QTestEventList second; - second.addKeyClick(Qt::Key_Tab); // select second - second.addKeyClick(Qt::Key_Tab); - second.addKeyClick(Qt::Key_F2); // edit - second.addKeyClick(Qt::Key_Tab); // select fourth - second.addKeyClick(Qt::Key_Tab); - second.addKeyClick(Qt::Key_F2); // edit - second.addKeyClick(Qt::Key_Tab); // abort - QTest::newRow("every second edited") << second << 2; - - QTestEventList none; - QTest::newRow("none edited") << none << 0; -} - -void TestQxtGui::testQxtTableWidget() -{ - QFETCH(QTestEventList, events); - QFETCH(int, amount); - - QxtTableWidget tableWidget(2, 2); - tableWidget.setEditTriggers(QAbstractItemView::EditKeyPressed); - - qRegisterMetaType("QTableWidgetItem*"); - QSignalSpy editStarted(&tableWidget, SIGNAL(itemEditingStarted(QTableWidgetItem*))); - QSignalSpy editFinished(&tableWidget, SIGNAL(itemEditingFinished(QTableWidgetItem*))); - QVERIFY(editStarted.isValid()); - QVERIFY(editFinished.isValid()); - - events.simulate(tableWidget.viewport()); - - QCOMPARE(editStarted.count(), amount); - QCOMPARE(editFinished.count(), amount); -} - -void TestQxtGui::testQxtTabWidget() -{ - QxtTabWidget tabWidget; - tabWidget.setTabContextMenuPolicy(Qt::ActionsContextMenu); - tabWidget.addTab(new QLabel("1"), "1"); - tabWidget.addTab(new QLabel("2"), "2"); - tabWidget.addTab(new QLabel("3"), "3"); - - QPointer act1a = new QAction("1a", &tabWidget); - QPointer act1b = new QAction("1b", &tabWidget); - QPointer act2 = new QAction("2", &tabWidget); - - tabWidget.addTabAction(1, act2); - QCOMPARE(tabWidget.tabActions(0).count(), 0); - QCOMPARE(tabWidget.tabActions(1).count(), 1); - QCOMPARE(tabWidget.tabActions(2).count(), 0); - - QPointer act3 = tabWidget.addTabAction(2, "3"); - QCOMPARE(tabWidget.tabActions(0).count(), 0); - QCOMPARE(tabWidget.tabActions(1).count(), 1); - QCOMPARE(tabWidget.tabActions(2).count(), 1); - - QList actions; - actions << act1a << act1b; - tabWidget.addTabActions(0, actions); - QCOMPARE(tabWidget.tabActions(0).count(), 2); - QCOMPARE(tabWidget.tabActions(1).count(), 1); - QCOMPARE(tabWidget.tabActions(2).count(), 1); - - tabWidget.clearTabActions(0); - QCOMPARE(tabWidget.tabActions(0).count(), 0); - QCOMPARE(tabWidget.tabActions(1).count(), 1); - QCOMPARE(tabWidget.tabActions(2).count(), 1); - QVERIFY(act1a == 0 && act1b == 0); // must have been deleted - - tabWidget.removeTabAction(1, act2); - QCOMPARE(tabWidget.tabActions(0).count(), 0); - QCOMPARE(tabWidget.tabActions(1).count(), 0); - QCOMPARE(tabWidget.tabActions(2).count(), 1); - QVERIFY(act2 != 0); // must not have been deleted - - tabWidget.insertTabAction(2, act3, act2); - QCOMPARE(tabWidget.tabActions(0).count(), 0); - QCOMPARE(tabWidget.tabActions(1).count(), 0); - QCOMPARE(tabWidget.tabActions(2).count(), 2); - QVERIFY(tabWidget.tabActions(2).first() == act2); - QVERIFY(tabWidget.tabActions(2).last() == act3); -} - -void TestQxtGui::testQxtToolTip() -{ - // See demos/qxtsnapshot -} - -void TestQxtGui::testQxtTreeWidget_data() -{ - QTest::addColumn("events"); - QTest::addColumn("amount"); - - QTestEventList all; - for (int i = 0; i < 10; ++i) - { - all.addKeyClick(Qt::Key_Down); // select next - all.addKeyClick(Qt::Key_Space); // check - all.addKeyClick(Qt::Key_F2); // start editing - } - all.addKeyClick(Qt::Key_Up); - QTest::newRow("all checked") << all << 10; - - QTestEventList second; - for (int i = 0; i < 10; i += 2) - { - second.addKeyClick(Qt::Key_Down); // select - second.addKeyClick(Qt::Key_Space); // check - second.addKeyClick(Qt::Key_F2); // start edit - second.addKeyClick(Qt::Key_Escape); // finish edit - } - second.addKeyClick(Qt::Key_Up); - QTest::newRow("every second checked") << second << 5; - - QTestEventList none; - QTest::newRow("none checked") << none << 0; -} - -void TestQxtGui::testQxtTreeWidget() -{ - QFETCH(QTestEventList, events); - QFETCH(int, amount); - - QxtTreeWidget treeWidget; - treeWidget.setColumnCount(1); - treeWidget.setEditTriggers(QAbstractItemView::EditKeyPressed); - for (int i = 0; i < 10; ++i) - { - QxtTreeWidgetItem* item = new QxtTreeWidgetItem(&treeWidget, QStringList(QString::number(i))); - item->setFlag(Qt::ItemIsEditable); - item->setFlag(Qt::ItemIsUserCheckable); - item->setCheckState(0, Qt::Unchecked); - } - - qRegisterMetaType("QTreeWidgetItem*"); - qRegisterMetaType("QxtTreeWidgetItem*"); - QSignalSpy editStarted(&treeWidget, SIGNAL(itemEditingStarted(QTreeWidgetItem*))); - QSignalSpy editFinished(&treeWidget, SIGNAL(itemEditingFinished(QTreeWidgetItem*))); - QSignalSpy checkChanged(&treeWidget, SIGNAL(itemCheckStateChanged(QxtTreeWidgetItem*))); - QVERIFY(editStarted.isValid()); - QVERIFY(editFinished.isValid()); - QVERIFY(checkChanged.isValid()); - - events.simulate(treeWidget.viewport()); - - QList checkedItems; - for (int i = 0; i < 10; ++i) - { - QTreeWidgetItem* item = treeWidget.topLevelItem(i); - if (item && item->data(0, Qt::CheckStateRole).toInt() == Qt::Checked) - checkedItems += item; - } - - QCOMPARE(checkChanged.count(), checkedItems.count()); - QCOMPARE(editStarted.count(), amount); - QCOMPARE(editFinished.count(), amount); -} - -QTEST_MAIN(TestQxtGui) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/unit.pro b/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/unit.pro deleted file mode 100644 index 10687ead..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/QxtGui/unit/unit.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = test -DEPENDPATH += . -INCLUDEPATH += . -CONFIG += qtestlib qxt -QXT += core gui -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/bind/bind.pro b/src/contrib/libqxt-2007-10-24/tests/bind/bind.pro deleted file mode 100644 index cc1545d2..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/bind/bind.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG += qxt qtestlib -QT -= gui -QXT += core -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/bind/main.cpp b/src/contrib/libqxt-2007-10-24/tests/bind/main.cpp deleted file mode 100644 index ece8b8e9..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/bind/main.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include -#include -#include -#include -#include - -void unaryVoidFunction(QObject* obj); - -void nullaryVoidFunction() { - qDebug() << "If you don't see this, it's broken."; -} - -int nullaryIntFunction() -{ - return 5; -} - -int unaryIntFunction(int x) -{ - return x * 2; -} - -class QxtMetaObjectTest: public QObject -{ - Q_OBJECT - -signals: - void say(QString); - void doit(); - void success(); - -public: - void unaryVoidFunctionSuccess() { - emit success(); - } - -private slots: - void readwrite() - { - QxtMetaObject::connect(this, SIGNAL(doit()), QxtMetaObject::bind(this, SLOT(say(QString)), Q_ARG(QString,"hello"))); - QSignalSpy spy(this, SIGNAL(say(QString))); - emit(doit()); - QVERIFY2 (spy.count()> 0, "no signal received" ); - QVERIFY2 (spy.count()< 2, "wtf, two signals received?" ); - - QList arguments = spy.takeFirst(); - QVERIFY2(arguments.at(0).toString()=="hello","argument missmatch"); - - QxtBoundFunction* nullaryVoid = QxtMetaObject::bind(qxtFuncPtr(nullaryVoidFunction)); - QxtBoundFunction* unaryVoid = QxtMetaObject::bind(qxtFuncPtr(unaryVoidFunction), Q_ARG(QObject*, this)); - QxtBoundFunction* nullaryInt = QxtMetaObject::bind(qxtFuncPtr(nullaryIntFunction)); - QxtBoundFunction* unaryIntFixed = QxtMetaObject::bind(qxtFuncPtr(unaryIntFunction), Q_ARG(int, 7)); - QxtBoundFunction* unaryIntBound = QxtMetaObject::bind(qxtFuncPtr(unaryIntFunction), QXT_BIND(1)); - QVERIFY2(nullaryVoid != 0, "nullaryVoidFunction bind failed"); - QVERIFY2(unaryVoid != 0, "unaryVoidFunction bind failed"); - QVERIFY2(nullaryInt != 0, "nullaryIntFunction bind failed"); - QVERIFY2(unaryIntFixed != 0, "unaryIntFunction bind failed with Q_ARG"); - QVERIFY2(unaryIntBound != 0, "unaryIntFunction bind failed with QXT_BIND"); - - bool ok; - ok = nullaryVoid->invoke(); - QVERIFY2(ok, "nullaryVoid invoke failed"); - - QSignalSpy spy2(this, SIGNAL(success())); - ok = unaryVoid->invoke(this); - QVERIFY2(ok, "unaryVoid invoke failed"); - QVERIFY2(spy2.count() == 1, "unaryVoid did not emit success"); - - int v1 = nullaryIntFunction(); - int v2 = nullaryInt->invoke(); - QVERIFY2(v1 == v2, "nullaryInt returned wrong value"); - - v1 = unaryIntFunction(7); - v2 = unaryIntFixed->invoke(); - QVERIFY2(v1 == v2, "unaryIntFixed returned wrong value"); - - v1 = unaryIntFunction(12); - v2 = unaryIntBound->invoke(12); - QVERIFY2(v1 == v2, "unaryIntBound returned wrong value"); - - - } - -}; - -void unaryVoidFunction(QObject* obj) -{ - QxtMetaObjectTest* o = qobject_cast(obj); - if(!o) return; - o->unaryVoidFunctionSuccess(); -} - - - -QTEST_MAIN(QxtMetaObjectTest) -#include "main.moc" - diff --git a/src/contrib/libqxt-2007-10-24/tests/fifo/fifo.pro b/src/contrib/libqxt-2007-10-24/tests/fifo/fifo.pro deleted file mode 100644 index 9a4bb8d6..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/fifo/fifo.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG+=QXT qtestlib -QXT+=network -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/fifo/main.cpp b/src/contrib/libqxt-2007-10-24/tests/fifo/main.cpp deleted file mode 100644 index e08b1a4b..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/fifo/main.cpp +++ /dev/null @@ -1,58 +0,0 @@ -#include -#include -#include -#include -#include -#include -class QxtFifoPipeTest: public QObject - { - Q_OBJECT - private slots: - void initTestCase() - { - io= new QxtFifo; - } - - void readwrite() - { - QDataStream(io)<<"hello"<<34; - char * str; - int i; - QDataStream(io)>>str>>i; - QVERIFY2(i==34,"output not matching input"); - QVERIFY2(str==QString("hello"),"output not mathing input"); - } - - void readyread() - { - QSignalSpy spyr(io, SIGNAL(readyRead())); - io->write("hello"); - QVERIFY2 (spyr.count()> 0, "not emitting readyRead" ); - io->readAll(); - } - - - void size() - { - QByteArray data("askdoamsdoiasmdpoeiowaopimwaioemfowefnwaoief"); - QVERIFY(io->write(data)==data.size()); - QVERIFY(io->bytesAvailable()==data.size()); - io->readAll(); - QVERIFY(io->bytesAvailable()==0); - } - - - void cleanupTestCase() - { - delete(io); - } - - - - - private: - QxtFifo * io; - }; - -QTEST_MAIN(QxtFifoPipeTest) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/filelock/filelock.pro b/src/contrib/libqxt-2007-10-24/tests/filelock/filelock.pro deleted file mode 100644 index 7d806ef4..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/filelock/filelock.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . - -SOURCES += main.cpp -CONFIG+=qxt qtestlib -QXT += core - diff --git a/src/contrib/libqxt-2007-10-24/tests/filelock/main.cpp b/src/contrib/libqxt-2007-10-24/tests/filelock/main.cpp deleted file mode 100644 index d4586631..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/filelock/main.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/** ***** QxtFileLock test ***** */ -#include -#include -#include -#include -#include -#include - -class QxtFileLockTest: public QObject -{ - Q_OBJECT -private: - QFile * file1; - QFile * file2; - - -private slots: - void initTestCase() - { - file1=new QFile("lock.file"); - file2=new QFile("lock.file"); - QVERIFY(file1->open(QIODevice::ReadWrite)); - QVERIFY(file2->open(QIODevice::ReadWrite)); - } - - - ///read and write lock on the same handle - void rw_same() - { - QxtFileLock lock1(file1,0x10,20,QxtFileLock::ReadLock); - QVERIFY(lock1.lock()); - QxtFileLock lock2(file1,0x10,20,QxtFileLock::WriteLock); - QVERIFY(lock2.lock()); - } - - ///Trying to readlock the same region with DIFFERENT handles - void rr_different() - { - QxtFileLock lock1(file1,0x10,20,QxtFileLock::ReadLock); - QxtFileLock lock2(file2,0x10,20,QxtFileLock::ReadLock); - QVERIFY(lock1.lock() && lock2.lock()); - } - - ///Trying to lock the same region with DIFFERENT handles and different locks - void rw_different() - { - QxtFileLock lock1(file1,0x10,20,QxtFileLock::ReadLock); - QxtFileLock lock2(file2,0x10,20,QxtFileLock::WriteLock); - QVERIFY(lock1.lock() && !lock2.lock()); - } - - ///Trying to writelock the same region with DIFFERENT handles - void ww_different() - { - QxtFileLock lock1(file1,0x10,20,QxtFileLock::WriteLock); - QxtFileLock lock2(file2,0x10,20,QxtFileLock::WriteLock); - QVERIFY(lock1.lock() && !lock2.lock()); - } - - ///Trying to writelock the different regions with DIFFERENT handles - void ww_different_region() - { - QxtFileLock lock1(file1,0x10 ,20,QxtFileLock::WriteLock); - QxtFileLock lock2(file2,0x10+21,20,QxtFileLock::WriteLock); - QVERIFY(lock1.lock() && lock2.lock()); - } - - ///different region, different handles, different locks - void rw_different_region() - { - QxtFileLock lock1(file1,0x10 ,20,QxtFileLock::ReadLock); - QxtFileLock lock2(file2,0x10+21,20,QxtFileLock::WriteLock); - QVERIFY(lock1.lock() && lock2.lock()); - } - ///different region, same handles, different locks - void rw_same_region() - { - QxtFileLock lock1(file1,0x10 ,20,QxtFileLock::ReadLock); - QxtFileLock lock2(file1,0x10+21,20,QxtFileLock::WriteLock); - QVERIFY(lock1.lock() && lock2.lock()); - } - void cleanupTestCase() - { - delete file1; - delete file2; - } - -}; -#include -#include - -class Q43Thread : public QThread -{ -public: - void run() - { - exec(); - } -} -; /// qt < 4.3 backwards compatibility - -///this is a job hack, not part of the testcase, ignore it if you don't what it is - -///here is the interesting part of the job. this executes one lock on a spefic thread and asserts the result -class LockJob : public QxtJob -{ -public: - LockJob(QxtFileLock*f,bool expectedresult):QxtJob() - { - lock =f; - expected=expectedresult; - } - QxtFileLock*lock ; - bool expected; - virtual void run() - { - qDebug("locking on %p",QThread::currentThread ()); - QVERIFY(lock ->lock ()==expected); - } - void exec(QThread * o) - { - QxtJob::exec(o); - join(); - } -}; - - -class QxtFileLockThreadTest : public QObject -{ - Q_OBJECT -private: - Q43Thread t1; - Q43Thread t2; - -private slots: - void initTestCase() - { - qDebug("main thread is %p",QThread::currentThread ()); - - QxtSignalWaiter w1(&t1,SIGNAL(started())); - t1.start(); - QVERIFY(t1.isRunning()); - t2.start(); - QVERIFY(t2.isRunning()); - } - - - ///Trying to writelock the same region twice - void ww_same() - { - QFile file1("lock.file"); - QVERIFY(file1.open(QIODevice::ReadWrite)); - QFile file2("lock.file"); - QVERIFY(file2.open(QIODevice::ReadWrite)); - - QxtFileLock lock1(&file1,0x10,20,QxtFileLock::WriteLock); - file1.moveToThread(&t1); - LockJob l(&lock1,true); - l.exec(&t1); - - QxtFileLock lock2(&file2,0x10,20,QxtFileLock::WriteLock); - file2.moveToThread(&t2); - LockJob l2(&lock2,false); - l2.exec(&t2); - l2.join(); - } - - - ///Trying to readlock the same region - void rr_same() - { - QFile file1("lock.file"); - QVERIFY(file1.open(QIODevice::ReadWrite)); - QFile file2("lock.file"); - QVERIFY(file2.open(QIODevice::ReadWrite)); - - QxtFileLock lock1(&file1,0x10,20,QxtFileLock::ReadLock); - file1.moveToThread(&t1); - LockJob l1(&lock1,true); - l1.exec(&t1); - l1.join(); - - QxtFileLock lock2(&file2,0x10,20,QxtFileLock::ReadLock); - file2.moveToThread(&t2); - LockJob l2(&lock2,true); - l2.exec(&t2); - l2.join(); - } - - ///Trying to lock the same region with different locks - void rw_same() - { - - QFile file1("lock.file"); - QVERIFY(file1.open(QIODevice::ReadWrite)); - QFile file2("lock.file"); - QVERIFY(file2.open(QIODevice::ReadWrite)); - - QxtFileLock lock1(&file1,0x10,20,QxtFileLock::WriteLock); - file1.moveToThread(&t1); - LockJob(&lock1,true).exec(&t1); - - QxtFileLock lock2(&file2,0x10,20,QxtFileLock::ReadLock); - file2.moveToThread(&t2); - LockJob(&lock2,false).exec(&t2); - } - - ///Trying to writelock different regions - void ww_different() - { - QFile file1("lock.file"); - QVERIFY(file1.open(QIODevice::ReadWrite)); - QFile file2("lock.file"); - QVERIFY(file2.open(QIODevice::ReadWrite)); - - QxtFileLock lock1(&file1,0x10,20,QxtFileLock::WriteLock); - file1.moveToThread(&t1); - LockJob(&lock1,true).exec(&t1); - - QxtFileLock lock2(&file2,0x10+21,20,QxtFileLock::WriteLock); - file2.moveToThread(&t2); - LockJob(&lock2,true).exec(&t2); - } - void cleanupTestCase() - { - t1.quit (); - t1.wait (); - t2.quit (); - t2.wait (); - } -}; - - -int main(int argc, char ** argv) -{ - QCoreApplication app(argc,argv); - QxtFileLockTest test1; - QxtFileLockThreadTest test2; - return QTest::qExec(&test1,argc,argv)+QTest::qExec(&test2,argc,argv); -} - - -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/job/main.cpp b/src/contrib/libqxt-2007-10-24/tests/job/main.cpp deleted file mode 100644 index 905b4f0c..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/job/main.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** ***** QxtJob test ***** */ -#include -#include -class Q43Thread : public QThread{public:void run(){exec();}}; /// qt < 4.3 backwards compatibility - -#include -#include -#include - - - -class TestJob : public QxtJob -{ -public: - bool b; - TestJob():QxtJob() - { - b=false; - } - virtual void run() - { - qDebug("job on on %p",QThread::currentThread ()); - b=true; - } -}; - -class QxtJobTest : public QObject -{ -Q_OBJECT -private: - Q43Thread t; -private slots: - void initTestCase() - { - t.start(); - } - - void lined() - { - - TestJob l; - QSignalSpy spy(&l, SIGNAL(done())); - QxtSignalWaiter w(&l,SIGNAL(done())); - - l.exec(&t); - - QVERIFY(w.wait(50)); - QCOMPARE(spy.count(), 1); - QVERIFY(l.b); - } - - void joined() - { - TestJob l; - l.exec(&t); - QxtSignalWaiter w(&l,SIGNAL(done())); - l.join(); - QVERIFY(w.wait(100)); - QVERIFY(l.b); - } - - void cleanupTestCase() - { - t.quit(); - QVERIFY(t.wait(50)); - } -}; - - -int main(int argc, char ** argv) -{ - QCoreApplication app(argc,argv); - QxtJobTest test1; - return QTest::qExec(&test1,argc,argv); -} - - -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/job/test.pro b/src/contrib/libqxt-2007-10-24/tests/job/test.pro deleted file mode 100644 index 7d806ef4..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/job/test.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . - -SOURCES += main.cpp -CONFIG+=qxt qtestlib -QXT += core - diff --git a/src/contrib/libqxt-2007-10-24/tests/namedpipe/main.cpp b/src/contrib/libqxt-2007-10-24/tests/namedpipe/main.cpp deleted file mode 100644 index 8bf5343d..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/namedpipe/main.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/** ***** namedpipe loopback test ******/ -#include -#include -#include -#include -#include -#include -#include - -class QxtnamedPipeTest: public QObject - { - Q_OBJECT - private slots: - void loopback() - { - QxtNamedPipe out("/tmp/QxtNamedPipe"); - QVERIFY2(out.open(QIODevice::ReadWrite),"open failed"); - QxtNamedPipe in("/tmp/QxtNamedPipe"); - QVERIFY2(in.open(QIODevice::ReadOnly),"open failed"); - - QSignalSpy spyr(&in, SIGNAL(readyRead())); - - out.write("hello"); - QString readall=in.readAll(); - qDebug()<<"output:"< 0, "not emitting readyRead" ); - } - - signals: - void wave(); - void counterwave(); - }; - - - -QTEST_MAIN(QxtnamedPipeTest) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/namedpipe/namedpipe.pro b/src/contrib/libqxt-2007-10-24/tests/namedpipe/namedpipe.pro deleted file mode 100644 index 9a4bb8d6..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/namedpipe/namedpipe.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG+=QXT qtestlib -QXT+=network -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/pipe/main.cpp b/src/contrib/libqxt-2007-10-24/tests/pipe/main.cpp deleted file mode 100644 index 89e986b1..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/pipe/main.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include -#include -#include -#include -#include - -class QxtPipeTest: public QObject -{ -Q_OBJECT -private slots: - void simple() - { - QxtPipe p1; - QxtPipe p2; - p1|p2; - p1.write("hi"); - QVERIFY(p2.readAll()=="hi"); - } - void chain() - { - QxtPipe p1; - QxtPipe p2; - QxtPipe p3; - p1|p2; - p2|p3; - p1.write("hi"); - QVERIFY(p3.readAll()=="hi"); - } - void bidirectional() - { - QxtPipe p1; - QxtPipe p2; - p1|p2; - - p1.write("hi"); - QVERIFY(p2.readAll()=="hi"); - QVERIFY(p1.bytesAvailable()==0); - - p2.write("rehi"); - QVERIFY(p1.readAll()=="rehi"); - QVERIFY(p2.bytesAvailable()==0); - } - void readOnly() - { - QxtPipe p1; - QxtPipe p2; - p1.connect(&p2,QIODevice::ReadOnly); - - p1.write("hi"); - QVERIFY(p1.bytesAvailable()==0); - QVERIFY(p2.bytesAvailable()==0); - - p2.write("rehi"); - QVERIFY(p1.readAll()=="rehi"); - QVERIFY(p2.bytesAvailable()==0); - } - void writeOnly() - { - QxtPipe p1; - QxtPipe p2; - p1.connect(&p2,QIODevice::WriteOnly); - - p1.write("hi"); - QVERIFY(p1.bytesAvailable()==0); - QVERIFY(p2.readAll()=="hi"); - - p2.write("rehi"); - QVERIFY(p1.bytesAvailable()==0); - QVERIFY(p2.bytesAvailable()==0); - } -}; - -QTEST_MAIN(QxtPipeTest) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/pipe/pipe.pro b/src/contrib/libqxt-2007-10-24/tests/pipe/pipe.pro deleted file mode 100644 index 9a4bb8d6..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/pipe/pipe.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG+=QXT qtestlib -QXT+=network -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/rpc/main.cpp b/src/contrib/libqxt-2007-10-24/tests/rpc/main.cpp deleted file mode 100644 index e54b7281..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/rpc/main.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** ***** QxtRPCPeer loopback test ******/ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class RPCTest: public QObject -{ - Q_OBJECT -private: - QxtRPCPeer* peer; -signals: - void wave(QString); - void counterwave(QString); - void networkedwave(quint64,QString); - - -private slots: - void initTestCase() - {} - - - - void loopback() - { - QxtFifo io; - QxtRPCPeer peer(&io); - QVERIFY2(peer.attachSignal (this, SIGNAL( wave ( QString ) ) ),"cannot attach signal"); - QVERIFY2(peer.attachSlot ( SIGNAL( wave ( QString ) ),this, SIGNAL( counterwave(QString )) ),"cannot attach slot"); - - QSignalSpy spy(this, SIGNAL(counterwave(QString))); - QSignalSpy spyr(&io, SIGNAL(readyRead())); - - emit(wave("world")); - - QCoreApplication::processEvents (); - QCoreApplication::processEvents (); - - QVERIFY2 (spyr.count()> 0, "buffer not emitting readyRead" ); - - QVERIFY2 (spy.count()> 0, "no signal received" ); - QVERIFY2 (spy.count()< 2, "wtf, two signals received?" ); - - QList arguments = spy.takeFirst(); - QVERIFY2(arguments.at(0).toString()=="world","argument missmatch"); - } - void directcall() - { - QxtFifo io; - QxtRPCPeer peer(&io); - QVERIFY2(peer.attachSlot ( SIGNAL( wave ( QString ) ),this, SIGNAL( counterwave(QString )) ),"cannot attach slot"); - - QSignalSpy spy(this, SIGNAL(counterwave(QString))); - QSignalSpy spyr(&io, SIGNAL(readyRead())); - peer.call(SIGNAL(wave ( QString ) ),QString("world")); - - QCoreApplication::processEvents (); - QCoreApplication::processEvents (); - - - QVERIFY2 (spyr.count()> 0, "buffer not emitting readyRead" ); - - QVERIFY2 (spy.count()> 0, "no signal received" ); - QVERIFY2 (spy.count()< 2, "wtf, two signals received?" ); - - QList arguments = spy.takeFirst(); - QVERIFY2(arguments.at(0).toString()=="world","argument missmatch"); - } - - void TcpServerIo() - { - QxtRPCPeer server(QxtRPCPeer::Server); - QVERIFY2(server.attachSlot (SIGNAL(wave(QString)),this,SIGNAL(networkedwave(quint64,QString))),"cannot attach slot"); - - - QVERIFY(server.listen (QHostAddress::LocalHost, 23444)); - - - QxtRPCPeer client(QxtRPCPeer::Client); - client.connect (QHostAddress::LocalHost, 23444); - QVERIFY(qobject_cast(client.socket())->waitForConnected ( 30000 )); - - - QSignalSpy spy(this, SIGNAL(networkedwave(quint64,QString))); - client.call(SIGNAL(wave(QString)),QString("world")); - - - QCoreApplication::processEvents (); - QCoreApplication::processEvents (); - QCoreApplication::processEvents (); - - QVERIFY2 (spy.count()> 0, "no signal received" ); - QVERIFY2 (spy.count()< 2, "wtf, two signals received?" ); - - QList arguments = spy.takeFirst(); - QVERIFY2(arguments.at(1).toString()=="world","argument missmatch"); - } - void cleanupTestCase() - {} -}; - -QTEST_MAIN(RPCTest) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/rpc/rpc.pro b/src/contrib/libqxt-2007-10-24/tests/rpc/rpc.pro deleted file mode 100644 index 7bc89763..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/rpc/rpc.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG+=qxt qtestlib -QXT+=network -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tests/slotjob/main.cpp b/src/contrib/libqxt-2007-10-24/tests/slotjob/main.cpp deleted file mode 100644 index 4cc4d093..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/slotjob/main.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include -class Q43Thread : public QThread{public:void run(){exec();}}; /// qt < 4.3 backwards compatibility - -#include -#include - - -class Bla : public QObject -{ -Q_OBJECT -public slots: - QString say(QString a) - { - qDebug()< -#include -#include -#include -#include -class test : public QxtWebController - { - Q_OBJECT - public: - test():QxtWebController("root") - { - } - - public slots: - - int index() - { - QTimer::singleShot(20,this,SLOT(async())); - echo()<<"foo"; - return 2; - } - private slots: - - void async() - { - QxtWebCore::send("bar"); - QxtWebCore::close(); - } - - }; - -class err : public QxtWebController - { - Q_OBJECT - public: - err():QxtWebController("error") - { - } - - public slots: - - int index(QString a=QString("500"),QString b=QString(),QString c=QString(),QString d=QString(), - QString e=QString(),QString f=QString(),QString g=QString()) - { - echo()<<"shits
    " - "error "<" - <" - <" - <" - <" - <" - <"; - return 0; - } - - }; - - - - - -int main(int argc, char *argv[]) - { - QCoreApplication app(argc, argv); - QxtWebCore core(new QxtScgiConnector()); - core.start(4000); - test t; - err e; - return app.exec(); - } - - -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/web/async/web.pro b/src/contrib/libqxt-2007-10-24/tests/web/async/web.pro deleted file mode 100644 index 8eb10023..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/async/web.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp - -CONFIG+=qxt -QXT+=web diff --git a/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/htmltemplate.pro b/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/htmltemplate.pro deleted file mode 100644 index 4e013419..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/htmltemplate.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp -CONFIG+=qxt qtestlib -QXT+=web - diff --git a/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/main.cpp b/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/main.cpp deleted file mode 100644 index 34d57cbd..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/htmltemplate/main.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include -#include -class Test: public QObject -{ -Q_OBJECT -private slots: - void simple() - { - QxtHtmlTemplate t; - t.load(""); - t["foo"]="bla"; - QVERIFY(t.render()=="bla"); - } - void surounded() - { - QxtHtmlTemplate t; - t.load("123456789123456789"); - t["foo"]="heyJO"; - QVERIFY(t.render()=="123456789heyJO123456789"); - } - void indented() - { - QxtHtmlTemplate t; - t.load("\n "); - t["foo"]="baz\nbar"; - QVERIFY(t.render()=="\n baz\n bar"); - } -}; - -QTEST_MAIN(Test) -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/web/invoketest/main.cpp b/src/contrib/libqxt-2007-10-24/tests/web/invoketest/main.cpp deleted file mode 100644 index cd1dd300..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/invoketest/main.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include -#include -#include -#include -class test : public QxtWebController - { - Q_OBJECT - public: - test():QxtWebController("root") - { - } - - public slots: - - int index() - { - echo()<<"foo"; - return 0; - } - int index(QString a, QString b=QString("default"), QString c=QString("default2")) - { - echo()<<"a: "< b: "< c: "<" - "error "<" - <" - <" - <" - <" - <" - <"; - return 0; - } - - }; - - - - - -int main(int argc, char *argv[]) - { - QCoreApplication app(argc, argv); - QxtWebCore core(new QxtScgiConnector()); - core.start(4000); - test t; - err e; - return app.exec(); - } - - -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/web/invoketest/web.pro b/src/contrib/libqxt-2007-10-24/tests/web/invoketest/web.pro deleted file mode 100644 index 8eb10023..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/invoketest/web.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp - -CONFIG+=qxt -QXT+=web diff --git a/src/contrib/libqxt-2007-10-24/tests/web/upload/main.cpp b/src/contrib/libqxt-2007-10-24/tests/web/upload/main.cpp deleted file mode 100644 index 36f461ec..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/upload/main.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include -#include -#include -class test : public QxtWebController -{ -Q_OBJECT -public: - test():QxtWebController("root") - { - } - -public slots: - - int index() - { - echo()<< - "
    " - "File to upload:
    " - "Notes about the file:
    " - "
    " - " to upload the file!" - "
    "; - return 0; - } - int upload() - { - - QByteArray d= QxtWebCore::content(100000000); - QxtWebCore::sendHeader(); - - QByteArray io; - QxtWebCore::socket()->write(d); - return 0; - } -}; - - - - - -int main(int argc, char *argv[]) -{ - QCoreApplication app(argc, argv); - QxtWebCore core(new QxtFcgiConnector()); - core.start(); - test t; - return app.exec(); -} - - -#include "main.moc" diff --git a/src/contrib/libqxt-2007-10-24/tests/web/upload/web.pro b/src/contrib/libqxt-2007-10-24/tests/web/upload/web.pro deleted file mode 100644 index 8eb10023..00000000 --- a/src/contrib/libqxt-2007-10-24/tests/web/upload/web.pro +++ /dev/null @@ -1,8 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -SOURCES += main.cpp - -CONFIG+=qxt -QXT+=web diff --git a/src/contrib/libqxt-2007-10-24/tools/doqsy/doqsy.pro b/src/contrib/libqxt-2007-10-24/tools/doqsy/doqsy.pro deleted file mode 100644 index a334459f..00000000 --- a/src/contrib/libqxt-2007-10-24/tools/doqsy/doqsy.pro +++ /dev/null @@ -1,9 +0,0 @@ -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . -CONFIG+=qxt debug -QT+=xml -QXT+=core web -# Input -SOURCES += main.cpp diff --git a/src/contrib/libqxt-2007-10-24/tools/doqsy/main.cpp b/src/contrib/libqxt-2007-10-24/tools/doqsy/main.cpp deleted file mode 100644 index 0647bb62..00000000 --- a/src/contrib/libqxt-2007-10-24/tools/doqsy/main.cpp +++ /dev/null @@ -1,760 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -struct Module; -struct Class -{ - QString name; - QString ref; - - QString desc; - - Module * module; - -}; -struct Module -{ - QString name; - QString ref; - - QString desc; - - - QList classes; -}; - - -bool sortClassBynameLessThen(const Class *s1, const Class *s2) -{ - return s1->name < s2->name; -} -bool sortModuleBynameLessThen(const Module *s1, const Module *s2) -{ - return s1->name < s2->name; -} - - - - -///information collected from the xml files -QList classes; -QList publiclasses; -QList modules; - -///settings -QString outputDir; -QString templateDir; -QString xmlDir; - - - - -Class * findClassByRef(QString ref) -{ - foreach(Class * c,classes) - { - if (c->ref==ref) - return c; - } - qFatal("ref %s invalid",qPrintable(ref)); - return 0; -} - - - - - - - -QString refToLink( QString ref) -{ - QStringList e=ref.split("_"); - - QString object=e.at(0); - QString sub; - if(e.count()>1) - sub=e.at(1); - - - - ///FIXME that's a dirty hack. Might not actualy be sane - ///TODO external reference resolving - if (!object.contains("Qxt")) - { - object="http://doc.trolltech.com/latest/"+object; - - if (sub.startsWith("1")) - sub=sub.mid(1); - } - - - if(sub.size()) - return object+".html#"+sub; - else - return object+".html"; -} - - - - - - - -QString descRTF(QDomElement element) -{ - ///TODO parse the rest - - - - - QString text; - - - for(QDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling()) - { - if (n.isElement ()) - { - QDomElement e= n.toElement(); - if(e.tagName ()=="para") - { - text += "

    "+descRTF(e)+"

    "; - } - else if(e.tagName ()=="programlisting") - { - text += "
    "+descRTF(e)+"
    "; - } - else if(e.tagName ()=="codeline") - { - text += descRTF(e)+"
    \r\n"; - } - else if(e.tagName ()=="highlight") - { - text += ""+descRTF(e)+""; - } - else if(e.tagName ()=="ref") - { - ///ignore namespaces, we don't have them - if(e.attribute("refid").startsWith("namespace")) - text +=descRTF(e); - else - text += ""+descRTF(e)+""; - } - else if(e.tagName ()=="image") - { - QString s=descRTF(e); - text += ""; - text += "
    \""+s+"\"
    "+s+"
    "; - } - else if(e.tagName ()=="linebreak") - { - text += "
    \r\n"; - } - else - { - text += e.text().replace("<","<").replace(">",">")+" "; - } - } - else if (n.isText ()) - { - text += n.toText().data().replace("<","<").replace(">",">"); - } - } - return text; -} - - - - - - -///fill classes and modules globals -void parseIndex(QString location) -{ - - - QDomDocument doc("doc"); - QFile file(location+"/index.xml"); - if (!file.open(QIODevice::ReadOnly)) - qFatal("cannot open file"); - QString errorMsg; - int errorLine=0; - int errorColumn=0; - - if (!doc.setContent(&file,&errorMsg,&errorLine,&errorColumn)) - { - qCritical("%s:%i:%i %s",qPrintable(location+"/index.xml"),errorLine,errorColumn,qPrintable(errorMsg)); - } - file.close(); - - QDomElement docElem = doc.documentElement(); - if(docElem.tagName ()!="doxygenindex") - qFatal("unexpected top node in %s",qPrintable(location+"/index.xml")); - - - QDomElement e = docElem.firstChildElement("compound"); - while(!e.isNull()) - { - if (e.attribute("kind")=="class") - { - Class * cl=new Class; - cl->module=0; - cl->name=e.firstChildElement("name").text(); - cl->ref=e.attribute("refid"); - classes.append(cl); - } - else if (e.attribute("kind")=="group") - { - Module * cl=new Module; - cl->name=e.firstChildElement("name").text(); - cl->ref=e.attribute("refid"); - modules.append(cl); - } - else - { - qWarning("no way to document %s",qPrintable(e.attribute("kind"))); - } - e = e.nextSiblingElement("compound"); - } - -} - - - -void parseModule(QString location,Module *m) -{ - QDomDocument doc("doc"); - QString filename=location+"/"+m->ref+".xml"; - - QFile file(filename); - if (!file.open(QIODevice::ReadOnly)) - qFatal("cannot open file %s",qPrintable(filename)); - QString errorMsg; - int errorLine=0; - int errorColumn=0; - - if (!doc.setContent(&file,&errorMsg,&errorLine,&errorColumn)) - { - qCritical("%s:%i:%i %s",qPrintable(filename),errorLine,errorColumn,qPrintable(errorMsg)); - } - file.close(); - - QDomElement docElem = doc.documentElement(); - QDomElement def = docElem.firstChildElement("compounddef"); - if(def.attribute("id")!=m->ref) - qFatal("combound def %s not expected in %s",qPrintable(def.attribute("id")),qPrintable(filename)); - - - - m->desc=descRTF(def.firstChildElement("detaileddescription")); - - - - QDomElement e = def.firstChildElement("innerclass"); - while(!e.isNull()) - { - if (e.attribute("prot")=="public") - { - Class * cll=findClassByRef(e.attribute("refid")); - m->classes.append(cll); - cll->module=m; - } - else - { - qWarning("non public member in %s",qPrintable(m->ref)); - } - e = e.nextSiblingElement("innerclass"); - } - -} - - -QString printPublicClasses() -{ - - QxtHtmlTemplate t; - if(!t.open(templateDir+"/classes.html"))qFatal("cannot open template"); - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/classes-unroll.html"))qFatal("cannot open template"); - - - uint trs=classes.count()/4; - QHash rowstring; - uint cr=1; - - QString lastChar=" "; - foreach(Class * cl,publiclasses) - { - if (cl->name.count()<3)qFatal("bad class name %s",qPrintable(cl->name)); - - - if(cl->name.at(3)!=lastChar.at(0)) - { - lastChar=cl->name.at(3); - rowstring[cr]+=""+lastChar+""; - cr++; - if(cr>trs) - cr=1; - } - - t_i.clear(); - t_i["name"]=cl->name; - t_i["link"]=refToLink(cl->ref); - - rowstring[cr]+=t_i.render(); - cr++; - if(cr>trs) - cr=1; - } - - foreach(QString rowstr, rowstring.values()) - { - t["unroll"]+="\r\n"+rowstr+"\r\n\r\n"; - } - return t.render();; -} - - - - - - -QString printModules() -{ - QxtHtmlTemplate t; - if(!t.open(templateDir+"/modules.html"))qFatal("cannot open template"); - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/modules-unroll.html"))qFatal("cannot open template"); - - - int i=0; - - - foreach(Module * cl,modules) - { - i++; - t_i.clear(); - t_i["iseven"]=QString::number(i%2); - t_i["name"]=cl->name; - t_i["link"]=cl->ref+".html"; - t_i["desc"]=cl->desc; - t["unroll"]+=t_i.render(); - } - return t.render();; -} - - - - - - - - -QString printClass(QString location,Class * cl) -{ - QDomDocument doc("doc"); - QString filename=location+"/"+cl->ref+".xml"; - - QFile file(filename); - - if (!file.open(QIODevice::ReadOnly)) - qFatal("cannot open file %s",qPrintable(filename)); - - QString errorMsg; - int errorLine=0; - int errorColumn=0; - - if (!doc.setContent(&file,&errorMsg,&errorLine,&errorColumn)) - { - qCritical("%s:%i:%i %s",qPrintable(filename),errorLine,errorColumn,qPrintable(errorMsg)); - return QString("%1:%2:%3 %4").arg(filename).arg(errorLine) - .arg(errorColumn).arg(errorMsg); - } - file.close(); - - QDomElement docElem = doc.documentElement(); - if(docElem.tagName ()!="doxygen") - qFatal("unexpected top node in %s",qPrintable(filename)); - QDomElement def = docElem.firstChildElement("compounddef"); - - - - QxtHtmlTemplate t; - if(!t.open(templateDir+"/class.html"))qFatal("cannot open template"); - - - - - ///name - t["class_name"]=def.firstChildElement("compoundname").text(); - t["ref"]=def.attribute("id"); - - if(cl->module) - { - t["module_name"]=cl->module->name; - t["module_link"]=cl->module->ref+".html"; - } - else - qWarning("class %s has no module defined",qPrintable(cl->name)); - - - - - ///description - cl->desc=def.firstChildElement("briefdescription").text(); - t["desc_short"]=cl->desc; - t["desc_detailed"]=descRTF(def.firstChildElement("detaileddescription")); - - - - ///inherits - t["inherits"]=""; - QDomElement basecompoundref =def.firstChildElement("basecompoundref"); - if(!basecompoundref.isNull()) - { - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/class-unroll-inherits.html"))qFatal("cannot open template"); - t_i["name"]=basecompoundref.text(); - t_i["link"]=refToLink(basecompoundref.attribute("refid")); - t["inherits"]=t_i.render(); - } - - - - ///sections - t["sections"]=""; - QxtHtmlTemplate t_section,t_members_unroll,t_impl; - if(!t_section.open(templateDir+"/class-section.html"))qFatal("cannot open template"); - if(!t_members_unroll.open(templateDir+"/class-section-unroll.html"))qFatal("cannot open template"); - if(!t_impl.open(templateDir+"/class-impl.html"))qFatal("cannot open template"); - - QDomElement sectiondef=def.firstChildElement("sectiondef"); - while(!sectiondef.isNull()) - { - if(sectiondef.attribute("kind").startsWith("private"))///skip private stuff - { - sectiondef = sectiondef.nextSiblingElement("sectiondef"); - continue; - } - - - t_section.clear(); - - t_section["kind"]=sectiondef.attribute("kind"); - t_section["desc"]=sectiondef.attribute("kind"); ///TODO: map kind to desc - - - - - qDebug()<<"parsing section "<1) - t_impl["ref"]=lii.at(1); - else - t_impl["ref"]=lii.at(0); - - t_impl["name"]=member.firstChildElement("name").text(); - t_impl["signature"]=member.firstChildElement("argsstring").text(); - t_impl["type"]=member.firstChildElement("type").text(); - t_impl["desc"]=descRTF(member.firstChildElement("detaileddescription")); - - - t["impl"]+=t_impl.render(); - - member = member.nextSiblingElement("memberdef"); - } - - - t["sections"]+=t_section.render(); - - sectiondef = sectiondef.nextSiblingElement("sectiondef"); - } - - - return t.render(); -} - - - - - - - -QString printModule(Module * m) -{ - QxtHtmlTemplate t; - if(!t.open(templateDir+"/module.html"))qFatal("cannot open template"); - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/modules-unroll.html"))qFatal("cannot open template"); - - t["name"]+=m->name; - t["desc"]+=m->desc; - - int i=0; - qSort(m->classes.begin(), m->classes.end(), sortClassBynameLessThen); - foreach(Class * cl,m->classes) - { - i++; - t_i.clear(); - t_i["iseven"]=QString::number(i%2); - t_i["name"]=cl->name; - t_i["link"]=cl->ref+".html"; - t_i["desc"]=cl->desc; - t["unroll"]+=t_i.render(); - } - return t.render();; -} - - - - - -QString printListOfMembers(QString location,Class * cl) -{ - QDomDocument doc("doc"); - QFile file(location+"/"+cl->ref+".xml"); - if (!file.open(QIODevice::ReadOnly)) - qFatal("cannot open file %s",qPrintable(location+"/"+cl->ref+".xml")); - QString errorMsg; - int errorLine=0; - int errorColumn=0; - - if (!doc.setContent(&file,&errorMsg,&errorLine,&errorColumn)) - { - qCritical("%s:%i:%i %s",qPrintable(location+"/"+cl->ref+".xml"),errorLine,errorColumn,qPrintable(errorMsg)); - return QString("%1:%2:%3 %4").arg(location+"/index.xml").arg(errorLine) - .arg(errorColumn).arg(errorMsg); - } - file.close(); - - QDomElement docElem = doc.documentElement(); - if(docElem.tagName ()!="doxygen") - qFatal("unexpected top node in %s",qPrintable(location+"/"+cl->ref+".xml")); - QDomElement def = docElem.firstChildElement("compounddef"); - - - - QxtHtmlTemplate t; - if(!t.open(templateDir+"/class-members.html"))qFatal("cannot open template"); - - - ///name - t["class_name"]=def.firstChildElement("compoundname").text(); - t["ref"]=def.attribute("id"); - - ///list - QDomElement list =def.firstChildElement("listofallmembers"); - t["list"]=""; - - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/class-members-unroll.html")) - qFatal("cannot open template"); - - - QDomElement member=list.firstChildElement("member"); - while(!member.isNull()) - { - if(member.attribute("prot")=="private")///skip private members - { - member = member.nextSiblingElement("memberdef"); - continue; - } - - - - t_i.clear(); - t_i["name"]=member.firstChildElement("name").text(); - t_i["link"]=refToLink(member.attribute("refid")); - t["list"]+=t_i.render(); - member = member.nextSiblingElement("member"); - } - - return t.render(); -} - - - - - - - -void wrapToFile(QString filename,QString content) -{ - - QxtHtmlTemplate site; - if(!site.open(templateDir+"/site.html"))qFatal("cannot open template"); - site["content"]=content; - - QFile file(outputDir+"/"+filename); - if (!file.open(QIODevice::WriteOnly)) - qFatal("cannot open output file %s",qPrintable(filename)); - - file.write(site.render().toUtf8()); - - file.close(); -} - - - - - - -int main(int argc,char ** argv) -{ - - QCoreApplication app(argc,argv); - qDebug("[greetings]"); - - - QString settingsfile="Doqsyfile"; - - - if(app.arguments().count()>1) - { - settingsfile=app.arguments().at(1); - } - - if(!QFileInfo(settingsfile).exists()) - qFatal("cannot open %s",qPrintable(settingsfile)); - - if (!QDir::setCurrent (QFileInfo(settingsfile).absolutePath ())) - qFatal("unable to change working directory to %s",qPrintable(QFileInfo(settingsfile).absolutePath ())); - - QSettings settings(settingsfile,QSettings::IniFormat); - settings.beginGroup ("doqsy"); - outputDir=settings.value("output","doc").toString(); - templateDir=settings.value("templates","templates").toString(); - QString doxyexe=settings.value("doxygen","doxygen").toString(); - - - - QDir().mkpath(outputDir); - settings.endGroup(); - - - - if(!QDir::temp().mkpath("doqsytmp")) - qFatal("cannot make temp dir"); - xmlDir=QDir::tempPath()+"doqsytmp"; - - - - - - QString doxygeninput; - - settings.beginGroup ("doxygen"); - foreach(QString key,settings.allKeys()) - { - doxygeninput+=(key+"="+settings.value(key).toString()+"\r\n"); - } - settings.endGroup(); - - doxygeninput+= "XML_OUTPUT = "+xmlDir+"\r\n" - "OUTPUT_DIRECTORY = "+QDir::tempPath()+"\r\n" - "GENERATE_XML = YES\r\n"; - - - - qDebug("[running doxygen]"); - - - QProcess doxygenprocess; - - doxygenprocess.setProcessChannelMode(QProcess::ForwardedChannels); - - doxygenprocess.setWorkingDirectory (QDir().absolutePath ()); - - doxygenprocess.start (doxyexe,QStringList()<<"-"); - - if(!doxygenprocess.waitForStarted ()) - qFatal("doxygen failed to start"); - - doxygenprocess.write(doxygeninput.toUtf8()); - - doxygenprocess.closeWriteChannel(); - - if(!doxygenprocess.waitForFinished (120000)) - qFatal("doxygen failed to finish within 2 minutes"); - - if(doxygenprocess.exitCode ()) - qFatal("doxygen run unsecussfull"); - - - qDebug("[beginn parsing]"); - - parseIndex(xmlDir); - - - qSort(classes.begin(), classes.end(), sortClassBynameLessThen); - qSort(modules.begin(), modules.end(), sortModuleBynameLessThen); - - foreach(Module * m,modules) - { - qDebug()<<"parsing module"<ref; - parseModule(xmlDir,m); - publiclasses+=m->classes; - } - - wrapToFile("modules.html",printModules()); - - qSort(publiclasses.begin(), publiclasses.end(), sortClassBynameLessThen); - wrapToFile("classes.html",printPublicClasses()); - - - - - - foreach(Class * c,classes) - { - qDebug()<<"parsing class "<name; - wrapToFile(c->ref+".html",printClass(xmlDir,c)); - wrapToFile(c->ref+"-members.html",printListOfMembers(xmlDir,c)); - } - - foreach(Module * m,modules) - { - wrapToFile(m->ref+".html",printModule(m)); - } - - - - - QxtHtmlTemplate t_i; - if(!t_i.open(templateDir+"/index.html")) - qFatal("cannot open template"); - - wrapToFile("index.html",t_i.render()); - qDebug("[done]"); - return 0; -} - diff --git a/src/qtopia/qtopiamainwin.cpp b/src/qtopia/qtopiamainwin.cpp index fc98f618..d3532d65 100644 --- a/src/qtopia/qtopiamainwin.cpp +++ b/src/qtopia/qtopiamainwin.cpp @@ -43,8 +43,11 @@ QtopiaMainWin::QtopiaMainWin(QWidget *parent, Qt::WFlags flags) : QMainWindow(pa QCoreApplication::setOrganizationDomain("quassel-irc.org"); QCoreApplication::setApplicationName("Quassel IRC"); - QCoreApplication::setOrganizationName("Quassel IRC Development Team"); + QCoreApplication::setOrganizationName("Quassel IRC Team"); + QSettings s(QSettings::UserScope, "quassel", "quassel"); + s.setValue("foo", "bar"); + //Style::init(); QtopiaUi *gui = new QtopiaUi(this); Client::init(gui);