• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

util

environmentselectionwidget.cpp

00001 /* This file is part of KDevelop
00002 Copyright 2007 Dukju Ahn <dukjuahn@gmail.com>
00003 
00004 This library is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU Library General Public
00006 License as published by the Free Software Foundation; either
00007 version 2 of the License, or (at your option) any later version.
00008 
00009 This library is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 Library General Public License for more details.
00013 
00014 You should have received a copy of the GNU Library General Public License
00015 along with this library; see the file COPYING.LIB.  If not, write to
00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017 Boston, MA 02110-1301, USA.
00018 */
00019 #include "environmentselectionwidget.h"
00020 #include "environmentgrouplist.h"
00021 #include <ksettings/dispatcher.h>
00022 #include <kglobal.h>
00023 #include <interfaces/icore.h>
00024 #include <kcomponentdata.h>
00025 
00026 namespace KDevelop
00027 {
00028 
00029 class EnvironmentSelectionWidgetPrivate
00030 {
00031 };
00032 
00033 EnvironmentSelectionWidget::EnvironmentSelectionWidget( QWidget *parent )
00034     : KComboBox( parent ), d( new EnvironmentSelectionWidgetPrivate )
00035 {
00036 }
00037 
00038 EnvironmentSelectionWidget::~EnvironmentSelectionWidget()
00039 {
00040     delete d;
00041 }
00042 
00043 QString EnvironmentSelectionWidget::currentProfile() const
00044 {
00045     return currentText();
00046 }
00047 
00048 void EnvironmentSelectionWidget::setCurrentProfile( const QString& profile )
00049 {
00050     setCurrentItem( profile );
00051 }
00052 
00053 
00054 }
00055 
00056 #include "environmentselectionwidget.moc"

util

Skip menu "util"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal