lyx_mirror/src/frontends/qt4/QRefDialog.h
Abdelrazak Younes d04cc9302f Fix bug 3246 by Richard Heck:
Problem was that SIGNAL itemSelectionChanged was not connected to anything.

* QRefDialog::selectionChanged(): new slot for itemSelectionChanged signal.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17615 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 17:02:20 +00:00

54 lines
934 B
C++

// -*- C++ -*-
/**
* \file QRefDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Kalle Dalheimer
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QREFDIALOG_H
#define QREFDIALOG_H
#include "ui/QRefUi.h"
#include <QDialog>
#include <QCloseEvent>
class QListWidgetItem;
namespace lyx {
namespace frontend {
class QRef;
class QRefDialog : public QDialog, public Ui::QRefUi {
Q_OBJECT
public:
QRefDialog(QRef * form);
virtual void show();
public Q_SLOTS:
void changed_adaptor();
void gotoClicked();
void refHighlighted(QListWidgetItem *);
void selectionChanged();
void refSelected(QListWidgetItem *);
void sortToggled(bool);
void updateClicked();
protected:
void closeEvent(QCloseEvent * e);
private:
QRef * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QREFDIALOG_H