You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/src/languageselectwidget.h

53 lines
1.5 KiB

/***************************************************************************
* Copyright (C) 2003 by Harald Fernengel *
* harry@kdevelop.org *
* *
* 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. *
* *
***************************************************************************/
#ifndef _LANGUAGESELECTWIDGET_H_
#define _LANGUAGESELECTWIDGET_H_
#include <tqdialog.h>
#include <tqdom.h>
#include <tqstringlist.h>
class TQListView;
class LanguageSelectWidget : public TQWidget
{
Q_OBJECT
public:
/* for selection of project parts */
LanguageSelectWidget( TQDomDocument &projectDom, TQWidget *parent=0, const char *name=0 );
~LanguageSelectWidget();
public slots:
void accept();
signals:
void accepted();
private slots:
void itemSelected( TQListViewItem * );
private:
void init();
void readProjectConfig();
void saveProjectConfig();
TQDomDocument m_projectDom;
TQListView * _pluginList;
TQLabel * _pluginDescription;
TQLabel * _currentLanguage;
};
#endif