~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to buildtools/ada/service.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2001-2002 by Bernd Gehrmann
2
 
 * bernd@kdevelop.org
3
 
 * Copyright (C) 2003 Oliver Kellogg
4
 
 * okellogg@users.sourceforge.net
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 */
11
 
#ifndef SERVICE_H
12
 
#define SERVICE_H
13
 
 
14
 
#include <ktrader.h>
15
 
 
16
 
class ServiceComboBox
17
 
{
18
 
public:
19
 
    static void insertStringList(QComboBox *combo, const QValueList<KService::Ptr> &list,
20
 
                                 QStringList *names, QStringList *execs);
21
 
    static QString currentText(QComboBox *combo, const QStringList &names);
22
 
    static void setCurrentText(QComboBox *combo, const QString &str, const QStringList &names);
23
 
    static int itemForText(const QString &str, const QStringList &names);
24
 
    static QString defaultCompiler();
25
 
};
26
 
 
27
 
#endif