Diffstat (limited to 'pwmanager/pwmanager/rencatwnd.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/rencatwnd.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/rencatwnd.h b/pwmanager/pwmanager/rencatwnd.h new file mode 100644 index 0000000..37b6725 --- a/dev/null +++ b/pwmanager/pwmanager/rencatwnd.h @@ -0,0 +1,60 @@ +/*************************************************************************** + * * + * copyright (C) 2003 by Michael Buesch * + * email: mbuesch@freenet.de * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License version 2 * + * as published by the Free Software Foundation. * + * * + ***************************************************************************/ + +/*************************************************************************** + * copyright (C) 2004 by Ulf Schenk + * This file is originaly based on version 1.0.1 of pwmanager + * and was modified to run on embedded devices that run microkde + * + * $Id$ + **************************************************************************/ + +#ifndef RENCATWND_H +#define RENCATWND_H + +#include <qvbox.h> +#include <qhbox.h> +#include <qdialog.h> +#include <qlabel.h> +#include <qlineedit.h> +#include <qpushbutton.h> +#include <qevent.h> + + +/** rename category window */ +class RenCatWnd : public QDialog +{ + Q_OBJECT +public: + RenCatWnd(QWidget *parent = 0, const char *name = 0, + bool modal = FALSE, WFlags f = 0); + ~RenCatWnd(); + + QString getNewName() + { return newName->text(); } + +protected slots: + void okButton_slot(); + void cancelButton_slot(); + +protected: + QVBox *vbox1; + QHBox *hbox1; + QLabel *label; + QLineEdit *newName; + QPushButton *okButton; + QPushButton *cancelButton; + +protected: + void resizeEvent(QResizeEvent *); +}; + +#endif |