summaryrefslogtreecommitdiffstats
path: root/konquest/fleetdlg.h
blob: abab19573c623e44fb66430910a3d14df35ecf4b (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
#ifndef FLEETDLG_H
#define FLEETDLG_H

#include <klistview.h>

#include <qdialog.h>

#include "gamecore.h"

class FleetDlgListViewItem : public QListViewItem
{
	public:
		FleetDlgListViewItem(QListView *parent, QString s1, QString s2, QString s3, QString s4, QString s5);
		int compare(QListViewItem *i, int col, bool) const;
};

class FleetDlg : public QDialog  {

public: 
	FleetDlg( QWidget *parent, AttackFleetList *fleets );

private:
    void init();

    AttackFleetList *fleetList;
    QListView *fleetTable;
};

#endif