Commit 8860feb9 authored by Filip Onkelinx's avatar Filip Onkelinx

initial import from latest official QtExtended 4.4.3 opensource release by Nokia

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
This diff is collapsed.
<html>
<title>Qt Extended README</title>
<body>
<h1>Welcome to Qt Extended</h1>
<hr>
<p>
<h3>Overview</h3>
<p>This is Trolltech's Qt Extended Open Source edition. See the
<a href=LICENSE.GPL>LICENSE</a> file for the licensing information of
this software.
<p>This package contains source code for Qt Extended plus parts of the source
code of Qt. Apart from this source package it should not be necessery to
install any other Trolltech package to be able to compile Qt Extended.</p>
<h3>Documentation</h3>
<p>The package contains the Qt Extended reference documentation including all
relevant Qt documentation. The documentation includes the following:</p>
<ul>
<li> <a href="doc/html/index.html">Qt Extended documentation index</a>: the
starting page for all documentation.
<li> <a href="doc/html/getting-started.html">Getting Started page</a>: for
help with installing, building and running Qt Extended.
<li> <a href="doc/html/building-guide.html">Guide to Configuring and Building Qt Extended</a>:
for detailed help with building Qt Extended from source.
</ul>
<p>For the most up-to-date information, please refer to the <a
href="http://doc.trolltech.com/">Trolltech Documentation Site</a>.</p>
<h3>Licenses</h3>
<p>You can only develop GPL licensed applications using the Qt Extended Open
Source edition. If you wish to develop a commercial application, please go to
<a href=http://www.trolltech.com/downloads>Nokia's Qt Extended Download Page</a>
to purchase the commercial package.
<p>For questions regarding licensing terms, email
<a href="mailto:qt-sales@nokia.com">qt-sales@nokia.com</a>.
</p>
<p><address></p>
<hr>
<table width="100%" cellspacing="0" border="0">
<tr>
<td align="center">Copyright &copy; 2009 Trolltech ASA
</table></address></body>
</html>
File added
File added
File added
File added
#!/bin/sh
# get the paths
if [ -f "$(dirname $0)/../src/build/bin/getpaths.sh" ]; then . "$(dirname $0)/../src/build/bin/getpaths.sh"; else echo "Could not find getpaths.sh"; exit 1; fi
exec "$SDKROOT/src/build/bin/assistant" "$@"
This diff is collapsed.
#!/usr/bin/perl
use strict;
use warnings;
=head1 DESCRIPTION
Create header file for inclusion in packagemanager, with all
descriptions of security profiles.
=head1 SYNOPSIS
extract_sxe_profiles.pl doc/src/sxe/sxe-pkgmgr-profiles.qdoc > src/settings/packagemanager/sxe_profiles.h
=cut
# Assumes the table cells are laid out in this order:
# \o SXE Profile name \o Access Controls Effect \o Information display \o Risk level
my @cell_map = qw/
PROFILE
EFFECT
DISPLAY
RISK
/;
my $found_table = undef;
my %profile = ();
my $lines = "";
my $first_time_thru = 1;
my $cell = 0;
my $row = 0;
my $device = $ENV{'DEVICE'};
sub output_code()
{
my $dom_str = $profile{'PROFILE'} || warn "No domain string in row $row";
my $colour = '#000000';
if ( $profile{'RISK'} eq 'High' )
{
$colour = '#CC0000';
}
elsif ( $profile{'RISK'} eq 'Medium' )
{
$colour = '#FF9900';
}
elsif ( $profile{'RISK'} eq 'Low' )
{
$colour = '#66CC00';
}
my $text = $profile{'DISPLAY'};
if ( $text =~ m/\\i \{(.*?)\}/ )
{
$text = $1;
}
my $terminal_type = $device ? "device" : "phone";
$text =~ s/\[phone\|device\]/$terminal_type/ ;
print <<END_TEXT;
"$dom_str",
QT_TRANSLATE_NOOP( "PackageView", "<font color=\"$colour\"><b>$text</b></font>" ),
END_TEXT
# print "\n\n=================================================================\n\n";
}
sub collate_cell()
{
$lines =~ s/^\s+// ; # remove whitespace at beginning of line
$lines =~ s/\s+$// ; # remove whitespace at end of line
unless ( $lines )
{
return;
}
$lines =~ s/\s+/ / ; # replace runs of whitespace with a single space
$profile{$cell_map[$cell]} = $lines;
# print "\tNew cell $lines - >>>" . $cell_map[$cell] . "<<<\n\n\n";
$lines = "";
}
while (<>)
{
if ( $found_table || m/\\header\s+\\o\s+SXE Profile/ )
{
$found_table = 1;
}
next unless $found_table;
if ( $first_time_thru )
{
warn "Found table at row $.\n";
undef $first_time_thru;
print <<END_CODE;
const char *domainStrings[] = {
END_CODE
next;
}
if ( m/\\row|\\endtable/ ) # end of previous row
{
# print "matched \\row - endtable\n";
collate_cell();
my $cell_count = keys %profile;
if ( $cell_count == 4 )
{
output_code();
}
else
{
warn "Found $cell_count cells in row $row!\n" unless ( $row == 0 );
}
%profile = ();
$lines = "";
$cell = 0;
$row++;
}
elsif ( m/\\o (.*?)$/ ) # beginning of a new cell
{
my $profile = $1;
if ( $lines )
{
collate_cell();
$lines = "";
$cell++;
}
$lines = $profile;
# print "matched \\o --- >>>$1<<<\n";
}
else # continuation of a cell
{
$lines .= $_;
}
}
print <<END_FILE;
0,
0
};
END_FILE
File added
#!/bin/bash
#/****************************************************************************
#**
#** This file is part of the Qt Extended Opensource Package.
#**
#** Copyright (C) 2009 Trolltech ASA.
#**
#****************************************************************************/
# break on errors
set -e
if [ -n "$1" -a "$1" == "--descriptors" ]; then
set "." $@
fi
pkg_dir=$1
test -z $pkg_dir && pkg_dir=.
function usage()
{
echo "Usage: `basename $0` <path/to/webroot> [--descriptors http://10.10.10.21/feed]";
echo " <path/to/web/packageroot> - where http server will serve packages from";
echo " [--descriptors URL] no packages.list file, instead make individual \".qpd\" package descriptor files";
echo " URL is \"http://\" + <IP address of the server> + /packageroot with no terminating /";
exit 1;
}
function die()
{
echo "$1"
usage;
}
if [ -z $pkg_dir ]; then
usage