kdevideextension.cpp 2.16 KB
Newer Older
1
/***************************************************************************
2
 *   Copyright 2004 Alexander Dymo <adymo@kdevelop.org>                    *
3 4 5 6 7 8 9 10 11 12 13 14 15 16
 *                                                                         *
 *   This program 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.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
17
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *
18 19 20
 ***************************************************************************/
#include "kdevideextension.h"

21
#include <QCheckBox>
22 23 24 25
#include <qradiobutton.h>

#include <klocale.h>
#include <kconfig.h>
26
#include <kdialog.h>
27
#include <kurlrequester.h>
28
#include <kpagedialog.h>
Hamish Rodda's avatar
Hamish Rodda committed
29
#include <kpagewidgetmodel.h>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

KDevIDEExtension::KDevIDEExtension()
 : ShellExtension()
{
}

void KDevIDEExtension::init()
{
    s_instance = new KDevIDEExtension();
}

QString KDevIDEExtension::xmlFile()
{
    return "kdevelopui.rc";
}

46
KDevelop::AreaParams KDevIDEExtension::defaultArea()
47
{
48
    KDevelop::AreaParams params = {"code", i18n("Code")};
49 50 51
    return params;
}

52 53
QString KDevIDEExtension::projectFileExtension()
{
54
    return "kdev4";
55 56 57 58 59 60 61
}

QString KDevIDEExtension::projectFileDescription()
{
    return i18n("KDevelop4 Project Files");
}

62 63 64 65 66
QStringList KDevIDEExtension::defaultPlugins()
{
    return QStringList();
}