/usr/include/qxt/QxtGui/qxtlookuplineedit.h is in libqxt-dev 0.6.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #ifndef QXTLOOKUPLINEEDIT_H_INCLUDED
#define QXTLOOKUPLINEEDIT_H_INCLUDED
#include <QLineEdit>
#include <QKeySequence>
#include <QxtPimpl>
#include "qxtglobal.h"
class QxtLookupLineEditPrivate;
class QAbstractItemModel;
class QKeyEvent;
class QXT_GUI_EXPORT QxtLookupLineEdit : public QLineEdit
{
Q_OBJECT
public:
QxtLookupLineEdit(QWidget *parent = 0);
~QxtLookupLineEdit();
void setSourceModel (QAbstractItemModel *model);
void setLookupColumn (const int column);
void setDataColumn (const int column);
void setLookupRole (const int role);
void setPopupTrigger (const QKeySequence &trigger);
QAbstractItemModel *sourceModel() const;
int lookupColumn ( ) const;
int dataColumn ( ) const;
int lookupRole ( ) const;
QKeySequence popupTrigger () const;
protected:
virtual void keyPressEvent ( QKeyEvent * event );
protected slots:
virtual void showPopup();
signals:
void selected ();
private:
QXT_DECLARE_PRIVATE(QxtLookupLineEdit);
};
#endif // QXTLOOKUPLINEEDIT_H_INCLUDED
|