summaryrefslogtreecommitdiffstats
path: root/q15/src/mainwindow.h
blob: 2b898f7e19f9c330b6a5e61aa52d140d42bc6eeb (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 (denis@tambov.ru)
 * Description:
 *
 * See also: style(9)
 *
 * Hacked by:
 */

#ifndef	__MAIN_WINDOW_H__
#define	__MAIN_WINDOW_H__

#include <stdlib.h>

#include <tqmainwindow.h>
#include <tqmenubar.h>
#include <tqpopupmenu.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__ */