summaryrefslogtreecommitdiffstats
path: root/kdelirc/kcmlirc/editmode.cpp
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch)
tree8d927b7b47a90c4adb646482a52613f58acd6f8c /kdelirc/kcmlirc/editmode.cpp
downloadtdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz
tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdelirc/kcmlirc/editmode.cpp')
-rw-r--r--kdelirc/kcmlirc/editmode.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/kdelirc/kcmlirc/editmode.cpp b/kdelirc/kcmlirc/editmode.cpp
new file mode 100644
index 0000000..3fba8f0
--- /dev/null
+++ b/kdelirc/kcmlirc/editmode.cpp
@@ -0,0 +1,38 @@
+//
+//
+// C++ Implementation: $MODULE$
+//
+// Description:
+//
+//
+// Author: Gav Wood <gav@kde.org>, (C) 2003
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+#include <kicondialog.h>
+#include <kiconloader.h>
+#include <kpushbutton.h>
+
+#include "editmode.h"
+
+EditMode::EditMode(QWidget *parent, const char *name, bool modal, WFlags fl) : EditModeBase(parent, name, modal, fl)
+{
+ theIcon->setIconType(KIcon::Panel, KIcon::Any);
+}
+
+EditMode::~EditMode()
+{
+}
+
+void EditMode::slotClearIcon()
+{
+ theIcon->resetIcon();
+}
+
+void EditMode::slotCheckText(const QString &newText)
+{
+ theOK->setEnabled(!newText.isEmpty());
+}
+
+#include "editmode.moc"