1 /***************************************************************************
2 * Copyright (C) 2003 by Hideki Ikemoto *
3 * ikemo@users.sourceforge.jp *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #include "uiprefpage.h"
13 #include <ktoolinvocation.h>
17 UIPrefPage::UIPrefPage(QWidget* parent) : AbstractPrefPage(parent)
21 connect(editFileAssociation, SIGNAL(leftClickedUrl()),
22 SLOT(slotEditFileAssociation()));
25 void UIPrefPage::apply()
29 void UIPrefPage::load()
33 void UIPrefPage::reset()
35 kcfg_AlwaysUseTab->setChecked(true);
36 kcfg_MarkTime->setValue(24);
37 kcfg_ShowMailAddress->setChecked(false);
38 kcfg_ShowNum->setValue(100);
39 //kcfg_ListSortOrder->setButton(GlobalConfig::EnumListSortOrder::Mark);TODO
40 kcfg_PartMimeList->setText("image/gif,image/jpeg,image/png,image/x-bmp");
41 kcfg_UsePart->setChecked(true);
44 void UIPrefPage::slotEditFileAssociation()
46 KToolInvocation::kdeinitExec("kcmshell", QStringList("filetypes"));