summaryrefslogtreecommitdiffstats
path: root/knights/challenge_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/challenge_graph.h')
-rw-r--r--knights/challenge_graph.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/knights/challenge_graph.h b/knights/challenge_graph.h
index e7963a3..bb60607 100644
--- a/knights/challenge_graph.h
+++ b/knights/challenge_graph.h
@@ -18,28 +18,29 @@
#ifndef CHALLENGE_GRAPH_H
#define CHALLENGE_GRAPH_H
-#include <qstringlist.h>
-#include <qvbox.h>
-#include <qevent.h>
-#include <qcolor.h>
+#include <tqstringlist.h>
+#include <tqvbox.h>
+#include <tqevent.h>
+#include <tqcolor.h>
#include "resource.h"
#include "challenge_game.h"
class KPopupMenu;
-class QCanvas;
-class QLabel;
+class TQCanvas;
+class TQLabel;
class Challenge_Graph_View;
class Command;
-class Challenge_Graph : public QVBox
+class Challenge_Graph : public TQVBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- Challenge_Graph(QWidget *parent=0, const char *name=0, resource *Rsrc=0);
+ Challenge_Graph(TQWidget *tqparent=0, const char *name=0, resource *Rsrc=0);
virtual ~Challenge_Graph();
- void resizeEvent( QResizeEvent* );
+ void resizeEvent( TQResizeEvent* );
void add( Challenge_Game *seek );
void clear();
@@ -48,7 +49,7 @@ class Challenge_Graph : public QVBox
public slots:
void recvCMD( const Command& );
- void display_menuSeek( Challenge_Game*, const QPoint& );
+ void display_menuSeek( Challenge_Game*, const TQPoint& );
void selectMatch( int );
void menuFunct( int );
@@ -57,7 +58,7 @@ class Challenge_Graph : public QVBox
void drawChallenge( int time_control_x, int rating_y, bool rated, Challenge_Game *challenge );
bool addTo_Nearest_Neighbour( int orig_x, int orig_y, bool rated, Challenge_Game *challenge, int searchdepth=10 );
void createBackground( void );
- void addSoughtItem( const QString& );
+ void addSoughtItem( const TQString& );
void updateSoughtList( void );
private:
@@ -68,25 +69,25 @@ class Challenge_Graph : public QVBox
bool seek;
resource *myResource;
- QCanvas *graph;
+ TQCanvas *graph;
Challenge_Graph_View *myView;
- QLabel *myStatusBar;
- QPixmap background;
+ TQLabel *myStatusBar;
+ TQPixmap background;
KPopupMenu *menuSeek;
int selectedMatchID;
- QString selectedPlayerName;
+ TQString selectedPlayerName;
/*
These StringLists temporarily store Sought Game data
until all ads have been displayed.
*/
- QStringList SF_01;
- QStringList SF_02;
- QStringList SF_03;
- QStringList SF_04;
- QStringList SF_05;
- QStringList SF_06;
- QStringList SF_07;
+ TQStringList SF_01;
+ TQStringList SF_02;
+ TQStringList SF_03;
+ TQStringList SF_04;
+ TQStringList SF_05;
+ TQStringList SF_06;
+ TQStringList SF_07;
};
#endif