diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:15:45 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:15:45 +0000 |
commit | e0723566d780c358a5a4053910e8c49fea3d8b65 (patch) | |
tree | de3ed4d1827e524a462a89d9bb988e9c36005f5b | |
parent | b5d38fd2e94066885d4620b0c35c48a2faa5aa44 (diff) | |
download | tdeartwork-e0723566d780c358a5a4053910e8c49fea3d8b65.tar.gz tdeartwork-e0723566d780c358a5a4053910e8c49fea3d8b65.zip |
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1158417 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
37 files changed, 77 insertions, 77 deletions
diff --git a/kscreensaver/kdesavers/Euphoria.cpp b/kscreensaver/kdesavers/Euphoria.cpp index dacc60e5..8fc5811d 100644 --- a/kscreensaver/kdesavers/Euphoria.cpp +++ b/kscreensaver/kdesavers/Euphoria.cpp @@ -997,7 +997,7 @@ KEuphoriaSetup::KEuphoriaSetup( TQWidget* parent, const char* name ) TQWidget *main = makeMainWidget(); TQHBoxLayout* top = new TQHBoxLayout(main, 0, spacingHint()); - TQVBoxLayout* leftCol = new QVBoxLayout; + TQVBoxLayout* leftCol = new TQVBoxLayout; top->addLayout( leftCol ); TQLabel* label = new TQLabel( i18n("Mode:"), main ); diff --git a/kscreensaver/kdesavers/Euphoria.h b/kscreensaver/kdesavers/Euphoria.h index c2a8112a..b0ec94c5 100644 --- a/kscreensaver/kdesavers/Euphoria.h +++ b/kscreensaver/kdesavers/Euphoria.h @@ -15,7 +15,7 @@ #include <kdialogbase.h> class wisp; -class QTimer; +class TQTimer; class EuphoriaWidget : public QGLWidget { @@ -132,7 +132,7 @@ private: }; -class QComboBox; +class TQComboBox; class KEuphoriaSetup : public KDialogBase { diff --git a/kscreensaver/kdesavers/Flux.cpp b/kscreensaver/kdesavers/Flux.cpp index 43cdd2a5..c38b6627 100644 --- a/kscreensaver/kdesavers/Flux.cpp +++ b/kscreensaver/kdesavers/Flux.cpp @@ -879,7 +879,7 @@ KFluxSetup::KFluxSetup( TQWidget* parent, const char* name ) TQWidget *main = makeMainWidget(); TQHBoxLayout* top = new TQHBoxLayout( main, 0, spacingHint() ); - TQVBoxLayout* leftCol = new QVBoxLayout; + TQVBoxLayout* leftCol = new TQVBoxLayout; top->addLayout( leftCol ); // Parameters diff --git a/kscreensaver/kdesavers/Flux.h b/kscreensaver/kdesavers/Flux.h index 638e9cd3..5f0cd64e 100644 --- a/kscreensaver/kdesavers/Flux.h +++ b/kscreensaver/kdesavers/Flux.h @@ -18,7 +18,7 @@ class flux; class particle; -class QTimer; +class TQTimer; class FluxWidget : public QGLWidget { @@ -120,7 +120,7 @@ private: }; -class QComboBox; +class TQComboBox; class KFluxSetup : public KDialogBase { diff --git a/kscreensaver/kdesavers/SolarWinds.cpp b/kscreensaver/kdesavers/SolarWinds.cpp index 7220f1d6..ea3e916a 100644 --- a/kscreensaver/kdesavers/SolarWinds.cpp +++ b/kscreensaver/kdesavers/SolarWinds.cpp @@ -692,7 +692,7 @@ KSWindsSetup::KSWindsSetup( TQWidget* parent, const char* name ) TQHBoxLayout* top = new TQHBoxLayout( main, 0, spacingHint() ); - TQVBoxLayout* leftCol = new QVBoxLayout; + TQVBoxLayout* leftCol = new TQVBoxLayout; top->addLayout( leftCol ); TQLabel* label = new TQLabel( i18n("Mode:"), main ); diff --git a/kscreensaver/kdesavers/SolarWinds.h b/kscreensaver/kdesavers/SolarWinds.h index a5646715..e98252e1 100644 --- a/kscreensaver/kdesavers/SolarWinds.h +++ b/kscreensaver/kdesavers/SolarWinds.h @@ -17,7 +17,7 @@ class wind; -class QTimer; +class TQTimer; class SWindsWidget : public QGLWidget { @@ -111,7 +111,7 @@ private: }; -class QComboBox; +class TQComboBox; class KSWindsSetup : public KDialogBase { diff --git a/kscreensaver/kdesavers/banner.cpp b/kscreensaver/kdesavers/banner.cpp index e3322dc5..f33a7ca0 100644 --- a/kscreensaver/kdesavers/banner.cpp +++ b/kscreensaver/kdesavers/banner.cpp @@ -142,7 +142,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) tl11->addWidget(sb); connect( sb, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotSpeed( int ) ) ); - TQHBoxLayout *tl2 = new QHBoxLayout; + TQHBoxLayout *tl2 = new TQHBoxLayout; tl->addLayout(tl2); label = new TQLabel( i18n("Message:"), main ); diff --git a/kscreensaver/kdesavers/banner.h b/kscreensaver/kdesavers/banner.h index 1c1c57db..57309787 100644 --- a/kscreensaver/kdesavers/banner.h +++ b/kscreensaver/kdesavers/banner.h @@ -16,7 +16,7 @@ #define SATURATION 150 #define VALUE 255 -class QLineEdit; +class TQLineEdit; class KColorButton; class KRandomSequence; diff --git a/kscreensaver/kdesavers/blob.cpp b/kscreensaver/kdesavers/blob.cpp index f258c149..c8860781 100644 --- a/kscreensaver/kdesavers/blob.cpp +++ b/kscreensaver/kdesavers/blob.cpp @@ -449,7 +449,7 @@ KBlobSetup::KBlobSetup TQHBoxLayout *tl = new TQHBoxLayout( main, 0, spacingHint() ); - TQVBoxLayout *vbox = new QVBoxLayout; + TQVBoxLayout *vbox = new TQVBoxLayout; tl->addLayout(vbox); // seconds to generate on a frame diff --git a/kscreensaver/kdesavers/blob.h b/kscreensaver/kdesavers/blob.h index 290f7fbc..2ef4bcf6 100644 --- a/kscreensaver/kdesavers/blob.h +++ b/kscreensaver/kdesavers/blob.h @@ -87,7 +87,7 @@ protected slots: void slotTimeout(); }; -class QListBox; +class TQListBox; class KIntNumInput; class KBlobSetup : public KDialogBase diff --git a/kscreensaver/kdesavers/fountain.cpp b/kscreensaver/kdesavers/fountain.cpp index 2149b53d..23d90104 100644 --- a/kscreensaver/kdesavers/fountain.cpp +++ b/kscreensaver/kdesavers/fountain.cpp @@ -66,7 +66,7 @@ KFountainSetup::KFountainSetup( TQWidget *parent, const char *name ) //setCaption( i18n("Setup Particle Fountain") ); //TQVBoxLayout *tl = new TQVBoxLayout(this, 10); - //TQHBoxLayout *tl1 = new QHBoxLayout; + //TQHBoxLayout *tl1 = new TQHBoxLayout; //tl->addLayout(tl1); //TQVBoxLayout *tl11 = new TQVBoxLayout(5); diff --git a/kscreensaver/kdesavers/kclock.cpp b/kscreensaver/kdesavers/kclock.cpp index 2f3ab178..5079aa57 100644 --- a/kscreensaver/kdesavers/kclock.cpp +++ b/kscreensaver/kdesavers/kclock.cpp @@ -80,7 +80,7 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name) TQVBoxLayout *top = new TQVBoxLayout(main, 0, spacingHint()); - TQHBoxLayout *hbox = new QHBoxLayout; + TQHBoxLayout *hbox = new TQHBoxLayout; top->addLayout( hbox ); TQGroupBox *colgroup = new TQGroupBox(i18n("Colors"), main); diff --git a/kscreensaver/kdesavers/lines.cpp b/kscreensaver/kdesavers/lines.cpp index 02d895e6..86919eca 100644 --- a/kscreensaver/kdesavers/lines.cpp +++ b/kscreensaver/kdesavers/lines.cpp @@ -122,7 +122,7 @@ kLinesSetup::kLinesSetup(TQWidget *parent, const char *name) TQWidget *main = makeMainWidget(); TQHBoxLayout *tl = new TQHBoxLayout(main, 0, spacingHint()); - TQVBoxLayout *tl1 = new QVBoxLayout; + TQVBoxLayout *tl1 = new TQVBoxLayout; tl->addLayout(tl1); TQLabel *label=new TQLabel(i18n("Length:"), main); diff --git a/kscreensaver/kdesavers/lorenz.cpp b/kscreensaver/kdesavers/lorenz.cpp index 7c96a152..86bd0d80 100644 --- a/kscreensaver/kdesavers/lorenz.cpp +++ b/kscreensaver/kdesavers/lorenz.cpp @@ -76,7 +76,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) TQWidget *main = makeMainWidget(); TQHBoxLayout *tl = new TQHBoxLayout( main, 0, spacingHint() ); - TQVBoxLayout *tl1 = new QVBoxLayout; + TQVBoxLayout *tl1 = new TQVBoxLayout; tl->addLayout(tl1); TQLabel *label = new TQLabel( i18n("Speed:"), main ); diff --git a/kscreensaver/kdesavers/lorenz.h b/kscreensaver/kdesavers/lorenz.h index 9d9390b4..4993273e 100644 --- a/kscreensaver/kdesavers/lorenz.h +++ b/kscreensaver/kdesavers/lorenz.h @@ -51,7 +51,7 @@ private: Matrix3D *mat; }; -class QSlider; +class TQSlider; class KLorenzSetup : public KDialogBase { diff --git a/kscreensaver/kdesavers/polygon.cpp b/kscreensaver/kdesavers/polygon.cpp index 8f4dadb2..41274711 100644 --- a/kscreensaver/kdesavers/polygon.cpp +++ b/kscreensaver/kdesavers/polygon.cpp @@ -60,7 +60,7 @@ kPolygonSetup::kPolygonSetup( TQWidget *parent, const char *name ) setButtonText( Help, i18n( "A&bout" ) ); TQHBoxLayout *tl = new TQHBoxLayout(main, 0, spacingHint()); - TQVBoxLayout *tl1 = new QVBoxLayout; + TQVBoxLayout *tl1 = new TQVBoxLayout; tl->addLayout(tl1); TQLabel *label = new TQLabel( i18n("Length:"), main ); diff --git a/kscreensaver/kdesavers/science.cpp b/kscreensaver/kdesavers/science.cpp index 7dbb89bf..57443e78 100644 --- a/kscreensaver/kdesavers/science.cpp +++ b/kscreensaver/kdesavers/science.cpp @@ -856,9 +856,9 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) TQWidget *main = makeMainWidget(); TQHBoxLayout *lt = new TQHBoxLayout( main, 0, spacingHint()); - TQVBoxLayout *ltm = new QVBoxLayout; + TQVBoxLayout *ltm = new TQVBoxLayout; lt->addLayout( ltm ); - TQVBoxLayout *ltc = new QVBoxLayout; + TQVBoxLayout *ltc = new TQVBoxLayout; lt->addLayout( ltc ); // mode @@ -945,7 +945,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Motion:"), main ); ltc->addWidget( label ); - TQHBoxLayout *ltcm = new QHBoxLayout; + TQHBoxLayout *ltcm = new TQHBoxLayout; ltc->addLayout( ltcm ); slideMoveX = new TQSlider(0, SCI_MAX_MOVE, 5, moveX[mode], diff --git a/kscreensaver/kdesavers/science.h b/kscreensaver/kdesavers/science.h index 6c367c23..eb92d339 100644 --- a/kscreensaver/kdesavers/science.h +++ b/kscreensaver/kdesavers/science.h @@ -13,8 +13,8 @@ #include <kdialogbase.h> #include <kscreensaver.h> -class QSlider; -class QCheckBox; +class TQSlider; +class TQCheckBox; #define MAX_MODES 6 diff --git a/kscreensaver/kxsconfig/kxsconfig.h b/kscreensaver/kxsconfig/kxsconfig.h index 1d17b78e..cb74eacb 100644 --- a/kscreensaver/kxsconfig/kxsconfig.h +++ b/kscreensaver/kxsconfig/kxsconfig.h @@ -26,7 +26,7 @@ #include "kxsitem.h" class KProcess; -class QLabel; +class TQLabel; class KXSConfigDialog : public KDialogBase { diff --git a/kscreensaver/kxsconfig/kxscontrol.h b/kscreensaver/kxsconfig/kxscontrol.h index 8a6dde3c..ad75103c 100644 --- a/kscreensaver/kxsconfig/kxscontrol.h +++ b/kscreensaver/kxsconfig/kxscontrol.h @@ -27,11 +27,11 @@ #include "kxsitem.h" -class QLabel; -class QSlider; -class QSpinBox; -class QComboBox; -class QLineEdit; +class TQLabel; +class TQSlider; +class TQSpinBox; +class TQComboBox; +class TQLineEdit; //=========================================================================== class KXSRangeControl : public TQWidget, public KXSRangeItem diff --git a/kscreensaver/kxsconfig/kxsitem.h b/kscreensaver/kxsconfig/kxsitem.h index 8a614bb1..74bdff24 100644 --- a/kscreensaver/kxsconfig/kxsitem.h +++ b/kscreensaver/kxsconfig/kxsitem.h @@ -24,7 +24,7 @@ #include <kconfig.h> -class QXmlAttributes; +class TQXmlAttributes; class KXSConfigItem { 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 <kdecoration.h> #include <kdecorationfactory.h> -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 <tqhbox.h> #include <kconfig.h> -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 <tqvaluevector.h> #include <tqobject.h> -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 <tqmap.h> #include <tqbutton.h> -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 <kdecoration.h> #include <kdecorationfactory.h> -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 <kurllabel.h> #include <kconfig.h> -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 <kdecoration.h> #include <kdecorationfactory.h> #include <tqbutton.h> -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 <ettrich@kde.org> #include <kdecoration.h> #include <kdecorationfactory.h> #include <tqtoolbutton.h> -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 <kdecoration.h> #include <kdecorationfactory.h> -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 <kdecoration.h> #include <kdecorationfactory.h> -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 <kdecoration.h> #include <kdecorationfactory.h> -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 <kdecoration.h> #include <kdecorationfactory.h> -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 <kdecorationfactory.h> -class QLabel; -class QSpacerItem; -class QBoxLayout; +class TQLabel; +class TQSpacerItem; +class TQBoxLayout; namespace System { |