KDevelop API Documentation

buildtools/pascal/service.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2001-2002 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 00004 * Copyright (C) 2003 Alexander Dymo * 00005 * cloudtemple@mksat.net * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 ***************************************************************************/ 00013 #ifndef SERVICE_H 00014 #define SERVICE_H 00015 00016 #include <ktrader.h> 00017 00018 class ServiceComboBox 00019 { 00020 public: 00021 static void insertStringList(QComboBox *combo, const QValueList<KService::Ptr> &list, 00022 QStringList *names, QStringList *execs); 00023 static QString currentText(QComboBox *combo, const QStringList &names); 00024 static void setCurrentText(QComboBox *combo, const QString &str, const QStringList &names); 00025 static int itemForText(const QString &str, const QStringList &names); 00026 static QString defaultCompiler(); 00027 }; 00028 00029 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:35 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003