kdelirc
editmode.cpp
Go to the documentation of this file.00001 // 00002 // 00003 // C++ Implementation: $MODULE$ 00004 // 00005 // Description: 00006 // 00007 // 00008 // Author: Gav Wood <gav@kde.org>, (C) 2003 00009 // 00010 // Copyright: See COPYING file that comes with this distribution 00011 // 00012 // 00013 #include <kicondialog.h> 00014 #include <kiconloader.h> 00015 #include <kpushbutton.h> 00016 00017 #include "editmode.h" 00018 00019 EditMode::EditMode(QWidget *parent, const char *name, bool modal, Qt::WFlags fl) : EditModeBase(parent, name, modal, fl) 00020 { 00021 theIcon->setIconType(KIconLoader::Panel, KIconLoader::Any); 00022 } 00023 00024 EditMode::~EditMode() 00025 { 00026 } 00027 00028 void EditMode::slotClearIcon() 00029 { 00030 theIcon->resetIcon(); 00031 } 00032 00033 void EditMode::slotCheckText(const QString &newText) 00034 { 00035 theOK->setEnabled(!newText.isEmpty()); 00036 } 00037 00038 #include "editmode.moc"
KDE 4.0 API Reference