File indexing completed on 2024-04-14 03:49:07

0001 /*
0002     SPDX-FileCopyrightText: 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef VOCABULARYHEADERVIEW_H
0007 #define VOCABULARYHEADERVIEW_H
0008 
0009 #include <QHeaderView>
0010 
0011 namespace Editor
0012 {
0013 class VocabularyHeaderView : public QHeaderView
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit VocabularyHeaderView(Qt::Orientation orientation, QWidget *parent = nullptr);
0018 
0019 private Q_SLOTS:
0020     void updateSorting(int);
0021 
0022 private:
0023     int m_sortSection{-1};
0024 };
0025 }
0026 
0027 #endif