swaymux/tree/swaytree.cpp

15 lines
297 B
C++
Raw Normal View History

2024-03-04 00:27:05 +01:00
//
// Created by grimmauld on 03.03.24.
//
#include "swaytree.h"
QVariant SwayTreeNode::data(int column) const {
// TODO: maybe add a more elaborate representation
return QString::fromStdString(node.name);
}
QVariant SwayTreeNode::headerData(int column) const {
return "Swaymux";
2024-03-04 00:27:05 +01:00
}