2 * Copyright (C) 2000 Matthias Elter <elter@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __basictab_h__
21 #define __basictab_h__
25 class KKeySequenceWidget
;
33 class KLineSpellChecking
;
38 class BasicTab
: public KTabWidget
43 BasicTab( QWidget
*parent
=0 );
47 void updateHiddenEntry( bool _hidden
);
50 void changed( MenuFolderInfo
* );
51 void changed( MenuEntryInfo
* );
52 void findServiceShortcut(const KShortcut
&, KService::Ptr
&);
55 void setFolderInfo(MenuFolderInfo
*folderInfo
);
56 void setEntryInfo(MenuEntryInfo
*entryInfo
);
57 void slotDisableAction();
60 void launchcb_clicked();
61 void systraycb_clicked();
62 void termcb_clicked();
64 void slotCapturedKeySequence(const QKeySequence
&);
65 void slotExecSelected();
66 void onlyshowcb_clicked();
67 void hiddenentrycb_clicked();
70 void enableWidgets(bool isDF
, bool isDeleted
);
74 KLineSpellChecking
*_commentEdit
;
75 KLineSpellChecking
*_descriptionEdit
;
76 KKeySequenceWidget
*_keyEdit
;
77 KUrlRequester
*_execEdit
, *_pathEdit
;
78 KLineEdit
*_termOptEdit
, *_uidEdit
;
79 QCheckBox
*_terminalCB
, *_uidCB
, *_launchCB
, *_systrayCB
, *_onlyShowInKdeCB
, *_hiddenEntryCB
;
80 KIconButton
*_iconButton
;
81 QGroupBox
*_path_group
, *_term_group
, *_uid_group
, *general_group_keybind
;
82 QLabel
*_termOptLabel
, *_uidLabel
, *_pathLabel
, *_nameLabel
, *_commentLabel
, *_execLabel
;
83 QLabel
*_descriptionLabel
;
85 MenuFolderInfo
*_menuFolderInfo
;
86 MenuEntryInfo
*_menuEntryInfo
;