File indexing completed on 2024-05-12 04:06:10
0001 /* 0002 This file is part of the KDE games library 0003 SPDX-FileCopyrightText: 2001 Andreas Beckermann <b_mann@gmx.de> 0004 SPDX-FileCopyrightText: 2007 Gael de Chalendar (aka Kleag) <kleag@free.fr> 0005 0006 SPDX-License-Identifier: LGPL-2.0-only 0007 */ 0008 0009 #ifndef __KCHATBASE_P_H__ 0010 #define __KCHATBASE_P_H__ 0011 0012 #include "kchatbase.h" 0013 0014 class QListView; 0015 class KLineEdit; 0016 class QComboBox; 0017 0018 class KChatBasePrivate 0019 { 0020 public: 0021 KChatBasePrivate(KChatBaseModel *model, KChatBaseItemDelegate *delegate, QWidget *parent); 0022 virtual ~KChatBasePrivate() = default; 0023 0024 public: 0025 QListView *mBox = nullptr; 0026 KLineEdit *mEdit = nullptr; 0027 QComboBox *mCombo = nullptr; 0028 bool mAcceptMessage = true; 0029 0030 QList<int> mIndex2Id; 0031 0032 KChatBaseModel *mModel; 0033 KChatBaseItemDelegate *mDelegate; 0034 }; 0035 0036 #endif