summaryrefslogtreecommitdiffstats
path: root/q15/src/mainwindow.h
blob: c45b0c8da0f03fe1ac540a27bb314633a3081653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * $Id: mainwindow.h,v 0.1 2005/08/14 11:25:03 denis Exp $
 *
 * Author: Denis Kozadaev ([email protected])
 * Description:
 *
 * See also: style(9)
 *
 * Hacked by:
 */

#ifndef	__MAIN_WINDOW_H__
#define	__MAIN_WINDOW_H__

#include <stdlib.h>

#include <ntqmainwindow.h>
#include <ntqmenubar.h>
#include <ntqpopupmenu.h>

#include "gameboard.h"

class MainWindow:public TQMainWindow
{
	Q_OBJECT
    
public:
	MainWindow(TQWidget *parent = NULL, const char *name = NULL);
	~MainWindow();

private:
	TQPopupMenu	*file;
	GameBoard	*gb;

private slots:
	void	newGame();
	void	loadImage();
};

#endif	/* __MAIN_WINDOW_H__ */