swaymux/tree/swaytree.cpp

15 lines
297 B
C++

//
// 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";
}