KDevelop API Documentation

service.h

Go to the documentation of this file.
00001 /* $Id: service.h,v 1.1 2003/05/01 23:47:37 okellogg Exp $
00002  * Copyright (C) 2001-2002 by Bernd Gehrmann
00003  * bernd@kdevelop.org
00004  * Copyright (C) 2003 Oliver Kellogg
00005  * okellogg@users.sourceforge.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 #ifndef SERVICE_H
00013 #define SERVICE_H
00014 
00015 #include <ktrader.h>
00016 
00017 class ServiceComboBox
00018 {
00019 public:
00020     static void insertStringList(QComboBox *combo, const QValueList<KService::Ptr> &list,
00021                                  QStringList *names, QStringList *execs);
00022     static QString currentText(QComboBox *combo, const QStringList &names);
00023     static void setCurrentText(QComboBox *combo, const QString &str, const QStringList &names);
00024     static int itemForText(const QString &str, const QStringList &names);
00025     static QString defaultCompiler();
00026 };
00027 
00028 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003