2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QTocDialog.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-19 13:25:15 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-19 13:25:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QTOCDIALOG_H
|
|
|
|
#define QTOCDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "ui/QTocDialogBase.h"
|
|
|
|
|
|
|
|
class QToc;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QTocDialog : public QTocDialogBase {
|
|
|
|
Q_OBJECT
|
2001-08-19 13:25:15 +00:00
|
|
|
public:
|
2002-01-20 18:38:52 +00:00
|
|
|
QTocDialog(QToc * form);
|
2001-08-19 13:25:15 +00:00
|
|
|
~QTocDialog();
|
|
|
|
public slots:
|
|
|
|
void activate_adaptor(int);
|
|
|
|
void depth_adaptor(int);
|
|
|
|
void select_adaptor(QListViewItem *);
|
|
|
|
void update_adaptor();
|
|
|
|
protected:
|
|
|
|
void closeEvent(QCloseEvent * e);
|
|
|
|
private:
|
|
|
|
QToc * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTOCDIALOG_H
|