|
|
|
/***************************************************************************
|
|
|
|
wizard.h - description
|
|
|
|
-------------------
|
|
|
|
begin : Die Mai 15 15:34:19 CEST 2001
|
|
|
|
copyright : (C) 2001 by Dominik Seichter
|
|
|
|
email : domseichter@web.de
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* 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 WIZARD_H
|
|
|
|
#define WIZARD_H
|
|
|
|
|
|
|
|
// TDE includes
|
|
|
|
#include <kwizard.h>
|
|
|
|
class TQCloseEvent;
|
|
|
|
class KRenameImpl;
|
|
|
|
class KMenuBar;
|
|
|
|
class TQCloseEvent;
|
|
|
|
class TQHBoxLayout;
|
|
|
|
class TQRect;
|
|
|
|
class TQString;
|
|
|
|
class TQVBoxLayout;
|
|
|
|
class TQWidget;
|
|
|
|
class wizard : public KWizard
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
wizard( KRenameImpl* impl, TQRect r, TQWidget* parent = 0, const char* name = 0 );
|
|
|
|
~wizard();
|
|
|
|
|
|
|
|
inline KRenameImpl* getKRename() { return krename; }
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void slotAddPage( TQWidget* page, const TQString & title );
|
|
|
|
void slotShowPage( int page );
|
|
|
|
void slotEnableFinish( bool b );
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void accept();
|
|
|
|
|
|
|
|
KMenuBar* menuBar;
|
|
|
|
KRenameImpl* krename;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WIZARD_H
|