~ubuntu-branches/debian/sid/kdesvn/sid

« back to all changes in this revision

Viewing changes to src/svnfrontend/fronthelpers/ssltrustprompt.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2006-10-27 12:52:15 UTC
  • mfrom: (1.2.1 upstream) (5.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20061027125215-aifcjirifidnegx5
Tags: 0.11.0-1
* New upstream release.
* debian/patches/01-kompare_diff.patch
  + Removed. Fixed upstream.
* debian/control
  + Add a "Suggests: kdiff3" to kdesvn. kdiff3 can be used as an external
    merge program.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <kdialog.h>
2
 
#include <klocale.h>
3
 
/****************************************************************************
4
 
** Form implementation generated from reading ui file './ssltrustprompt.ui'
5
 
**
6
 
** Created: Mi Jan 11 23:10:41 2006
7
 
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.5   edited Aug 31 12:13 $)
8
 
**
9
 
** WARNING! All changes made in this file will be lost!
10
 
****************************************************************************/
11
 
 
12
 
#include "ssltrustprompt.h"
13
 
 
14
 
#include <qvariant.h>
15
 
#include <qlabel.h>
16
 
#include <ktextbrowser.h>
17
 
#include <qlayout.h>
18
 
#include <qtooltip.h>
19
 
#include <qwhatsthis.h>
20
 
#include "ktextbrowser.h"
21
 
 
22
 
/*
23
 
 *  Constructs a SslTrustPrompt as a child of 'parent', with the
24
 
 *  name 'name' and widget flags set to 'f'.
25
 
 */
26
 
SslTrustPrompt::SslTrustPrompt( QWidget* parent, const char* name, WFlags fl )
27
 
    : QWidget( parent, name, fl )
28
 
{
29
 
    if ( !name )
30
 
        setName( "SslTrustPrompt" );
31
 
    SslTrustPromptLayout = new QVBoxLayout( this, 2, 2, "SslTrustPromptLayout"); 
32
 
 
33
 
    m_MainLabel = new QLabel( this, "m_MainLabel" );
34
 
    SslTrustPromptLayout->addWidget( m_MainLabel );
35
 
 
36
 
    m_ContentText = new KTextBrowser( this, "m_ContentText" );
37
 
    SslTrustPromptLayout->addWidget( m_ContentText );
38
 
    languageChange();
39
 
    resize( QSize(303, 185).expandedTo(minimumSizeHint()) );
40
 
    clearWState( WState_Polished );
41
 
}
42
 
 
43
 
/*
44
 
 *  Destroys the object and frees any allocated resources
45
 
 */
46
 
SslTrustPrompt::~SslTrustPrompt()
47
 
{
48
 
    // no need to delete child widgets, Qt does it all for us
49
 
}
50
 
 
51
 
/*
52
 
 *  Sets the strings of the subwidgets using the current
53
 
 *  language.
54
 
 */
55
 
void SslTrustPrompt::languageChange()
56
 
{
57
 
    m_MainLabel->setText( QString::null );
58
 
}
59
 
 
60
 
#include "ssltrustprompt.moc"