mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-29 02:03:03 +08:00
345fe56b6e
Went through and found all QObject subclasses that didn't have a Q_OBJECT macro.
16 lines
274 B
C++
16 lines
274 B
C++
#pragma once
|
|
|
|
#include <QLineEdit>
|
|
#include <QModelIndex>
|
|
|
|
class QPersistentModelIndex;
|
|
|
|
class EditWidget : public QLineEdit {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
inline EditWidget(QWidget *parent, QModelIndex index_) : QLineEdit(parent), index(index_) {}
|
|
|
|
QPersistentModelIndex index;
|
|
};
|