您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
krename/krename/tabs.h

59 行
1.9 KiB

/***************************************************************************
tabs.h - description
-------------------
begin : Die Mai 20 2003
copyright : (C) 2003 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 TABS_H
#define TABS_H
#include <tqwidget.h>
#include <tqdialog.h>
class KMenuBar;
class KRenameImpl;
class KPushButton;
class TQCloseEvent;
class TQRect;
class TQString;
class TQTabWidget;
class tabs : public TQDialog {
Q_OBJECT
TQ_OBJECT
public:
tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0);
~tabs();
inline KRenameImpl* getKRename() { return krename; }
private slots:
void slotAddPage( TQWidget* page, const TQString & title );
void slotShowPage( int page );
void slotEnableFinish( bool b );
void slotTabChanged();
protected:
virtual void keyPressEvent( TQKeyEvent *e );
protected:
KRenameImpl* krename;
KPushButton* finishButton;
KPushButton* cancelButton;
KMenuBar* menuBar;
TQTabWidget* tab;
};
#endif