Blame qlo10k1/src/newiodialog.h

Packit Service b98cfc
/*
Packit Service b98cfc
 *  qlo10k1 - GUI frontend for ld10k1
Packit Service b98cfc
 *
Packit Service b98cfc
 *  Copyright (c) 2004 by Peter Zubaj
Packit Service b98cfc
 *
Packit Service b98cfc
 *   This program is free software; you can redistribute it and/or modify
Packit Service b98cfc
 *   it under the terms of the GNU General Public License as published by
Packit Service b98cfc
 *   the Free Software Foundation; either version 2 of the License, or
Packit Service b98cfc
 *   (at your option) any later version.
Packit Service b98cfc
 *
Packit Service b98cfc
 *   This program is distributed in the hope that it will be useful,
Packit Service b98cfc
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service b98cfc
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service b98cfc
 *   GNU General Public License for more details.
Packit Service b98cfc
 *
Packit Service b98cfc
 *   You should have received a copy of the GNU General Public License
Packit Service b98cfc
 *   along with this program; if not, write to the Free Software
Packit Service b98cfc
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit Service b98cfc
 *
Packit Service b98cfc
 */
Packit Service b98cfc
 
Packit Service b98cfc
#ifndef NEWIODIALOG_H
Packit Service b98cfc
#define NEWIODIALOG_H
Packit Service b98cfc
Packit Service b98cfc
#include "dlgs/newiodialogbase.h"
Packit Service b98cfc
#include "strglobal.h"
Packit Service b98cfc
Packit Service b98cfc
class StrIOBase;
Packit Service b98cfc
Packit Service b98cfc
class NewIODlg : public NewIODialogBase
Packit Service b98cfc
{
Packit Service b98cfc
	Q_OBJECT
Packit Service b98cfc
public:
Packit Service b98cfc
	enum DlgType {In, Out, FX};
Packit Service b98cfc
private:
Packit Service b98cfc
	StrGlobal *global;
Packit Service b98cfc
	DlgType dt;
Packit Service b98cfc
	
Packit Service b98cfc
	int num;
Packit Service b98cfc
	QString name;
Packit Service b98cfc
public:	
Packit Service b98cfc
	NewIODlg(StrGlobal *glob, DlgType t);
Packit Service b98cfc
Packit Service b98cfc
	int init();
Packit Service b98cfc
	
Packit Service b98cfc
	StrIOBase *getNewIO();
Packit Service b98cfc
public slots:
Packit Service b98cfc
	void okClicked();
Packit Service b98cfc
	void cancelClicked();
Packit Service b98cfc
	
Packit Service b98cfc
	void ioSelectionChanged(QListViewItem *item);
Packit Service b98cfc
};
Packit Service b98cfc
Packit Service b98cfc
#endif // NEWIODIALOG_H
Packit Service b98cfc