Improve saving of custom struct in QSettings
This commit is contained in:
1 parent
e9b5630ca3
commit
b9b2df9b7e
6 files changed
+48
-7
No files matched your search
@@ -49,10 +49,14 @@ struct structPlaYUVERStreamInfo
|
||||
UInt m_uiFrameRate;
|
||||
};
|
||||
|
||||
//typedef QVector<PlaYUVERStreamInfo> PlaYUVerRecentFileListInfo;
|
||||
typedef struct structPlaYUVERStreamInfo PlaYUVerRecentFileListInfo;
|
||||
typedef QVector<structPlaYUVERStreamInfo> PlaYUVerRecentFileListInfo;
|
||||
//typedef structPlaYUVERStreamInfo PlaYUVerRecentFileListInfo;
|
||||
typedef struct structPlaYUVERStreamInfo PlaYUVerStreamInfo;
|
||||
|
||||
QDataStream& operator<<(QDataStream& out, const plaYUVer::PlaYUVerRecentFileListInfo& d);
|
||||
QDataStream& operator>>(QDataStream& in, plaYUVer::PlaYUVerRecentFileListInfo& d);
|
||||
|
||||
|
||||
class SubWindowHandle: public QMdiSubWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -230,6 +234,9 @@ public Q_SLOTS:
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
|
||||
|
||||
Q_DECLARE_METATYPE(plaYUVer::PlaYUVerRecentFileListInfo);
|
||||
//Q_DECLARE_METATYPE(plaYUVer::structPlaYUVERStreamInfo)
|
||||
|
||||
#endif // __SUBWINDOWHANDLE_H__
|
||||
Reference in new issue
Block a user