~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VirtualBox/src/settings/global/VBoxGLSettingsLanguage.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/** @file
2
 
 *
3
 
 * VBox frontends: Qt4 GUI ("VirtualBox"):
4
 
 * VBoxGLSettingsLanguage class declaration
5
 
 */
6
 
 
7
 
/*
8
 
 * Copyright (C) 2006-2008 Oracle Corporation
9
 
 *
10
 
 * This file is part of VirtualBox Open Source Edition (OSE), as
11
 
 * available from http://www.virtualbox.org. This file is free software;
12
 
 * you can redistribute it and/or modify it under the terms of the GNU
13
 
 * General Public License (GPL) as published by the Free Software
14
 
 * Foundation, in version 2 as it comes in the "COPYING" file of the
15
 
 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16
 
 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17
 
 */
18
 
 
19
 
#ifndef __VBoxGLSettingsLanguage_h__
20
 
#define __VBoxGLSettingsLanguage_h__
21
 
 
22
 
#include "VBoxSettingsPage.h"
23
 
#include "VBoxGLSettingsLanguage.gen.h"
24
 
 
25
 
class VBoxGLSettingsLanguage : public VBoxSettingsPage,
26
 
                               public Ui::VBoxGLSettingsLanguage
27
 
{
28
 
    Q_OBJECT;
29
 
 
30
 
public:
31
 
 
32
 
    VBoxGLSettingsLanguage();
33
 
 
34
 
protected:
35
 
 
36
 
    void getFrom (const CSystemProperties &aProps,
37
 
                  const VBoxGlobalSettings &aGs);
38
 
    void putBackTo (CSystemProperties &aProps,
39
 
                    VBoxGlobalSettings &aGs);
40
 
 
41
 
    void setOrderAfter (QWidget *aWidget);
42
 
 
43
 
    void reload (const QString &aLangId);
44
 
 
45
 
    void retranslateUi();
46
 
 
47
 
private slots:
48
 
 
49
 
    void mTwItemPainted (QTreeWidgetItem *aItem, QPainter *aPainter);
50
 
    void mTwLanguageChanged (QTreeWidgetItem *aItem);
51
 
 
52
 
private:
53
 
 
54
 
    bool mLanguageChanged;
55
 
};
56
 
 
57
 
#endif // __VBoxGLSettingsLanguage_h__
58