javamanager/javasettings_qt/src/javaapplicationsettingsview.cpp
author hgs
Fri, 17 Sep 2010 16:44:34 +0300
changeset 72 1f0034e370aa
parent 50 023eef975703
permissions -rw-r--r--
v2.2.15_1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     1
/*
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     3
* All rights reserved.
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     8
*
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
     9
* Initial Contributors:
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    11
*
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    12
* Contributors:
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    13
*
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    14
* Description:
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    15
*
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    16
*/
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    17
#include "javaapplicationsettingsview.h"
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    18
#include "javaapplicationsettingsview_p.h"
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    19
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    20
using namespace java::settings;
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    21
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    22
JavaApplicationSettingsView::JavaApplicationSettingsView() :
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    23
        ApplicationSettingsView()
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    24
{
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    25
}
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    26
72
1f0034e370aa v2.2.15_1
hgs
parents: 50
diff changeset
    27
void JavaApplicationSettingsView::initialize(const QString& aApplication, const QString& aApplicationName)
50
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    28
{
72
1f0034e370aa v2.2.15_1
hgs
parents: 50
diff changeset
    29
    d_ptr = new JavaApplicationSettingsViewPrivate(aApplication, aApplicationName);
50
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    30
    d_ptr->init(this);
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    31
}
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    32
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    33
JavaApplicationSettingsView::~JavaApplicationSettingsView()
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    34
{
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    35
    delete d_ptr;
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    36
}
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    37
023eef975703 v2.2.4_1
hgs
parents:
diff changeset
    38
Q_EXPORT_PLUGIN2(javaapplicationsettingsview, JavaApplicationSettingsView);