TQt conversion fixes

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1158436 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 576eb4299a
commit 42ca287b53

@ -19,7 +19,7 @@
#include <tqptrlist.h> #include <tqptrlist.h>
class QSocket; class TQSocket;
class AtlanticCore; class AtlanticCore;
class AtlanticClient; class AtlanticClient;

@ -29,7 +29,7 @@
#include "portfolioview.h" #include "portfolioview.h"
#include "board.h" #include "board.h"
class QScrollView; class TQScrollView;
class AtlanticCore; class AtlanticCore;
class AtlantikNetwork; class AtlantikNetwork;

@ -23,7 +23,7 @@
#include <kdialogbase.h> #include <kdialogbase.h>
class QString; class TQString;
class KPushButton; class KPushButton;

@ -19,8 +19,8 @@
#include <tqobject.h> #include <tqobject.h>
class QDateTime; class TQDateTime;
class QString; class TQString;
class Event : public QObject class Event : public QObject
{ {

@ -20,7 +20,7 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqmap.h> #include <tqmap.h>
class QString; class TQString;
class Event; class Event;

@ -26,7 +26,7 @@
#include <kurl.h> #include <kurl.h>
class KExtendedSocket; class KExtendedSocket;
class QTime; class TQTime;
class Monopigator : public QObject class Monopigator : public QObject
{ {

@ -24,8 +24,8 @@
#include <klistview.h> #include <klistview.h>
#include <kpushbutton.h> #include <kpushbutton.h>
class QCheckBox; class TQCheckBox;
class QListViewItem; class TQListViewItem;
class AtlanticCore; class AtlanticCore;
class ConfigOption; class ConfigOption;

@ -21,7 +21,7 @@
#include "libatlantic_export.h" #include "libatlantic_export.h"
class QString; class TQString;
class Player; class Player;

@ -21,8 +21,8 @@
#include <kextsock.h> #include <kextsock.h>
#include "libatlantic_export.h" #include "libatlantic_export.h"
class QDomNode; class TQDomNode;
class QTextStream; class TQTextStream;
class AtlanticCore; class AtlanticCore;

@ -22,7 +22,7 @@
#include <tqobject.h> #include <tqobject.h>
class QString; class TQString;
/* /*
class AtlanticCore; class AtlanticCore;

@ -23,9 +23,9 @@
#include <klistview.h> #include <klistview.h>
class QVGroupBox; class TQVGroupBox;
class QSpinBox; class TQSpinBox;
class QLabel; class TQLabel;
class KListViewItem; class KListViewItem;

@ -22,7 +22,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqptrlist.h> #include <tqptrlist.h>
#include "libatlantikui_export.h" #include "libatlantikui_export.h"
class QPoint; class TQPoint;
class AtlanticCore; class AtlanticCore;
class Auction; class Auction;

@ -19,11 +19,11 @@
#include <tqwidget.h> #include <tqwidget.h>
class QPixmap; class TQPixmap;
class QString; class TQString;
class QHBoxLayout; class TQHBoxLayout;
class QVBoxLayout; class TQVBoxLayout;
class QVGroupBox; class TQVGroupBox;
class KListView; class KListView;
class KPixmap; class KPixmap;

@ -23,8 +23,8 @@
#include "portfolioestate.h" #include "portfolioestate.h"
#include "libatlantikui_export.h" #include "libatlantikui_export.h"
class QColor; class TQColor;
class QString; class TQString;
class AtlanticCore; class AtlanticCore;
class Player; class Player;

@ -19,7 +19,7 @@
#include <tqwidget.h> #include <tqwidget.h>
class QPixmap; class TQPixmap;
class Player; class Player;
class Estate; class Estate;

@ -21,10 +21,10 @@
#include <tqmap.h> #include <tqmap.h>
#include "libatlantikui_export.h" #include "libatlantikui_export.h"
class QHGroupBox; class TQHGroupBox;
class QLabel; class TQLabel;
class QListViewItem; class TQListViewItem;
class QSpinBox; class TQSpinBox;
class KListView; class KListView;
class KListViewItem; class KListViewItem;

@ -85,8 +85,8 @@ KAstTopLevel::KAstTopLevel()
connect( view, TQT_SIGNAL( updateVitals() ), TQT_SLOT( slotUpdateVitals() ) ); connect( view, TQT_SIGNAL( updateVitals() ), TQT_SLOT( slotUpdateVitals() ) );
TQVBoxLayout *vb = new TQVBoxLayout( mainWin ); TQVBoxLayout *vb = new TQVBoxLayout( mainWin );
TQHBoxLayout *hb = new QHBoxLayout; TQHBoxLayout *hb = new TQHBoxLayout;
TQHBoxLayout *hbd = new QHBoxLayout; TQHBoxLayout *hbd = new TQHBoxLayout;
vb->addLayout( hb ); vb->addLayout( hb );
TQFont labelFont( KGlobalSettings::generalFont().family(), 24 ); TQFont labelFont( KGlobalSettings::generalFont().family(), 24 );

@ -17,7 +17,7 @@
//#define KA_ENABLE_SOUND //#define KA_ENABLE_SOUND
class KALedMeter; class KALedMeter;
class QLCDNumber; class TQLCDNumber;
class KDialogBase; class KDialogBase;
class KAstTopLevel : public KMainWindow class KAstTopLevel : public KMainWindow

@ -4,8 +4,8 @@
class Feld; class Feld;
class Molek; class Molek;
class QScrollBar; class TQScrollBar;
class QLabel; class TQLabel;
class KScoreDialog; class KScoreDialog;
#include <tqwidget.h> #include <tqwidget.h>

@ -41,10 +41,10 @@
#include <klocale.h> #include <klocale.h>
class QTimer; class TQTimer;
class QSocket; class TQSocket;
class QPopupMenu; class TQPopupMenu;
class QCheckBox; class TQCheckBox;
class KAction; class KAction;
class KToggleAction; class KToggleAction;

@ -30,11 +30,11 @@
#include <kchat.h> #include <kchat.h>
class QString; class TQString;
class QPoint; class TQPoint;
class QListBox; class TQListBox;
class QListBoxItem; class TQListBoxItem;
class QPopupMenu; class TQPopupMenu;
class KTabCtl; class KTabCtl;
class KAction; class KAction;

@ -30,8 +30,8 @@
#include <tqobject.h> #include <tqobject.h>
class QTimer; class TQTimer;
class QPopupMenu; class TQPopupMenu;
class KDialogBase; class KDialogBase;

@ -30,7 +30,7 @@
#include <kgame.h> #include <kgame.h>
#include <kdemacros.h> #include <kdemacros.h>
class QObject; class TQObject;
class KPlayer; class KPlayer;
/** /**

@ -30,10 +30,10 @@
#include <kmainwindow.h> #include <kmainwindow.h>
class QSplitter; class TQSplitter;
class QCheckBox; class TQCheckBox;
class QPopupMenu; class TQPopupMenu;
class QLabel; class TQLabel;
class KAction; class KAction;
class KSelectAction; class KSelectAction;
class KLineEdit; class KLineEdit;

@ -64,7 +64,7 @@ KBBGame::KBBGame()
if (!pix[0]->isNull()) { if (!pix[0]->isNull()) {
kdDebug(12009) << "Pixmap \"" << pFNames[0] << "\" loaded." << endl; kdDebug(12009) << "Pixmap \"" << pFNames[0] << "\" loaded." << endl;
for (i = 1; i < NROFTYPES; i++) { for (i = 1; i < NROFTYPES; i++) {
pix[i] = new QPixmap; pix[i] = new TQPixmap;
*pix[i] = BarIcon( pFNames[i] ); *pix[i] = BarIcon( pFNames[i] );
if (!pix[i]->isNull()) { if (!pix[i]->isNull()) {
kdDebug(12009) << "Pixmap \"" << pFNames[i] << "\" loaded." << endl; kdDebug(12009) << "Pixmap \"" << pFNames[i] << "\" loaded." << endl;

@ -39,7 +39,7 @@ KBBGraphic::KBBGraphic( TQPixmap **p, TQWidget* parent, const char* name )
else { else {
pixScaled = new TQPixmap * [NROFTYPES]; pixScaled = new TQPixmap * [NROFTYPES];
for (i = 0; i < NROFTYPES; i++) { for (i = 0; i < NROFTYPES; i++) {
pixScaled[i] = new QPixmap; pixScaled[i] = new TQPixmap;
} }
} }
graphicBoard = NULL; graphicBoard = NULL;

@ -29,7 +29,7 @@
using namespace Arts; using namespace Arts;
#endif #endif
class QTimer; class TQTimer;
class JezzField; class JezzField;
#define FIELD_WIDTH 32 #define FIELD_WIDTH 32

@ -57,7 +57,7 @@ KJezzball::KJezzball()
m_layout = new TQGridLayout( m_view, 1, 3 ); m_layout = new TQGridLayout( m_view, 1, 3 );
m_layout->setColStretch( 2, 1 ); m_layout->setColStretch( 2, 1 );
TQVBoxLayout *infoLayout = new QVBoxLayout; TQVBoxLayout *infoLayout = new TQVBoxLayout;
m_layout->addLayout( infoLayout, 0, 1 ); m_layout->addLayout( infoLayout, 0, 1 );
TQLabel *label = new TQLabel( i18n("Level:"), m_view ); TQLabel *label = new TQLabel( i18n("Level:"), m_view );

@ -22,8 +22,8 @@
#include <kmainwindow.h> #include <kmainwindow.h>
class JezzGame; class JezzGame;
class QLCDNumber; class TQLCDNumber;
class QGridLayout; class TQGridLayout;
class KToggleAction; class KToggleAction;
class KAction; class KAction;

@ -62,7 +62,7 @@ AbTop::AbTop()
pastePossible = true; pastePossible = true;
timer = new QTimer; timer = new TQTimer;
connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) ); connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) );
board = new Board(); board = new Board();
@ -412,7 +412,7 @@ void AbTop::setupStatusBar()
/* Create a toolbar menu for debugging output level */ /* Create a toolbar menu for debugging output level */
KToolBar *tb = toolBar("mainToolBar"); KToolBar *tb = toolBar("mainToolBar");
if (tb) { if (tb) {
TQPopupMenu* spyPopup = new QPopupMenu; TQPopupMenu* spyPopup = new TQPopupMenu;
spy0 = BarIcon( "spy0" ); spy0 = BarIcon( "spy0" );
spy1 = BarIcon( "spy1" ); spy1 = BarIcon( "spy1" );
spy2 = BarIcon( "spy2" ); spy2 = BarIcon( "spy2" );

@ -11,9 +11,9 @@
#include "Move.h" #include "Move.h"
class QTimer; class TQTimer;
class QPopupMenu; class TQPopupMenu;
class QLabel; class TQLabel;
class KAction; class KAction;
class KToggleAction; class KToggleAction;

@ -12,7 +12,7 @@
class BoardWidget; class BoardWidget;
class QLabel; class TQLabel;
class Spy: public QWidget class Spy: public QWidget
{ {

@ -27,10 +27,10 @@
#include "brain.h" #include "brain.h"
#include <tqwidget.h> #include <tqwidget.h>
class QGridLayout; class TQGridLayout;
class CubeBox; class CubeBox;
class QPalette; class TQPalette;
class QTimer; class TQTimer;
class KConfigBase; class KConfigBase;
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H

@ -254,7 +254,7 @@ void KCubeWidget::drawContents(TQPainter *painter)
TQRect contents=contentsRect(); TQRect contents=contentsRect();
TQPixmap buffer(contents.size()); TQPixmap buffer(contents.size());
buffer.fill(this,contents.topLeft()); buffer.fill(this,contents.topLeft());
TQPainter *p=new QPainter; TQPainter *p=new TQPainter;
p->begin(&buffer); p->begin(&buffer);
int h=contents.height(); int h=contents.height();
int w=contents.width(); int w=contents.width();

@ -25,8 +25,8 @@
#include <tqframe.h> #include <tqframe.h>
#include "cube.h" #include "cube.h"
class QPalette; class TQPalette;
class QTimer; class TQTimer;
/** /**

@ -2,8 +2,8 @@
#define _BACKGROUND_H #define _BACKGROUND_H
#include <tqstring.h> #include <tqstring.h>
class QPixmap; class TQPixmap;
class QImage; class TQImage;
class Background class Background

@ -5,9 +5,9 @@
#include <tqdialog.h> #include <tqdialog.h>
class QLineEdit; class TQLineEdit;
class QComboBox; class TQComboBox;
class QLabel; class TQLabel;
const int numScores = 10; const int numScores = 10;

@ -9,8 +9,8 @@
#include "BoardLayout.h" #include "BoardLayout.h"
#include "Background.h" #include "Background.h"
class QComboBox; class TQComboBox;
class QPixmap; class TQPixmap;
class FrameImage: public QFrame class FrameImage: public QFrame
{ {

@ -42,7 +42,7 @@ class GameTimer;
class Editor; class Editor;
class KToggleAction; class KToggleAction;
class QLabel; class TQLabel;
/** /**
... ...

@ -25,7 +25,7 @@
#include "defines.h" #include "defines.h"
class QPainter; class TQPainter;
class FieldFrame : public TQFrame, public KMines class FieldFrame : public TQFrame, public KMines
{ {

@ -25,7 +25,7 @@
#include "bfield.h" #include "bfield.h"
class QLabel; class TQLabel;
class KProgress; class KProgress;
class SolverPrivate; class SolverPrivate;

@ -27,8 +27,8 @@ class Smiley;
class KGameLCD; class KGameLCD;
class DigitalClock; class DigitalClock;
class Solver; class Solver;
class QWidgetStack; class TQWidgetStack;
class QTimer; class TQTimer;
class Status : public TQWidget, public KMines class Status : public TQWidget, public KMines
{ {

@ -19,9 +19,9 @@
#include <kmainwindow.h> #include <kmainwindow.h>
class Cell; class Cell;
class QAction; class TQAction;
class QSound; class TQSound;
class QLCDNumber; class TQLCDNumber;
class KSelectAction; class KSelectAction;
class MainWindow : public KMainWindow class MainWindow : public KMainWindow

@ -6,8 +6,8 @@
#include "game.h" #include "game.h"
class KListBox; class KListBox;
class QHBoxLayout; class TQHBoxLayout;
class QListBoxItem; class TQListBoxItem;
class Config; class Config;
class Editor : public QWidget class Editor : public QWidget

@ -31,13 +31,13 @@
#include "rtti.h" #include "rtti.h"
#include <kdemacros.h> #include <kdemacros.h>
class QLabel; class TQLabel;
class QSlider; class TQSlider;
class QCheckBox; class TQCheckBox;
class QTimer; class TQTimer;
class QKeyEvent; class TQKeyEvent;
class QMouseEvent; class TQMouseEvent;
class QPainter; class TQPainter;
class KConfig; class KConfig;
class KPrinter; class KPrinter;
class KolfGame; class KolfGame;

@ -30,7 +30,7 @@
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kglobal.h> #include <kglobal.h>
class QCheckBox; class TQCheckBox;
class KHistoryCombo; class KHistoryCombo;
/** /**

@ -16,12 +16,12 @@ class KolfGame;
class KToggleAction; class KToggleAction;
class KListAction; class KListAction;
class KAction; class KAction;
class QGridLayout; class TQGridLayout;
class ScoreBoard; class ScoreBoard;
class QCloseEvent; class TQCloseEvent;
class QEvent; class TQEvent;
class Player; class Player;
class QWidget; class TQWidget;
class Editor; class Editor;
class KDE_EXPORT Kolf : public KMainWindow class KDE_EXPORT Kolf : public KMainWindow

@ -17,12 +17,12 @@
#include "game.h" #include "game.h"
class KLineEdit; class KLineEdit;
class QFrame; class TQFrame;
class QVBoxLayout; class TQVBoxLayout;
class QVBox; class TQVBox;
class QPainter; class TQPainter;
class KListBox; class KListBox;
class QEvent; class TQEvent;
class PlayerEditor : public QWidget class PlayerEditor : public QWidget
{ {

@ -5,8 +5,8 @@
#include <tqmap.h> #include <tqmap.h>
#include <tqstring.h> #include <tqstring.h>
class QCheckBox; class TQCheckBox;
class QWidget; class TQWidget;
class PrintDialogPage : public KPrintDialogPage class PrintDialogPage : public KPrintDialogPage
{ {

@ -3,8 +3,8 @@
#include <tqtable.h> #include <tqtable.h>
class QWidget; class TQWidget;
class QHeader; class TQHeader;
class ScoreBoard : public QTable class ScoreBoard : public QTable
{ {

@ -53,7 +53,7 @@ FleetDlg::FleetDlg( TQWidget *parent, AttackFleetList *fleets )
okButton->setDefault(true); okButton->setDefault(true);
TQVBoxLayout *layout1 = new TQVBoxLayout( this ); TQVBoxLayout *layout1 = new TQVBoxLayout( this );
TQHBoxLayout *layout2 = new QHBoxLayout; TQHBoxLayout *layout2 = new TQHBoxLayout;
layout1->addWidget( fleetTable, 1 ); layout1->addWidget( fleetTable, 1 );
layout1->addLayout( layout2 ); layout1->addLayout( layout2 );

@ -89,9 +89,9 @@ GameBoard::GameBoard( TQWidget *parent )
// Layout the main window // Layout the main window
//******************************************************************** //********************************************************************
TQHBoxLayout *layout1 = new TQHBoxLayout( this ); TQHBoxLayout *layout1 = new TQHBoxLayout( this );
TQVBoxLayout *layout2 = new QVBoxLayout; TQVBoxLayout *layout2 = new TQVBoxLayout;
TQHBoxLayout *layout3 = new QHBoxLayout; TQHBoxLayout *layout3 = new TQHBoxLayout;
TQVBoxLayout *layout4 = new QVBoxLayout; TQVBoxLayout *layout4 = new TQVBoxLayout;
layout1->addLayout( layout2 ); layout1->addLayout( layout2 );
layout2->addLayout( layout3 ); layout2->addLayout( layout3 );

@ -9,12 +9,12 @@
//************************************************************************ //************************************************************************
// forward declarations // forward declarations
//************************************************************************ //************************************************************************
class QSlider; class TQSlider;
class QLabel; class TQLabel;
class QListBox; class TQListBox;
class QPushButton; class TQPushButton;
class QLineEdit; class TQLineEdit;
class QTextEdit; class TQTextEdit;
enum GameState { NONE, SOURCE_PLANET, DEST_PLANET, SHIP_COUNT, RULER_SOURCE, RULER_DEST, AI_PLAYER }; enum GameState { NONE, SOURCE_PLANET, DEST_PLANET, SHIP_COUNT, RULER_SOURCE, RULER_DEST, AI_PLAYER };

@ -3,8 +3,8 @@
#include <kdialogbase.h> #include <kdialogbase.h>
class QSlider; class TQSlider;
class QPushButton; class TQPushButton;
class GameEndDlg : public KDialogBase class GameEndDlg : public KDialogBase
{ {

@ -8,7 +8,7 @@
#include "gamecore.h" #include "gamecore.h"
class QLabel; class TQLabel;
struct planet_info_buffer { struct planet_info_buffer {
Planet *planet; Planet *planet;

@ -46,7 +46,7 @@ ScoreDlg::ScoreDlg( TQWidget *parent, const TQString& title, PlayerList *players
okButton->setDefault(true); okButton->setDefault(true);
TQVBoxLayout *layout1 = new TQVBoxLayout( this ); TQVBoxLayout *layout1 = new TQVBoxLayout( this );
TQHBoxLayout *layout2 = new QHBoxLayout; TQHBoxLayout *layout2 = new TQHBoxLayout;
layout1->addWidget( scoreTable, 1 ); layout1->addWidget( scoreTable, 1 );
layout1->addLayout( layout2 ); layout1->addLayout( layout2 );

@ -5,7 +5,7 @@
#include "hint.h" #include "hint.h"
#include <krandomsequence.h> #include <krandomsequence.h>
class QDomDocument; class TQDomDocument;
class KMainWindow; class KMainWindow;
class Dealer; class Dealer;
class DealerInfo; class DealerInfo;

@ -30,8 +30,8 @@ class KToggleAction;
class KSelectAction; class KSelectAction;
class KRecentFilesAction; class KRecentFilesAction;
class KAction; class KAction;
class QWidgetStack; class TQWidgetStack;
class QLabel; class TQLabel;
class pWidget: public KMainWindow { class pWidget: public KMainWindow {
Q_OBJECT Q_OBJECT

@ -20,7 +20,7 @@
#include <tqgroupbox.h> #include <tqgroupbox.h>
class QPushButton; class TQPushButton;
/** /**

@ -42,7 +42,7 @@ CardImages::CardImages(TQWidget* parent, const char* name)
: TQWidget(parent, name) : TQWidget(parent, name)
{ {
m_cardPixmaps = new QPixmap[numCards]; m_cardPixmaps = new QPixmap[numCards];
m_deck = new QPixmap; m_deck = new TQPixmap;
// Hide the window. // Hide the window.
// FIXME: Why is this a QWidget? // FIXME: Why is this a QWidget?

@ -25,7 +25,7 @@
#include <tqpixmap.h> #include <tqpixmap.h>
class QLabel; class TQLabel;
/** /**

@ -244,11 +244,11 @@ void kpok::initWindow()
wonFont.setBold(true); wonFont.setBold(true);
topLayout = new TQVBoxLayout(this, BORDER); topLayout = new TQVBoxLayout(this, BORDER);
TQVBoxLayout* topInputLayout = new QVBoxLayout; TQVBoxLayout* topInputLayout = new TQVBoxLayout;
topLayout->addLayout(topInputLayout); topLayout->addLayout(topInputLayout);
TQHBoxLayout* betLayout = new QHBoxLayout; TQHBoxLayout* betLayout = new TQHBoxLayout;
inputLayout = new QHBoxLayout; inputLayout = new TQHBoxLayout;
inputLayout->addLayout(betLayout); inputLayout->addLayout(betLayout);
topInputLayout->addLayout(inputLayout); topInputLayout->addLayout(inputLayout);

@ -31,14 +31,14 @@
// QT classes // QT classes
class QPushButton; class TQPushButton;
class QLineEdit; class TQLineEdit;
class QLabel; class TQLabel;
class QFrame; class TQFrame;
class QLineEdit; class TQLineEdit;
class QFrame; class TQFrame;
class QHBoxLayout; class TQHBoxLayout;
class QVBoxLayout; class TQVBoxLayout;
// KDE classes // KDE classes
class KConfig; class KConfig;

@ -24,10 +24,10 @@
class KIntNumInput; class KIntNumInput;
class QLineEdit; class TQLineEdit;
class QCheckBox; class TQCheckBox;
class QLabel; class TQLabel;
class QComboBox; class TQComboBox;
/** /**

@ -21,10 +21,10 @@
#include <kdialogbase.h> #include <kdialogbase.h>
class QLineEdit; class TQLineEdit;
class QCheckBox; class TQCheckBox;
class QLabel; class TQLabel;
class QComboBox; class TQComboBox;
class KIntNumInput; class KIntNumInput;

@ -73,7 +73,7 @@ PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name)
// Add the cash and bet labels. // Add the cash and bet labels.
{ {
TQVBoxLayout* vl = new QVBoxLayout; TQVBoxLayout* vl = new TQVBoxLayout;
l->addLayout(vl); l->addLayout(vl);
vl->addStretch(); vl->addStretch();

@ -22,7 +22,7 @@
#include <tqgroupbox.h> #include <tqgroupbox.h>
class QLabel; class TQLabel;
class PokerPlayer; class PokerPlayer;

@ -22,7 +22,7 @@
#include <kmainwindow.h> #include <kmainwindow.h>
class QLabel; class TQLabel;
class KToggleAction; class KToggleAction;
class kpok; class kpok;

@ -51,7 +51,7 @@
#include "qreversigameview.h" #include "qreversigameview.h"
class QLabel; class TQLabel;
class KAction; class KAction;

@ -50,7 +50,7 @@
class KConfig; class KConfig;
class QLabel; class TQLabel;
class QReversiGame; class QReversiGame;

@ -32,7 +32,7 @@ this software.
class ScreenWidget; class ScreenWidget;
class MirrorWidget; class MirrorWidget;
class NextPieceWidget; class NextPieceWidget;
class QTimer; class TQTimer;
class GameWidget : public TQWidget { class GameWidget : public TQWidget {
Q_OBJECT Q_OBJECT

@ -29,7 +29,7 @@ this software.
#include "ksmiletris.h" #include "ksmiletris.h"
class KMenuBar; class KMenuBar;
class QPopupMenu; class TQPopupMenu;
class GameWidget; class GameWidget;
class KStatusBar; class KStatusBar;

@ -28,8 +28,8 @@
#include <tqwidget.h> #include <tqwidget.h>
class QLabel; class TQLabel;
class QSpinBox; class TQSpinBox;
class StartRoom : public QWidget class StartRoom : public QWidget
{ {

@ -26,7 +26,7 @@
#include <krandomsequence.h> #include <krandomsequence.h>
class QPainter; class TQPainter;
#define SMALL_STONES 4 #define SMALL_STONES 4
#define LARGE_STONES 6 #define LARGE_STONES 6

@ -27,10 +27,10 @@
class KMenuBar; class KMenuBar;
class PlayField; class PlayField;
class QPopupMenu; class TQPopupMenu;
class QFocusEvent; class TQFocusEvent;
class QDragEnterEvent; class TQDragEnterEvent;
class QDropEvent; class TQDropEvent;
class LevelCollection; class LevelCollection;
class MainWindow : public KMainWindow { class MainWindow : public KMainWindow {

@ -38,8 +38,8 @@ class Move;
class History; class History;
class Bookmark; class Bookmark;
class LevelCollection; class LevelCollection;
class QPainter; class TQPainter;
class QCursor; class TQCursor;
class PlayField : public TQWidget { class PlayField : public TQWidget {
Q_OBJECT Q_OBJECT

@ -1,13 +1,13 @@
#ifndef __SP_DIALOG_H #ifndef __SP_DIALOG_H
#define __SP_DIALOG_H #define __SP_DIALOG_H
class QPushButton; class TQPushButton;
class QLabel; class TQLabel;
class QComboBox; class TQComboBox;
class QTabWidget; class TQTabWidget;
class QSlider; class TQSlider;
class QLCDNumber; class TQLCDNumber;
class QCheckBox; class TQCheckBox;
#include <kconfigdialog.h> #include <kconfigdialog.h>

@ -3,7 +3,7 @@
#include <tqframe.h> #include <tqframe.h>
#include <tqlabel.h> #include <tqlabel.h>
class QPixmap; class TQPixmap;
#include <tqlcdnumber.h> #include <tqlcdnumber.h>
#include <tqcolor.h> #include <tqcolor.h>

@ -17,7 +17,7 @@
#include "todraw.h" #include "todraw.h"
#include "action.h" #include "action.h"
class QDomDocument; class TQDomDocument;
class TopLevel; class TopLevel;
class PlayGround : public QWidget class PlayGround : public QWidget

@ -10,7 +10,7 @@
#include "tqobject.h" #include "tqobject.h"
class QDomDocument; class TQDomDocument;
class TopLevel; class TopLevel;
class SoundFactory : public QObject class SoundFactory : public QObject

@ -11,7 +11,7 @@
#include <kmainwindow.h> #include <kmainwindow.h>
#include <kurl.h> #include <kurl.h>
class QDomDocument; class TQDomDocument;
class PlayGround; class PlayGround;
class SoundFactory; class SoundFactory;

@ -157,7 +157,7 @@ TQCanvasItem *KSpriteCache::getItem(TQString name,int no)
} }
TQPixmap * KSpriteCache::loadPixmap(TQString file,TQString mask,TQString dir) TQPixmap * KSpriteCache::loadPixmap(TQString file,TQString mask,TQString dir)
{ {
TQPixmap *newP=new QPixmap; TQPixmap *newP=new TQPixmap;
bool result1=false; bool result1=false;
bool result2=false; bool result2=false;
if (dir.isNull()) dir=grafixDir(); // default dir if (dir.isNull()) dir=grafixDir(); // default dir

@ -27,7 +27,7 @@ class KGameChat;
class KChatDialog; class KChatDialog;
class Kwin4Doc; class Kwin4Doc;
class Kwin4View; class Kwin4View;
class QVButtonGroup; class TQVButtonGroup;
class KPlayer; class KPlayer;
/** /**

@ -25,7 +25,7 @@
#include "kwin4player.h" #include "kwin4player.h"
class Kwin4View; class Kwin4View;
class QCanvasItem; class TQCanvasItem;
extern int global_debug; extern int global_debug;

@ -2,11 +2,11 @@
#define _SCOREWIDGET_H #define _SCOREWIDGET_H
#include <tqframe.h> #include <tqframe.h>
class QVBoxLayout; class TQVBoxLayout;
class QHBoxLayout; class TQHBoxLayout;
class QGridLayout; class TQGridLayout;
class QGroupBox; class TQGroupBox;
class QLabel; class TQLabel;
class ScoreWidget : public QFrame class ScoreWidget : public QFrame
{ {

@ -25,7 +25,7 @@
#include <kurl.h> #include <kurl.h>
#include <kdemacros.h> #include <kdemacros.h>
class QTabWidget; class TQTabWidget;
namespace KExtHighscore namespace KExtHighscore

@ -28,9 +28,9 @@
#include "khighscore.h" #include "khighscore.h"
#include "kexthighscore.h" #include "kexthighscore.h"
class QTextStream; class TQTextStream;
class QTabWidget; class TQTabWidget;
class QDomNamedNodeMap; class TQDomNamedNodeMap;
namespace KExtHighscore namespace KExtHighscore

@ -25,7 +25,7 @@
#include <tqmap.h> #include <tqmap.h>
#include <tqvaluevector.h> #include <tqvaluevector.h>
#include <kdemacros.h> #include <kdemacros.h>
class QWidget; class TQWidget;
namespace KExtHighscore namespace KExtHighscore

@ -23,7 +23,7 @@
#include <tqcombobox.h> #include <tqcombobox.h>
#include <tqmemarray.h> #include <tqmemarray.h>
class QLabel; class TQLabel;
class KListView; class KListView;

@ -30,9 +30,9 @@ this software.
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kdemacros.h> #include <kdemacros.h>
class QGridLayout; class TQGridLayout;
class QLineEdit; class TQLineEdit;
class QWidgetStack; class TQWidgetStack;
/** /**
* A simple high score dialog. * A simple high score dialog.

@ -23,7 +23,7 @@
#include <krootpixmap.h> #include <krootpixmap.h>
#include <kdemacros.h> #include <kdemacros.h>
class QCanvasView; class TQCanvasView;
/** /**
* Implement KRootPixmap for a TQCanvasView. * Implement KRootPixmap for a TQCanvasView.

@ -24,7 +24,7 @@
#include <tqmap.h> // TODO: remove - it is in kcarddialog.cpp now; left here for source compatibility #include <tqmap.h> // TODO: remove - it is in kcarddialog.cpp now; left here for source compatibility
#include <kdemacros.h> #include <kdemacros.h>
class QIconViewItem; class TQIconViewItem;
class KConfig; class KConfig;

@ -25,7 +25,7 @@
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <kdemacros.h> #include <kdemacros.h>
class QListBoxItem; class TQListBoxItem;
class KConfig; class KConfig;

@ -30,9 +30,9 @@
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kdemacros.h> #include <kdemacros.h>
class QGridLayout; class TQGridLayout;
class QVBoxLayout; class TQVBoxLayout;
class QListBoxItem; class TQListBoxItem;
class KGame; class KGame;
class KPlayer; class KPlayer;

@ -31,9 +31,9 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <kdemacros.h> #include <kdemacros.h>
class QGridLayout; class TQGridLayout;
class QVBoxLayout; class TQVBoxLayout;
class QListBoxItem; class TQListBoxItem;
class KGame; class KGame;
class KPlayer; class KPlayer;

@ -27,7 +27,7 @@
#include "kgameproperty.h" #include "kgameproperty.h"
#include <kdemacros.h> #include <kdemacros.h>
class QDataStream; class TQDataStream;
class KGame; class KGame;
class KPlayer; class KPlayer;
//class KGamePropertyBase; //class KGamePropertyBase;

@ -32,9 +32,9 @@
#include <tqfile.h> #include <tqfile.h>
#include <kdebug.h> #include <kdebug.h>
class QSocket; class TQSocket;
class KProcess; class KProcess;
//class QFile; //class TQFile;
/** /**

@ -369,7 +369,7 @@ void KMessageServer::getReceivedMessage (const TQByteArray &msg)
KMessageIO *client = (KMessageIO *) sender(); KMessageIO *client = (KMessageIO *) sender();
Q_UINT32 clientID = client->id(); Q_UINT32 clientID = client->id();
//TQByteArray *ta=new QByteArray; //TQByteArray *ta=new TQByteArray;
//ta->duplicate(msg); //ta->duplicate(msg);
//d->mMessageQueue.enqueue (new MessageBuffer (clientID, *ta)); //d->mMessageQueue.enqueue (new MessageBuffer (clientID, *ta));

@ -24,8 +24,8 @@
#include <tqvaluevector.h> #include <tqvaluevector.h>
#include <kdemacros.h> #include <kdemacros.h>
class QLabel; class TQLabel;
class QTimer; class TQTimer;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
/** /**

@ -23,7 +23,7 @@
class KAction; class KAction;
class KToggleAction; class KToggleAction;
class QObject; class TQObject;
class KActionCollection; class KActionCollection;
class KRecentFilesAction; class KRecentFilesAction;
class KSelectAction; class KSelectAction;

@ -26,7 +26,7 @@ struct BaseBoardInfo {
class BaseBoard; class BaseBoard;
class BaseInterface; class BaseInterface;
class QWidget; class TQWidget;
class KAboutData; class KAboutData;
#define bfactory BaseFactory::self() #define bfactory BaseFactory::self()

@ -5,13 +5,13 @@
#include <kdemacros.h> #include <kdemacros.h>
class QVBoxLayout; class TQVBoxLayout;
class QGridLayout; class TQGridLayout;
class KGameLCD; class KGameLCD;
class KGameLCDList; class KGameLCDList;
class BaseBoard; class BaseBoard;
class QLabel; class TQLabel;
class QButton; class TQButton;
class GTInitData; class GTInitData;
class KCanvasRootPixmap; class KCanvasRootPixmap;

@ -1,7 +1,7 @@
#ifndef BASE_INTER_H #ifndef BASE_INTER_H
#define BASE_INTER_H #define BASE_INTER_H
class QWidget; class TQWidget;
class BaseInterface class BaseInterface

@ -4,7 +4,7 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <kconfig.h> #include <kconfig.h>
class QGridLayout; class TQGridLayout;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

@ -8,7 +8,7 @@
#include "mp_board.h" #include "mp_board.h"
#include "mp_option.h" #include "mp_option.h"
class QHBoxLayout; class TQHBoxLayout;
class Local; class Local;
class ConnectionData; class ConnectionData;
class RemoteHostData; class RemoteHostData;

@ -10,7 +10,7 @@
#include "types.h" #include "types.h"
class QPushButton; class TQPushButton;
/** Internal class : display a "player line" in netmeeting. */ /** Internal class : display a "player line" in netmeeting. */
class MeetingLine : public QFrame class MeetingLine : public QFrame

@ -40,7 +40,7 @@
#include <sys/un.h> #include <sys/un.h>
#include <netinet/in.h> #include <netinet/in.h>
class QSocketNotifier; class TQSocketNotifier;
#ifdef INET6 #ifdef INET6
typedef sockaddr_in6 ksockaddr_in; typedef sockaddr_in6 ksockaddr_in;

@ -38,7 +38,7 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
vbox->setSpacing( 6 ); vbox->setSpacing( 6 );
vbox->setMargin( 11 ); vbox->setMargin( 11 );
hbox = new QHBoxLayout; hbox = new TQHBoxLayout;
hbox->setSpacing( 6 ); hbox->setSpacing( 6 );
hbox->setMargin( 0 ); hbox->setMargin( 0 );
@ -52,11 +52,11 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
vbox_2->setSpacing( 6 ); vbox_2->setSpacing( 6 );
vbox_2->setMargin( 11 ); vbox_2->setMargin( 11 );
vbox_3 = new QVBoxLayout; vbox_3 = new TQVBoxLayout;
vbox_3->setSpacing( 6 ); vbox_3->setSpacing( 6 );
vbox_3->setMargin( 0 ); vbox_3->setMargin( 0 );
hbox_2 = new QHBoxLayout; hbox_2 = new TQHBoxLayout;
hbox_2->setSpacing( 6 ); hbox_2->setSpacing( 6 );
hbox_2->setMargin( 0 ); hbox_2->setMargin( 0 );
@ -71,7 +71,7 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
hbox_2->addWidget( edit_player1 ); hbox_2->addWidget( edit_player1 );
vbox_3->addLayout( hbox_2 ); vbox_3->addLayout( hbox_2 );
hbox_3 = new QHBoxLayout; hbox_3 = new TQHBoxLayout;
hbox_3->setSpacing( 6 ); hbox_3->setSpacing( 6 );
hbox_3->setMargin( 0 ); hbox_3->setMargin( 0 );

@ -10,13 +10,13 @@
#define NAMEDLG_H #define NAMEDLG_H
#include <kdialogbase.h> #include <kdialogbase.h>
class QVBoxLayout; class TQVBoxLayout;
class QHBoxLayout; class TQHBoxLayout;
class QGridLayout; class TQGridLayout;
class QGroupBox; class TQGroupBox;
class QLabel; class TQLabel;
class QLineEdit; class TQLineEdit;
class QPushButton; class TQPushButton;
class NameDlg : public KDialogBase class NameDlg : public KDialogBase
{ {

Loading…
Cancel
Save