Freeciv-3.3: /fast/freeciv/nightly/main/tools/ruledit/conversion_log.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
conversion_log.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13
14#ifndef FC__CONVERSION_LOG_H
15#define FC__CONVERSION_LOG_H
16
17#ifdef HAVE_CONFIG_H
18#include <fc_config.h>
19#endif
20
21// Qt
22#include <QDialog>
23#include <QTextEdit>
24
25 class conversion_log : public QDialog
26{
27 Q_OBJECT
28
29 public:
30 explicit conversion_log(QString title);
31 void add(const char *msg);
32
33 private:
34 QTextEdit *area;
35
36 private slots:
37 void close_now();
38};
39
40
41#endif // FC__CONVERSION_LOG_H
conversion_log
Definition conversion_log.h:26
conversion_log::add
void add(const char *msg)
Definition conversion_log.cpp:54
conversion_log::area
QTextEdit * area
Definition conversion_log.h:34
conversion_log::close_now
void close_now()
Definition conversion_log.cpp:63
incite_cost
char * incite_cost
Definition comments.c:74
title
const char * title
Definition repodlgs.c:1314
slots
struct player_slot * slots
Definition player.c:51