Advertisement
Guest User

Untitled

a guest
May 26th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. QVariant TreeModel::headerData(int section, Qt::Orientation orientation, int role) const {
  2.     if (role == Qt::DisplayRole) {
  3.         return QVariant("display");
  4.     } else {
  5.         return QVariant("other");
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement