diff options
Diffstat (limited to 'knights/core.h')
-rw-r--r-- | knights/core.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/knights/core.h b/knights/core.h index 5723112..5e8e66c 100644 --- a/knights/core.h +++ b/knights/core.h @@ -18,8 +18,8 @@ #ifndef CORE_H #define CORE_H -#include <qwidget.h> -#include <qtimer.h> +#include <tqwidget.h> +#include <tqtimer.h> #include "definitions.h" #include "resource.h" #include "knightsmap.h" @@ -38,14 +38,15 @@ class match_param; typedef KnightsMap<int, match*> MatchMap; typedef KnightsMap<int, io_base*> IOMap; -class core : public QWidget +class core : public TQWidget { Q_OBJECT + TQ_OBJECT public: - core(QWidget *parent=0, const char *name=0, resource *Rsrc=0); + core(TQWidget *tqparent=0, const char *name=0, resource *Rsrc=0); ~core(); - QStringList* notation( void ); - QString caption( void ); + TQStringList* notation( void ); + TQString caption( void ); bool modified( void ); bool paused( void ); bool isOnline( void ); @@ -69,18 +70,18 @@ class core : public QWidget void resize( void ); bool save( const int ID, const bool Prompt, const bool SaveAs ); bool load( void ); - bool load( const QString& ); - bool load( const QString&, const int& ); + bool load( const TQString& ); + bool load( const TQString&, const int& ); void slot_setNotation( void ); void slot_setClocks( void ); - void slot_setStatusBar( const int&, const QString& ); + void slot_setStatusBar( const int&, const TQString& ); void print( int ID=Null ); void review( int ); - QString clock( const bool ); + TQString clock( const bool ); signals: void requestResize( void ); - void setStatusBar( const int &ID, const QString& MSG=QString::null ); + void setStatusBar( const int &ID, const TQString& MSG=TQString() ); void setNotation( void ); void setClocks( void ); void initMatch( void ); @@ -96,7 +97,7 @@ class core : public QWidget private: IDManager myIDManager; resource *myResource; - QTimer myCoreClock; + TQTimer myCoreClock; thinbuttons *myButtonGroup; list_pgn *listPGN; IOMap myIOMap; |