File: xmlconsole.cpp

package info (click to toggle)
jreen 1.2.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,932 kB
  • sloc: cpp: 31,281; makefile: 14
file content (47 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download | duplicates (5)
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
41
42
43
44
45
46
47
/****************************************************************************
 *  xmlconsole.cpp
 *
 *  Copyright (c) 2009 by Ruslan Nigmatullin <euroelessar@yandex.ru>
 *
 ***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************
*****************************************************************************/

#include "xmlconsole.h"
#include "ui_xmlconsole.h"

namespace Jreen
{

XmlConsole::XmlConsole(QWidget *parent) :
	QWidget(parent),
	m_ui(new Ui::XmlConsole)
{
    m_ui->setupUi(this);
	setContentsMargins(0, 0, 0 ,0);
}

XmlConsole::~XmlConsole()
{
    delete m_ui;
}

void XmlConsole::changeEvent(QEvent *e)
{
	switch (e->type())
	{
    case QEvent::LanguageChange:
		m_ui->retranslateUi(this);
        break;
    default:
        break;
    }
}

}