From 683d490074d93baa8a47db7ec43b7bd31145a12a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Nov 2009 23:00:15 +0100 Subject: Tar file expanded and committed --- .../cpptasks/trolltech/MetaObjectCompiler.html | 705 ++++++++++++++++++++ .../cpptasks/trolltech/MetaObjectParser.html | 329 ++++++++++ .../cpptasks/trolltech/UserInterfaceCompiler.html | 727 +++++++++++++++++++++ .../cpptasks/trolltech/UserInterfaceParser.html | 324 +++++++++ .../trolltech/class-use/MetaObjectCompiler.html | 177 +++++ .../trolltech/class-use/MetaObjectParser.html | 141 ++++ .../trolltech/class-use/UserInterfaceCompiler.html | 177 +++++ .../trolltech/class-use/UserInterfaceParser.html | 141 ++++ .../cpptasks/trolltech/package-frame.html | 39 ++ .../cpptasks/trolltech/package-summary.html | 182 ++++++ .../cpptasks/trolltech/package-tree.html | 161 +++++ .../antcontrib/cpptasks/trolltech/package-use.html | 173 +++++ 12 files changed, 3276 insertions(+) create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectCompiler.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectParser.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceCompiler.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceParser.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectCompiler.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectParser.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceCompiler.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceParser.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-frame.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-summary.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-tree.html create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-use.html (limited to 'site/apidocs/net/sf/antcontrib/cpptasks/trolltech') diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectCompiler.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectCompiler.html new file mode 100644 index 0000000..4c0eb9f --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectCompiler.html @@ -0,0 +1,705 @@ + + + + + + + +MetaObjectCompiler (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.trolltech +
+Class MetaObjectCompiler

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
+      extended by net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
+          extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
+              extended by net.sf.antcontrib.cpptasks.trolltech.MetaObjectCompiler
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Compiler, Processor
+
+
+
+
public final class MetaObjectCompiler
extends CommandLineCompiler
+ + +

+Adapter for the Trolltech Qt MOC Compiler. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddImpliedArgs(java.util.Vector args, + boolean debug, + boolean multithreaded, + boolean exceptions, + LinkType linkType, + java.lang.Boolean rtti, + OptimizationEnum optimization) + +
+          Add arguments for debug, etc.
+protected  voidaddWarningSwitch(java.util.Vector args, + int level) + +
+          Add arguments for specified warning level.
+ intbid(java.lang.String inputFile) + +
+          Returns the bid of the processor for the file.
+ ProcessorchangeEnvironment(boolean newEnvironment, + org.apache.tools.ant.types.Environment env) + +
+          Change enviroment (deprecated).
+protected  ParsercreateParser(java.io.File source) + +
+          Gets a parser to scan source file for dependencies.
+protected  intgetArgumentCountPerInputFile() + +
+          Gets number of command line arguments per input file.
+protected  voidgetDefineSwitch(java.lang.StringBuffer buffer, + java.lang.String define, + java.lang.String value) + +
+          Gets switch to define preprocessor macro.
+protected  java.io.File[]getEnvironmentIncludePath() + +
+          Gets standard include paths.
+protected  java.lang.StringgetIncludeDirSwitch(java.lang.String includeDir) + +
+          Gets include directory switch.
+protected  java.lang.StringgetInputFileArgument(java.io.File outputDir, + java.lang.String filename, + int index) + +
+          Gets input file arguments.
+static MetaObjectCompilergetInstance() + +
+          Gets singleton instance of compiler.
+ LinkergetLinker(LinkType type) + +
+          Gets linker associated with this type.
+ intgetMaximumCommandLength() + +
+          Gets maximum length of command line.
+protected  intgetMaximumInputFilesPerCommand() + +
+          Gets maximum number of input files processed per command.
+ java.lang.String[]getOutputFileNames(java.lang.String inputFile, + VersionInfo versionInfo) + +
+          Gets output file names.
+protected  intgetTotalArgumentLengthForInputFile(java.io.File outputDir, + java.lang.String inputFile) + +
+          Get total command line length due to the input file.
+protected  voidgetUndefineSwitch(java.lang.StringBuffer buffer, + java.lang.String define) + +
+          Gets switch to undefine preprocessor macro.
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getCommand, getIdentifier, getLibtool, getLibtoolCompiler, runCommand, setCommand
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, parseIncludes, resolveInclude
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static MetaObjectCompiler getInstance()
+
+
Gets singleton instance of compiler. +

+

+ +
Returns:
MetaObjectCompiler singleton instance
+
+
+
+ +

+addImpliedArgs

+
+protected void addImpliedArgs(java.util.Vector args,
+                              boolean debug,
+                              boolean multithreaded,
+                              boolean exceptions,
+                              LinkType linkType,
+                              java.lang.Boolean rtti,
+                              OptimizationEnum optimization)
+
+
Add arguments for debug, etc. +

+

+
Specified by:
addImpliedArgs in class CommandLineCompiler
+
+
+
Parameters:
args - Vector command argument list
debug - boolean build for debug if true
multithreaded - boolean build for multithreading if true
exceptions - boolean enable exceptions if true
linkType - LinkType output and runtime type
rtti - Boolean enable run-time type identification if true
optimization - OptimizationEnum optimization
+
+
+
+ +

+addWarningSwitch

+
+protected void addWarningSwitch(java.util.Vector args,
+                                int level)
+
+
Add arguments for specified warning level. +

+

+
Specified by:
addWarningSwitch in class CommandLineCompiler
+
+
+
Parameters:
args - Vector command line arguments
level - int warning level value
+
+
+
+ +

+changeEnvironment

+
+public Processor changeEnvironment(boolean newEnvironment,
+                                   org.apache.tools.ant.types.Environment env)
+
+
Change enviroment (deprecated). +

+

+
Specified by:
changeEnvironment in interface Processor
Overrides:
changeEnvironment in class AbstractProcessor
+
+
+
Parameters:
newEnvironment - boolean use new environment.
env - Environment environment +
Returns:
Processor modified processor
+
+
+
+ +

+createParser

+
+protected Parser createParser(java.io.File source)
+
+
Gets a parser to scan source file for dependencies. +

+

+
Specified by:
createParser in class AbstractCompiler
+
+
+
Parameters:
source - source file +
Returns:
parser
+
+
+
+ +

+getArgumentCountPerInputFile

+
+protected int getArgumentCountPerInputFile()
+
+
Gets number of command line arguments per input file. +

+

+
Overrides:
getArgumentCountPerInputFile in class CommandLineCompiler
+
+
+ +
Returns:
int number of command line arguments per input file.
+
+
+
+ +

+bid

+
+public int bid(java.lang.String inputFile)
+
+
Returns the bid of the processor for the file. +

+

+
Specified by:
bid in interface Processor
Overrides:
bid in class AbstractProcessor
+
+
+
Parameters:
inputFile - filename of input file +
Returns:
bid for the file, 0 indicates no interest, 1 indicates that the + processor recognizes the file but doesn't process it (header + files, for example), 100 indicates strong interest
+
+
+
+ +

+getOutputFileNames

+
+public java.lang.String[] getOutputFileNames(java.lang.String inputFile,
+                                             VersionInfo versionInfo)
+
+
Gets output file names. +

+

+
Specified by:
getOutputFileNames in interface Processor
Overrides:
getOutputFileNames in class AbstractCompiler
+
+
+
Parameters:
inputFile - String input file name
versionInfo - version info, not used by this compiler. +
Returns:
String[] output file names
+
+
+
+ +

+getInputFileArgument

+
+protected java.lang.String getInputFileArgument(java.io.File outputDir,
+                                                java.lang.String filename,
+                                                int index)
+
+
Gets input file arguments. +

+

+
Overrides:
getInputFileArgument in class CommandLineCompiler
+
+
+
Parameters:
outputDir - File output directory
filename - String input file name.
index - int argument index, + 0 to getNumberOfArgumentsPerInputFile() -1 +
Returns:
String input file argument
+
+
+
+ +

+getMaximumCommandLength

+
+public int getMaximumCommandLength()
+
+
Gets maximum length of command line. +

+

+
Specified by:
getMaximumCommandLength in class CommandLineCompiler
+
+
+ +
Returns:
int maximum length of command line
+
+
+
+ +

+getMaximumInputFilesPerCommand

+
+protected int getMaximumInputFilesPerCommand()
+
+
Gets maximum number of input files processed per command. +

+

+
Overrides:
getMaximumInputFilesPerCommand in class CommandLineCompiler
+
+
+ +
Returns:
int maximum number of input files processed per command.
+
+
+
+ +

+getIncludeDirSwitch

+
+protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
+
+
Gets include directory switch. +

+

+
Specified by:
getIncludeDirSwitch in class CommandLineCompiler
+
+
+
Parameters:
includeDir - String include directory +
Returns:
String command switch to add specified directory to search path
+
+
+
+ +

+getDefineSwitch

+
+protected void getDefineSwitch(java.lang.StringBuffer buffer,
+                               java.lang.String define,
+                               java.lang.String value)
+
+
Gets switch to define preprocessor macro. +

+

+
Specified by:
getDefineSwitch in class CommandLineCompiler
+
+
+
Parameters:
buffer - StringBuffer command line argument
define - String macro name
value - String macro value, may be null.
+
+
+
+ +

+getUndefineSwitch

+
+protected void getUndefineSwitch(java.lang.StringBuffer buffer,
+                                 java.lang.String define)
+
+
Gets switch to undefine preprocessor macro. +

+

+
Specified by:
getUndefineSwitch in class CommandLineCompiler
+
+
+
Parameters:
buffer - StringBuffer command line argument
define - String macro name
+
+
+
+ +

+getEnvironmentIncludePath

+
+protected java.io.File[] getEnvironmentIncludePath()
+
+
Gets standard include paths. +

+

+
Specified by:
getEnvironmentIncludePath in class CommandLineCompiler
+
+
+ +
Returns:
File[] standard include paths
+
+
+
+ +

+getLinker

+
+public Linker getLinker(LinkType type)
+
+
Gets linker associated with this type. +

+

+
Parameters:
type - LinkType linker, returns ld. +
Returns:
Linker
+
+
+
+ +

+getTotalArgumentLengthForInputFile

+
+protected int getTotalArgumentLengthForInputFile(java.io.File outputDir,
+                                                 java.lang.String inputFile)
+
+
Get total command line length due to the input file. +

+

+
Overrides:
getTotalArgumentLengthForInputFile in class CommandLineCompiler
+
+
+
Parameters:
outputDir - File output directory
inputFile - String input file +
Returns:
int characters added to command line for the input file.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectParser.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectParser.html new file mode 100644 index 0000000..b812566 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/MetaObjectParser.html @@ -0,0 +1,329 @@ + + + + + + + +MetaObjectParser (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.trolltech +
+Class MetaObjectParser

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.parser.AbstractParser
+      extended by net.sf.antcontrib.cpptasks.trolltech.MetaObjectParser
+
+
+
+
public final class MetaObjectParser
extends AbstractParser
+ + +

+Scans a source file for Q_OBJECT. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddFilename(java.lang.String filename) + +
+          Adds a filename to the list of included files.
+ AbstractParserStategetNewLineState() + +
+          Gets new line state.
+static booleanhasQObject(java.io.Reader reader) + +
+          Determines if source file contains Q_OBJECT.
+ voidparse(java.io.Reader reader) + +
+          Parse input file.
+ voidsetQObject(boolean value) + +
+          Called FinalTState to set that Q_OBJECT was found.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+hasQObject

+
+public static boolean hasQObject(java.io.Reader reader)
+                          throws java.io.IOException
+
+
Determines if source file contains Q_OBJECT. +

+

+
Parameters:
reader - Reader source reader +
Returns:
boolean true if source contains Q_OBJECT +
Throws: +
java.io.IOException - if unable to read source file
+
+
+
+ +

+addFilename

+
+protected void addFilename(java.lang.String filename)
+
+
Adds a filename to the list of included files. +

+

+
Specified by:
addFilename in class AbstractParser
+
+
+
Parameters:
filename - filename to be added
+
+
+
+ +

+getNewLineState

+
+public AbstractParserState getNewLineState()
+
+
Gets new line state. +

+

+
Specified by:
getNewLineState in class AbstractParser
+
+
+ +
Returns:
AbstractParserState new line state.
+
+
+
+ +

+parse

+
+public void parse(java.io.Reader reader)
+           throws java.io.IOException
+
+
Parse input file. +

+

+
Overrides:
parse in class AbstractParser
+
+
+
Parameters:
reader - Reader source file +
Throws: +
java.io.IOException - if error reading source file
+
+
+
+ +

+setQObject

+
+public void setQObject(boolean value)
+
+
Called FinalTState to set that Q_OBJECT was found. +

+

+
Parameters:
value - boolean new value for hasQObject
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceCompiler.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceCompiler.html new file mode 100644 index 0000000..c0c8823 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceCompiler.html @@ -0,0 +1,727 @@ + + + + + + + +UserInterfaceCompiler (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.trolltech +
+Class UserInterfaceCompiler

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
+      extended by net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
+          extended by net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
+              extended by net.sf.antcontrib.cpptasks.trolltech.UserInterfaceCompiler
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Compiler, Processor
+
+
+
+
public final class UserInterfaceCompiler
extends CommandLineCompiler
+ + +

+Adapter for the Trolltech Qt UIC Compiler. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddImpliedArgs(java.util.Vector args, + boolean debug, + boolean multithreaded, + boolean exceptions, + LinkType linkType, + java.lang.Boolean rtti, + OptimizationEnum optimization) + +
+          Add arguments for debug, etc.
+protected  voidaddWarningSwitch(java.util.Vector args, + int level) + +
+          Add arguments for specified warning level.
+ ProcessorchangeEnvironment(boolean newEnvironment, + org.apache.tools.ant.types.Environment env) + +
+          Change enviroment (deprecated).
+ voidcompile(CCTask task, + java.io.File outputDir, + java.lang.String[] sourceFiles, + java.lang.String[] args, + java.lang.String[] endArgs, + boolean relentless, + CommandLineCompilerConfiguration config, + ProgressMonitor monitor) + +
+          Compiles an .ui file into the corresponding .h, .cpp and moc_*.cpp files.
+protected  ParsercreateParser(java.io.File source) + +
+          The include parser for C will work just fine, but we didn't want to + inherit from CommandLineCCompiler.
+protected  intgetArgumentCountPerInputFile() + +
+          Gets number of command line arguments per input file.
+protected  voidgetDefineSwitch(java.lang.StringBuffer buffer, + java.lang.String define, + java.lang.String value) + +
+          Gets switch to define preprocessor macro.
+protected  java.io.File[]getEnvironmentIncludePath() + +
+          Gets standard include paths.
+protected  java.lang.StringgetIncludeDirSwitch(java.lang.String includeDir) + +
+          Gets include directory switch.
+protected  java.lang.StringgetInputFileArgument(java.io.File outputDir, + java.lang.String filename, + int index) + +
+          Gets input file arguments.
+static UserInterfaceCompilergetInstance() + +
+          Gets singleton instance of compiler.
+ LinkergetLinker(LinkType type) + +
+          Gets linker associated with this type.
+ intgetMaximumCommandLength() + +
+          Gets maximum length of command line.
+protected  intgetMaximumInputFilesPerCommand() + +
+          Gets maximum number of input files processed per command.
+ java.lang.String[]getOutputFileNames(java.lang.String inputFile, + VersionInfo versionInfo) + +
+          Gets output file names.
+protected  intgetTotalArgumentLengthForInputFile(java.io.File outputDir, + java.lang.String inputFile) + +
+          Get total command line length due to the input file.
+protected  voidgetUndefineSwitch(java.lang.StringBuffer buffer, + java.lang.String define) + +
+          Gets switch to undefine preprocessor macro.
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, createConfiguration, getCommand, getIdentifier, getLibtool, getLibtoolCompiler, runCommand, setCommand
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, parseIncludes, resolveInclude
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static UserInterfaceCompiler getInstance()
+
+
Gets singleton instance of compiler. +

+

+ +
Returns:
MetaObjectCompiler singleton instance
+
+
+
+ +

+addImpliedArgs

+
+protected void addImpliedArgs(java.util.Vector args,
+                              boolean debug,
+                              boolean multithreaded,
+                              boolean exceptions,
+                              LinkType linkType,
+                              java.lang.Boolean rtti,
+                              OptimizationEnum optimization)
+
+
Add arguments for debug, etc. +

+

+
Specified by:
addImpliedArgs in class CommandLineCompiler
+
+
+
Parameters:
args - Vector command argument list
debug - boolean build for debug if true
multithreaded - boolean build for multithreading if true
exceptions - boolean enable exceptions if true
linkType - LinkType output and runtime type
rtti - Boolean enable run-time type identification if true
optimization - OptimizationEnum optimization
+
+
+
+ +

+addWarningSwitch

+
+protected void addWarningSwitch(java.util.Vector args,
+                                int level)
+
+
Add arguments for specified warning level. +

+

+
Specified by:
addWarningSwitch in class CommandLineCompiler
+
+
+
Parameters:
args - Vector command line arguments
level - int warning level value
+
+
+
+ +

+changeEnvironment

+
+public Processor changeEnvironment(boolean newEnvironment,
+                                   org.apache.tools.ant.types.Environment env)
+
+
Change enviroment (deprecated). +

+

+
Specified by:
changeEnvironment in interface Processor
Overrides:
changeEnvironment in class AbstractProcessor
+
+
+
Parameters:
newEnvironment - boolean use new environment.
env - Environment environment +
Returns:
Processor modified processor
+
+
+
+ +

+createParser

+
+protected Parser createParser(java.io.File source)
+
+
The include parser for C will work just fine, but we didn't want to + inherit from CommandLineCCompiler. +

+

+
Specified by:
createParser in class AbstractCompiler
+
+
+
Parameters:
source - source file to be parsed +
Returns:
parser
+
+
+
+ +

+getArgumentCountPerInputFile

+
+protected int getArgumentCountPerInputFile()
+
+
Gets number of command line arguments per input file. +

+

+
Overrides:
getArgumentCountPerInputFile in class CommandLineCompiler
+
+
+ +
Returns:
int number of command line arguments per input file.
+
+
+
+ +

+getOutputFileNames

+
+public java.lang.String[] getOutputFileNames(java.lang.String inputFile,
+                                             VersionInfo versionInfo)
+
+
Gets output file names. +

+

+
Specified by:
getOutputFileNames in interface Processor
Overrides:
getOutputFileNames in class AbstractCompiler
+
+
+
Parameters:
inputFile - String input file name
versionInfo - version info, not used by this compiler. +
Returns:
String[] output file names
+
+
+
+ +

+getInputFileArgument

+
+protected java.lang.String getInputFileArgument(java.io.File outputDir,
+                                                java.lang.String filename,
+                                                int index)
+
+
Gets input file arguments. +

+

+
Overrides:
getInputFileArgument in class CommandLineCompiler
+
+
+
Parameters:
outputDir - File output directory
filename - String input file name.
index - int argument index, + 0 to getNumberOfArgumentsPerInputFile() -1 +
Returns:
String input file argument
+
+
+
+ +

+getMaximumCommandLength

+
+public int getMaximumCommandLength()
+
+
Gets maximum length of command line. +

+

+
Specified by:
getMaximumCommandLength in class CommandLineCompiler
+
+
+ +
Returns:
int maximum length of command line
+
+
+
+ +

+getMaximumInputFilesPerCommand

+
+protected int getMaximumInputFilesPerCommand()
+
+
Gets maximum number of input files processed per command. +

+

+
Overrides:
getMaximumInputFilesPerCommand in class CommandLineCompiler
+
+
+ +
Returns:
int maximum number of input files processed per command.
+
+
+
+ +

+getIncludeDirSwitch

+
+protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
+
+
Gets include directory switch. +

+

+
Specified by:
getIncludeDirSwitch in class CommandLineCompiler
+
+
+
Parameters:
includeDir - String include directory +
Returns:
String command switch to add specified directory to search path
+
+
+
+ +

+getDefineSwitch

+
+protected void getDefineSwitch(java.lang.StringBuffer buffer,
+                               java.lang.String define,
+                               java.lang.String value)
+
+
Gets switch to define preprocessor macro. +

+

+
Specified by:
getDefineSwitch in class CommandLineCompiler
+
+
+
Parameters:
buffer - StringBuffer command line argument
define - String macro name
value - String macro value, may be null.
+
+
+
+ +

+getUndefineSwitch

+
+protected void getUndefineSwitch(java.lang.StringBuffer buffer,
+                                 java.lang.String define)
+
+
Gets switch to undefine preprocessor macro. +

+

+
Specified by:
getUndefineSwitch in class CommandLineCompiler
+
+
+
Parameters:
buffer - StringBuffer command line argument
define - String macro name
+
+
+
+ +

+getEnvironmentIncludePath

+
+protected java.io.File[] getEnvironmentIncludePath()
+
+
Gets standard include paths. +

+

+
Specified by:
getEnvironmentIncludePath in class CommandLineCompiler
+
+
+ +
Returns:
File[] standard include paths
+
+
+
+ +

+getLinker

+
+public Linker getLinker(LinkType type)
+
+
Gets linker associated with this type. +

+

+
Parameters:
type - LinkType linker, returns ld. +
Returns:
Linker
+
+
+
+ +

+compile

+
+public void compile(CCTask task,
+                    java.io.File outputDir,
+                    java.lang.String[] sourceFiles,
+                    java.lang.String[] args,
+                    java.lang.String[] endArgs,
+                    boolean relentless,
+                    CommandLineCompilerConfiguration config,
+                    ProgressMonitor monitor)
+
+
Compiles an .ui file into the corresponding .h, .cpp and moc_*.cpp files. +

+

+
Overrides:
compile in class CommandLineCompiler
+
+
+
Parameters:
task - current cc task
outputDir - output directory
sourceFiles - source files
args - command line arguments that appear before input files
endArgs - command line arguments that appear after input files
relentless - if true, do not stop at first compilation error
config - compiler configuration
monitor - progress monitor
+
+
+
+ +

+getTotalArgumentLengthForInputFile

+
+protected int getTotalArgumentLengthForInputFile(java.io.File outputDir,
+                                                 java.lang.String inputFile)
+
+
Get total command line length due to the input file. +

+

+
Overrides:
getTotalArgumentLengthForInputFile in class CommandLineCompiler
+
+
+
Parameters:
outputDir - File output directory
inputFile - String input file +
Returns:
int characters added to command line for the input file.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceParser.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceParser.html new file mode 100644 index 0000000..5704eb7 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/UserInterfaceParser.html @@ -0,0 +1,324 @@ + + + + + + + +UserInterfaceParser (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.trolltech +
+Class UserInterfaceParser

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser
+
+
+
All Implemented Interfaces:
Parser
+
+
+
+
public final class UserInterfaceParser
extends java.lang.Object
implements Parser
+ + +

+Dependency scanner for Trolltech Qt User Interface definition files. + + .ui files are XML documents that may contain an include elements, + however the includes are just copied to the generated files and + and changes to the includes do not need to trigger rerunning uic. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UserInterfaceParser() + +
+          Constructor.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddFilename(java.lang.String include) + +
+          Adds filename to the list of included files.
+ java.lang.String[]getIncludes() + +
+          Gets included files.
+ voidparse(java.io.Reader reader) + +
+          Parses source file for dependencies.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserInterfaceParser

+
+public UserInterfaceParser()
+
+
Constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+addFilename

+
+public void addFilename(java.lang.String include)
+
+
Adds filename to the list of included files. +

+

+
+
+
+
Parameters:
include - String included file name
+
+
+
+ +

+getIncludes

+
+public java.lang.String[] getIncludes()
+
+
Gets included files. +

+

+
Specified by:
getIncludes in interface Parser
+
+
+ +
Returns:
String[] included files
+
+
+
+ +

+parse

+
+public void parse(java.io.Reader reader)
+           throws java.io.IOException
+
+
Parses source file for dependencies. +

+

+
Specified by:
parse in interface Parser
+
+
+
Parameters:
reader - Reader reader +
Throws: +
java.io.IOException - if error reading source file
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectCompiler.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectCompiler.html new file mode 100644 index 0000000..4914bc5 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectCompiler.html @@ -0,0 +1,177 @@ + + + + + + + +Uses of Class net.sf.antcontrib.cpptasks.trolltech.MetaObjectCompiler (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
net.sf.antcontrib.cpptasks.trolltech.MetaObjectCompiler

+
+ + + + + + + + + +
+Packages that use MetaObjectCompiler
net.sf.antcontrib.cpptasks.trolltechAdapters for Trolltech Qt moc and uic compilers. 
+  +

+ + + + + +
+Uses of MetaObjectCompiler in net.sf.antcontrib.cpptasks.trolltech
+  +

+ + + + + + + + + +
Methods in net.sf.antcontrib.cpptasks.trolltech that return MetaObjectCompiler
+static MetaObjectCompilerMetaObjectCompiler.getInstance() + +
+          Gets singleton instance of compiler.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectParser.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectParser.html new file mode 100644 index 0000000..f1ddfec --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/MetaObjectParser.html @@ -0,0 +1,141 @@ + + + + + + + +Uses of Class net.sf.antcontrib.cpptasks.trolltech.MetaObjectParser (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
net.sf.antcontrib.cpptasks.trolltech.MetaObjectParser

+
+No usage of net.sf.antcontrib.cpptasks.trolltech.MetaObjectParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceCompiler.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceCompiler.html new file mode 100644 index 0000000..f44236d --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceCompiler.html @@ -0,0 +1,177 @@ + + + + + + + +Uses of Class net.sf.antcontrib.cpptasks.trolltech.UserInterfaceCompiler (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
net.sf.antcontrib.cpptasks.trolltech.UserInterfaceCompiler

+
+ + + + + + + + + +
+Packages that use UserInterfaceCompiler
net.sf.antcontrib.cpptasks.trolltechAdapters for Trolltech Qt moc and uic compilers. 
+  +

+ + + + + +
+Uses of UserInterfaceCompiler in net.sf.antcontrib.cpptasks.trolltech
+  +

+ + + + + + + + + +
Methods in net.sf.antcontrib.cpptasks.trolltech that return UserInterfaceCompiler
+static UserInterfaceCompilerUserInterfaceCompiler.getInstance() + +
+          Gets singleton instance of compiler.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceParser.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceParser.html new file mode 100644 index 0000000..11eee8f --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/class-use/UserInterfaceParser.html @@ -0,0 +1,141 @@ + + + + + + + +Uses of Class net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser

+
+No usage of net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-frame.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-frame.html new file mode 100644 index 0000000..084a6b4 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-frame.html @@ -0,0 +1,39 @@ + + + + + + + +net.sf.antcontrib.cpptasks.trolltech (cpptasks 1.0b5 API) + + + + + + + + + + + +net.sf.antcontrib.cpptasks.trolltech + + + + +
+Classes  + +
+MetaObjectCompiler +
+MetaObjectParser +
+UserInterfaceCompiler +
+UserInterfaceParser
+ + + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-summary.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-summary.html new file mode 100644 index 0000000..44c97cc --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-summary.html @@ -0,0 +1,182 @@ + + + + + + + +net.sf.antcontrib.cpptasks.trolltech (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package net.sf.antcontrib.cpptasks.trolltech +

+Adapters for Trolltech Qt moc and uic compilers. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
MetaObjectCompilerAdapter for the Trolltech Qt MOC Compiler.
MetaObjectParserScans a source file for Q_OBJECT.
UserInterfaceCompilerAdapter for the Trolltech Qt UIC Compiler.
UserInterfaceParserDependency scanner for Trolltech Qt User Interface definition files.
+  + +

+

+Package net.sf.antcontrib.cpptasks.trolltech Description +

+ +

+Adapters for Trolltech Qt moc and uic compilers. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-tree.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-tree.html new file mode 100644 index 0000000..fbff102 --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-tree.html @@ -0,0 +1,161 @@ + + + + + + + +net.sf.antcontrib.cpptasks.trolltech Class Hierarchy (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package net.sf.antcontrib.cpptasks.trolltech +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-use.html b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-use.html new file mode 100644 index 0000000..0882ccc --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/trolltech/package-use.html @@ -0,0 +1,173 @@ + + + + + + + +Uses of Package net.sf.antcontrib.cpptasks.trolltech (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
net.sf.antcontrib.cpptasks.trolltech

+
+ + + + + + + + + +
+Packages that use net.sf.antcontrib.cpptasks.trolltech
net.sf.antcontrib.cpptasks.trolltechAdapters for Trolltech Qt moc and uic compilers. 
+  +

+ + + + + + + + + + + +
+Classes in net.sf.antcontrib.cpptasks.trolltech used by net.sf.antcontrib.cpptasks.trolltech
MetaObjectCompiler + +
+          Adapter for the Trolltech Qt MOC Compiler.
UserInterfaceCompiler + +
+          Adapter for the Trolltech Qt UIC Compiler.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3