1 /* 2 SPDX-FileCopyrightText: 2017 Henrik Fehlauer <rkflx@lab12.net> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #ifndef KSQUEEZEDTEXTLABELAUTOTEST_H 8 #define KSQUEEZEDTEXTLABELAUTOTEST_H 9 10 #include <QObject> 11 12 class KSqueezedTextLabel; 13 14 class KSqueezedTextLabelAutotest : public QObject 15 { 16 Q_OBJECT 17 18 private Q_SLOTS: 19 void testEmptyText(); 20 void testElisionOnResize_data(); 21 void testElisionOnResize(); 22 void testElisionOnTextUpdate(); 23 void testElideMode_data(); 24 void testElideMode(); 25 void testSizeHints(); 26 void testClearing(); 27 void testChrome_data(); 28 void testChrome(); 29 }; 30 31 #endif 32