summaryrefslogtreecommitdiffstats
path: root/kverbos/kverbos/kverbosoptions.cpp
blob: 381e058bc9aff87e76c50a3463695179abd46ee3 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/***************************************************************************
                          kverbosoptions.cpp  -  description
                             -------------------
    begin                : Sat Dec 15 2001
    copyright            : (C) 2001 by Arnold Kraschinski
    email                : arnold.k67@gmx.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include "tqlabel.h"
#include "tqcheckbox.h"
#include "kverbosoptions.h"

KVerbosOptions::KVerbosOptions( TQWidget* parent /*= 0*/, const char* name /*= 0*/, bool modal /*= FALSE*/, WFlags fl /*= 0*/ )
: QVerbosOptions(parent, name, modal, fl)
{
	// some times are disabled because they aren't ready yet.
	LabelSubPasado->setEnabled(false);
	LabelSubPresente->setEnabled(false);
	LabelSubFuturo->setEnabled(false);
	LabelImperativo->setEnabled(false);
	CheckBox1_6->setEnabled(false);
	CheckBox2_6->setEnabled(false);
	CheckBox3_6->setEnabled(false);
	CheckBox1_7->setEnabled(false);
	CheckBox2_7->setEnabled(false);
	CheckBox3_7->setEnabled(false);	
	CheckBox1_8->setEnabled(false);
	CheckBox2_8->setEnabled(false);
	CheckBox3_8->setEnabled(false);	
	CheckBox1_9->setEnabled(false);		
}

KVerbosOptions::~KVerbosOptions()
{
}



// Wird durch den OK-Button aufgerufen und beendet den Dialog. Änderungen
// werden übernommen.
void KVerbosOptions::slotDlgEnde()
{
  done(1);
}

// Wird durch den Cancel-Button aufgerufen und beendet den Dialog ohne
// Änderungen zu übernehmen.
void KVerbosOptions::slotCancel()
{
  done(0);
}