Browse Source

TQt conversion fixes


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1158447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
tpearson 9 years ago
parent
commit
8f14fb0418
100 changed files with 220 additions and 220 deletions
  1. 1
    1
      arts/kde/kaudioconverter.h
  2. 1
    1
      arts/kde/kaudiomanagerplay.h
  3. 6
    6
      dcop/dcopclient.cpp
  4. 1
    1
      dcop/dcopidl/scanner.cc
  5. 1
    1
      dcop/dcopref.h
  6. 1
    1
      dcop/dcopserver.cpp
  7. 3
    3
      dcop/dcopserver.h
  8. 26
    26
      dcop/dcoptypes.h
  9. 1
    1
      dnssd/domainbrowser.h
  10. 1
    1
      dnssd/remoteservice.h
  11. 2
    2
      dnssd/servicebase.h
  12. 1
    1
      dnssd/servicebrowser.h
  13. 3
    3
      interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.h
  14. 1
    1
      interfaces/kscript/scriptclientinterface.h
  15. 2
    2
      interfaces/kscript/scriptinterface.h
  16. 1
    1
      interfaces/ktexteditor/blockselectioninterface.h
  17. 1
    1
      interfaces/ktexteditor/clipboardinterface.h
  18. 1
    1
      interfaces/ktexteditor/configinterface.h
  19. 2
    2
      interfaces/ktexteditor/documentinfo.h
  20. 1
    1
      interfaces/ktexteditor/dynwordwrapinterface.h
  21. 1
    1
      interfaces/ktexteditor/editorchooser.h
  22. 2
    2
      interfaces/ktexteditor/encodinginterface.h
  23. 2
    2
      interfaces/ktexteditor/highlightinginterface.h
  24. 1
    1
      interfaces/ktexteditor/markinterface.h
  25. 1
    1
      interfaces/ktexteditor/markinterfaceextension.h
  26. 2
    2
      interfaces/ktexteditor/popupmenuinterface.h
  27. 1
    1
      interfaces/ktexteditor/printinterface.h
  28. 3
    3
      interfaces/ktexteditor/searchinterface.h
  29. 1
    1
      interfaces/ktexteditor/selectioninterfaceext.h
  30. 1
    1
      interfaces/ktexteditor/sessionconfiginterface.h
  31. 1
    1
      interfaces/ktexteditor/undointerface.h
  32. 1
    1
      interfaces/ktexteditor/variableinterface.h
  33. 1
    1
      interfaces/ktexteditor/viewcursorinterface.h
  34. 2
    2
      interfaces/ktexteditor/viewstatusmsginterface.h
  35. 1
    1
      interfaces/ktexteditor/wordwrapinterface.h
  36. 2
    2
      interfaces/terminal/kde_terminal_interface.h
  37. 1
    1
      kab/addressbook.h
  38. 2
    2
      kab/kabapi.h
  39. 5
    5
      kab/qconfigDB.h
  40. 2
    2
      kabc/addresseedialog.cpp
  41. 1
    1
      kabc/agent.h
  42. 3
    3
      kabc/distributionlistdialog.h
  43. 3
    3
      kabc/distributionlisteditor.h
  44. 1
    1
      kabc/errorhandler.h
  45. 5
    5
      kabc/ldapconfigwidget.h
  46. 1
    1
      kabc/plugins/dir/resourcedir.h
  47. 4
    4
      kabc/plugins/ldapkio/resourceldapkioconfig.h
  48. 2
    2
      kabc/plugins/net/resourcenet.h
  49. 1
    1
      kabc/plugins/sql/resourcesql.h
  50. 1
    1
      kabc/plugins/sql/resourcesqlconfig.h
  51. 2
    2
      kabc/tests/testlock.h
  52. 1
    1
      kabc/vcardtool.h
  53. 2
    2
      kate/part/katebookmarks.h
  54. 1
    1
      kate/part/katebuffer.h
  55. 2
    2
      kate/part/katecodecompletion.h
  56. 1
    1
      kate/part/katecodefoldinghelpers.h
  57. 2
    2
      kate/part/kateconfig.h
  58. 14
    14
      kate/part/katedialogs.h
  59. 1
    1
      kate/part/katedocument.h
  60. 1
    1
      kate/part/katejscript.h
  61. 6
    6
      kate/part/kateprinter.h
  62. 1
    1
      kate/part/kateschema.h
  63. 1
    1
      kate/part/katetextline.h
  64. 1
    1
      kate/part/kateview.h
  65. 3
    3
      kate/part/kateviewinternal.h
  66. 1
    1
      kate/part/test_regression.h
  67. 1
    1
      kate/plugins/isearch/ISearchPlugin.h
  68. 6
    6
      kcert/kcertpart.h
  69. 2
    2
      kdecore/kaccel.h
  70. 1
    1
      kdecore/kaccelaction.h
  71. 2
    2
      kdecore/kaccelbase.h
  72. 2
    2
      kdecore/kaccelmanager.h
  73. 2
    2
      kdecore/kaccelmanager_private.h
  74. 6
    6
      kdecore/kapplication.cpp
  75. 2
    2
      kdecore/kapplication.h
  76. 1
    1
      kdecore/kcharsets.h
  77. 2
    2
      kdecore/kcheckaccelerators.h
  78. 1
    1
      kdecore/kcmdlineargs.cpp
  79. 1
    1
      kdecore/kcompletion.h
  80. 1
    1
      kdecore/kconfig.h
  81. 1
    1
      kdecore/kconfig_compiler/tests/kconfigcompiler_test.h
  82. 1
    1
      kdecore/kconfigbackend.h
  83. 2
    2
      kdecore/kconfigdialogmanager.h
  84. 14
    14
      kdecore/kdebug.h
  85. 1
    1
      kdecore/kextsock.h
  86. 1
    1
      kdecore/kglobal.h
  87. 2
    2
      kdecore/kglobalaccel.h
  88. 1
    1
      kdecore/kiconeffect.h
  89. 1
    1
      kdecore/kinstance.h
  90. 1
    1
      kdecore/klibloader.h
  91. 5
    5
      kdecore/klocale.h
  92. 1
    1
      kdecore/kprocctrl.h
  93. 1
    1
      kdecore/kprocess.h
  94. 1
    1
      kdecore/kprocio.h
  95. 1
    1
      kdecore/krandomsequence.h
  96. 1
    1
      kdecore/kshortcut.h
  97. 1
    1
      kdecore/kshortcutlist.h
  98. 1
    1
      kdecore/kshortcutmenu.h
  99. 1
    1
      kdecore/ksock.h
  100. 0
    0
      kdecore/kstdaccel.h

+ 1
- 1
arts/kde/kaudioconverter.h View File

@@ -27,7 +27,7 @@
#include "kplayobject.h"

class KURL;
class QString;
class TQString;

class KAudioConverter : public QObject
{

+ 1
- 1
arts/kde/kaudiomanagerplay.h View File

@@ -25,7 +25,7 @@
#include <kdelibs_export.h>

class KArtsServer;
class QString;
class TQString;

/**
* KDE Wrapper for Arts::Synth_AMAN_PLAY. Use this class to create an entry in

+ 6
- 6
dcop/dcopclient.cpp View File

@@ -61,7 +61,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqsocketnotifier.h>
#include <tqregexp.h>

#include <private/qucomextra_p.h>
#include <tqucomextra_p.h>

#include <dcopglobal.h>
#include <dcopclient.h>
@@ -780,7 +780,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous )
emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName));
return false;
}
int size = QMIN( 1024, f.size() ); // protection against a huge file
int size = QMIN( (qint64)1024, f.size() ); // protection against a huge file
TQCString contents( size+1 );
if ( f.readBlock( contents.data(), size ) != size )
{
@@ -1339,7 +1339,7 @@ static void fillQtObjects( QCStringList& l, TQObject* o, TQCString path )
if ( n == "unnamed" || n.isEmpty() )
{
n.sprintf("%p", (void *) obj);
n = TQString("unnamed%1(%2, %3)").arg(++unnamed).arg(obj->className()).arg(n).latin1();
n = TQString("unnamed%1(%2, %3)").arg(++unnamed).arg(obj->className()).arg(TQString(n)).latin1();
}
TQCString fn = path + n;
l.append( fn );
@@ -1376,7 +1376,7 @@ static void fillQtObjectsEx( TQValueList<O>& l, TQObject* o, TQCString path )
if ( n == "unnamed" || n.isEmpty() )
{
n.sprintf("%p", (void *) obj);
n = TQString("unnamed%1(%2, %3)").arg(++unnamed).arg(obj->className()).arg(n).latin1();
n = TQString("unnamed%1(%2, %3)").arg(++unnamed).arg(obj->className()).arg(TQString(n)).latin1();
}
TQCString fn = path + n;
l.append( O( fn, obj ) );
@@ -1785,8 +1785,8 @@ int DCOPClient::callAsync(const TQCString &remApp, const TQCString &remObjId,
TQByteArray replyData;

ReplyStruct *replyStruct = new ReplyStruct;
replyStruct->replyType = new QCString;
replyStruct->replyData = new QByteArray;
replyStruct->replyType = new TQCString;
replyStruct->replyData = new TQByteArray;
replyStruct->replyObject = callBackObj;
replyStruct->replySlot = callBackSlot;
replyStruct->replyId = ++d->transactionId;

+ 1
- 1
dcop/dcopidl/scanner.cc View File

@@ -839,7 +839,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <stdlib.h>
#include <ctype.h>

class QString;
class TQString;

#ifndef KDE_USE_FINAL
#include "yacc.cc.h"

+ 1
- 1
dcop/dcopref.h View File

@@ -28,7 +28,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kdatastream.h> // needed for proper bool marshalling
#include "kdelibs_export.h"

class QDataStream;
class TQDataStream;
class DCOPObject;
class DCOPClient;


+ 1
- 1
dcop/dcopserver.cpp View File

@@ -1614,7 +1614,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false)
if (::access(fName.data(), R_OK) == 0) {
TQFile f(fName);
f.open(IO_ReadOnly);
int size = QMIN( 1024, f.size() ); // protection against a huge file
int size = QMIN( (qint64)1024, f.size() ); // protection against a huge file
TQCString contents( size+1 );
bool ok = f.readBlock( contents.data(), size ) == size;
contents[size] = '\0';

+ 3
- 3
dcop/dcopserver.h View File

@@ -50,15 +50,15 @@ class DCOPConnection;
class DCOPListener;
class DCOPSignalConnectionList;
class DCOPSignals;
class QTimer;
class TQTimer;

// If you enable the following define DCOP will create
// $HOME/.dcop.log file which will list all signals passing
// through it.
//#define DCOP_LOG
#ifdef DCOP_LOG
class QTextStream;
class QFile;
class TQTextStream;
class TQFile;
#endif

typedef TQValueList<TQCString> QCStringList;

+ 26
- 26
dcop/dcoptypes.h View File

@@ -40,32 +40,32 @@ inline const char* dcopTypeName( const char* ) { return "TQCString"; }
class DCOPRef; inline const char* dcopTypeName( const DCOPRef& ) { return "DCOPRef"; }

// Qt variant types
class QString; inline const char* dcopTypeName( const TQString& ) { return "TQString"; }
class QCString; inline const char* dcopTypeName( const TQCString& ) { return "TQCString"; }
class QFont; inline const char* dcopTypeName( const TQFont& ) { return "TQFont"; }
class QPixmap; inline const char* dcopTypeName( const TQPixmap& ) { return "TQPixmap"; }
class QBrush; inline const char* dcopTypeName( const TQBrush& ) { return "TQBrush"; }
class QRect; inline const char* dcopTypeName( const TQRect& ) { return "TQRect"; }
class QPoint; inline const char* dcopTypeName( const TQPoint& ) { return "TQPoint"; }
class QImage; inline const char* dcopTypeName( const TQImage& ) { return "TQImage"; }
class QSize; inline const char* dcopTypeName( const TQSize& ) { return "TQSize"; }
class QColor; inline const char* dcopTypeName( const TQColor& ) { return "TQColor"; }
class QPalette; inline const char* dcopTypeName( const TQPalette& ) { return "TQPalette"; }
class QColorGroup; inline const char* dcopTypeName( const TQColorGroup& ) { return "TQColorGroup"; }
class QIconSet; inline const char* dcopTypeName( const TQIconSet& ) { return "TQIconSet"; }
class QDataStream; inline const char* dcopTypeName( const TQDataStream& ) { return "TQDataStream"; }
class QPointArray; inline const char* dcopTypeName( const TQPointArray& ) { return "TQPointArray"; }
class QRegion; inline const char* dcopTypeName( const TQRegion& ) { return "TQRegion"; }
class QBitmap; inline const char* dcopTypeName( const TQBitmap& ) { return "TQBitmap"; }
class QCursor; inline const char* dcopTypeName( const TQCursor& ) { return "TQCursor"; }
class QStringList; inline const char* dcopTypeName( const TQStringList& ) { return "TQStringList"; }
class QSizePolicy; inline const char* dcopTypeName( const TQSizePolicy& ) { return "TQSizePolicy"; }
class QDate; inline const char* dcopTypeName( const TQDate& ) { return "TQDate"; }
class QTime; inline const char* dcopTypeName( const TQTime& ) { return "TQTime"; }
class QDateTime; inline const char* dcopTypeName( const TQDateTime& ) { return "TQDateTime"; }
class QBitArray; inline const char* dcopTypeName( const TQBitArray& ) { return "TQBitArray"; }
class QKeySequence; inline const char* dcopTypeName( const TQKeySequence& ) { return "TQKeySequence"; }
class QVariant; inline const char* dcopTypeName( const TQVariant& ) { return "TQVariant"; }
class TQString; inline const char* dcopTypeName( const TQString& ) { return "TQString"; }
class TQCString; inline const char* dcopTypeName( const TQCString& ) { return "TQCString"; }
class TQFont; inline const char* dcopTypeName( const TQFont& ) { return "TQFont"; }
class TQPixmap; inline const char* dcopTypeName( const TQPixmap& ) { return "TQPixmap"; }
class TQBrush; inline const char* dcopTypeName( const TQBrush& ) { return "TQBrush"; }
class TQRect; inline const char* dcopTypeName( const TQRect& ) { return "TQRect"; }
class TQPoint; inline const char* dcopTypeName( const TQPoint& ) { return "TQPoint"; }
class TQImage; inline const char* dcopTypeName( const TQImage& ) { return "TQImage"; }
class TQSize; inline const char* dcopTypeName( const TQSize& ) { return "TQSize"; }
class TQColor; inline const char* dcopTypeName( const TQColor& ) { return "TQColor"; }
class TQPalette; inline const char* dcopTypeName( const TQPalette& ) { return "TQPalette"; }
class TQColorGroup; inline const char* dcopTypeName( const TQColorGroup& ) { return "TQColorGroup"; }
class TQIconSet; inline const char* dcopTypeName( const TQIconSet& ) { return "TQIconSet"; }
class TQDataStream; inline const char* dcopTypeName( const TQDataStream& ) { return "TQDataStream"; }
class TQPointArray; inline const char* dcopTypeName( const TQPointArray& ) { return "TQPointArray"; }
class TQRegion; inline const char* dcopTypeName( const TQRegion& ) { return "TQRegion"; }
class TQBitmap; inline const char* dcopTypeName( const TQBitmap& ) { return "TQBitmap"; }
class TQCursor; inline const char* dcopTypeName( const TQCursor& ) { return "TQCursor"; }
class TQStringList; inline const char* dcopTypeName( const TQStringList& ) { return "TQStringList"; }
class TQSizePolicy; inline const char* dcopTypeName( const TQSizePolicy& ) { return "TQSizePolicy"; }
class TQDate; inline const char* dcopTypeName( const TQDate& ) { return "TQDate"; }
class TQTime; inline const char* dcopTypeName( const TQTime& ) { return "TQTime"; }
class TQDateTime; inline const char* dcopTypeName( const TQDateTime& ) { return "TQDateTime"; }
class TQBitArray; inline const char* dcopTypeName( const TQBitArray& ) { return "TQBitArray"; }
class TQKeySequence; inline const char* dcopTypeName( const TQKeySequence& ) { return "TQKeySequence"; }
class TQVariant; inline const char* dcopTypeName( const TQVariant& ) { return "TQVariant"; }

// And some KDE types
class KURL; inline const char* dcopTypeName( const KURL& ) { return "KURL"; }

+ 1
- 1
dnssd/domainbrowser.h View File

@@ -29,7 +29,7 @@

#define KIPCDomainsChanged 2014

class QStringList;
class TQStringList;
namespace DNSSD
{
class DomainBrowserPrivate;

+ 1
- 1
dnssd/remoteservice.h View File

@@ -24,7 +24,7 @@
#include <tqobject.h>
#include <dnssd/servicebase.h>

class QDataStream;
class TQDataStream;
class KURL;
namespace DNSSD
{

+ 2
- 2
dnssd/servicebase.h View File

@@ -24,8 +24,8 @@
#include <tqmap.h>
#include <ksharedptr.h>

class QString;
class QDataStream;
class TQString;
class TQDataStream;
namespace DNSSD
{
class ServiceBasePrivate;

+ 1
- 1
dnssd/servicebrowser.h View File

@@ -26,7 +26,7 @@
#include <dnssd/remoteservice.h>


class QStringList;
class TQStringList;
namespace DNSSD
{
class DomainBrowser;

+ 3
- 3
interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.h View File

@@ -24,9 +24,9 @@
#include <kurl.h>
#include <kpreviewwidgetbase.h>

class QCheckBox;
class QPushButton;
class QLabel;
class TQCheckBox;
class TQPushButton;
class TQLabel;

class KFileDialog;
class KFileItem;

+ 1
- 1
interfaces/kscript/scriptclientinterface.h View File

@@ -20,7 +20,7 @@
#define __scriptclientinterface_h__
#include <tqvariant.h>

class QString;
class TQString;

//namespace KScriptInterface
//{

+ 2
- 2
interfaces/kscript/scriptinterface.h View File

@@ -32,8 +32,8 @@
#include <kdemacros.h>

//#include <scripclientinterface.h>
class QString;
class QObject;
class TQString;
class TQObject;
class KScriptClientInterface;



+ 1
- 1
interfaces/ktexteditor/blockselectioninterface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/clipboardinterface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/configinterface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;
class KConfig;

namespace KTextEditor

+ 2
- 2
interfaces/ktexteditor/documentinfo.h View File

@@ -19,8 +19,8 @@
#ifndef __ktexteditor_documentinfointerface_h__
#define __ktexteditor_documentinfointerface_h__

class QString;
class QCString;
class TQString;
class TQCString;

#include <kdelibs_export.h>


+ 1
- 1
interfaces/ktexteditor/dynwordwrapinterface.h View File

@@ -22,7 +22,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/editorchooser.h View File

@@ -7,7 +7,7 @@
#include <tqwidget.h>

class KConfig;
class QString;
class TQString;

namespace KTextEditor
{

+ 2
- 2
interfaces/ktexteditor/encodinginterface.h View File

@@ -21,8 +21,8 @@

#include <kdelibs_export.h>

class QString;
class QCString;
class TQString;
class TQCString;

namespace KTextEditor
{

+ 2
- 2
interfaces/ktexteditor/highlightinginterface.h View File

@@ -22,8 +22,8 @@

#include <kdelibs_export.h>

class QString;
class QCString;
class TQString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/markinterface.h View File

@@ -24,7 +24,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/markinterfaceextension.h View File

@@ -25,7 +25,7 @@
#include <tqstring.h>
#include "markinterface.h"

class QCString;
class TQCString;

namespace KTextEditor
{

+ 2
- 2
interfaces/ktexteditor/popupmenuinterface.h View File

@@ -21,8 +21,8 @@

#include <kdelibs_export.h>

class QCString;
class QPopupMenu;
class TQCString;
class TQPopupMenu;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/printinterface.h View File

@@ -22,7 +22,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 3
- 3
interfaces/ktexteditor/searchinterface.h View File

@@ -22,9 +22,9 @@

#include <kdelibs_export.h>

class QRegExp;
class QString;
class QCString;
class TQRegExp;
class TQString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/selectioninterfaceext.h View File

@@ -24,7 +24,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/sessionconfiginterface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;
class KConfig;

namespace KTextEditor

+ 1
- 1
interfaces/ktexteditor/undointerface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/variableinterface.h View File

@@ -21,7 +21,7 @@

#include <kdelibs_export.h>

class QString;
class TQString;

namespace KTextEditor {


+ 1
- 1
interfaces/ktexteditor/viewcursorinterface.h View File

@@ -22,7 +22,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 2
- 2
interfaces/ktexteditor/viewstatusmsginterface.h View File

@@ -21,8 +21,8 @@

#include <kdelibs_export.h>

class QString;
class QCString;
class TQString;
class TQCString;

namespace KTextEditor
{

+ 1
- 1
interfaces/ktexteditor/wordwrapinterface.h View File

@@ -22,7 +22,7 @@

#include <kdelibs_export.h>

class QCString;
class TQCString;

namespace KTextEditor
{

+ 2
- 2
interfaces/terminal/kde_terminal_interface.h View File

@@ -20,8 +20,8 @@
#ifndef KDELIBS_TERMINAL_INTERFACE_H
#define KDELIBS_TERMINAL_INTERFACE_H

class QString;
class QStrList;
class TQString;
class TQStrList;

#include <kdemacros.h>


+ 1
- 1
kab/addressbook.h View File

@@ -22,7 +22,7 @@ class KeyValueMap;
class QConfigDB;
class Section;
class StringKabKeyMap; /* The type of the mirror map. */
class QStringList;
class TQStringList;
/* Used to implement field lookup accoording to
keys. */
class KeyNameMap;

+ 2
- 2
kab/kabapi.h View File

@@ -20,8 +20,8 @@
#include "addressbook.h"
#include <kdialogbase.h>

class QPushButton;
class QFrame;
class TQPushButton;
class TQFrame;
class KListBox;

/**

+ 5
- 5
kab/qconfigDB.h View File

@@ -26,16 +26,16 @@ using namespace std;
#include <tqcstring.h>
#include <tqstrlist.h>

class QTimer;
class QDate;
class QString;
class QDateTime;
class TQTimer;
class TQDate;
class TQString;
class TQDateTime;

extern "C" {
#include <unistd.h>
}

class QTextStream;
class TQTextStream;

/**
* This is some STL interna, a function object for use with STL

+ 2
- 2
kabc/addresseedialog.cpp View File

@@ -63,7 +63,7 @@ AddresseeDialog::AddresseeDialog( TQWidget *parent, bool multiple ) :
TQWidget *topWidget = plainPage();

TQBoxLayout *topLayout = new TQHBoxLayout( topWidget );
TQBoxLayout *listLayout = new QVBoxLayout;
TQBoxLayout *listLayout = new TQVBoxLayout;
topLayout->addLayout( listLayout );

mAddresseeList = new KListView( topWidget );
@@ -88,7 +88,7 @@ AddresseeDialog::AddresseeDialog( TQWidget *parent, bool multiple ) :
setInitialSize( TQSize( 450, 300 ) );

if ( mMultiple ) {
TQBoxLayout *selectedLayout = new QVBoxLayout;
TQBoxLayout *selectedLayout = new TQVBoxLayout;
topLayout->addLayout( selectedLayout );
topLayout->setSpacing( spacingHint() );


+ 1
- 1
kabc/agent.h View File

@@ -21,7 +21,7 @@
#ifndef KABC_AGENT_H
#define KABC_AGENT_H

class QDataStream;
class TQDataStream;

#include <tqstring.h>


+ 3
- 3
kabc/distributionlistdialog.h View File

@@ -25,9 +25,9 @@

#include <kdialogbase.h>

class QListView;
class QComboBox;
class QButtonGroup;
class TQListView;
class TQComboBox;
class TQButtonGroup;

namespace KABC {


+ 3
- 3
kabc/distributionlisteditor.h View File

@@ -24,9 +24,9 @@

#include <kdialogbase.h>

class QListView;
class QComboBox;
class QButtonGroup;
class TQListView;
class TQComboBox;
class TQButtonGroup;

namespace KABC {


+ 1
- 1
kabc/errorhandler.h View File

@@ -26,7 +26,7 @@

#include <kdelibs_export.h>

class QWidget;
class TQWidget;

namespace KABC {


+ 5
- 5
kabc/ldapconfigwidget.h View File

@@ -29,11 +29,11 @@
#include <kabc/ldif.h>
#include <kio/job.h>

class QGridLayout;
class QSpinBox;
class QPushButton;
class QCheckBox;
class QRadioButton;
class TQGridLayout;
class TQSpinBox;
class TQPushButton;
class TQCheckBox;
class TQRadioButton;
class KComboBox;
class KLineEdit;
class KProgressDialog;

+ 1
- 1
kabc/plugins/dir/resourcedir.h View File

@@ -28,7 +28,7 @@

#include <kabc/resource.h>

class QTimer;
class TQTimer;

namespace KABC {


+ 4
- 4
kabc/plugins/ldapkio/resourceldapkioconfig.h View File

@@ -32,10 +32,10 @@
#include <kabc/ldapconfigwidget.h>


class QCheckBox;
class QPushButton;
class QSpinBox;
class QString;
class TQCheckBox;
class TQPushButton;
class TQSpinBox;
class TQString;

class KComboBox;
class KLineEdit;

+ 2
- 2
kabc/plugins/net/resourcenet.h View File

@@ -27,8 +27,8 @@

#include <kabc/resource.h>

class QFile;
class QTimer;
class TQFile;
class TQTimer;
class KTempFile;

namespace KIO {

+ 1
- 1
kabc/plugins/sql/resourcesql.h View File

@@ -26,7 +26,7 @@
#include "addressbook.h"
#include "resource.h"

class QSqlDatabase;
class TQSqlDatabase;

namespace KABC {


+ 1
- 1
kabc/plugins/sql/resourcesqlconfig.h View File

@@ -24,7 +24,7 @@
#include "resourceconfigwidget.h"

class KLineEdit;
class QSpinBox;
class TQSpinBox;

namespace KABC {


+ 2
- 2
kabc/tests/testlock.h View File

@@ -25,8 +25,8 @@

#include <tqwidget.h>

class QLabel;
class QListView;
class TQLabel;
class TQListView;

class KABC_EXPORT LockWidget : public QWidget
{

+ 1
- 1
kabc/vcardtool.h View File

@@ -24,7 +24,7 @@
#include "addressee.h"
#include "vcardparser.h"

class QDateTime;
class TQDateTime;

namespace KABC {


+ 2
- 2
kate/part/katebookmarks.h View File

@@ -32,8 +32,8 @@ namespace Kate { class View; }
class KAction;
class KToggleAction;
class KActionCollection;
class QPopupMenu;
class QMenuData;
class TQPopupMenu;
class TQMenuData;

class KateBookmarks : public QObject
{

+ 1
- 1
kate/part/katebuffer.h View File

@@ -37,7 +37,7 @@ class KateBufBlockList;
class KateBuffer;
class KateFileLoader;

class QTextCodec;
class TQTextCodec;

/**
* The KateBufBlock class contains an amount of data representing

+ 2
- 2
kate/part/katecodecompletion.h View File

@@ -41,8 +41,8 @@ class KateView;
class KateArgHint;
class KateCCListBox;

class QLayout;
class QVBox;
class TQLayout;
class TQVBox;

class KateCodeCompletionCommentLabel : public QLabel
{

+ 1
- 1
kate/part/katecodefoldinghelpers.h View File

@@ -30,7 +30,7 @@ class KateCodeFoldingTree;
class KateTextCursor;
class KateBuffer;

class QString;
class TQString;
//END

class KateHiddenLineBlock

+ 2
- 2
kate/part/kateconfig.h View File

@@ -34,8 +34,8 @@ class KateFontMetrics;

class KConfig;

class QFont;
class QTextCodec;
class TQFont;
class TQTextCodec;

/**
* Base Class for the Kate Config Classes

+ 14
- 14
kate/part/katedialogs.h View File

@@ -63,19 +63,19 @@ class KPushButton;
class KRegExpDialog;
class KIntNumInput;

class QButtonGroup;
class QCheckBox;
class QHBoxLayout;
class QLabel;
class QLineEdit;
class QPushButton;
class QRadioButton;
class QSpinBox;
class QListBoxItem;
class QWidgetStack;
class QVBox;
class QListViewItem;
class QCheckBox;
class TQButtonGroup;
class TQCheckBox;
class TQHBoxLayout;
class TQLabel;
class TQLineEdit;
class TQPushButton;
class TQRadioButton;
class TQSpinBox;
class TQListBoxItem;
class TQWidgetStack;
class TQVBox;
class TQListViewItem;
class TQCheckBox;

class KateConfigPage : public Kate::ConfigPage
{
@@ -279,7 +279,7 @@ class KatePartPluginListView : public KListView
void stateChanged(KatePartPluginListItem *, bool);
};

class QListViewItem;
class TQListViewItem;
class KatePartPluginConfigPage : public KateConfigPage
{
Q_OBJECT

+ 1
- 1
kate/part/katedocument.h View File

@@ -67,7 +67,7 @@ class KatePartPluginInfo;

class KTempFile;

class QTimer;
class TQTimer;

class KateKeyInterceptorFunctor;


+ 1
- 1
kate/part/katejscript.h View File

@@ -29,7 +29,7 @@
*/
class KateDocument;
class KateView;
class QString;
class TQString;
class KateJSDocument;
class KateJSView;
class KateJSIndenter;

+ 6
- 6
kate/part/kateprinter.h View File

@@ -27,12 +27,12 @@ class KateDocument;

class KColorButton;
class KPrinter;
class QCheckBox;
class QComboBox;
class QGroupBox;
class QLabel;
class QLineEdit;
class QSpinBox;
class TQCheckBox;
class TQComboBox;
class TQGroupBox;
class TQLabel;
class TQLineEdit;
class TQSpinBox;

class KatePrinter
{

+ 1
- 1
kate/part/kateschema.h View File

@@ -38,7 +38,7 @@ class KateStyleListCaption;

class KColorButton;

class QPopupMenu;
class TQPopupMenu;
class KComboBox;

class KateSchemaManager

+ 1
- 1
kate/part/katetextline.h View File

@@ -29,7 +29,7 @@
#include <tqstring.h>

class KateRenderer;
class QTextStream;
class TQTextStream;

/**
* The KateTextLine represents a line of text. A text line that contains the

+ 1
- 1
kate/part/kateview.h View File

@@ -49,7 +49,7 @@ class KAction;
class KRecentFilesAction;
class KSelectAction;

class QGridLayout;
class TQGridLayout;

//
// Kate KTextEditor::View class ;)

+ 3
- 3
kate/part/kateviewinternal.h View File

@@ -38,9 +38,9 @@ class KateView;
class KateIconBorder;
class KateScrollBar;

class QHBoxLayout;
class QVBoxLayout;
class QScrollBar;
class TQHBoxLayout;
class TQVBoxLayout;
class TQScrollBar;

enum Bias
{

+ 1
- 1
kate/part/test_regression.h View File

@@ -36,7 +36,7 @@
class KateDocument;
class KateView;
class RegressionTest;
class QTimer;
class TQTimer;

namespace KParts {
class URLArgs;

+ 1
- 1
kate/plugins/isearch/ISearchPlugin.h View File

@@ -30,7 +30,7 @@
#include <tqobject.h>
#include <tqguardedptr.h>

class QLabel;
class TQLabel;

class ISearchPlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface
{

+ 6
- 6
kcert/kcertpart.h View File

@@ -30,18 +30,18 @@
#include <klistview.h>

class KSSLCertBox;
class QFrame;
class QLabel;
class TQFrame;
class TQLabel;
class KCertPartPrivate;
class KComboBox;
class QButton;
class TQButton;
class KSSLSigners;
class KSSLPKCS12;
class KSSLCertificate;
class QTabWidget;
class QMultiLineEdit;
class TQTabWidget;
class TQMultiLineEdit;
class KAboutData;
class QGridLayout;
class TQGridLayout;


class KX509Item : public KListViewItem {

+ 2
- 2
kdecore/kaccel.h View File

@@ -25,8 +25,8 @@
#include <kstdaccel.h>
#include "kdelibs_export.h"

class QPopupMenu; // for obsolete insertItem() methods below
class QWidget;
class TQPopupMenu; // for obsolete insertItem() methods below
class TQWidget;
class KAccelAction;
class KAccelActions;
class KConfigBase;

+ 1
- 1
kdecore/kaccelaction.h View File

@@ -29,7 +29,7 @@

class KAccelBase;

class QObject;
class TQObject;
class KConfig;
class KConfigBase;


+ 2
- 2
kdecore/kaccelbase.h View File

@@ -29,8 +29,8 @@
#include "kaccelaction.h"
#include "kkeyserver.h"

class QPopupMenu;
class QWidget;
class TQPopupMenu;
class TQWidget;

//----------------------------------------------------


+ 2
- 2
kdecore/kaccelmanager.h View File

@@ -22,8 +22,8 @@
#define __K_ACCELMANAGER_H__


class QWidget;
class QString;
class TQWidget;
class TQString;

#include <kdelibs_export.h>


+ 2
- 2
kdecore/kaccelmanager_private.h View File

@@ -27,7 +27,7 @@
#include <tqvaluelist.h>
#include <tqobject.h>

class QWidgetStack;
class TQWidgetStack;

/**
* A string class handling accelerators.
@@ -119,7 +119,7 @@ public:
};


class QPopupMenu;
class TQPopupMenu;


/**

+ 6
- 6
kdecore/kapplication.cpp View File

@@ -1525,7 +1525,7 @@ void KApplication::parseCommandLine( )
{
const char *tmp = args->getOption("miniicon");
if (!aIconPixmap.pm.miniIcon) {
aIconPixmap.pm.miniIcon = new QPixmap;
aIconPixmap.pm.miniIcon = new TQPixmap;
}
*aIconPixmap.pm.miniIcon = SmallIcon(tmp);
aMiniIconName = tmp;
@@ -1535,12 +1535,12 @@ void KApplication::parseCommandLine( )
{
const char *tmp = args->getOption("icon");
if (!aIconPixmap.pm.icon) {
aIconPixmap.pm.icon = new QPixmap;
aIconPixmap.pm.icon = new TQPixmap;
}
*aIconPixmap.pm.icon = DesktopIcon( tmp );
aIconName = tmp;
if (!aIconPixmap.pm.miniIcon) {
aIconPixmap.pm.miniIcon = new QPixmap;
aIconPixmap.pm.miniIcon = new TQPixmap;
}
if (aIconPixmap.pm.miniIcon->isNull())
{
@@ -1601,7 +1601,7 @@ TQString KApplication::geometryArgument() const
TQPixmap KApplication::icon() const
{
if( !aIconPixmap.pm.icon) {
aIconPixmap.pm.icon = new QPixmap;
aIconPixmap.pm.icon = new TQPixmap;
}
if( aIconPixmap.pm.icon->isNull()) {
*aIconPixmap.pm.icon = DesktopIcon( instanceName() );
@@ -1617,7 +1617,7 @@ TQString KApplication::iconName() const
TQPixmap KApplication::miniIcon() const
{
if (!aIconPixmap.pm.miniIcon) {
aIconPixmap.pm.miniIcon = new QPixmap;
aIconPixmap.pm.miniIcon = new TQPixmap;
}
if (aIconPixmap.pm.miniIcon->isNull()) {
*aIconPixmap.pm.miniIcon = SmallIcon( instanceName() );
@@ -2181,7 +2181,7 @@ void KApplication::installKDEPropertyMap()
* Thanks.
*/
// TQSqlPropertyMap takes ownership of the new default map.
TQSqlPropertyMap *kdeMap = new QSqlPropertyMap;
TQSqlPropertyMap *kdeMap = new TQSqlPropertyMap;
kdeMap->insert( "KColorButton", "color" );
kdeMap->insert( "KComboBox", "currentItem" );
kdeMap->insert( "KDatePicker", "date" );

+ 2
- 2
kdecore/kapplication.h View File

@@ -40,8 +40,8 @@ typedef void Display;
#include <kinstance.h>

struct _IceConn;
class QPopupMenu;
class QStrList;
class TQPopupMenu;
class TQStrList;
class KSessionManaged;
class KStyle;
class KURL;

+ 1
- 1
kdecore/kcharsets.h View File

@@ -28,7 +28,7 @@
class KGlobal;
class KCharsetsPrivate;

class QTextCodec;
class TQTextCodec;

/**
* Charset font and encoder/decoder handling.

+ 2
- 2
kdecore/kcheckaccelerators.h View File

@@ -28,8 +28,8 @@
#include <tqstring.h>
#include <tqtimer.h>

class QMenuData;
class QTextView;
class TQMenuData;
class TQTextView;

#include "kdelibs_export.h"


+ 1
- 1
kdecore/kcmdlineargs.cpp View File

@@ -83,7 +83,7 @@ protected:

virtual TQDataStream& read( TQDataStream &s, TQPtrCollection::Item &item)
{
TQCString *str = new QCString;
TQCString *str = new TQCString;
s >> (*str);
item = (void *)str;
return s;

+ 1
- 1
kdecore/kcompletion.h View File

@@ -37,7 +37,7 @@ class KCompletionPrivate;
class KCompletionBasePrivate;
class KCompletionMatchesWrapper;
class KCompletionMatches;
class QPopupMenu;
class TQPopupMenu;

/**
* @short A generic class for completing QStrings

+ 1
- 1
kdecore/kconfig.h View File

@@ -22,7 +22,7 @@
#ifndef _KCONFIG_H
#define _KCONFIG_H

class QTimer;
class TQTimer;

#include <tqvaluelist.h>


+ 1
- 1
kdecore/kconfig_compiler/tests/kconfigcompiler_test.h View File

@@ -18,7 +18,7 @@

#include <kunittest/tester.h>

class QString;
class TQString;

// change to SlotTester when it works
class KConfigCompiler_Test : public KUnitTest::Tester

+ 1
- 1
kdecore/kconfigbackend.h View File

@@ -28,7 +28,7 @@
#include <klocale.h>
#include "kdelibs_export.h"

class QFile;
class TQFile;
class KConfigBackEndPrivate;

/**

+ 2
- 2
kdecore/kconfigdialogmanager.h View File

@@ -27,8 +27,8 @@

class KConfigSkeleton;
class KConfigSkeletonItem;
class QWidget;
class QSqlPropertyMap;
class TQWidget;
class TQSqlPropertyMap;

/**
* @short Provides a means of automatically retrieving,

+ 14
- 14
kdecore/kdebug.h View File

@@ -25,22 +25,22 @@
#include <tqstring.h>
#include "kdelibs_export.h"

class QWidget;
class QDateTime;
class QDate;
class QTime;
class QPoint;
class QSize;
class QRect;
class QRegion;
class TQWidget;
class TQDateTime;
class TQDate;
class TQTime;
class TQPoint;
class TQSize;
class TQRect;
class TQRegion;
class KURL;
class QStringList;
class QColor;
class QPen;
class QBrush;
class QVariant;
class TQStringList;
class TQColor;
class TQPen;
class TQBrush;
class TQVariant;
template <class T>
class QValueList;
class TQValueList;

class kdbgstream;
class kndbgstream;

+ 1
- 1
kdecore/kextsock.h View File

@@ -37,7 +37,7 @@
struct addrinfo;
struct kde_addrinfo;
class KAddressInfo; /* our abstraction of it */
class QSocketNotifier;
class TQSocketNotifier;

/*
* This is extending QIODevice's error codes

+ 1
- 1
kdecore/kglobal.h View File

@@ -30,7 +30,7 @@ class KStandardDirs;
class KStaticDeleterBase;
class KStaticDeleterList;
class KStringDict;
class QString;
class TQString;

/**
* Access to the KDE global objects.

+ 2
- 2
kdecore/kglobalaccel.h View File

@@ -23,8 +23,8 @@
#include <tqobject.h>
#include <kshortcut.h>

class QPopupMenu;
class QWidget;
class TQPopupMenu;
class TQWidget;
class KAccelAction;
class KAccelActions;
class KConfigBase;

+ 1
- 1
kdecore/kiconeffect.h View File

@@ -19,7 +19,7 @@
#include <tqrect.h>
#include "kdelibs_export.h"

class QWidget;
class TQWidget;

class KIconEffectPrivate;


+ 1
- 1
kdecore/kinstance.h View File

@@ -23,7 +23,7 @@ class KAboutData;
class KConfig;
class KIconLoader;
class KCharsets;
class QFont;
class TQFont;
class KInstancePrivate;
class KMimeSourceFactory;
class KSharedConfig;

+ 1
- 1
kdecore/klibloader.h View File

@@ -28,7 +28,7 @@
#include <stdlib.h> // For backwards compatibility

class KInstance;
class QTimer;
class TQTimer;
class KLibrary;
class KLibFactory;
class KLibFactoryPrivate;

+ 5
- 5
kdecore/klocale.h View File

@@ -25,11 +25,11 @@
#include <tqstring.h>
#include <kdelibs_export.h>

class QStringList;
class QTextCodec;
class QDate;
class QTime;
class QDateTime;
class TQStringList;
class TQTextCodec;
class TQDate;
class TQTime;
class TQDateTime;

class KGlobal;
class KConfig;

+ 1
- 1
kdecore/kprocctrl.h View File

@@ -24,7 +24,7 @@

#include "kprocess.h"

class QSocketNotifier;
class TQSocketNotifier;

/**
* @short Used internally by KProcess

+ 1
- 1
kdecore/kprocess.h View File

@@ -29,7 +29,7 @@
#include <tqobject.h>
#include "kdelibs_export.h"

class QSocketNotifier;
class TQSocketNotifier;
class KProcessPrivate;
class KPty;


+ 1
- 1
kdecore/kprocio.h View File

@@ -24,7 +24,7 @@
#include "kdelibs_export.h"

class KProcIOPrivate;
class QTextCodec;
class TQTextCodec;

/**
* KProcIO

+ 1
- 1
kdecore/krandomsequence.h View File

@@ -21,7 +21,7 @@
#include "kdelibs_export.h"

class KRandomSequencePrivate;
class QGList;
class TQGList;
/**
* A class to create a pseudo-random sequence
*

+ 1
- 1
kdecore/kshortcut.h View File

@@ -24,7 +24,7 @@
#include <tqstring.h>
#include "kdelibs_export.h"

class QKeyEvent;
class TQKeyEvent;
class KKeyNative;

/**

+ 1
- 1
kdecore/kshortcutlist.h View File

@@ -24,7 +24,7 @@
#include <tqstring.h>
#include "kdelibs_export.h"

class QVariant;
class TQVariant;
class KConfigBase;
class KInstance;
class KKeySequence;

+ 1
- 1
kdecore/kshortcutmenu.h View File

@@ -25,7 +25,7 @@

#include "kshortcut.h"

class QLabel;
class TQLabel;

class KAccelActions;


+ 1
- 1
kdecore/ksock.h View File

@@ -40,7 +40,7 @@
#include <sys/un.h>

#include <netinet/in.h>
class QSocketNotifier;
class TQSocketNotifier;

#ifdef KSOCK_NO_BROKEN
// This is here for compatibility with old applications still using the constants

+ 0
- 0
kdecore/kstdaccel.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save