blob: 6092e96b16ac9f34eafdb06e912b7889b88e3f3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 *tqparent, const char *name, bool modal, WFlags fl) : EditModeBase(tqparent, name, modal, fl)
{
theIcon->setIconType(KIcon::Panel, KIcon::Any);
}
EditMode::~EditMode()
{
}
void EditMode::slotClearIcon()
{
theIcon->resetIcon();
}
void EditMode::slotCheckText(const TQString &newText)
{
theOK->setEnabled(!newText.isEmpty());
}
#include "editmode.moc"
|