summaryrefslogtreecommitdiffstats
path: root/tdelirc/kcmlirc/editmode.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-05-17 12:45:40 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-05-17 12:45:40 -0500
commit359294c33620c8328d61f67635046d7cc060530c (patch)
treef2ac08fdad8860f7bc1ac76203e31013a799fda7 /tdelirc/kcmlirc/editmode.cpp
parent7be7990fc5770d2cbcd937772e8239167b5900c6 (diff)
downloadtdeutils-359294c33620c8328d61f67635046d7cc060530c.tar.gz
tdeutils-359294c33620c8328d61f67635046d7cc060530c.zip
Rename kdessh -> tdessh and kdelirc -> tdelirc.
Diffstat (limited to 'tdelirc/kcmlirc/editmode.cpp')
-rw-r--r--tdelirc/kcmlirc/editmode.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/tdelirc/kcmlirc/editmode.cpp b/tdelirc/kcmlirc/editmode.cpp
new file mode 100644
index 0000000..a197bb7
--- /dev/null
+++ b/tdelirc/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(TQWidget *parent, const char *name, bool modal, WFlags fl) : EditModeBase(parent, name, modal, fl)
+{
+ theIcon->setIconType(TDEIcon::Panel, TDEIcon::Any);
+}
+
+EditMode::~EditMode()
+{
+}
+
+void EditMode::slotClearIcon()
+{
+ theIcon->resetIcon();
+}
+
+void EditMode::slotCheckText(const TQString &newText)
+{
+ theOK->setEnabled(!newText.isEmpty());
+}
+
+#include "editmode.moc"