TQt conversion fixes

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1158417 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent b5d38fd2e9
commit e0723566d7

@ -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 );

@ -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
{

@ -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

@ -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
{

@ -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 );

@ -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
{

@ -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 );

@ -16,7 +16,7 @@
#define SATURATION 150
#define VALUE 255
class QLineEdit;
class TQLineEdit;
class KColorButton;
class KRandomSequence;

@ -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

@ -87,7 +87,7 @@ protected slots:
void slotTimeout();
};
class QListBox;
class TQListBox;
class KIntNumInput;
class KBlobSetup : public KDialogBase

@ -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);

@ -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);

@ -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);

@ -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 );

@ -51,7 +51,7 @@ private:
Matrix3D *mat;
};
class QSlider;
class TQSlider;
class KLorenzSetup : public KDialogBase
{

@ -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 );

@ -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],

@ -13,8 +13,8 @@
#include <kdialogbase.h>
#include <kscreensaver.h>
class QSlider;
class QCheckBox;
class TQSlider;
class TQCheckBox;
#define MAX_MODES 6

@ -26,7 +26,7 @@
#include "kxsitem.h"
class KProcess;
class QLabel;
class TQLabel;
class KXSConfigDialog : public KDialogBase
{

@ -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

@ -24,7 +24,7 @@
#include <kconfig.h>
class QXmlAttributes;
class TQXmlAttributes;
class KXSConfigItem
{

@ -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();

@ -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 {

@ -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
{

@ -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;

@ -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
{

@ -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
{

@ -35,7 +35,7 @@
#include <kurllabel.h>
#include <kconfig.h>
class QVBox;
class TQVBox;
class IceWMConfig: public QObject
{

@ -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 {

@ -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;

@ -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 {

@ -9,8 +9,8 @@
#include <kdecoration.h>
#include <kdecorationfactory.h>
class QLabel;
class QSpacerItem;
class TQLabel;
class TQSpacerItem;
namespace KStep {

@ -31,7 +31,7 @@
#include <kdecoration.h>
#include <kdecorationfactory.h>
class QSpacerItem;
class TQSpacerItem;
namespace OpenLook
{

@ -27,9 +27,9 @@
#include <kdecoration.h>
#include <kdecorationfactory.h>
class QSpacerItem;
class QVBoxLayout;
class QBoxLayout;
class TQSpacerItem;
class TQVBoxLayout;
class TQBoxLayout;
namespace RiscOS
{

@ -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();

@ -29,8 +29,8 @@
#include <kdecoration.h>
#include <kdecorationfactory.h>
class QSpacerItem;
class QPoint;
class TQSpacerItem;
class TQPoint;
namespace smoothblend {

@ -10,9 +10,9 @@
#include <kdecorationfactory.h>
class QLabel;
class QSpacerItem;
class QBoxLayout;
class TQLabel;
class TQSpacerItem;
class TQBoxLayout;
namespace System {

Loading…
Cancel
Save