8d2ed87d82
This adds support for Qt5 while still preserving support for building with Qt4. The same source code builds with both Qt versions now. The functionality should be identical. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
21 lines
501 B
C++
21 lines
501 B
C++
/*
|
|
* wpa_gui - ScanResultsItem class
|
|
* Copyright (c) 2015, Adrian Nowicki <adinowicki@gmail.com>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef SCANRESULTSITEM_H
|
|
#define SCANRESULTSITEM_H
|
|
|
|
#include <QTreeWidgetItem>
|
|
|
|
class ScanResultsItem : public QTreeWidgetItem
|
|
{
|
|
public:
|
|
ScanResultsItem(QTreeWidget *tree) : QTreeWidgetItem(tree) {}
|
|
bool operator< (const QTreeWidgetItem &other) const;
|
|
};
|
|
|
|
#endif /* SCANRESULTSITEM_H */
|