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.
46 lines
1.3 KiB
46 lines
1.3 KiB
/***************************************************************************
|
|
* Copyright (C) 2001 by Bernd Gehrmann *
|
|
* bernd@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 _ADDPREFIXDLG_H_
|
|
#define _ADDPREFIXDLG_H_
|
|
|
|
#include <tqdialog.h>
|
|
#include <klineedit.h>
|
|
class TQPushButton;
|
|
|
|
class AddPrefixDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AddPrefixDialog( const TQString& nameEdit = "", const TQString& pathEdit = "",
|
|
TQWidget *parent = 0, const char *name = 0 );
|
|
~AddPrefixDialog();
|
|
|
|
TQString name() const
|
|
{
|
|
return name_edit->text();
|
|
}
|
|
TQString path() const
|
|
{
|
|
return path_edit->text();
|
|
}
|
|
private slots:
|
|
void slotPrefixChanged();
|
|
|
|
private:
|
|
KLineEdit *name_edit;
|
|
KLineEdit *path_edit;
|
|
TQPushButton *m_pOk;
|
|
};
|
|
|
|
#endif
|