QT_NO_* -> TQT_NO_* renaming.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 6 years ago
parent 8d88f31f74
commit 2e0398f755
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -108,7 +108,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors);
QM_EXPORT_NETWORK => '', QM_EXPORT_NETWORK => '',
QM_EXPORT_SQL => '', QM_EXPORT_SQL => '',
QM_EXPORT_WORKSPACE => '', QM_EXPORT_WORKSPACE => '',
QT_NO_REMOTE => 'QT_NO_REMOTE', TQT_NO_REMOTE => 'TQT_NO_REMOTE',
QT_ACCESSIBILITY_SUPPORT => 'QT_ACCESSIBILITY_SUPPORT', QT_ACCESSIBILITY_SUPPORT => 'QT_ACCESSIBILITY_SUPPORT',
Q_WS_X11 => 'Q_WS_X11', Q_WS_X11 => 'Q_WS_X11',
TQ_DISABLE_COPY => 'TQ_DISABLE_COPY', TQ_DISABLE_COPY => 'TQ_DISABLE_COPY',
@ -225,7 +225,7 @@ else
sub sub
{ {
my $s = shift; my $s = shift;
$s =~ m/^\#\s*ifndef\s+QT_NO_(?:REMOTE| # not in the default compile options $s =~ m/^\#\s*ifndef\s+TQT_NO_(?:REMOTE| # not in the default compile options
NIS| # ... NIS| # ...
XINERAMA| XINERAMA|
IMAGEIO_(?:MNG|JPEG)| IMAGEIO_(?:MNG|JPEG)|
@ -473,7 +473,7 @@ LOOP:
last if !defined $p; last if !defined $p;
$if_depth++ if $p =~ m/^#\s*if/; $if_depth++ if $p =~ m/^#\s*if/;
$if_depth-- if $p =~ m/^#\s*endif/; $if_depth-- if $p =~ m/^#\s*endif/;
# Exit at #else in the #ifdef QT_NO_ACCEL/#else/#endif case # Exit at #else in the #ifdef TQT_NO_ACCEL/#else/#endif case
last if $if_depth == 1 && $p =~ m/^#\s*else\s/; last if $if_depth == 1 && $p =~ m/^#\s*else\s/;
#ignore elif for now #ignore elif for now
print "Skipping ifdef'ed line: $p" if $debug; print "Skipping ifdef'ed line: $p" if $debug;

@ -61,10 +61,10 @@
http://qt-project.org/doc/qt-4.8/qurl.html#macros http://qt-project.org/doc/qt-4.8/qurl.html#macros
--> -->
<item> Q_DECLARE_METATYPE </item> <item> Q_DECLARE_METATYPE </item>
<item> QT_NO_CAST_FROM_BYTEARRAY </item> <item> TQT_NO_CAST_FROM_BYTEARRAY </item>
<item> QT_NO_CAST_FROM_ASCII </item> <item> TQT_NO_CAST_FROM_ASCII </item>
<item> QT_NO_CAST_TO_ASCII </item> <item> TQT_NO_CAST_TO_ASCII </item>
<item> QT_NO_URL_CAST_FROM_STRING </item> <item> TQT_NO_URL_CAST_FROM_STRING </item>
<item> QT_USE_QSTRINGBUILDER </item> <item> QT_USE_QSTRINGBUILDER </item>
<!-- QtTest macros: http://qt-project.org/doc/qt-4.8/qtest.html#macros --> <!-- QtTest macros: http://qt-project.org/doc/qt-4.8/qtest.html#macros -->
<item> QBENCHMARK </item> <item> QBENCHMARK </item>
@ -189,181 +189,181 @@
<item> QT_MODULE_TEST </item> <item> QT_MODULE_TEST </item>
<item> QT_MODULE_XML </item> <item> QT_MODULE_XML </item>
<item> QT_MODULE_XMLPATTERNS </item> <item> QT_MODULE_XMLPATTERNS </item>
<item> QT_NO_ACCESSIBILITY </item> <item> TQT_NO_ACCESSIBILITY </item>
<item> QT_NO_ANIMATION </item> <item> TQT_NO_ANIMATION </item>
<item> QT_NO_ARM_EABI </item> <item> TQT_NO_ARM_EABI </item>
<item> QT_NO_BEARERMANAGEMENT </item> <item> TQT_NO_BEARERMANAGEMENT </item>
<item> QT_NO_BUTTONGROUP </item> <item> TQT_NO_BUTTONGROUP </item>
<item> QT_NO_CALENDARWIDGET </item> <item> TQT_NO_CALENDARWIDGET </item>
<item> QT_NO_CLIPBOARD </item> <item> TQT_NO_CLIPBOARD </item>
<item> QT_NO_CODECS </item> <item> TQT_NO_CODECS </item>
<item> QT_NO_COLORDIALOG </item> <item> TQT_NO_COLORDIALOG </item>
<item> QT_NO_COLUMNVIEW </item> <item> TQT_NO_COLUMNVIEW </item>
<item> QT_NO_COMBOBOX </item> <item> TQT_NO_COMBOBOX </item>
<item> QT_NO_COMPLETER </item> <item> TQT_NO_COMPLETER </item>
<item> QT_NO_CONCURRENT </item> <item> TQT_NO_CONCURRENT </item>
<item> QT_NO_CONCURRENT_FILTER </item> <item> TQT_NO_CONCURRENT_FILTER </item>
<item> QT_NO_CONCURRENT_MAP </item> <item> TQT_NO_CONCURRENT_MAP </item>
<item> QT_NO_CONTEXTMENU </item> <item> TQT_NO_CONTEXTMENU </item>
<item> QT_NO_COP </item> <item> TQT_NO_COP </item>
<item> QT_NO_CRASHHANDLER </item> <item> TQT_NO_CRASHHANDLER </item>
<item> QT_NO_CUPS </item> <item> TQT_NO_CUPS </item>
<item> QT_NO_DATAWIDGETMAPPER </item> <item> TQT_NO_DATAWIDGETMAPPER </item>
<item> QT_NO_DATESTRING </item> <item> TQT_NO_DATESTRING </item>
<item> QT_NO_DATETIMEEDIT </item> <item> TQT_NO_DATETIMEEDIT </item>
<item> QT_NO_DBUS </item> <item> TQT_NO_DBUS </item>
<item> QT_NO_DEBUG </item> <item> TQT_NO_DEBUG </item>
<item> QT_NO_DEBUG_STREAM </item> <item> TQT_NO_DEBUG_STREAM </item>
<item> QT_NO_DECLARATIVE </item> <item> TQT_NO_DECLARATIVE </item>
<item> QT_NO_DIAL </item> <item> TQT_NO_DIAL </item>
<item> QT_NO_DIRMODEL </item> <item> TQT_NO_DIRMODEL </item>
<item> QT_NO_DOCKWIDGET </item> <item> TQT_NO_DOCKWIDGET </item>
<item> QT_NO_DRAGANDDROP </item> <item> TQT_NO_DRAGANDDROP </item>
<item> QT_NO_EGL </item> <item> TQT_NO_EGL </item>
<item> QT_NO_ERRORMESSAGE </item> <item> TQT_NO_ERRORMESSAGE </item>
<item> QT_NO_EXCEPTIONS </item> <item> TQT_NO_EXCEPTIONS </item>
<item> QT_NO_FILEDIALOG </item> <item> TQT_NO_FILEDIALOG </item>
<item> QT_NO_FILESYSTEMMODEL </item> <item> TQT_NO_FILESYSTEMMODEL </item>
<item> QT_NO_FONTCOMBOBOX </item> <item> TQT_NO_FONTCOMBOBOX </item>
<item> QT_NO_FONTCONFIG </item> <item> TQT_NO_FONTCONFIG </item>
<item> QT_NO_FONTDIALOG </item> <item> TQT_NO_FONTDIALOG </item>
<item> QT_NO_FPU </item> <item> TQT_NO_FPU </item>
<item> QT_NO_FSCOMPLETER </item> <item> TQT_NO_FSCOMPLETER </item>
<item> QT_NO_FTP </item> <item> TQT_NO_FTP </item>
<item> QT_NO_GETIFADDRS </item> <item> TQT_NO_GETIFADDRS </item>
<item> QT_NO_GRAPHICSEFFECT </item> <item> TQT_NO_GRAPHICSEFFECT </item>
<item> QT_NO_GRAPHICSSVGITEM </item> <item> TQT_NO_GRAPHICSSVGITEM </item>
<item> QT_NO_GRAPHICSVIEW </item> <item> TQT_NO_GRAPHICSVIEW </item>
<item> QT_NO_GSTREAMER </item> <item> TQT_NO_GSTREAMER </item>
<item> QT_NO_HOSTINFO </item> <item> TQT_NO_HOSTINFO </item>
<item> QT_NO_HTTP </item> <item> TQT_NO_HTTP </item>
<item> QT_NO_ICD </item> <item> TQT_NO_ICD </item>
<item> QT_NO_IM </item> <item> TQT_NO_IM </item>
<item> QT_NO_IMAGEFORMAT_JPEG </item> <item> TQT_NO_IMAGEFORMAT_JPEG </item>
<item> QT_NO_IMAGEFORMAT_MNG </item> <item> TQT_NO_IMAGEFORMAT_MNG </item>
<item> QT_NO_IMAGEFORMAT_PNG </item> <item> TQT_NO_IMAGEFORMAT_PNG </item>
<item> QT_NO_IMAGEFORMAT_TIFF </item> <item> TQT_NO_IMAGEFORMAT_TIFF </item>
<item> QT_NO_IMAGEFORMAT_XPM </item> <item> TQT_NO_IMAGEFORMAT_XPM </item>
<item> QT_NO_INPUTDIALOG </item> <item> TQT_NO_INPUTDIALOG </item>
<item> QT_NO_ITEMVIEWS </item> <item> TQT_NO_ITEMVIEWS </item>
<item> QT_NO_LIBRARY </item> <item> TQT_NO_LIBRARY </item>
<item> QT_NO_LISTVIEW </item> <item> TQT_NO_LISTVIEW </item>
<item> QT_NO_LISTWIDGET </item> <item> TQT_NO_LISTWIDGET </item>
<item> QT_NO_LPR </item> <item> TQT_NO_LPR </item>
<item> QT_NO_MAINWINDOW </item> <item> TQT_NO_MAINWINDOW </item>
<item> QT_NO_MDIAREA </item> <item> TQT_NO_MDIAREA </item>
<item> QT_NO_MENU </item> <item> TQT_NO_MENU </item>
<item> QT_NO_MENUBAR </item> <item> TQT_NO_MENUBAR </item>
<item> QT_NO_MITSHM </item> <item> TQT_NO_MITSHM </item>
<item> QT_NO_MULTIMEDIA </item> <item> TQT_NO_MULTIMEDIA </item>
<item> QT_NO_NAS </item> <item> TQT_NO_NAS </item>
<item> QT_NO_NETWORKDISKCACHE </item> <item> TQT_NO_NETWORKDISKCACHE </item>
<item> QT_NO_OPENGL </item> <item> TQT_NO_OPENGL </item>
<item> QT_NO_OPENVG </item> <item> TQT_NO_OPENVG </item>
<item> QT_NO_PAINT_DEBUG </item> <item> TQT_NO_PAINT_DEBUG </item>
<item> QT_NO_PHONON </item> <item> TQT_NO_PHONON </item>
<item> QT_NO_PHONON_EFFECTWIDGET </item> <item> TQT_NO_PHONON_EFFECTWIDGET </item>
<item> QT_NO_PHONON_PLATFORMPLUGIN </item> <item> TQT_NO_PHONON_PLATFORMPLUGIN </item>
<item> QT_NO_PHONON_SEEKSLIDER </item> <item> TQT_NO_PHONON_SEEKSLIDER </item>
<item> QT_NO_PHONON_SETTINGSGROUP </item> <item> TQT_NO_PHONON_SETTINGSGROUP </item>
<item> QT_NO_PHONON_VIDEOPLAYER </item> <item> TQT_NO_PHONON_VIDEOPLAYER </item>
<item> QT_NO_PHONON_VOLUMEFADEREFFECT </item> <item> TQT_NO_PHONON_VOLUMEFADEREFFECT </item>
<item> QT_NO_PHONON_VOLUMESLIDER </item> <item> TQT_NO_PHONON_VOLUMESLIDER </item>
<item> QT_NO_PRINTDIALOG </item> <item> TQT_NO_PRINTDIALOG </item>
<item> QT_NO_PRINTER </item> <item> TQT_NO_PRINTER </item>
<item> QT_NO_PRINTPREVIEWDIALOG </item> <item> TQT_NO_PRINTPREVIEWDIALOG </item>
<item> QT_NO_PRINTPREVIEWWIDGET </item> <item> TQT_NO_PRINTPREVIEWWIDGET </item>
<item> QT_NO_PROCESS </item> <item> TQT_NO_PROCESS </item>
<item> QT_NO_PROGRESSDIALOG </item> <item> TQT_NO_PROGRESSDIALOG </item>
<item> QT_NO_PROXYMODEL </item> <item> TQT_NO_PROXYMODEL </item>
<item> QT_NO_PULSEAUDIO </item> <item> TQT_NO_PULSEAUDIO </item>
<item> QT_NO_QDEBUG_MACRO </item> <item> TQT_NO_QDEBUG_MACRO </item>
<item> QT_NO_QFUTURE </item> <item> TQT_NO_QFUTURE </item>
<item> QT_NO_QWARNING_MACRO </item> <item> TQT_NO_QWARNING_MACRO </item>
<item> QT_NO_QWS_CURSOR </item> <item> TQT_NO_QWS_CURSOR </item>
<item> QT_NO_QWS_DECORATION_STYLED </item> <item> TQT_NO_QWS_DECORATION_STYLED </item>
<item> QT_NO_QWS_DECORATION_WINDOWS </item> <item> TQT_NO_QWS_DECORATION_WINDOWS </item>
<item> QT_NO_QWS_DYNAMICSCREENTRANSFORMATION </item> <item> TQT_NO_QWS_DYNAMICSCREENTRANSFORMATION </item>
<item> QT_NO_QWS_INPUTMETHODS </item> <item> TQT_NO_QWS_INPUTMETHODS </item>
<item> QT_NO_QWS_MANAGER </item> <item> TQT_NO_QWS_MANAGER </item>
<item> QT_NO_QWS_MULTIPROCESS </item> <item> TQT_NO_QWS_MULTIPROCESS </item>
<item> QT_NO_QWS_SOUNDSERVER </item> <item> TQT_NO_QWS_SOUNDSERVER </item>
<item> QT_NO_QWS_TRANSFORMED </item> <item> TQT_NO_QWS_TRANSFORMED </item>
<item> QT_NO_QWS_VNC </item> <item> TQT_NO_QWS_VNC </item>
<item> QT_NO_RAWFONT </item> <item> TQT_NO_RAWFONT </item>
<item> QT_NO_S60 </item> <item> TQT_NO_S60 </item>
<item> QT_NO_SCRIPT </item> <item> TQT_NO_SCRIPT </item>
<item> QT_NO_SCRIPTTOOLS </item> <item> TQT_NO_SCRIPTTOOLS </item>
<item> QT_NO_SCROLLAREA </item> <item> TQT_NO_SCROLLAREA </item>
<item> QT_NO_SCROLLBAR </item> <item> TQT_NO_SCROLLBAR </item>
<item> QT_NO_SESSIONMANAGER </item> <item> TQT_NO_SESSIONMANAGER </item>
<item> QT_NO_SHAPE </item> <item> TQT_NO_SHAPE </item>
<item> QT_NO_SHAREDMEMORY </item> <item> TQT_NO_SHAREDMEMORY </item>
<item> QT_NO_SOCKS5 </item> <item> TQT_NO_SOCKS5 </item>
<item> QT_NO_SOFTKEYMANAGER </item> <item> TQT_NO_SOFTKEYMANAGER </item>
<item> QT_NO_SORTFILTERPROXYMODEL </item> <item> TQT_NO_SORTFILTERPROXYMODEL </item>
<item> QT_NO_SPINBOX </item> <item> TQT_NO_SPINBOX </item>
<item> QT_NO_SPLITTER </item> <item> TQT_NO_SPLITTER </item>
<item> QT_NO_STANDARDITEMMODEL </item> <item> TQT_NO_STANDARDITEMMODEL </item>
<item> QT_NO_STATEMACHINE </item> <item> TQT_NO_STATEMACHINE </item>
<item> QT_NO_STL_WCHAR </item> <item> TQT_NO_STL_WCHAR </item>
<item> QT_NO_STRINGLISTMODEL </item> <item> TQT_NO_STRINGLISTMODEL </item>
<item> QT_NO_STYLE_CDE </item> <item> TQT_NO_STYLE_CDE </item>
<item> QT_NO_STYLE_CLEANLOOKS </item> <item> TQT_NO_STYLE_CLEANLOOKS </item>
<item> QT_NO_STYLE_GTK </item> <item> TQT_NO_STYLE_GTK </item>
<item> QT_NO_STYLE_PLASTIQUE </item> <item> TQT_NO_STYLE_PLASTIQUE </item>
<item> QT_NO_STYLE_S60 </item> <item> TQT_NO_STYLE_S60 </item>
<item> QT_NO_STYLE_STYLESHEET </item> <item> TQT_NO_STYLE_STYLESHEET </item>
<item> QT_NO_STYLE_WINDOWSCE </item> <item> TQT_NO_STYLE_WINDOWSCE </item>
<item> QT_NO_STYLE_WINDOWSMOBILE </item> <item> TQT_NO_STYLE_WINDOWSMOBILE </item>
<item> QT_NO_STYLE_WINDOWSVISTA </item> <item> TQT_NO_STYLE_WINDOWSVISTA </item>
<item> QT_NO_STYLE_WINDOWSXP </item> <item> TQT_NO_STYLE_WINDOWSXP </item>
<item> QT_NO_SVG </item> <item> TQT_NO_SVG </item>
<item> QT_NO_SVGGENERATOR </item> <item> TQT_NO_SVGGENERATOR </item>
<item> QT_NO_SVGRENDERER </item> <item> TQT_NO_SVGRENDERER </item>
<item> QT_NO_SVGWIDGET </item> <item> TQT_NO_SVGWIDGET </item>
<item> QT_NO_SXE </item> <item> TQT_NO_SXE </item>
<item> QT_NO_SYNTAXHIGHLIGHTER </item> <item> TQT_NO_SYNTAXHIGHLIGHTER </item>
<item> QT_NO_SYSTEMSEMAPHORE </item> <item> TQT_NO_SYSTEMSEMAPHORE </item>
<item> QT_NO_TABBAR </item> <item> TQT_NO_TABBAR </item>
<item> QT_NO_TABDIALOG </item> <item> TQT_NO_TABDIALOG </item>
<item> QT_NO_TABLET </item> <item> TQT_NO_TABLET </item>
<item> QT_NO_TABLEVIEW </item> <item> TQT_NO_TABLEVIEW </item>
<item> QT_NO_TABLEWIDGET </item> <item> TQT_NO_TABLEWIDGET </item>
<item> QT_NO_TABWIDGET </item> <item> TQT_NO_TABWIDGET </item>
<item> QT_NO_TEMPLATE_TEMPLATE_PARAMETERS </item> <item> TQT_NO_TEMPLATE_TEMPLATE_PARAMETERS </item>
<item> QT_NO_TEXTBROWSER </item> <item> TQT_NO_TEXTBROWSER </item>
<item> QT_NO_TEXTCODECPLUGIN </item> <item> TQT_NO_TEXTCODECPLUGIN </item>
<item> QT_NO_TEXTEDIT </item> <item> TQT_NO_TEXTEDIT </item>
<item> QT_NO_TEXTODFWRITER </item> <item> TQT_NO_TEXTODFWRITER </item>
<item> QT_NO_TOOLBAR </item> <item> TQT_NO_TOOLBAR </item>
<item> QT_NO_TOOLBOX </item> <item> TQT_NO_TOOLBOX </item>
<item> QT_NO_TOOLBUTTON </item> <item> TQT_NO_TOOLBUTTON </item>
<item> QT_NO_TRANSLATION_UTF8 </item> <item> TQT_NO_TRANSLATION_UTF8 </item>
<item> QT_NO_TREEVIEW </item> <item> TQT_NO_TREEVIEW </item>
<item> QT_NO_TREEWIDGET </item> <item> TQT_NO_TREEWIDGET </item>
<item> QT_NO_UNDOGROUP </item> <item> TQT_NO_UNDOGROUP </item>
<item> QT_NO_UNDOSTACK </item> <item> TQT_NO_UNDOSTACK </item>
<item> QT_NO_UNDOVIEW </item> <item> TQT_NO_UNDOVIEW </item>
<item> QT_NO_WARNINGS </item> <item> TQT_NO_WARNINGS </item>
<item> QT_NO_WEBKIT </item> <item> TQT_NO_WEBKIT </item>
<item> QT_NO_WHATSTHIS </item> <item> TQT_NO_WHATSTHIS </item>
<item> QT_NO_WIN_ACTIVEQT </item> <item> TQT_NO_WIN_ACTIVEQT </item>
<item> QT_NO_WIZARD </item> <item> TQT_NO_WIZARD </item>
<item> QT_NO_WORKSPACE </item> <item> TQT_NO_WORKSPACE </item>
<item> QT_NO_XCURSOR </item> <item> TQT_NO_XCURSOR </item>
<item> QT_NO_XFIXES </item> <item> TQT_NO_XFIXES </item>
<item> QT_NO_XINERAMA </item> <item> TQT_NO_XINERAMA </item>
<item> QT_NO_XINPUT </item> <item> TQT_NO_XINPUT </item>
<item> QT_NO_XKB </item> <item> TQT_NO_XKB </item>
<item> QT_NO_XMLPATTERNS </item> <item> TQT_NO_XMLPATTERNS </item>
<item> QT_NO_XMLSTREAMREADER </item> <item> TQT_NO_XMLSTREAMREADER </item>
<item> QT_NO_XMLSTREAMWRITER </item> <item> TQT_NO_XMLSTREAMWRITER </item>
<item> QT_NO_XRANDR </item> <item> TQT_NO_XRANDR </item>
<item> QT_NO_XRENDER </item> <item> TQT_NO_XRENDER </item>
<item> QT_NO_XSYNC </item> <item> TQT_NO_XSYNC </item>
<item> QT_NO_XVIDEO </item> <item> TQT_NO_XVIDEO </item>
<item> QT_NO_ZLIB </item> <item> TQT_NO_ZLIB </item>
<item> QT_PACKAGEDATE_STR </item> <item> QT_PACKAGEDATE_STR </item>
<item> QT_PACKAGE_TAG </item> <item> QT_PACKAGE_TAG </item>
<item> QT_POINTER_SIZE </item> <item> QT_POINTER_SIZE </item>

@ -533,7 +533,7 @@ TQDataStream & operator>> (TQDataStream & s, KURL & a)
return s; return s;
} }
#ifndef QT_NO_NETWORKPROTOCOL #ifndef TQT_NO_NETWORKPROTOCOL
KURL::KURL( const TQUrl &u ) KURL::KURL( const TQUrl &u )
{ {
d = new KURLPrivate(); d = new KURLPrivate();
@ -1065,7 +1065,7 @@ KURL& KURL::operator=( const char * _url )
return *this; return *this;
} }
#ifndef QT_NO_NETWORKPROTOCOL #ifndef TQT_NO_NETWORKPROTOCOL
KURL& KURL::operator=( const TQUrl & u ) KURL& KURL::operator=( const TQUrl & u )
{ {
m_strProtocol = u.protocol(); m_strProtocol = u.protocol();

@ -64,7 +64,7 @@
#include <tqstylefactory.h> #include <tqstylefactory.h>
#include <tqmetaobject.h> #include <tqmetaobject.h>
#include <tqimage.h> #include <tqimage.h>
#ifndef QT_NO_SQL #ifndef TQT_NO_SQL
#include <tqsqlpropertymap.h> #include <tqsqlpropertymap.h>
#endif #endif
@ -2610,7 +2610,7 @@ void TDEApplication::propagateSettings(SettingsCategory arg)
void TDEApplication::installKDEPropertyMap() void TDEApplication::installKDEPropertyMap()
{ {
#ifndef QT_NO_SQL #ifndef TQT_NO_SQL
static bool installed = false; static bool installed = false;
if (installed) return; if (installed) return;
installed = true; installed = true;

@ -25,7 +25,7 @@ link_directories(
) )
add_definitions( add_definitions(
-DQT_NO_CAST_ASCII -DTQT_NO_CAST_ASCII
-DSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" -DSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
) )

@ -1,4 +1,4 @@
AM_CPPFLAGS = -I$(top_srcdir)/tdecore -I$(top_srcdir)/tdeunittest $(all_includes) -DQT_NO_CAST_ASCII -DSRCDIR=\"$(srcdir)\" AM_CPPFLAGS = -I$(top_srcdir)/tdecore -I$(top_srcdir)/tdeunittest $(all_includes) -DTQT_NO_CAST_ASCII -DSRCDIR=\"$(srcdir)\"
check_PROGRAMS = test1 test2 test3 test4 test5 test6 test7 test8 test9 test_dpointer check_PROGRAMS = test1 test2 test3 test4 test5 test6 test7 test8 test9 test_dpointer

@ -20,7 +20,7 @@
#include "tdemultipledrag.h" #include "tdemultipledrag.h"
#include "kdebug.h" #include "kdebug.h"
#ifndef QT_NO_DRAGANDDROP #ifndef TQT_NO_DRAGANDDROP
KMultipleDrag::KMultipleDrag( TQWidget *dragSource, const char *name ) KMultipleDrag::KMultipleDrag( TQWidget *dragSource, const char *name )
: TQDragObject( dragSource, name ) : TQDragObject( dragSource, name )

@ -20,7 +20,7 @@
#ifndef TDEMULTIPLEDRAG_H #ifndef TDEMULTIPLEDRAG_H
#define TDEMULTIPLEDRAG_H #define TDEMULTIPLEDRAG_H
#ifndef QT_NO_DRAGANDDROP #ifndef TQT_NO_DRAGANDDROP
#include <tqdragobject.h> #include <tqdragobject.h>
#include <tqvaluelist.h> #include <tqvaluelist.h>
@ -100,6 +100,6 @@ private:
KMultipleDragPrivate* d; KMultipleDragPrivate* d;
}; };
#endif // QT_NO_DRAGANDDROP #endif // TQT_NO_DRAGANDDROP
#endif // TDEMULTIPLEDRAG_H #endif // TDEMULTIPLEDRAG_H

@ -939,7 +939,7 @@ void RenderBlock::bidiReorderLine(const BidiIterator &start, const BidiIterator
dirCurrent = bidi.current.direction(); dirCurrent = bidi.current.direction();
} }
#ifndef QT_NO_UNICODETABLES #ifndef TQT_NO_UNICODETABLES
#if BIDI_DEBUG > 1 #if BIDI_DEBUG > 1
kdDebug(6041) << "directions: dir=" << (int)dir << " current=" << (int)dirCurrent << " last=" << status.last << " eor=" << status.eor << " lastStrong=" << status.lastStrong << " embedding=" << (int)context->dir << " level =" << (int)context->level << endl; kdDebug(6041) << "directions: dir=" << (int)dir << " current=" << (int)dirCurrent << " last=" << status.last << " eor=" << status.eor << " lastStrong=" << status.lastStrong << " embedding=" << (int)context->dir << " level =" << (int)context->level << endl;
@ -1620,7 +1620,7 @@ BidiIterator RenderBlock::findNextLineBreak(BidiIterator &start, BidiState &bidi
// remove leading spaces. Any inline flows we encounter will be empty and should also // remove leading spaces. Any inline flows we encounter will be empty and should also
// be skipped. // be skipped.
while (!start.atEnd() && (start.obj->isInlineFlow() || (!start.obj->style()->preserveWS() && !start.obj->isBR() && while (!start.atEnd() && (start.obj->isInlineFlow() || (!start.obj->style()->preserveWS() && !start.obj->isBR() &&
#ifndef QT_NO_UNICODETABLES #ifndef TQT_NO_UNICODETABLES
( (start.current().unicode() == (ushort)0x0020) || // ASCII space ( (start.current().unicode() == (ushort)0x0020) || // ASCII space
(start.current().unicode() == (ushort)0x0009) || // ASCII tab (start.current().unicode() == (ushort)0x0009) || // ASCII tab
(start.current().unicode() == (ushort)0x000A) || // ASCII line feed (start.current().unicode() == (ushort)0x000A) || // ASCII line feed

@ -225,7 +225,7 @@ void TDEHTMLPartBrowserExtension::copy()
TQClipboard *cb = TQApplication::clipboard(); TQClipboard *cb = TQApplication::clipboard();
disconnect( cb, TQT_SIGNAL( selectionChanged() ), m_part, TQT_SLOT( slotClearSelection() ) ); disconnect( cb, TQT_SIGNAL( selectionChanged() ), m_part, TQT_SLOT( slotClearSelection() ) );
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
TQString htmltext; TQString htmltext;
/* /*
* When selectionModeEnabled, that means the user has just selected * When selectionModeEnabled, that means the user has just selected
@ -334,7 +334,7 @@ void TDEHTMLPartBrowserExtension::updateEditActions()
} }
// ### duplicated from KonqMainWindow::slotClipboardDataChanged // ### duplicated from KonqMainWindow::slotClipboardDataChanged
#ifndef QT_NO_MIMECLIPBOARD // Handle minimalized versions of Qt Embedded #ifndef TQT_NO_MIMECLIPBOARD // Handle minimalized versions of Qt Embedded
TQMimeSource *data = TQApplication::clipboard()->data(); TQMimeSource *data = TQApplication::clipboard()->data();
enableAction( "paste", data->provides( "text/plain" ) ); enableAction( "paste", data->provides( "text/plain" ) );
#else #else
@ -604,12 +604,12 @@ TDEHTMLPopupGUIClient::TDEHTMLPopupGUIClient( TDEHTMLPart *tdehtml, const TQStri
actionCollection(), "sendimage" ); actionCollection(), "sendimage" );
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
(new TDEAction( i18n( "Copy Image" ), 0, this, TQT_SLOT( slotCopyImage() ), (new TDEAction( i18n( "Copy Image" ), 0, this, TQT_SLOT( slotCopyImage() ),
actionCollection(), "copyimage" ))->setEnabled(!d->m_pixmap.isNull()); actionCollection(), "copyimage" ))->setEnabled(!d->m_pixmap.isNull());
#endif #endif
if(d->m_pixmap.isNull()) { //fallback to image location if still loading the image. this will always be true if ifdef QT_NO_MIMECLIPBOARD if(d->m_pixmap.isNull()) { //fallback to image location if still loading the image. this will always be true if ifdef TQT_NO_MIMECLIPBOARD
new TDEAction( i18n( "Copy Image Location" ), 0, this, TQT_SLOT( slotCopyImageLocation() ), new TDEAction( i18n( "Copy Image Location" ), 0, this, TQT_SLOT( slotCopyImageLocation() ),
actionCollection(), "copyimagelocation" ); actionCollection(), "copyimagelocation" );
} }
@ -711,7 +711,7 @@ void TDEHTMLPopupGUIClient::slotCopyLinkLocation()
{ {
KURL safeURL(d->m_url); KURL safeURL(d->m_url);
safeURL.setPass(TQString::null); safeURL.setPass(TQString::null);
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
// Set it in both the mouse selection and in the clipboard // Set it in both the mouse selection and in the clipboard
KURL::List lst; KURL::List lst;
lst.append( safeURL ); lst.append( safeURL );
@ -729,7 +729,7 @@ void TDEHTMLPopupGUIClient::slotStopAnimations()
void TDEHTMLPopupGUIClient::slotCopyImage() void TDEHTMLPopupGUIClient::slotCopyImage()
{ {
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
KURL safeURL(d->m_imageURL); KURL safeURL(d->m_imageURL);
safeURL.setPass(TQString::null); safeURL.setPass(TQString::null);
@ -752,7 +752,7 @@ void TDEHTMLPopupGUIClient::slotCopyImageLocation()
{ {
KURL safeURL(d->m_imageURL); KURL safeURL(d->m_imageURL);
safeURL.setPass(TQString::null); safeURL.setPass(TQString::null);
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
// Set it in both the mouse selection and in the clipboard // Set it in both the mouse selection and in the clipboard
KURL::List lst; KURL::List lst;
lst.append( safeURL ); lst.append( safeURL );

@ -93,7 +93,7 @@ using namespace DOM;
#include <kurldrag.h> #include <kurldrag.h>
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeparts/browserinterface.h> #include <tdeparts/browserinterface.h>
#if !defined(QT_NO_DRAGANDDROP) #if !defined(TQT_NO_DRAGANDDROP)
#include <tdemultipledrag.h> #include <tdemultipledrag.h>
#endif #endif
#include "../tdeutils/kfinddialog.h" #include "../tdeutils/kfinddialog.h"
@ -1483,7 +1483,7 @@ void TDEHTMLPart::clear()
d->m_selectionEnd = DOM::Node(); d->m_selectionEnd = DOM::Node();
d->m_startOffset = 0; d->m_startOffset = 0;
d->m_endOffset = 0; d->m_endOffset = 0;
#ifndef QT_NO_CLIPBOARD #ifndef TQT_NO_CLIPBOARD
connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), TQT_SLOT( slotClearSelection())); connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), TQT_SLOT( slotClearSelection()));
#endif #endif
@ -3008,7 +3008,7 @@ void TDEHTMLPart::findText()
} }
// The lineedit of the dialog would make tdehtml lose its selection, otherwise // The lineedit of the dialog would make tdehtml lose its selection, otherwise
#ifndef QT_NO_CLIPBOARD #ifndef TQT_NO_CLIPBOARD
disconnect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotClearSelection()) ); disconnect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotClearSelection()) );
#endif #endif
@ -3039,7 +3039,7 @@ void TDEHTMLPart::findText( const TQString &str, long options, TQWidget *parent,
if ( !d->m_doc ) if ( !d->m_doc )
return; return;
#ifndef QT_NO_CLIPBOARD #ifndef TQT_NO_CLIPBOARD
connect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotClearSelection()) ); connect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotClearSelection()) );
#endif #endif
@ -6392,7 +6392,7 @@ void TDEHTMLPart::tdehtmlMouseMoveEvent( tdehtml::MouseMoveEvent *event )
DOM::DOMString target = event->target(); DOM::DOMString target = event->target();
DOM::Node innerNode = event->innerNode(); DOM::Node innerNode = event->innerNode();
#ifndef QT_NO_DRAGANDDROP #ifndef TQT_NO_DRAGANDDROP
if( d->m_bDnd && d->m_bMousePressed && if( d->m_bDnd && d->m_bMousePressed &&
( (!d->m_strSelectedURL.isEmpty() && !isEditable()) ( (!d->m_strSelectedURL.isEmpty() && !isEditable())
|| (!d->m_mousePressNode.isNull() && d->m_mousePressNode.elementId() == ID_IMG) ) ) { || (!d->m_mousePressNode.isNull() && d->m_mousePressNode.elementId() == ID_IMG) ) ) {
@ -6539,7 +6539,7 @@ void TDEHTMLPart::tdehtmlMouseReleaseEvent( tdehtml::MouseReleaseEvent *event )
tmp_iface->callMethod( "goHistory(int)", -1 ); tmp_iface->callMethod( "goHistory(int)", -1 );
} }
} }
#ifndef QT_NO_CLIPBOARD #ifndef TQT_NO_CLIPBOARD
if ((d->m_guiProfile == BrowserViewGUI) && (_mouse->button() == Qt::MidButton) && (event->url().isNull())) { if ((d->m_guiProfile == BrowserViewGUI) && (_mouse->button() == Qt::MidButton) && (event->url().isNull())) {
kdDebug( 6050 ) << "TDEHTMLPart::tdehtmlMouseReleaseEvent() MMB shouldOpen=" kdDebug( 6050 ) << "TDEHTMLPart::tdehtmlMouseReleaseEvent() MMB shouldOpen="
<< d->m_bOpenMiddleClick << endl; << d->m_bOpenMiddleClick << endl;
@ -6613,7 +6613,7 @@ void TDEHTMLPart::tdehtmlMouseReleaseEvent( tdehtml::MouseReleaseEvent *event )
emitCaretPositionChanged(v ? d->caretNode() : 0, d->caretOffset()); emitCaretPositionChanged(v ? d->caretNode() : 0, d->caretOffset());
#endif #endif
// get selected text and paste to the clipboard // get selected text and paste to the clipboard
#ifndef QT_NO_CLIPBOARD #ifndef TQT_NO_CLIPBOARD
TQString text = selectedText(); TQString text = selectedText();
text.replace(TQChar(0xa0), ' '); text.replace(TQChar(0xa0), ' ');
disconnect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), this, TQT_SLOT( slotClearSelection())); disconnect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), this, TQT_SLOT( slotClearSelection()));

@ -112,7 +112,7 @@ using namespace tdehtml;
class TDEHTMLToolTip; class TDEHTMLToolTip;
#ifndef QT_NO_TOOLTIP #ifndef TQT_NO_TOOLTIP
class TDEHTMLToolTip : public TQToolTip class TDEHTMLToolTip : public TQToolTip
{ {
@ -412,7 +412,7 @@ public:
#endif #endif
}; };
#ifndef QT_NO_TOOLTIP #ifndef TQT_NO_TOOLTIP
/** calculates the client-side image map rectangle for the given image element /** calculates the client-side image map rectangle for the given image element
* @param img image element * @param img image element
@ -507,7 +507,7 @@ TDEHTMLView::TDEHTMLView( TDEHTMLPart *part, TQWidget *parent, const char *name)
KImageIO::registerFormats(); KImageIO::registerFormats();
#ifndef QT_NO_TOOLTIP #ifndef TQT_NO_TOOLTIP
d->tooltip = new TDEHTMLToolTip( this, d ); d->tooltip = new TDEHTMLToolTip( this, d );
#endif #endif
@ -2866,7 +2866,7 @@ void TDEHTMLView::print(bool quick)
bool scalePage = false; bool scalePage = false;
double scale = 0.0; double scale = 0.0;
#ifndef QT_NO_TRANSFORMATIONS #ifndef TQT_NO_TRANSFORMATIONS
if(root->docWidth() > metrics.width()) { if(root->docWidth() > metrics.width()) {
scalePage = true; scalePage = true;
scale = ((double) metrics.width())/((double) root->docWidth()); scale = ((double) metrics.width())/((double) root->docWidth());
@ -2921,7 +2921,7 @@ void TDEHTMLView::print(bool quick)
} }
#ifndef QT_NO_TRANSFORMATIONS #ifndef TQT_NO_TRANSFORMATIONS
if (scalePage) if (scalePage)
p->scale(scale, scale); p->scale(scale, scale);
#endif #endif
@ -2993,7 +2993,7 @@ void TDEHTMLView::paint(TQPainter *p, const TQRect &rc, int yOff, bool *more)
p->translate(rc.left(), rc.top()); p->translate(rc.left(), rc.top());
double scale = ((double) rc.width()/(double) root->docWidth()); double scale = ((double) rc.width()/(double) root->docWidth());
int height = (int) ((double) rc.height() / scale); int height = (int) ((double) rc.height() / scale);
#ifndef QT_NO_TRANSFORMATIONS #ifndef TQT_NO_TRANSFORMATIONS
p->scale(scale, scale); p->scale(scale, scale);
#endif #endif
root->setPageTop(yOff); root->setPageTop(yOff);
@ -3267,7 +3267,7 @@ void TDEHTMLView::setIgnoreWheelEvents( bool e )
d->ignoreWheelEvents = e; d->ignoreWheelEvents = e;
} }
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
void TDEHTMLView::viewportWheelEvent(TQWheelEvent* e) void TDEHTMLView::viewportWheelEvent(TQWheelEvent* e)
{ {

@ -203,7 +203,7 @@ protected:
virtual void viewportMouseMoveEvent(TQMouseEvent *); virtual void viewportMouseMoveEvent(TQMouseEvent *);
virtual void viewportMouseReleaseEvent(TQMouseEvent *); virtual void viewportMouseReleaseEvent(TQMouseEvent *);
virtual void viewportResizeEvent(TQResizeEvent*); virtual void viewportResizeEvent(TQResizeEvent*);
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
virtual void viewportWheelEvent(TQWheelEvent*); virtual void viewportWheelEvent(TQWheelEvent*);
#endif #endif
virtual void dragEnterEvent( TQDragEnterEvent* ); virtual void dragEnterEvent( TQDragEnterEvent* );
@ -220,7 +220,7 @@ protected:
#ifndef NO_SMOOTH_SCROLL_HACK #ifndef NO_SMOOTH_SCROLL_HACK
void startScrolling(); void startScrolling();
void stopScrolling(); void stopScrolling();
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
void scrollViewWheelEvent( TQWheelEvent* e ); void scrollViewWheelEvent( TQWheelEvent* e );
#endif #endif
#endif #endif

@ -21,8 +21,8 @@
*/ */
#include "ecma/kjs_proxy.h" #include "ecma/kjs_proxy.h"
#define QT_NO_XRANDR 1 #define TQT_NO_XRANDR 1
#define QT_NO_XFTFREETYPE 1 #define TQT_NO_XFTFREETYPE 1
#include <private/qfontengine_p.h> #include <private/qfontengine_p.h>
#include <tqfontdatabase.h> #include <tqfontdatabase.h>
#include <tqfont.h> #include <tqfont.h>

@ -22,7 +22,7 @@ DEALINGS IN THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#undef QT_NO_CAST_ASCII #undef TQT_NO_CAST_ASCII
// See description in tdestartupconfig.cpp . // See description in tdestartupconfig.cpp .

@ -80,7 +80,7 @@ KSSLCertDlg::KSSLCertDlg(TQWidget *parent, const char *name, bool modal)
h->addWidget(d->p_pb_dontsend); h->addWidget(d->p_pb_dontsend);
connect(d->p_pb_dontsend, TQT_SIGNAL(clicked()), TQT_SLOT(slotDont())); connect(d->p_pb_dontsend, TQT_SIGNAL(clicked()), TQT_SLOT(slotDont()));
#ifndef QT_NO_WIDGET_TOPEXTRA #ifndef TQT_NO_WIDGET_TOPEXTRA
setCaption(i18n("KDE SSL Certificate Dialog")); setCaption(i18n("KDE SSL Certificate Dialog"));
#endif #endif
} }

@ -93,7 +93,7 @@ static TDEIO::CopyJob* pasteDataAsyncTo( const KURL& new_url, const TQByteArray&
return TDEIO::move( orig_url, new_url ); return TDEIO::move( orig_url, new_url );
} }
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
static TDEIO::CopyJob* chooseAndPaste( const KURL& u, TQMimeSource* data, static TDEIO::CopyJob* chooseAndPaste( const KURL& u, TQMimeSource* data,
const TQValueVector<TQCString>& formats, const TQValueVector<TQCString>& formats,
const TQString& text, const TQString& text,
@ -145,7 +145,7 @@ static TDEIO::CopyJob* chooseAndPaste( const KURL& u, TQMimeSource* data,
// KDE4: remove // KDE4: remove
TDEIO_EXPORT bool TDEIO::isClipboardEmpty() TDEIO_EXPORT bool TDEIO::isClipboardEmpty()
{ {
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
TQMimeSource *data = TQApplication::clipboard()->data(); TQMimeSource *data = TQApplication::clipboard()->data();
if ( data->provides( "text/uri-list" ) && data->encodedData( "text/uri-list" ).size() > 0 ) if ( data->provides( "text/uri-list" ) && data->encodedData( "text/uri-list" ).size() > 0 )
return false; return false;
@ -159,7 +159,7 @@ TDEIO_EXPORT bool TDEIO::isClipboardEmpty()
return true; return true;
} }
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
// The main method for dropping // The main method for dropping
TDEIO::CopyJob* TDEIO::pasteMimeSource( TQMimeSource* data, const KURL& dest_url, TDEIO::CopyJob* TDEIO::pasteMimeSource( TQMimeSource* data, const KURL& dest_url,
const TQString& dialogText, TQWidget* widget, bool clipboard ) const TQString& dialogText, TQWidget* widget, bool clipboard )
@ -214,7 +214,7 @@ TDEIO_EXPORT TDEIO::Job *TDEIO::pasteClipboard( const KURL& dest_url, bool move
return 0; return 0;
} }
#ifndef QT_NO_MIMECLIPBOARD #ifndef TQT_NO_MIMECLIPBOARD
TQMimeSource *data = TQApplication::clipboard()->data(); TQMimeSource *data = TQApplication::clipboard()->data();
// First check for URLs. // First check for URLs.

@ -26,13 +26,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// KDE File Manager -- HTTP Cookie Dialogs // KDE File Manager -- HTTP Cookie Dialogs
// $Id$ // $Id$
// The purpose of the QT_NO_TOOLTIP and QT_NO_WHATSTHIS ifdefs is because // The purpose of the TQT_NO_TOOLTIP and TQT_NO_WHATSTHIS ifdefs is because
// this file is also used in Konqueror/Embedded. One of the aims of // this file is also used in Konqueror/Embedded. One of the aims of
// Konqueror/Embedded is to be a small as possible to fit on embedded // Konqueror/Embedded is to be a small as possible to fit on embedded
// devices. For this it's also useful to strip out unneeded features of // devices. For this it's also useful to strip out unneeded features of
// Qt, like for example TQToolTip or TQWhatsThis. The availability (or the // Qt, like for example TQToolTip or TQWhatsThis. The availability (or the
// lack thereof) can be determined using these preprocessor defines. // lack thereof) can be determined using these preprocessor defines.
// The same applies to the QT_NO_ACCEL ifdef below. I hope it doesn't make // The same applies to the TQT_NO_ACCEL ifdef below. I hope it doesn't make
// too much trouble... (Simon) // too much trouble... (Simon)
#include <tqhbox.h> #include <tqhbox.h>
@ -48,11 +48,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqradiobutton.h> #include <tqradiobutton.h>
#include <tqvbuttongroup.h> #include <tqvbuttongroup.h>
#ifndef QT_NO_TOOLTIP #ifndef TQT_NO_TOOLTIP
#include <tqtooltip.h> #include <tqtooltip.h>
#endif #endif
#ifndef QT_NO_WHATSTHIS #ifndef TQT_NO_WHATSTHIS
#include <tqwhatsthis.h> #include <tqwhatsthis.h>
#endif #endif
@ -145,14 +145,14 @@ KCookieWin::KCookieWin( TQWidget *parent, KHttpCookieList cookieList,
txt = (count == 1)? i18n("&Only this cookie") : i18n("&Only these cookies"); txt = (count == 1)? i18n("&Only this cookie") : i18n("&Only these cookies");
TQRadioButton* rb = new TQRadioButton( txt, m_btnGrp ); TQRadioButton* rb = new TQRadioButton( txt, m_btnGrp );
#ifndef QT_NO_WHATSTHIS #ifndef TQT_NO_WHATSTHIS
TQWhatsThis::add( rb, i18n("Select this option to accept/reject only this cookie. " TQWhatsThis::add( rb, i18n("Select this option to accept/reject only this cookie. "
"You will be prompted if another cookie is received. " "You will be prompted if another cookie is received. "
"<em>(see WebBrowsing/Cookies in the Control Center)</em>." ) ); "<em>(see WebBrowsing/Cookies in the Control Center)</em>." ) );
#endif #endif
m_btnGrp->insert( rb ); m_btnGrp->insert( rb );
rb = new TQRadioButton( i18n("All cookies from this do&main"), m_btnGrp ); rb = new TQRadioButton( i18n("All cookies from this do&main"), m_btnGrp );
#ifndef QT_NO_WHATSTHIS #ifndef TQT_NO_WHATSTHIS
TQWhatsThis::add( rb, i18n("Select this option to accept/reject all cookies from " TQWhatsThis::add( rb, i18n("Select this option to accept/reject all cookies from "
"this site. Choosing this option will add a new policy for " "this site. Choosing this option will add a new policy for "
"the site this cookie originated from. This policy will be " "the site this cookie originated from. This policy will be "
@ -161,7 +161,7 @@ KCookieWin::KCookieWin( TQWidget *parent, KHttpCookieList cookieList,
#endif #endif
m_btnGrp->insert( rb ); m_btnGrp->insert( rb );
rb = new TQRadioButton( i18n("All &cookies"), m_btnGrp ); rb = new TQRadioButton( i18n("All &cookies"), m_btnGrp );
#ifndef QT_NO_WHATSTHIS #ifndef TQT_NO_WHATSTHIS
TQWhatsThis::add( rb, i18n("Select this option to accept/reject all cookies from " TQWhatsThis::add( rb, i18n("Select this option to accept/reject all cookies from "
"anywhere. Choosing this option will change the global " "anywhere. Choosing this option will change the global "
"cookie policy set in the Control Center for all cookies " "cookie policy set in the Control Center for all cookies "
@ -188,7 +188,7 @@ KCookieWin::KCookieWin( TQWidget *parent, KHttpCookieList cookieList,
connect( btn, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); connect( btn, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
bbLay->addWidget( btn ); bbLay->addWidget( btn );
bbLay->addStretch( 1 ); bbLay->addStretch( 1 );
#ifndef QT_NO_ACCEL #ifndef TQT_NO_ACCEL
TQAccel* a = new TQAccel( this ); TQAccel* a = new TQAccel( this );
a->connectItem( a->insertItem(Qt::Key_Escape), btn, TQT_SLOT(animateClick()) ); a->connectItem( a->insertItem(Qt::Key_Escape), btn, TQT_SLOT(animateClick()) );
#endif #endif
@ -197,7 +197,7 @@ KCookieWin::KCookieWin( TQWidget *parent, KHttpCookieList cookieList,
m_button->setText( m_showDetails ? i18n("&Details <<"):i18n("&Details >>") ); m_button->setText( m_showDetails ? i18n("&Details <<"):i18n("&Details >>") );
connect( m_button, TQT_SIGNAL(clicked()), TQT_SLOT(slotCookieDetails()) ); connect( m_button, TQT_SIGNAL(clicked()), TQT_SLOT(slotCookieDetails()) );
bbLay->addWidget( m_button ); bbLay->addWidget( m_button );
#ifndef QT_NO_WHATSTHIS #ifndef TQT_NO_WHATSTHIS
TQWhatsThis::add( m_button, i18n("See or modify the cookie information") ); TQWhatsThis::add( m_button, i18n("See or modify the cookie information") );
#endif #endif
@ -316,7 +316,7 @@ KCookieDetail::KCookieDetail( KHttpCookieList cookieList, int cookieCount,
btnNext->setFixedSize( btnNext->sizeHint() ); btnNext->setFixedSize( btnNext->sizeHint() );
grid->addMultiCellWidget( btnNext, 8, 8, 0, 1 ); grid->addMultiCellWidget( btnNext, 8, 8, 0, 1 );
connect( btnNext, TQT_SIGNAL(clicked()), TQT_SLOT(slotNextCookie()) ); connect( btnNext, TQT_SIGNAL(clicked()), TQT_SLOT(slotNextCookie()) );
#ifndef QT_NO_TOOLTIP #ifndef TQT_NO_TOOLTIP
TQToolTip::add( btnNext, i18n("Show details of the next cookie") ); TQToolTip::add( btnNext, i18n("Show details of the next cookie") );
#endif #endif
} }

@ -176,7 +176,7 @@ DrawView::DrawView()
// //
DrawView::~DrawView() DrawView::~DrawView()
{ {
#ifndef QT_NO_PRINTER #ifndef TQT_NO_PRINTER
delete printer; delete printer;
#endif #endif
} }
@ -208,7 +208,7 @@ void DrawView::drawIt( TQPainter *p )
void DrawView::printIt() void DrawView::printIt()
{ {
#ifndef QT_NO_PRINTER #ifndef TQT_NO_PRINTER
if ( printer->setup( this ) ) { if ( printer->setup( this ) ) {
TQPainter paint( printer ); TQPainter paint( printer );
drawIt( &paint ); drawIt( &paint );

@ -227,7 +227,7 @@ void HelpWindow::aboutQt()
void HelpWindow::openFile() void HelpWindow::openFile()
{ {
#ifndef QT_NO_FILEDIALOG #ifndef TQT_NO_FILEDIALOG
TQString fn = TQFileDialog::getOpenFileName( TQString::null, TQString::null, this ); TQString fn = TQFileDialog::getOpenFileName( TQString::null, TQString::null, this );
if ( !fn.isEmpty() ) if ( !fn.isEmpty() )
browser->setSource( fn ); browser->setSource( fn );

@ -504,7 +504,7 @@ void TDEIconViewItem::calcRect( const TQString& text_ )
int pw = 0; int pw = 0;
int ph = 0; int ph = 0;
#ifndef QT_NO_PICTURE #ifndef TQT_NO_PICTURE
if ( picture() ) { if ( picture() ) {
TQRect br = picture()->boundingRect(); TQRect br = picture()->boundingRect();
pw = br.width() + 2; pw = br.width() + 2;
@ -685,7 +685,7 @@ void TDEIconViewItem::paintPixmap( TQPainter *p, const TQColorGroup &cg )
{ {
TDEIconView *kview = static_cast<TDEIconView *>(iconView()); TDEIconView *kview = static_cast<TDEIconView *>(iconView());
#ifndef QT_NO_PICTURE #ifndef TQT_NO_PICTURE
if ( picture() ) { if ( picture() ) {
TQPicture *pic = picture(); TQPicture *pic = picture();
if ( isSelected() ) { if ( isSelected() ) {

@ -279,7 +279,7 @@ void KTabBar::dropEvent( TQDropEvent *e )
TQTabBar::dropEvent( e ); TQTabBar::dropEvent( e );
} }
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
void KTabBar::wheelEvent( TQWheelEvent *e ) void KTabBar::wheelEvent( TQWheelEvent *e )
{ {
if ( e->orientation() == Qt::Horizontal ) if ( e->orientation() == Qt::Horizontal )

@ -69,7 +69,7 @@ signals:
void receivedDropEvent( int, TQDropEvent * ); void receivedDropEvent( int, TQDropEvent * );
void moveTab( int, int ); void moveTab( int, int );
void closeRequest( int ); void closeRequest( int );
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
void wheelDelta( int ); void wheelDelta( int );
#endif #endif
@ -78,7 +78,7 @@ protected:
virtual void mousePressEvent( TQMouseEvent *e ); virtual void mousePressEvent( TQMouseEvent *e );
virtual void mouseMoveEvent( TQMouseEvent *e ); virtual void mouseMoveEvent( TQMouseEvent *e );
virtual void mouseReleaseEvent( TQMouseEvent *e ); virtual void mouseReleaseEvent( TQMouseEvent *e );
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
virtual void wheelEvent( TQWheelEvent *e ); virtual void wheelEvent( TQWheelEvent *e );
#endif #endif

@ -66,7 +66,7 @@ KTabWidget::KTabWidget( TQWidget *parent, const char *name, WFlags f )
connect(tabBar(), TQT_SIGNAL(receivedDropEvent( int, TQDropEvent * )), TQT_SLOT(receivedDropEvent( int, TQDropEvent * ))); connect(tabBar(), TQT_SIGNAL(receivedDropEvent( int, TQDropEvent * )), TQT_SLOT(receivedDropEvent( int, TQDropEvent * )));
connect(tabBar(), TQT_SIGNAL(moveTab( int, int )), TQT_SLOT(moveTab( int, int ))); connect(tabBar(), TQT_SIGNAL(moveTab( int, int )), TQT_SLOT(moveTab( int, int )));
connect(tabBar(), TQT_SIGNAL(closeRequest( int )), TQT_SLOT(closeRequest( int ))); connect(tabBar(), TQT_SIGNAL(closeRequest( int )), TQT_SLOT(closeRequest( int )));
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
connect(tabBar(), TQT_SIGNAL(wheelDelta( int )), TQT_SLOT(wheelDelta( int ))); connect(tabBar(), TQT_SIGNAL(wheelDelta( int )), TQT_SLOT(wheelDelta( int )));
#endif #endif
} }
@ -325,7 +325,7 @@ void KTabWidget::dropEvent( TQDropEvent *e )
TQTabWidget::dropEvent( e ); TQTabWidget::dropEvent( e );
} }
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
void KTabWidget::wheelEvent( TQWheelEvent *e ) void KTabWidget::wheelEvent( TQWheelEvent *e )
{ {
if ( e->orientation() == Qt::Horizontal ) if ( e->orientation() == Qt::Horizontal )

@ -277,7 +277,7 @@ protected:
virtual void dragMoveEvent( TQDragMoveEvent * ); virtual void dragMoveEvent( TQDragMoveEvent * );
virtual void dropEvent( TQDropEvent * ); virtual void dropEvent( TQDropEvent * );
unsigned int tabBarWidthForMaxChars( uint maxLength ); unsigned int tabBarWidthForMaxChars( uint maxLength );
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
virtual void wheelEvent( TQWheelEvent *e ); virtual void wheelEvent( TQWheelEvent *e );
#endif #endif
virtual void resizeEvent( TQResizeEvent * ); virtual void resizeEvent( TQResizeEvent * );
@ -289,7 +289,7 @@ protected slots:
virtual void mouseDoubleClick( int ); virtual void mouseDoubleClick( int );
virtual void mouseMiddleClick( int ); virtual void mouseMiddleClick( int );
virtual void closeRequest( int ); virtual void closeRequest( int );
#ifndef QT_NO_WHEELEVENT #ifndef TQT_NO_WHEELEVENT
virtual void wheelDelta( int ); virtual void wheelDelta( int );
#endif #endif

@ -463,7 +463,7 @@ TQSize KMultiTabBarButton::sizeHint() const
int w = 0, h = 0; int w = 0, h = 0;
// calculate contents size... // calculate contents size...
#ifndef QT_NO_ICONSET #ifndef TQT_NO_ICONSET
if ( iconSet() && !iconSet()->isNull() ) { if ( iconSet() && !iconSet()->isNull() ) {
int iw = iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).width() + 4; int iw = iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).width() + 4;
int ih = iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).height(); int ih = iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).height();

Loading…
Cancel
Save