From e0723566d780c358a5a4053910e8c49fea3d8b65 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:15:45 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1158417 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin-styles/cde/cdeclient.cpp | 2 +- kwin-styles/cde/cdeclient.h | 8 ++++---- kwin-styles/cde/config/config.h | 10 +++++----- kwin-styles/glow/config/glowconfigdialog.h | 10 +++++----- kwin-styles/glow/glowbutton.h | 8 ++++---- kwin-styles/glow/glowclient.h | 14 +++++++------- kwin-styles/icewm/config/config.h | 2 +- kwin-styles/icewm/icewm.h | 8 ++++---- kwin-styles/kde1/kde1client.cpp | 2 +- kwin-styles/kde1/kde1client.h | 4 ++-- kwin-styles/kstep/nextclient.h | 4 ++-- kwin-styles/openlook/OpenLook.h | 2 +- kwin-styles/riscos/Manager.h | 6 +++--- kwin-styles/smooth-blend/client/smoothblend.cc | 2 +- kwin-styles/smooth-blend/client/smoothblend.h | 4 ++-- kwin-styles/system/systemclient.h | 6 +++--- 16 files changed, 46 insertions(+), 46 deletions(-) (limited to 'kwin-styles') diff --git a/kwin-styles/cde/cdeclient.cpp b/kwin-styles/cde/cdeclient.cpp index 6e2dd152..722f3a6f 100644 --- a/kwin-styles/cde/cdeclient.cpp +++ b/kwin-styles/cde/cdeclient.cpp @@ -443,7 +443,7 @@ void CdeClient::menuButtonPressed() static TQTime* t = NULL; static CdeClient* lastClient = NULL; if( t == NULL ) - t = new QTime; + t = new TQTime; bool dbl = ( lastClient == this && t->elapsed() <= TQApplication::doubleClickInterval()); lastClient = this; t->start(); diff --git a/kwin-styles/cde/cdeclient.h b/kwin-styles/cde/cdeclient.h index 071c41ff..265c6c64 100644 --- a/kwin-styles/cde/cdeclient.h +++ b/kwin-styles/cde/cdeclient.h @@ -24,10 +24,10 @@ #include #include -class QLabel; -class QBoxLayout; -class QVBoxLayout; -class QSpacerItem; +class TQLabel; +class TQBoxLayout; +class TQVBoxLayout; +class TQSpacerItem; namespace CDE { diff --git a/kwin-styles/cde/config/config.h b/kwin-styles/cde/config/config.h index c9a6c528..366cec54 100644 --- a/kwin-styles/cde/config/config.h +++ b/kwin-styles/cde/config/config.h @@ -9,11 +9,11 @@ #include #include -class QCheckBox; -class QGroupBox; -class QVBox; -class QLabel; -class QRadioButton; +class TQCheckBox; +class TQGroupBox; +class TQVBox; +class TQLabel; +class TQRadioButton; class CdeConfig: public QObject { diff --git a/kwin-styles/glow/config/glowconfigdialog.h b/kwin-styles/glow/config/glowconfigdialog.h index 033954b6..e8a1be31 100644 --- a/kwin-styles/glow/config/glowconfigdialog.h +++ b/kwin-styles/glow/config/glowconfigdialog.h @@ -21,11 +21,11 @@ #include #include -class QListView; -class QPushButton; -class QSignalMapper; -class QCheckBox; -class QComboBox; +class TQListView; +class TQPushButton; +class TQSignalMapper; +class TQCheckBox; +class TQComboBox; class KConfig; class KColorButton; diff --git a/kwin-styles/glow/glowbutton.h b/kwin-styles/glow/glowbutton.h index e7cc3605..f263f0ac 100644 --- a/kwin-styles/glow/glowbutton.h +++ b/kwin-styles/glow/glowbutton.h @@ -22,10 +22,10 @@ #include #include -class QPixmap; -class QBitmap; -class QTimer; -class QString; +class TQPixmap; +class TQBitmap; +class TQTimer; +class TQString; namespace Glow { diff --git a/kwin-styles/glow/glowclient.h b/kwin-styles/glow/glowclient.h index faa12e62..41305bc6 100644 --- a/kwin-styles/glow/glowclient.h +++ b/kwin-styles/glow/glowclient.h @@ -23,13 +23,13 @@ #include #include -class QPixmap; -class QBitmap; -class QTimer; -class QBoxLayout; -class QGridLayout; -class QVBoxLayout; -class QSpacerItem; +class TQPixmap; +class TQBitmap; +class TQTimer; +class TQBoxLayout; +class TQGridLayout; +class TQVBoxLayout; +class TQSpacerItem; namespace Glow { diff --git a/kwin-styles/icewm/config/config.h b/kwin-styles/icewm/config/config.h index 09c2fd8c..9bcb76bf 100644 --- a/kwin-styles/icewm/config/config.h +++ b/kwin-styles/icewm/config/config.h @@ -35,7 +35,7 @@ #include #include -class QVBox; +class TQVBox; class IceWMConfig: public QObject { diff --git a/kwin-styles/icewm/icewm.h b/kwin-styles/icewm/icewm.h index 8bfef4f6..f5c319b6 100644 --- a/kwin-styles/icewm/icewm.h +++ b/kwin-styles/icewm/icewm.h @@ -48,10 +48,10 @@ #include #include #include -class QLabel; -class QSpacerItem; -class QBoxLayout; -class QGridLayout; +class TQLabel; +class TQSpacerItem; +class TQBoxLayout; +class TQGridLayout; namespace IceWM { diff --git a/kwin-styles/kde1/kde1client.cpp b/kwin-styles/kde1/kde1client.cpp index c0b7ab57..4da5e3a1 100644 --- a/kwin-styles/kde1/kde1client.cpp +++ b/kwin-styles/kde1/kde1client.cpp @@ -618,7 +618,7 @@ void StdToolClient::init() closeBtn->setFixedSize( 13, 13); reset( -1U ); - TQHBoxLayout* hb = new QHBoxLayout; + TQHBoxLayout* hb = new TQHBoxLayout; g->addLayout( hb, 0, 1 ); int fh = widget()->fontMetrics().lineSpacing()+2; diff --git a/kwin-styles/kde1/kde1client.h b/kwin-styles/kde1/kde1client.h index 5c960abd..7dd13ab9 100644 --- a/kwin-styles/kde1/kde1client.h +++ b/kwin-styles/kde1/kde1client.h @@ -10,8 +10,8 @@ Copyright (C) 1999, 2000 Matthias Ettrich #include #include #include -class QLabel; -class QSpacerItem; +class TQLabel; +class TQSpacerItem; namespace KDE1 { diff --git a/kwin-styles/kstep/nextclient.h b/kwin-styles/kstep/nextclient.h index 9eff9621..0a29d135 100644 --- a/kwin-styles/kstep/nextclient.h +++ b/kwin-styles/kstep/nextclient.h @@ -9,8 +9,8 @@ #include #include -class QLabel; -class QSpacerItem; +class TQLabel; +class TQSpacerItem; namespace KStep { diff --git a/kwin-styles/openlook/OpenLook.h b/kwin-styles/openlook/OpenLook.h index 900ccb54..94dacebd 100644 --- a/kwin-styles/openlook/OpenLook.h +++ b/kwin-styles/openlook/OpenLook.h @@ -31,7 +31,7 @@ #include #include -class QSpacerItem; +class TQSpacerItem; namespace OpenLook { diff --git a/kwin-styles/riscos/Manager.h b/kwin-styles/riscos/Manager.h index c5269051..be440454 100644 --- a/kwin-styles/riscos/Manager.h +++ b/kwin-styles/riscos/Manager.h @@ -27,9 +27,9 @@ #include #include -class QSpacerItem; -class QVBoxLayout; -class QBoxLayout; +class TQSpacerItem; +class TQVBoxLayout; +class TQBoxLayout; namespace RiscOS { diff --git a/kwin-styles/smooth-blend/client/smoothblend.cc b/kwin-styles/smooth-blend/client/smoothblend.cc index 67d2fa48..9146c6eb 100644 --- a/kwin-styles/smooth-blend/client/smoothblend.cc +++ b/kwin-styles/smooth-blend/client/smoothblend.cc @@ -1365,7 +1365,7 @@ void smoothblendClient::menuButtonPressed() { static TQTime* t = NULL; static smoothblendClient* lastClient = NULL; if (t == NULL) - t = new QTime; + t = new TQTime; bool dbl = (lastClient==this && t->elapsed() <= TQApplication::doubleClickInterval()); lastClient = this; t->start(); diff --git a/kwin-styles/smooth-blend/client/smoothblend.h b/kwin-styles/smooth-blend/client/smoothblend.h index e5a2ec70..a72fe743 100644 --- a/kwin-styles/smooth-blend/client/smoothblend.h +++ b/kwin-styles/smooth-blend/client/smoothblend.h @@ -29,8 +29,8 @@ #include #include -class QSpacerItem; -class QPoint; +class TQSpacerItem; +class TQPoint; namespace smoothblend { diff --git a/kwin-styles/system/systemclient.h b/kwin-styles/system/systemclient.h index 3ab4df8d..09406f48 100644 --- a/kwin-styles/system/systemclient.h +++ b/kwin-styles/system/systemclient.h @@ -10,9 +10,9 @@ #include -class QLabel; -class QSpacerItem; -class QBoxLayout; +class TQLabel; +class TQSpacerItem; +class TQBoxLayout; namespace System { -- cgit v1.2.3