diff options
Diffstat (limited to 'buildtools/autotools/addprefixdlg.h')
-rw-r--r-- | buildtools/autotools/addprefixdlg.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/buildtools/autotools/addprefixdlg.h b/buildtools/autotools/addprefixdlg.h new file mode 100644 index 00000000..a20bc63a --- /dev/null +++ b/buildtools/autotools/addprefixdlg.h @@ -0,0 +1,45 @@ +/*************************************************************************** +* Copyright (C) 2001 by Bernd Gehrmann * +* [email protected] * +* * +* 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 _ADDPREFIXDLG_H_ +#define _ADDPREFIXDLG_H_ + +#include <qdialog.h> +#include <klineedit.h> +class QPushButton; + +class AddPrefixDialog : public QDialog +{ + Q_OBJECT + +public: + AddPrefixDialog( const QString& nameEdit = "", const QString& pathEdit = "", + QWidget *parent = 0, const char *name = 0 ); + ~AddPrefixDialog(); + + QString name() const + { + return name_edit->text(); + } + QString path() const + { + return path_edit->text(); + } +private slots: + void slotPrefixChanged(); + +private: + KLineEdit *name_edit; + KLineEdit *path_edit; + QPushButton *m_pOk; +}; + +#endif |