Fix retquire

pull/1/head
Timothy Pearson 13 years ago
parent e1a0e352b6
commit 26abe38d07

@ -115,9 +115,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.)
the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -183,7 +183,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not retquired to accept this License, since you have not
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -175,12 +175,12 @@ above, provided that you also meet all of these conditions:
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d retquires that any
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -226,7 +226,7 @@ medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the retquirement to
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
@ -300,7 +300,7 @@ of these things:
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the retquired form of the "work that uses the
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
@ -309,7 +309,7 @@ components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this retquirement contradicts the license
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
@ -339,7 +339,7 @@ rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not retquired to accept this License, since you have not
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -54,7 +54,7 @@ The simplest way to compile this package is:
Compilers and Options
=====================
Some systems retquire unusual options for compilation or linking that
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like

@ -6,7 +6,7 @@ In this file:
Notes for end users
-------------------
You only need this package when something else retquires it.
You only need this package when something else requires it.
Notes for developers
--------------------

@ -207,7 +207,7 @@ AC_DEFUN([KDE_CHECK_PERL],
AC_PATH_PROG(PERL, perl, "perl")
AC_MSG_CHECKING([for Perl >= $1])
has_wanted_perl="not found"
if test -e "$PERL" && $PERL -e "retquire $1"; then
if test -e "$PERL" && $PERL -e "require $1"; then
has_wanted_perl=yes
else
DO_NOT_COMPILE="$DO_NOT_COMPILE $2"

@ -97,7 +97,7 @@ main ()
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** retquired on your system.\n");
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
@ -169,7 +169,7 @@ main ()
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is retquired on your system"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"

@ -95,7 +95,7 @@ main ()
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** retquired on your system.\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
@ -170,7 +170,7 @@ main ()
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is retquired on your system"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"

@ -21,7 +21,7 @@ a data file called marshal_funcs.data by a converter script, gen_marshal_funcs.p
marshal_funcs.data contains the basic code necessary to marshal and demarshal the different
types that DCOP can handle. For example, it codes how to convert a TQString for use by Python
(in this case, a Python string) and the reverse - what the user may supply in Python when
DCOP retquires a TQString. In addition to the fundemental types, more complex QT classes are
DCOP requires a TQString. In addition to the fundemental types, more complex QT classes are
coded, such as TQRect (which converts to a Python tuple ( (x1,y1), (x2,y2) ) ).
Documentation is auto-generated out of marshal_funcs.data, creating file marshal_funcs_doc.html,

@ -6,7 +6,7 @@ for p in `echo $PATH | tr ":" " "`
do
if [ -x $p/perl ]
then
if $p/perl -e 'retquire 5.000;'
if $p/perl -e 'require 5.000;'
then
echo $p/perl > perlbin
exit 0

@ -7,7 +7,7 @@
# All files in this project are distributed under the GNU General
# Public License. This is Free Software.
retquire 5.000;
require 5.000;
use Carp;
use Getopt::Long;
@ -225,7 +225,7 @@ if ($#includeclasses>=0)
}
if ( $#includes >= 0 && !$cpp ) {
die "$exe: --includedir retquires --cpp\n";
die "$exe: --includedir requires --cpp\n";
}
# Check output formats. HTML is the default
@ -284,7 +284,7 @@ else
checkFileArgs();
# work out libdir. This is created by kdocLib:writeDoc when
# retquired.
# required.
$libdir = $ENV{HOME}."/.kalyptus" unless $libdir ne "";
@ -328,7 +328,7 @@ sub readLibraries
{
return if $#libs < 0;
retquire kdocLib;
require kdocLib;
foreach my $lib ( @libs ) {
print "$exe: reading lib: $lib\n" unless $tquiet;
@ -412,7 +412,7 @@ sub writeDocumentation
no strict "refs";
foreach my $format ( @formats_wanted ) {
my $pack = $formats{ $format };
retquire $pack.".pm";
require $pack.".pm";
print STDERR "Generating bindings for $format ",
"language...\n" unless $tquiet;
@ -426,7 +426,7 @@ sub writeDocumentation
sub writeLibrary
{
if( $libname ne "" and !exists $options{'no-cache'} ) {
retquire kdocLib;
require kdocLib;
foreach my $lang ( keys %rootNodes ) {
my $node = $rootNodes{ $lang };
kdocLib::writeDoc( $libname, $node, $lang, $libdir,

@ -696,7 +696,7 @@ sub dumpAst
=cut
sub testRef {
retquire Term::ReadLine;
require Term::ReadLine;
my $rootNode = $_[ 0 ];

@ -180,7 +180,7 @@ PARSELOOP:
# postprocess docnode
# add a . to the end of the short if retquired.
# add a . to the end of the short if required.
my $short = $docNode->{ClassShort};
if ( defined $short ) {
@ -369,7 +369,7 @@ sub recombineOnWords
=head2 attachDoc
Connects a docnode to a code node, setting any other properties
if retquired, such as groups, internal/deprecated flags etc.
if required, such as groups, internal/deprecated flags etc.
=cut

@ -175,12 +175,12 @@ above, provided that you also meet all of these conditions:
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d retquires that any
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -226,7 +226,7 @@ medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the retquirement to
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
@ -300,7 +300,7 @@ of these things:
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the retquired form of the "work that uses the
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
@ -309,7 +309,7 @@ components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this retquirement contradicts the license
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
@ -339,7 +339,7 @@ rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not retquired to accept this License, since you have not
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -45,7 +45,7 @@ The simplest way to compile this package is:
Compilers and Options
=====================
Some systems retquire unusual options for compilation or linking that
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like

@ -11,7 +11,7 @@ import org.kde.qt.QtSupport;
When using this class to cache, retrieve or prompt authentication
information, you only need to set the necessary attributes. For
example, to check whether a password is already cached, the only
retquired information is the URL of the resource and optionally
required information is the URL of the resource and optionally
whether or not a path match should be performed. Similarly, to
prompt for password you only need to optionally set the prompt,
username (if already supplied), comment and commentLabel fields.

@ -155,7 +155,7 @@ public class KAboutDialog extends KDialogBase {
/**
Adjusts the dialog.
You can call this method after you have set up all
the contents but it is not retquired. It is done automatically when
the contents but it is not required. It is done automatically when
show() is executed.
@short Adjusts the dialog.
*/

@ -50,7 +50,7 @@ public class KActionCollection extends TQObject {
/**
Use this constructor if you want the collection's actions to restrict
their accelerator keys to <code>watch</code> rather than the <code>parent.</code> If
you don't retquire shortcuts, you can pass a null to the <code>watch</code> parameter.
you don't require shortcuts, you can pass a null to the <code>watch</code> parameter.
@short Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code>
*/
public KActionCollection(TQWidget watch, TQObject parent, String name, KInstanceInterface instance) {

@ -681,7 +681,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
allows access to the single global KApplication object, since
more than one cannot be created in the same application. It
saves you the trouble of having to pass the pointer explicitly
to every function that may retquire it.
to every function that may require it.
@return the current application object
@short Returns the current application object.

@ -11,7 +11,7 @@ import org.kde.qt.TQObject;
This class provides one-shot-and-forget audio playing. You will never
know if what you wanted to play really got played.
It doesn't retquire linking any special libraries, as it operates over
It doesn't require linking any special libraries, as it operates over
DCOP. In the current implementation, it only indirectly communicates
with the aRts soundserver, using knotify as DCOP . MCOP bridge.
Due to that fact, if you need "fast" response times, more control or

@ -142,7 +142,7 @@ public class KCModuleInfo implements QtSupport {
*/
public native int weight();
/**
@return whether the module might retquire root permissions
@return whether the module might require root permissions
@short
*/

@ -69,9 +69,9 @@ import java.util.ArrayList;
{ "f", 0, 0 },
{ "option7 \<speed>", I18N_NOOP("'--option7 speed' is the same as '-f speed'"), 0 },
{ "!option8 \<cmd>", I18N_NOOP("All options following this one will be treated as arguments"), 0 },
{ "+file", I18N_NOOP("A retquired argument 'file'"), 0 },
{ "+file", I18N_NOOP("A required argument 'file'"), 0 },
{ "+[arg1]", I18N_NOOP("An optional argument 'arg1'"), 0 },
{ "!+command", I18N_NOOP("A retquired argument 'command', that can contain multiple words, even starting with '-'"), 0 },
{ "!+command", I18N_NOOP("A required argument 'command', that can contain multiple words, even starting with '-'"), 0 },
{ "", I18N_NOOP("Additional help text not associated with any particular option") 0 },
// End of options.
}
@ -258,7 +258,7 @@ public class KCmdLineArgs implements QtSupport {
Initialize class.
This function should be called as the very first thing in
your application. It uses KAboutData to replace some of the
arguments that would otherwise be retquired.
arguments that would otherwise be required.
@param _argv As passed to <code>main</code>(...).
@param about A KAboutData object describing your program.
@param noKApp Set this true to not add commandline options for
@ -297,7 +297,7 @@ public class KCmdLineArgs implements QtSupport {
</pre>
<li>
"option1" is an option that retquires an additional argument,
"option1" is an option that requires an additional argument,
but if one is not provided, it uses "my_extra_arg".
</li>
@ -318,7 +318,7 @@ public class KCmdLineArgs implements QtSupport {
"+file" specifies an argument. The '+' is removed. If your program
doesn't specify that it can use arguments your program will abort
when an argument is passed to it. Note that the reverse is not
true. If retquired, you must check yourself the number of arguments
true. If required, you must check yourself the number of arguments
specified by the user:
<pre>
KCmdLineArgs args = KCmdLineArgs.parsedArgs();

@ -10,7 +10,7 @@ import org.kde.qt.QtSupport;
into widgets.
This is a convenience class that provides the basic functions
needed to add text completion support into widgets. All that
is retquired is an implementation for the pure function
is required is an implementation for the pure function
setCompletedText. Refer to KLineEdit or KComboBox
to see how easily such support can be added using this as a base
class.

@ -165,7 +165,7 @@ public class KConfig extends KConfigBase {
Returns a lock file object for the configuration file or 0 if
the backend does not support locking.
@param bGlobal if true, return the lock file for the global config file
NOTE: KConfig.sync() retquires a lock on both the normal and global
NOTE: KConfig.sync() requires a lock on both the normal and global
config file. When calling KConfig.sync() while having a lock on the
global config file, the normal config file MUST be locked AS WELL and the
normal config file MUST be locked BEFORE the global config file!

@ -41,7 +41,7 @@ import org.kde.qt.TQHBox;
OK, Cancel/Close, Apply/Try, Default, Help and three user definable
buttons: User1, User2 and User3. You must specify the text of the UserN
buttons. Each button has a slot so you can overload the method
when retquired. The default slots emit a signal as well, so you can choose
when required. The default slots emit a signal as well, so you can choose
to connect a signal instead of overriding the slot.
The default implementation of slotHelp() will automatically enable
the help system if you have provided a path to the help text.

@ -10,7 +10,7 @@ import org.kde.qt.TQWidget;
This dialog only works if your application uses the XML UI
framework for creating menus and toolbars. It depends on the XML
files to describe the toolbar layouts and it retquires the actions
files to describe the toolbar layouts and it requires the actions
to determine which buttons are active.
Typically, you would include the KStdAction.configureToolbars()
standard action in your application. In your slot to this action,

@ -21,7 +21,7 @@ import org.kde.qt.TQWidget;
preferences dialog.
This widget only works if your application uses the XML UI
framework for creating menus and toolbars. It depends on the XML
files to describe the toolbar layouts and it retquires the actions
files to describe the toolbar layouts and it requires the actions
to determine which buttons are active.
See {@link KEditToolbarWidgetSignals} for signals emitted by KEditToolbarWidget
@author Kurt Granroth <granroth@kde.org>

@ -95,7 +95,7 @@ import org.kde.qt.TQObject;
K_EXPORT_COMPONENT_FACTORY(kfile_foo, FooFactory("kfile_foo"));
@endcode
To make your plugin available within KDE, you also need to provide a
<code>.desktop</code> file which describes your plugin. The retquired fields in the
<code>.desktop</code> file which describes your plugin. The required fields in the
file are:
- <code>Type</code>: must be @c "Service"
- <code>Name</code>: the name of the plugin
@ -129,7 +129,7 @@ public class KFilePlugin extends TQObject {
public native String className();
/**
Creates a new KFilePlugin instance. You need to implement a constructor
with the same argument list as this is retquired by KGenericFactory
with the same argument list as this is required by KGenericFactory
@param parent the parent of the TQObject, can be <code>0</code>
@param name the name of the TQObject, can be <code>0</code>
@param args currently ignored

@ -220,10 +220,10 @@ public class KFindDialog extends KDialogBase {
public native void setPattern(String pattern);
/**
Returns an empty widget which the user may fill with additional UI
elements as retquired. The widget occupies the width of the dialog,
elements as required. The widget occupies the width of the dialog,
and is positioned immediately below the regular expression support
widgets for the pattern string.
@short Returns an empty widget which the user may fill with additional UI elements as retquired.
@short Returns an empty widget which the user may fill with additional UI elements as required.
*/
public native TQWidget findExtension();
public native void showEvent(TQShowEvent arg1);

@ -1121,7 +1121,7 @@ public class KIO {
public static native void pasteData(KURL destURL, byte[] data);
/**
Pastes the given <code>data</code> to the given destination URL.
Note that this method retquires the caller to have chosen the byte[]
Note that this method requires the caller to have chosen the byte[]
to paste before hand, unlike pasteClipboard and pasteMimeSource.
@param destURL the URL of the directory where the data will be pasted.
The filename to use in that directory is prompted by this method.
@ -1132,7 +1132,7 @@ public class KIO {
public static native CopyJob pasteDataAsync(KURL destURL, byte[] data);
/**
Pastes the given <code>data</code> to the given destination URL.
Note that this method retquires the caller to have chosen the byte[]
Note that this method requires the caller to have chosen the byte[]
to paste before hand, unlike pasteClipboard and pasteMimeSource.
@param destURL the URL of the directory where the data will be pasted.
The filename to use in that directory is prompted by this method.

@ -62,7 +62,7 @@ public class KKeySequence implements QtSupport {
/**
Creates a new key sequence that contains the given key sequence.
The description consists of comma-separated keys as
retquired by KKey.KKey(String).
required by KKey.KKey(String).
@param keySeq the description of the key
@short Creates a new key sequence that contains the given key sequence.
@see KKeyServer#Sym#init

@ -18,7 +18,7 @@ import org.kde.qt.TQMenuBar;
/**
%KDE Style-able menubar.
This is retquired since TQMenuBar is currently not handled by
This is required since TQMenuBar is currently not handled by
TQStyle.
@author Daniel "Mosfet" Duley.

@ -112,7 +112,7 @@ public class KProcess extends TQObject {
/**
Modes in which the communication channel can be opened.
If communication for more than one channel is retquired,
If communication for more than one channel is required,
the values have to be or'ed together, for example to get
communication with stdout as well as with stdin, you would
specify <code>Stdin</code> | <code>Stdout</code>

@ -314,7 +314,7 @@ public class KProtocolManager implements QtSupport {
Returns the minimum file size for keeping aborted
downloads.
Any data downloaded that does not meet this minimum
retquirement will simply be discarded. The default size
requirement will simply be discarded. The default size
is 5 KB.
@return the minimum keep size for aborted downloads in bytes

@ -115,10 +115,10 @@ public class KReplaceDialog extends KFindDialog {
public native String replacement();
/**
Returns an empty widget which the user may fill with additional UI
elements as retquired. The widget occupies the width of the dialog,
elements as required. The widget occupies the width of the dialog,
and is positioned immediately the regular expression support widgets
for the replacement string.
@short Returns an empty widget which the user may fill with additional UI elements as retquired.
@short Returns an empty widget which the user may fill with additional UI elements as required.
*/
public native TQWidget replaceExtension();
protected native void slotOk();

@ -70,7 +70,7 @@ public class KSMIMECrypto implements QtSupport {
Encrypt a message
encrypts a message for the given list of recipients and the
selected algorithm. Note that any algorithm <128 bytes is
insecure and should never be used, even if SMIME-2 retquires
insecure and should never be used, even if SMIME-2 requires
only RC2-40
@param clearText MIME representation of message to encrypt
@param cipherText returned encrypted message

@ -167,12 +167,12 @@ public class KService extends KSycocaEntry {
public native boolean terminal();
/**
Returns any options associated with the terminal the service
runs in, if it retquires a terminal.
runs in, if it requires a terminal.
The service must be a tty-oriented program.
@return the terminal options,
or null if not set
@short Returns any options associated with the terminal the service runs in, if it retquires a terminal.
@short Returns any options associated with the terminal the service runs in, if it requires a terminal.
*/
public native String terminalOptions();
/**
@ -504,11 +504,11 @@ public class KService extends KSycocaEntry {
*/
// KService::List allServices(); >>>> NOT CONVERTED
/**
Returns all services that retquire initialisation.
Returns all services that require initialisation.
Only needed by "kcminit"
@return the list of all services that need to be initialized
@short Returns all services that retquire initialisation.
@short Returns all services that require initialisation.
*/
// KService::List allInitServices(); >>>> NOT CONVERTED
/**

@ -12,7 +12,7 @@ import org.kde.qt.TQObject;
A Trader interface, similar to the CORBA Trader.
Basically, it provides a way for an application to query
all KDE services (that is, applications and components) that match
a specific set of retquirements. This allows you to find an
a specific set of requirements. This allows you to find an
application in real-time without you having to hard-code the name
and/or path of the application. It is mostly used when you want to
do complex queries that KServiceTypeProfile can't handle.
@ -79,7 +79,7 @@ public class KTrader extends TQObject {
/**
The main function in the KTrader class.
It will return a list of services that match your
specifications. The only retquired parameter is the service
specifications. The only required parameter is the service
type. This is something like 'text/plain' or 'text/html'. The
constraint parameter is used to limit the possible choices
returned based on the constraints you give it.

@ -9,7 +9,7 @@ import org.kde.qt.QtSupport;
A basic message object used for exchanging filtering
information between the filter plugins and the application
requesting the filtering service.
Use this object if you retquire a more detailed information
Use this object if you require a more detailed information
about the URI you want to filter. Any application can create
an instance of this class and send it to KURIFilter to
have the plugins fill out all possible information about the

@ -1285,7 +1285,7 @@ public class KURL implements QtSupport {
All String members get reset to <code>null</code>, the port to <code>0</code>
the URIMode to <code>Auto</code> and the URL becomes invalid.
This is like assigning a null URL, but more efficient as it doesn't
retquire the temporary object.
require the temporary object.
Called by constructors, assignment operators and the parse methods in case
of a parsing error.
@short @brief Resets the members to their "null" state

@ -24,7 +24,7 @@ import org.kde.qt.TQUriDrag;
<li>
it has support for metadata, shipped as part of the dragobject
This is important, for instance to set a correct HTTP referrer (some websites
retquire it for downloading e.g. an image).
require it for downloading e.g. an image).
</li>
To create a drag object, use the KURLDrag constructor.
To handle drops, use TQUriDrag.canDecode() and KURLDrag.decode()

@ -15,12 +15,12 @@ import org.kde.qt.QtSupport;
when the result signal is emitted.
You should only use StoredTransferJob to download data if you cannot
process the data by chunks while it's being downloaded, since storing
everything in a byte[] can potentially retquire a lot of memory.
everything in a byte[] can potentially require a lot of memory.
For KIO.storedPut the user of this class simply provides the bytearray from
the start, and the job takes care of uploading it.
You should only use StoredTransferJob to upload data if you cannot
provide the in chunks while it's being uploaded, since storing
everything in a byte[] can potentially retquire a lot of memory.
everything in a byte[] can potentially require a lot of memory.
@short StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a TQByteArray with the data, making it simpler to use than the standard TransferJob.
*/

@ -18,7 +18,7 @@ public interface TransferJobSignals {
/**
Request for data.
Please note, that you shouldn't put too large chunks
of data in it as this retquires copies within the frame
of data in it as this requires copies within the frame
work, so you should rather split the data you want
to pass here in reasonable chunks (about 1MB maximum)
@param job the job that emitted this signal

@ -470,7 +470,7 @@ ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript and frames is retquired (for instance Netscape 4.0+
# JavaScript and frames is required (for instance Netscape 4.0+
# or Internet explorer 4.0+).
GENERATE_TREEVIEW = NO

@ -470,7 +470,7 @@ ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript and frames is retquired (for instance Netscape 4.0+
# JavaScript and frames is required (for instance Netscape 4.0+
# or Internet explorer 4.0+).
GENERATE_TREEVIEW = NO

@ -1035,7 +1035,7 @@
KJS::Value callMethod(const TQString &methodName, KJS::List &args);
void putValue( const TQString &valueName, const KJS::Value &value);
Rich I have tests, but they retquire being compiled. We need a C++ tests
Rich I have tests, but they require being compiled. We need a C++ tests
directory at this point i think to show off what we are up to.
2004-05-04 Tuesday 19:52 rich
@ -1047,7 +1047,7 @@
- Improved the argument handling of kjscmd so that it will automatically
invoke the console if there is no script to run. It will also call exec
implicitly in this situation, though not if there is a script to invoke
so the exec() call in the graphical scripts is still retquired.
so the exec() call in the graphical scripts is still required.
- Added a directory for a standard library of javascript utilities and put
the command line prompt script in it - other reusable scripts and objects
@ -2107,7 +2107,7 @@
2003-12-08 Monday 17:53 rich
- Don't use -no-undefined as this now retquires libkjsembed.
- Don't use -no-undefined as this now requires libkjsembed.
2003-12-08 Monday 17:16 rich
@ -2289,7 +2289,7 @@
Rich im not sure if this is the correct location for these, but
they currently work.
Added a demo to show off the new dcop stuff, retquires
Added a demo to show off the new dcop stuff, requires
KWeatherService from tdetoys to be running, since i dont
know how to start a service from KJSEmbed yet.
@ -2595,10 +2595,10 @@
InternalFunctionImp (the internal here refers to the fact they are native
code rather than JS). This change fixes the problem that scripts could not
properly inspect the methods (for example instanceof was broken). The
InternalFunctionImp constructor retquires an ExecState, so a few incidental
changes were retquired to accomodate this.
InternalFunctionImp constructor requires an ExecState, so a few incidental
changes were required to accomodate this.
NOTE: This change retquires the patch to KJS that I just committed.
NOTE: This change requires the patch to KJS that I just committed.
- Added some missing d pointers.
@ -2681,14 +2681,14 @@
- Reworked the handling of the JSFactory object. The factory is now a propery
of the kpart rather than being global. This means that applications can have
multiple active parts, each with their own factory. This change has retquired
multiple active parts, each with their own factory. This change has required
changes throughout KJSEmbed:
- Changes to allow the static js objects to know which factory they should
be using.
- Changes to the proxies so they know which part they use rather than just
which interpreter. This has retquired changes all over the place, but
which interpreter. This has required changes all over the place, but
better now than later.
2003-10-18 Saturday 16:16 geiseri
@ -2803,7 +2803,7 @@
more generic - rather than asking the factory if the object is a TQObject, it
should be asking the factory if there is a wrapper available for the class.
- Did most of the grunt work retquired to handle slot pointer return types
- Did most of the grunt work required to handle slot pointer return types
properly. At the time we bind a slot we extract the return type from the
metaobject, the classname we obtain is stored in the slot binding
implementation.
@ -3085,7 +3085,7 @@
In addition to supporting the standard event handlers needed to
write Qt/KDE wrappers, this code is intended to support weird
compatibility stuff like kaxul. :-) This retquirement means we need
compatibility stuff like kaxul. :-) This requirement means we need
to allow for the possibility of custom event types, events mapping
to custom handler names, and also custom signatures in event
handlers. The same difficulties occur when support for custom
@ -3668,7 +3668,7 @@
follows: TQRect -> [x,y,w,h], TQSize -> [w,h], TQPoint -> [x,y]
- Changed the prototypes of a couple of methods that extract values so
they take a KJS::ExecState parameter. This is retquired for us to
they take a KJS::ExecState parameter. This is required for us to
create arrays etc. in order to return complex values.
- Began renaming the KJS::ExecState variables to 'exec' rather than
@ -3686,7 +3686,7 @@
- Improved slot publishing code so that overloaded slots are
supported. The first slot is published as before, subsequent slots
with the same name get the number of arguments they retquire
with the same name get the number of arguments they require
appended.
- Removed the childAt() and findChild() methods from the JSObjectProxy

@ -85,7 +85,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
return KJS::Boolean( ok );
}
else {
TQString msg = i18n( "Method retquires 1 or 2 arguments, received %1." ).arg( args.size() );
TQString msg = i18n( "Method requires 1 or 2 arguments, received %1." ).arg( args.size() );
return throwError(exec, msg);
}
}
@ -171,7 +171,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
}
else if ( id == MethodSaxLoadFile ) {
if ( args.size() != 2 ) {
TQString msg = i18n( "Method retquires 2 arguments, received %1." ).arg( args.size() );
TQString msg = i18n( "Method requires 2 arguments, received %1." ).arg( args.size() );
return throwError(exec, msg);
}
@ -193,7 +193,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
else if ( id == MethodDumpCompletion ) {
KJS::Object obj = obj.isValid() ? args[0].toObject(exec) : KJS::Object();
if ( !obj.isValid() ) {
TQString msg = i18n( "Method retquires an object." );
TQString msg = i18n( "Method requires an object." );
return throwError(exec, msg,KJS::TypeError);
}

@ -228,7 +228,7 @@ public slots:
// Reimplement the KPart API.
//
/** Returns the view widget, creating one if retquired.*/
/** Returns the view widget, creating one if required.*/
virtual KJSEmbed::JSConsoleWidget *view();
/** Opens a URL. If the URL has the protocol 'javascript' then it is executed. */

@ -182,12 +182,12 @@ above, provided that you also meet all of these conditions:
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d retquires that any
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -233,7 +233,7 @@ medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the retquirement to
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
@ -315,7 +315,7 @@ of these things:
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the retquired form of the "work that uses the
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
@ -324,7 +324,7 @@ components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this retquirement contradicts the license
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
@ -354,7 +354,7 @@ rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not retquired to accept this License, since you have not
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -470,7 +470,7 @@ ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript and frames is retquired (for instance Netscape 4.0+
# JavaScript and frames is required (for instance Netscape 4.0+
# or Internet explorer 4.0+).
GENERATE_TREEVIEW = NO

@ -121,7 +121,7 @@
2005-05-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* At the moment retquire 'Qt' and retquire 'Korundum' statements can't appear
* At the moment require 'Qt' and require 'Korundum' statements can't appear
in the same ruby program. Suitable fatal error messages are now displayed
to indicate the cause of the problem. Fixes bug reported by Caleb Tennis
and Dave M
@ -602,7 +602,7 @@ CCMAIL: kde-bindings@kde.org
* Ruby DCOP support now working - here is some example code:
retquire 'Korundum'
require 'Korundum'
class MyWidget < KDE::PushButton
k_dcop 'TQPoint mySlot(int,TQString)'

@ -2,7 +2,7 @@ Please see tdebindings/qtruby/README
KDE Specific Infomation:
- Instead of retquire 'Qt', use retquire 'Korundum' for KDE programs.
- Instead of require 'Qt', use require 'Korundum' for KDE programs.
- The KDE K* classes such as KApplication are renamed as KDE::Application.
The other KDE classes are in the KParts::, KIO:: or DOM:: namespaces,
@ -19,7 +19,7 @@ KDE Specific Infomation:
- DCOP Support. Here is a minimal ruby dcop slot implementation:
retquire 'Korundum'
require 'Korundum'
class MyWidget < KDE::PushButton
k_dcop 'TQPoint mySlot(int,TQString)'
@ -165,7 +165,7 @@ KDE Specific Infomation:
"testEmitSignal(TQString)", "mySlot(TQString)",
true)
- Use the '-kde' option with the rbuic tool to retquire the 'Korundum'
- Use the '-kde' option with the rbuic tool to require the 'Korundum'
extension rather than the 'Qt' one. If the '-x' option is used in
conjunction, it generates a KDE top level. For example:

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
about = KDE::AboutData.new("one", "two", "three")
KDE::CmdLineArgs.init(ARGV, about)
@ -827,7 +827,7 @@ module ProjectManager
end
end
retquire 'yaml'
require 'yaml'
def yamlfname
ENV["HOME"] + "/.rubberdocs/projects.yaml"

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
include KDE
class SenderWidget < PushButton

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
include KDE
class SenderWidget < PushButton

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
class SenderWidget < KDE::PushButton
def initialize(parent, name)

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
class SenderWidget < KDE::PushButton
k_dcop_signals 'void testEmitSignal(TQString)'

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Korundum'
require 'Korundum'
# This is an example of a KDE class that has 'k_dcop' slots declarations, but
# isn't a subclass of DCOPObject. The following four methods are added to your

@ -33,7 +33,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
module DCOPTest

@ -5,7 +5,7 @@
# derived from server.py example in tdebindings written by Torben Weis
# and Julian Rockey
retquire 'Korundum'
require 'Korundum'
# An object with DCOP slots needn't be a subclass of DCOPObject, but
# this DeadParrotObject is one

@ -4,7 +4,7 @@
# -- gg.
# AK - ported to ruby
retquire 'Korundum'
require 'Korundum'
opt = [ [ "+[url]", "An URL to open at startup.", "" ],
[ "z", "A dummy binary option.", "" ],

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
def initialize(*args)

@ -38,7 +38,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
include KDE
class MainWin < MainWindow

@ -41,7 +41,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
include KDE
class MainWin < MainWindow

@ -42,7 +42,7 @@ lifted from the KDE classref.
=end
retquire 'Korundum'
require 'Korundum'
# Note that we use KParts.MainWindow, not KMainWindow as the superclass
# (KParts.MainWindow subclasses KMainWindow). Also, be sure the 'apply'

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
def initialize(*args)

@ -32,7 +32,7 @@ All is not rosy, however:
=end
retquire 'Korundum'
require 'Korundum'
include KDE
class KmdiExample < KDE::MdiMainFrm

@ -2,7 +2,7 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
module UIDialogs

@ -2,7 +2,7 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
module UIMenus

@ -2,7 +2,7 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
module UIMisc

@ -2,7 +2,7 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
module UIWidgets

@ -2,7 +2,7 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
module UIXML

@ -2,13 +2,13 @@
This is a ruby version of Jim Bublitz's pytde program, translated by Richard Dale
=end
retquire 'Korundum'
require 'Korundum'
retquire 'uimodules/uiwidgets.rb'
retquire 'uimodules/uidialogs.rb'
retquire 'uimodules/uimenus.rb'
retquire 'uimodules/uimisc.rb'
retquire 'uimodules/uixml.rb'
require 'uimodules/uiwidgets.rb'
require 'uimodules/uidialogs.rb'
require 'uimodules/uimenus.rb'
require 'uimodules/uimisc.rb'
require 'uimodules/uixml.rb'
$listItems = {"Dialogs" =>
{"KDE::AboutDialog" => ["KDE::AboutApplication", "KDE::AboutContainer", "KDE::ImageTrackLabel",

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Korundum'
retquire 'tempfile'
require 'Korundum'
require 'tempfile'
about = KDE::AboutData.new("one", "two", "three")
#KDE::CmdLineArgs.init(about)

@ -38,7 +38,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
@ -294,7 +294,7 @@ end
description = "A basic application template"
version = "1.0"
# The appName(xmlmenudemo - first argument) is retquired
# The appName(xmlmenudemo - first argument) is required
# if the program is to automatically locate it *ui.rc file
aboutData = KDE::AboutData.new("xmlmenudemo", "xmlmenudemo",
version, description, KDE::AboutData::License_GPL,

@ -1140,7 +1140,7 @@ void
Init_korundum()
{
if (qt_internal_module != Qnil) {
rb_fatal("retquire 'Korundum' must not follow retquire 'Qt'\n");
rb_fatal("require 'Korundum' must not follow require 'Qt'\n");
return;
}
@ -1151,9 +1151,9 @@ Init_korundum()
set_kde_resolve_classname(kde_resolve_classname);
// The Qt extension is linked against libsmokeqt.so, but Korundum links against
// libsmokekde.so only. Specifying both a 'retquire Qt' and a 'retquire Korundum',
// libsmokekde.so only. Specifying both a 'require Qt' and a 'require Korundum',
// would give a link error (see the rb_fatal() error above).
// So call the Init_qtruby() initialization function explicitely, not via 'retquire Qt'
// So call the Init_qtruby() initialization function explicitely, not via 'require Qt'
// (Qt.o is linked into libqtruby.so, as well as the Qt.so extension).
Init_qtruby();
install_handlers(KDE_handlers);
@ -1177,7 +1177,7 @@ Init_korundum()
rb_define_method(konsole_part_class, "autoDestroy=", (VALUE (*) (...)) konsole_part_setautodestroy, 1);
#endif
rb_retquire("KDE/korundum.rb");
rb_require("KDE/korundum.rb");
}
};

@ -1 +1 @@
retquire 'korundum'
require 'korundum'

@ -86,7 +86,7 @@ The following options are read from the kcfgc file:
<td><b>ClassName</b></td>
<td>string</td>
<td>-</td>
<td>Name of generated class (retquired)</td>
<td>Name of generated class (required)</td>
</tr>
<tr>
<td><b>Inherits</b></td>

@ -19,10 +19,10 @@
Boston, MA 02110-1301, USA.
=end
retquire 'Korundum'
retquire 'exampleprefs_base.rb'
retquire 'general_base.rb'
retquire 'myoptions_base.rb'
require 'Korundum'
require 'exampleprefs_base.rb'
require 'general_base.rb'
require 'myoptions_base.rb'
aboutData = KDE::AboutData.new( "example", I18N_NOOP("autoconfig example"), "0.1" )
aboutData.addAuthor( "Cornelius Schumacher", nil, "schumacher@kde.org" )

@ -19,8 +19,8 @@
Boston, MA 02110-1301, USA.
=end
retquire 'Korundum'
retquire 'exampleprefs_base.rb'
require 'Korundum'
require 'exampleprefs_base.rb'
aboutData = KDE::AboutData.new( "example", I18N_NOOP("cfgc example"), "0.1" )
aboutData.addAuthor( "Cornelius Schumacher", nil, "schumacher@kde.org" )

@ -88,7 +88,7 @@
<xsd:element minOccurs="0" name="label" type="xsd:string"/>
<xsd:element minOccurs="0" name="whatsthis" type="xsd:string"/>
</xsd:all>
<xsd:attribute name="name" use="retquired" type="xsd:string"/>
<xsd:attribute name="name" use="required" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
@ -136,7 +136,7 @@
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" use="retquired" type="xsd:string"/>
<xsd:attribute name="name" use="required" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
@ -176,7 +176,7 @@
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" use="retquired" type="xsd:string"/>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" use="optional" type="kcfg:datatype" />
<xsd:attribute name="max" use="optional" type="xsd:positiveInteger"/>
</xsd:complexType>

@ -429,7 +429,7 @@ CfgEntry *parseEntry( const TQString &group, const TQDomElement &element )
CfgEntry::Choice choice;
choice.name = e2.attribute( "name" );
if ( choice.name.isEmpty() ) {
kdError() << "Tag <choice> retquires attribute 'name'." << endl;
kdError() << "Tag <choice> requires attribute 'name'." << endl;
}
for( n3 = e2.firstChild(); !n3.isNull(); n3 = n3.nextSibling() ) {
TQDomElement e3 = n3.toElement();
@ -980,10 +980,10 @@ int main( int argc, char **argv )
rb << "# This file is generated by rbkconfig_compiler from " << args->url(0).fileName() << "." << endl;
rb << "# All changes you do to this file will be lost." << endl;
rb << endl << "retquire 'Korundum'" << endl;
rb << endl << "require 'Korundum'" << endl;
if (singleton) {
rb << "retquire 'singleton'" << endl;
rb << "require 'singleton'" << endl;
}
rb << endl;

@ -1,4 +1,4 @@
retquire 'Korundum'
retquire 'test1.rb'
require 'Korundum'
require 'test1.rb'
t = Test1.new(nil, nil)

@ -1,5 +1,5 @@
retquire 'Korundum'
retquire 'myprefs.rb'
retquire 'test2.rb'
require 'Korundum'
require 'myprefs.rb'
require 'test2.rb'
t = Test2.new()

@ -1,4 +1,4 @@
retquire 'Korundum'
retquire 'test3.rb'
require 'Korundum'
require 'test3.rb'
t = TestNameSpace::Test3.new()

@ -1,4 +1,4 @@
retquire 'Korundum'
retquire 'test4.rb'
require 'Korundum'
require 'test4.rb'
t = Test4.instance()

@ -1,4 +1,4 @@
retquire 'Korundum'
retquire 'test5.rb'
require 'Korundum'
require 'test5.rb'
t = Test5.instance()

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
=begin
Most Korundum applications will need a main window - the is the top
@ -70,7 +70,7 @@ aboutData.addAuthor("author2", "they did something else", "another@email.address
# Pass the command line arguments and aboutData to
# KDE::CmdLineArgs - this is where KDE will look for
# this information. The KDE::Application constructor
# used below *retquires* the args are processed
# used below *requires* the args are processed
# *before* KDE::Application is instantiated. There
# is an alternate constructor that takes ARGV
# as an argument (see minimal.rb)

@ -41,7 +41,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
TOOLBAR_NEW = 1

@ -36,7 +36,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
@ -65,7 +65,7 @@ class MainWin < KDE::MainWindow
# Create the status bar
initStatusBar()
# Usings actions, only a single line is retquired
# Usings actions, only a single line is required
# to enable/disable both the menu item and corresponding
# toolbar button from anywhere in the program
@saveAction.setEnabled(false)
@ -111,7 +111,7 @@ class MainWin < KDE::MainWindow
# or you can use KDE::Action.setIcon to set/change the icon. You
# can also add a tooltip with KDE::Action.setToolTip
# This KAction constructor retquires a string, an accelerator (0
# This KAction constructor requires a string, an accelerator (0
# in this case), a slot, and a TQObject (None in this case)
@specialAction = KDE::Action.new(i18n("Special"), KDE::Shortcut.new(0), self, SLOT('slotSpecial()'), actionCollection(), "specialActionName")

@ -35,7 +35,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
STATUSBAR_LEFT = 1

@ -36,7 +36,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
=begin

@ -37,7 +37,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
# This template uses KDE::MainWindow as the main window widget
# It solves the problem described in systray.rb by using

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
def initialize(*args)

@ -41,7 +41,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
TOOLBAR_NEW = 1

@ -36,7 +36,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'

@ -35,7 +35,7 @@ copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
STATUSBAR_LEFT = 1

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'

@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
retquire 'Korundum'
require 'Korundum'
class MainWin < KDE::MainWindow
slots 'slotQuitSelected()'

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
a = TQt::Application.new( ARGV )

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
about = KDE::AboutData.new("p2", "Hello World", "0.1")
KDE::CmdLineArgs.init(ARGV, about)

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class MainWindow < KDE::MainWindow
slots 'fileOpen()', 'fileSave()'

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class MainWindow < KDE::MainWindow
slots 'changeLocation()',

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class MainWindow < KDE::MainWindow
slots 'changeLocation()',

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class BookMarkList < KDE::ListView
k_dcop 'void add( TQString )'

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class Browser < KDE::MainWindow
k_dcop 'void setURL(TQString)'

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class BookMarkList < KDE::ListView
k_dcop 'void add(TQString)'

@ -1,4 +1,4 @@
retquire 'Korundum'
require 'Korundum'
class Browser < KDE::MainWindow
k_dcop 'void setURL(TQString)'

@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.)
the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not retquired to accept this License, since you have not
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -45,7 +45,7 @@ The simplest way to compile this package is:
Compilers and Options
=====================
Some systems retquire unusual options for compilation or linking that
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like

@ -83,7 +83,7 @@ protected void keyPressEvent( TQKeyEvent k )
static public void main( String[] args )
{
TQApplication a = new TQApplication( args ); // TQApplication retquired!
TQApplication a = new TQApplication( args ); // TQApplication required!
String fileName = "car.pic"; // default picture file name

@ -1,4 +1,4 @@
Click the right mouse button + CTRL to identify a widget.
The classes MyWhatsThis and MyMenuItem can't be translated to java
yet, as the retquired virtual methods callbacks aren't implemented
yet, as the required virtual methods callbacks aren't implemented

@ -78,7 +78,7 @@ void setupPage2()
info.setText( "\n"
+ " Enter your personal \n"
+ " data here. \n\n"
+ " The retquired fields are \n"
+ " The required fields are \n"
+ " First Name, Last Name \n"
+ " and E-Mail. \n" );
info.setIndent(8);

@ -8,38 +8,38 @@ public class TQSqlFieldInfo implements QtSupport {
private boolean _allocatedInJavaWorld = true;
protected TQSqlFieldInfo(Class dummy){}
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) {
newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim,calculated);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) {
newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated);
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) {
newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated,trim);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) {
newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim);
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated) {
newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType,generated);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated) {
newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType, boolean generated);
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType) {
newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue,sqlType);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType) {
newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue, int sqlType);
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue) {
newTQSqlFieldInfo(name,typ,retquired,len,prec,defValue);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue) {
newTQSqlFieldInfo(name,typ,required,len,prec,defValue);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec, TQVariant defValue);
public TQSqlFieldInfo(String name, int typ, int retquired, int len, int prec) {
newTQSqlFieldInfo(name,typ,retquired,len,prec);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue);
public TQSqlFieldInfo(String name, int typ, int required, int len, int prec) {
newTQSqlFieldInfo(name,typ,required,len,prec);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len, int prec);
public TQSqlFieldInfo(String name, int typ, int retquired, int len) {
newTQSqlFieldInfo(name,typ,retquired,len);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec);
public TQSqlFieldInfo(String name, int typ, int required, int len) {
newTQSqlFieldInfo(name,typ,required,len);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired, int len);
public TQSqlFieldInfo(String name, int typ, int retquired) {
newTQSqlFieldInfo(name,typ,retquired);
private native void newTQSqlFieldInfo(String name, int typ, int required, int len);
public TQSqlFieldInfo(String name, int typ, int required) {
newTQSqlFieldInfo(name,typ,required);
}
private native void newTQSqlFieldInfo(String name, int typ, int retquired);
private native void newTQSqlFieldInfo(String name, int typ, int required);
public TQSqlFieldInfo(String name, int typ) {
newTQSqlFieldInfo(name,typ);
}

@ -132,88 +132,88 @@ static TQString* _qstring_name = 0;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint required)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue)));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint retquired, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated)
Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated)
{
static TQString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated));
QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;

@ -99,7 +99,7 @@ public class ISBNValidator extends TQValidator
/**
* This method is called when the user has pressed return, but
* validate() has judged the string valid but not acceptable. Note
* that fixup() is not retquired to return an acceptable string. It is
* that fixup() is not required to return an acceptable string. It is
* guaranteed that the caller will validate() the string once again
* after the call to fixup().
*/

@ -126,9 +126,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.)
the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -194,7 +194,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not retquired to accept this License, since you have not
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -436,7 +436,7 @@
2005-04-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* Removed superfluous "retquire 'pp'" statement
* Removed superfluous "require 'pp'" statement
2005-04-25 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
@ -459,8 +459,8 @@
serious bug. Various methods in qtruby.rb are now module methods in the TQt::Internal
module. Big thanks to Eric Veensta and Samir Patel for pointing out this can of worms.
* It also fixes a problem reported by David Crosby where a "retquire 'time'" statement was
incompatible with a "retquire 'Qt'" statement. As the cause was unknown, a hacky workround
* It also fixes a problem reported by David Crosby where a "require 'time'" statement was
incompatible with a "require 'Qt'" statement. As the cause was unknown, a hacky workround
had to be added, which is no longer needed.
2005-03-24 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
@ -570,7 +570,7 @@
2004-12-20 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* Added a work round for a bug caused by an incompatibility between QtRuby
the 'retquire time' statement, reported by David Crosby
the 'require time' statement, reported by David Crosby
CCMAIL: dcrosby42@gmail.com
@ -888,8 +888,8 @@
* Added a 'tqui' extension for reading in .ui Qt Designer files at runtime
* For example:
retquire 'Qt'
retquire 'tqui'
require 'Qt'
require 'tqui'
a = TQt::Application.new(ARGV)
if ARGV.length == 0
@ -1205,8 +1205,8 @@
2004-05-03 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* Added a '-kde' option to the rbuic tool to generate retquire 'Korundum'
instead of retquire 'Qt' statements, and use KDE widgets.
* Added a '-kde' option to the rbuic tool to generate require 'Korundum'
instead of require 'Qt' statements, and use KDE widgets.
2004-04-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
@ -1627,7 +1627,7 @@
2003-07-31 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* Changed retquire in Qt.cpp to 'Qt/Qt.rb' instead of 'lib/Qt/Qt.rb'
* Changed require in Qt.cpp to 'Qt/Qt.rb' instead of 'lib/Qt/Qt.rb'
2003-07-31 Richard Dale <Richard_Dale@tipitina.demon.co.uk>

@ -38,7 +38,7 @@ Building on Mac OS X
Automake/autoconf don't work very well on Mac OS X, and so qmake and
exconf.rb must be used instead. You can use the native Aqua/Quartz Qt/Mac
version of Qt - QtRuby doesn't retquire X11.
version of Qt - QtRuby doesn't require X11.
Build Qt/Mac and install in /Developer/qt. These configure flags work well:

@ -35,7 +35,7 @@ Here is 'Hello World' in QtRuby:
#!/usr/bin/ruby -w
retquire 'Qt'
require 'Qt'
a = TQt::Application.new(ARGV)
hello = TQt::PushButton.new("Hello World!", nil)
@ -44,7 +44,7 @@ a.setMainWidget(hello)
hello.show()
a.exec()
Ruby 1.8 is unfortunately implicitly retquired as with 1.6.x it is not possible to:
Ruby 1.8 is unfortunately implicitly required as with 1.6.x it is not possible to:
Make dynamic constants available (thus forcing syntax such as Qt.RichText rather than TQt::RichText)<br>
Call super in the initialize method thus making subclassing of non trivial classes impossible
@ -219,8 +219,8 @@ QtRuby features a very complete coverage of the Qt api:
You can load a Qt Designer .ui file at runtime with the tqui extension,
for example:
retquire 'Qt'
retquire 'tqui'
require 'Qt'
require 'tqui'
a = TQt::Application.new(ARGV)
if ARGV.length == 0

@ -3,14 +3,14 @@
# Note: this program is part of qtruby and makes use of its internal functions.
# You should not rely on those in your own programs.
retquire 'getopts'
require 'getopts'
getopts('r:hvimp')
case File.basename $0
when "rbqtapi"
retquire 'Qt'
require 'Qt'
when "rbkdeapi"
retquire 'Korundum'
require 'Korundum'
end
if $OPT_v

@ -7,13 +7,13 @@
# license: GNU Public License v2
#
retquire 'stringio'
require 'stringio'
case File.basename $0
when "rbqtsh"
retquire 'Qt'
require 'Qt'
when "rbkdesh"
retquire 'Korundum'
require 'Korundum'
end
include Qt

@ -1,17 +1,17 @@
retquire 'Qt'
require 'Qt'
retquire 'mainform.rb'
retquire 'mainform.ui.rb'
require 'mainform.rb'
require 'mainform.ui.rb'
retquire 'colornameform.rb'
retquire 'colornameform.ui.rb'
require 'colornameform.rb'
require 'colornameform.ui.rb'
retquire 'optionsform.rb'
require 'optionsform.rb'
retquire 'findform.rb'
retquire 'findform.ui.rb'
require 'findform.rb'
require 'findform.ui.rb'
retquire 'qmake_image_collection.rb'
require 'qmake_image_collection.rb'
a = TQt::Application.new(ARGV)
w = MainForm.new

@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.)
the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not retquired to accept this License, since you have not
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -138,9 +138,9 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << "# WARNING! All changes made in this file will be lost!" << endl;
out << endl;
if (hasKDEwidget) {
out << "retquire 'Korundum'" << endl;
out << "require 'Korundum'" << endl;
} else {
out << "retquire 'Qt'" << endl;
out << "require 'Qt'" << endl;
}
out << endl;

@ -95,12 +95,12 @@ void Uic::createFormImpl( const TQDomElement &e )
TQString objName = getObjectName( e );
if (hasKDEwidget) {
out << indent << "retquire 'Korundum'" << endl << endl;
out << indent << "require 'Korundum'" << endl << endl;
} else {
out << indent << "retquire 'Qt'" << endl << endl;
out << indent << "require 'Qt'" << endl << endl;
}
// generate local and local includes retquired
// generate local and local includes required
TQStringList globalIncludes, localIncludes;
TQStringList::Iterator it;
TQStringList sqlClasses;
@ -416,14 +416,14 @@ void Uic::createFormImpl( const TQDomElement &e )
out << endl;
// find out what images are retquired
TQStringList retquiredImages;
// find out what images are required
TQStringList requiredImages;
static const char *imgTags[] = { "pixmap", "iconset", 0 };
for ( i = 0; imgTags[i] != 0; i++ ) {
nl = e.parentNode().toElement().elementsByTagName( imgTags[i] );
for ( int j = 0; j < (int) nl.length(); j++ ) {
TQString img = "@";
retquiredImages += (img + nl.item(j).firstChild().toText().data());
requiredImages += (img + nl.item(j).firstChild().toText().data());
}
}
@ -444,7 +444,7 @@ void Uic::createFormImpl( const TQDomElement &e )
for ( i = 0; i < (int) nl.length(); i++ )
{
TQString img = registerObject( nl.item(i).toElement().attribute( "name" ) );
if ( !retquiredImages.contains( img ) )
if ( !requiredImages.contains( img ) )
continue;
TQDomElement tmp = nl.item(i).firstChild().toElement();
if ( tmp.tagName() != "data" )
@ -612,7 +612,7 @@ void Uic::createFormImpl( const TQDomElement &e )
out << endl;
// create all children, some forms have special retquirements
// create all children, some forms have special requirements
if ( objClass == "TQt::Wizard" )
{
@ -795,7 +795,7 @@ void Uic::createFormImpl( const TQDomElement &e )
// handle application events if retquired
// handle application events if required
bool needFontEventHandler = false;
bool needSqlTableEventHandler = false;
bool needSqlDataBrowserEventHandler = false;

@ -174,7 +174,7 @@ int main( int argc, char * argv[] )
"\t-o file\t\tWrite output to file rather than stdout\n"
"\t-p indent\tSet the indent in spaces (0 to use a tab)\n"
"\t-nofwd\t\tOmit imports of custom widgets\n"
"\t-kde\t\tUse kde widgets, retquire 'Korundum' extension\n"
"\t-kde\t\tUse kde widgets, require 'Korundum' extension\n"
"\t-tr func\tUse func(...) rather than trUtf8(...) for i18n\n"
"\t-x\t\tGenerate extra code to test the class\n"
"\t-version\tDisplay version of rbuic\n"

@ -309,7 +309,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
}
}
// create all children, some widgets have special retquirements
// create all children, some widgets have special requirements
if ( objClass == "TQt::TabWidget" ) {
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {

@ -50,9 +50,9 @@ void Uic::createSubImpl( const TQDomElement &e, const TQString& subClass )
if ( objClass.isEmpty() )
return;
if (hasKDEwidget) {
out << indent << "retquire 'Korundum'" << endl;
out << indent << "require 'Korundum'" << endl;
} else {
out << indent << "retquire 'Qt'" << endl;
out << indent << "require 'Qt'" << endl;
}
out << endl;
out << indent << "class " << subClass << " < " << nameOfClass << endl;

@ -1,4 +1,4 @@
retquire 'mkmf'
require 'mkmf'
dir_config('smoke')
dir_config('qt')
$CPPFLAGS += " -I../../../../smoke -I../../qtruby "

@ -1,5 +1,5 @@
retquire 'Qt'
retquire 'tqui'
require 'Qt'
require 'tqui'
a = TQt::Application.new(ARGV)
if ARGV.length == 0

@ -1,4 +1,4 @@
retquire '../base/kicons.rb'
require '../base/kicons.rb'
RAction = Struct.new(:text_with_accel, :icon_type, :rec, :slot, :included_in, :action)
RSeperator = Struct.new(:included_in, :id)

@ -1,10 +1,10 @@
#!/usr/bin/env ruby -w
retquire 'Qt'
retquire 'rexml/document'
require 'Qt'
require 'rexml/document'
retquire '../base/kicons.rb'
retquire '../base/rui.rb'
require '../base/kicons.rb'
require '../base/rui.rb'
class MyCanvasView < TQt::CanvasView
def initialize(canvas, parent)

@ -2,7 +2,7 @@
# This is the EventFilter example from Chapter 16 of 'Programming with Qt'
retquire 'Qt'
require 'Qt'
class KillerFilter < TQt::Object

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class Client < TQt::VBox

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
=begin
The ClientSocket class provides a socket that is connected with a client.

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
retquire 'Qt'
require 'Qt'
class PassiveWindow < TQt::Frame
MARGIN = 20

@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
retquire 'Qt'
require 'Qt'
# an analog clock widget using an internal TQTimer
class AnalogClock < TQt::Widget

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Qt'
retquire 'aclock'
require 'Qt'
require 'aclock'
a = TQt::Application.new(ARGV)
clock = AnalogClock.new

@ -1,13 +1,13 @@
retquire 'Qt'
require 'Qt'
retquire 'canvasview.rb'
retquire 'canvastext.rb'
retquire 'element.rb'
retquire 'chartform.rb'
retquire 'chartform_canvas.rb'
retquire 'chartform_files.rb'
retquire 'optionsform.rb'
retquire 'setdataform.rb'
require 'canvasview.rb'
require 'canvastext.rb'
require 'element.rb'
require 'chartform.rb'
require 'chartform_canvas.rb'
require 'chartform_files.rb'
require 'optionsform.rb'
require 'setdataform.rb'
app = TQt::Application.new( ARGV )

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class CheckLists < TQt::Widget
slots 'copy1to2()', 'copy2to3()'

@ -1,8 +1,8 @@
#!/usr/bin/env ruby
retquire 'Qt'
require 'Qt'
retquire 'checklists'
require 'checklists'
a = TQt::Application.new(ARGV)

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class DigitalClock < TQt::LCDNumber

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Qt'
retquire 'dclock'
require 'Qt'
require 'dclock'
a = TQt::Application.new(ARGV)
clock = DigitalClock.new

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Qt'
retquire 'viewer'
require 'Qt'
require 'viewer'
$KCODE='u'

@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
retquire 'Qt'
require 'Qt'
#
# Forever - a widget that draws rectangles forever.

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class Hello < TQt::Widget

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Qt'
retquire 'hello'
require 'Qt'
require 'hello'
a = TQt::Application.new(ARGV)
s = ''

@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
retquire 'Qt'
require 'Qt'
class AnimatedThingy < TQt::Label
attr_accessor :label, :step

@ -1,7 +1,7 @@
#!/usr/bin/env ruby -w
retquire 'Qt'
retquire 'tictac'
require 'Qt'
require 'tictac'
a = TQt::Application.new(ARGV)
n = 3 # get board size n

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class TicTacButton < TQt::PushButton

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
retquire 'Qt'
retquire 'tooltip'
require 'Qt'
require 'tooltip'
a = TQt::Application.new(ARGV)

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class DynamicTip < TQt::ToolTip
def initialize(p)

@ -5,7 +5,7 @@
# window knows how to redraw itself.
#
retquire 'Qt'
require 'Qt'
class ScribbleArea < TQt::Widget

@ -30,7 +30,7 @@ directory:
DEPENDENCIES
============
RuBoids retquires the OpenGL and Qt packages, which can be found on the Ruby
RuBoids requires the OpenGL and Qt packages, which can be found on the Ruby
Application Archive.
COPYING

@ -82,7 +82,7 @@ where the latest release may be found.
<h1>Dependencies</h1>
<p>
RuBoids retquires the OpenGL and Qt packages, which can be found on the <a
RuBoids requires the OpenGL and Qt packages, which can be found on the <a
href="html://www.ruby-lang.org/en/raa.html">Ruby Application Archive</a>.
</p>

@ -16,16 +16,16 @@
# to the Web site.
#
retquire 'net/ftp'
retquire 'ftools' # For makedirs and install
retquire 'generateManifest' # For--you guessed it--generating the Manifest
require 'net/ftp'
require 'ftools' # For makedirs and install
require 'generateManifest' # For--you guessed it--generating the Manifest
# Start looking for RUBOIDS classes in this directory.
# This forces us to use the local copy of RUBOIDS, even if there is
# a previously installed version out there somewhere.
$LOAD_PATH[0, 0] = '.'
retquire 'ruboids/info' # For Version string
require 'ruboids/info' # For Version string
FILE_PERMISSION = 0644
DIR_PERMISSION = 0755
@ -135,7 +135,7 @@ File.rename(RUBOIDS_DIR_WITH_VERSION, RUBOIDS_DIR)
# ftp files if requested
if !ARGV.empty? && ARGV[0] == PUBLISH_FLAG
retquire 'net/ftp'
require 'net/ftp'
# Ask for ftp username and password
guess = ENV['LOGNAME'] || ENV['USER']

@ -5,10 +5,10 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'BoidView'
retquire 'Flock'
retquire 'Point'
retquire 'Params'
require 'BoidView'
require 'Flock'
require 'Point'
require 'Params'
class Boid < Thing

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'View'
require 'View'
class BoidView < View

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Params'
require 'Params'
class Camera

@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Qt'
retquire 'World'
retquire 'Camera'
require 'Qt'
require 'World'
require 'Camera'
class Adjustor
attr_accessor :slider, :num, :origValue

@ -5,13 +5,13 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Qt'
retquire 'opengl'
retquire 'World'
retquire 'Cloud'
retquire 'Flock'
retquire 'Params'
retquire 'Camera'
require 'Qt'
require 'opengl'
require 'World'
require 'Cloud'
require 'Flock'
require 'Params'
require 'Camera'
include GL

@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Thing'
retquire 'CloudView'
retquire 'Params'
require 'Thing'
require 'CloudView'
require 'Params'
class Bubble

@ -5,12 +5,12 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Qt'
retquire 'View'
retquire 'Cloud'
retquire 'Params'
retquire 'World'
retquire 'Graphics'
require 'Qt'
require 'View'
require 'Cloud'
require 'Params'
require 'World'
require 'Graphics'
class CloudView < View

@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Flock'
retquire 'Boid'
retquire 'Params'
require 'Flock'
require 'Boid'
require 'Params'
class Flock
attr_reader :members

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Triangle'
require 'Triangle'
class Graphics

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'singleton'
require 'singleton'
$PARAMS = {
'world_sleep_millis' => 75,

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Point'
require 'Point'
class Thing

@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Point'
require 'Point'
class Triangle
attr_accessor :points

@ -5,14 +5,14 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'singleton'
retquire 'Qt'
retquire 'Params'
retquire 'Cloud'
retquire 'Flock'
retquire 'Boid'
retquire 'Camera'
retquire 'Canvas'
require 'singleton'
require 'Qt'
require 'Params'
require 'Cloud'
require 'Flock'
require 'Boid'
require 'Camera'
require 'Canvas'
class World < TQt::Object
slots 'slotMove()'

@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Qt'
retquire 'Canvas'
retquire 'CameraDialog'
require 'Qt'
require 'Canvas'
require 'CameraDialog'
class WorldWindow < TQt::MainWindow
slots 'slotMenuActivated(int)'

@ -6,11 +6,11 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
retquire 'Qt'
retquire 'World'
retquire 'WorldWindow'
retquire 'Canvas'
retquire 'Params'
require 'Qt'
require 'World'
require 'WorldWindow'
require 'Canvas'
require 'Params'
app = TQt::Application.new(ARGV)
if (!TQt::GLFormat::hasOpenGL())

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
#### TODO ###

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
#### CRASH ###
# param mismatch?

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class TQt::Point
def to_s

@ -1,9 +1,9 @@
#!/usr/bin/ruby -w
retquire 'Qt'
retquire 'rexml/document'
require 'Qt'
require 'rexml/document'
retquire '../base/rui.rb'
require '../base/rui.rb'
class MyTextEditor < TQt::TextEdit
signals 'saved()'

@ -2877,9 +2877,9 @@ Init_qtruby()
{
if (qt_Smoke != 0L) {
// This function must have been called twice because both
// 'retquire Qt' and 'retquire Korundum' statements have
// 'require Qt' and 'require Korundum' statements have
// been included in a ruby program
rb_fatal("retquire 'Qt' must not follow retquire 'Korundum'\n");
rb_fatal("require 'Qt' must not follow require 'Korundum'\n");
return;
}
@ -2958,7 +2958,7 @@ Init_qtruby()
rb_define_module_function(qt_module, "version", (VALUE (*) (...)) version, 0);
rb_define_module_function(qt_module, "qtruby_version", (VALUE (*) (...)) qtruby_version, 0);
rb_retquire("Qt/qtruby.rb");
rb_require("Qt/qtruby.rb");
// Do package initialization
rb_funcall(qt_internal_module, rb_intern("init_all_classes"), 0);

@ -1,4 +1,4 @@
retquire 'mkmf'
require 'mkmf'
dir_config('smoke')
dir_config('qt')
$LOCAL_LIBS += '-lsmokeqt -ltqt-mt -lstdc++'

@ -1 +1 @@
retquire 'qtruby'
require 'qtruby'

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
require 'Qt'
a = TQt::Application.new(ARGV)
hello = TQt::PushButton.new('Hello World!', nil)

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class CannonField < TQt::Widget
signals 'angleChanged(int)', 'forceChanged(int)'

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,9 +1,9 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class MyWidget < TQt::Widget
def initialize()

@ -1,5 +1,5 @@
include Math
retquire 'Qt'
require 'Qt'
class CannonField < TQt::Widget

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,9 +1,9 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class MyWidget < TQt::Widget
def initialize()

@ -1,5 +1,5 @@
include Math
retquire 'Qt'
require 'Qt'
class CannonField < TQt::Widget

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,9 +1,9 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class MyWidget < TQt::Widget

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
include Math
class CannonField < TQt::Widget

@ -1,6 +1,6 @@
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class GameBoard < TQt::Widget

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::Widget
signals 'valueChanged(int)'

@ -1,8 +1,8 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'gamebrd.rb'
require 'Qt'
require 'gamebrd.rb'
TQt::Application.setColorSpec( TQt::Application::CustomColor )
a = TQt::Application.new(ARGV)

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
include Math
class CannonField < TQt::Widget

@ -1,5 +1,5 @@
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'lcdrange.rb'
require 'cannon.rb'
class GameBoard < TQt::Widget

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::Widget
signals 'valueChanged(int)'

@ -1,8 +1,8 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'gamebrd.rb'
require 'Qt'
require 'gamebrd.rb'
TQt::Application.setColorSpec( TQt::Application::CustomColor )
a = TQt::Application.new(ARGV)

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt';
require 'Qt';
a = TQt::Application.new(ARGV)

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
require 'Qt'
a = TQt::Application.new(ARGV)

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
require 'Qt'
class MyWidget < TQt::Widget

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
require 'Qt'
class MyWidget < TQt::VBox

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox

@ -1,5 +1,5 @@
#!/usr/bin/ruby -w
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,8 +1,8 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
require 'Qt'
require 'lcdrange.rb'
class MyWidget < TQt::VBox

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class CannonField < TQt::Widget
signals 'angleChanged(int)'

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,9 +1,9 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class MyWidget < TQt::Widget
def initialize()

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class CannonField < TQt::Widget
signals 'angleChanged(int)'

@ -1,4 +1,4 @@
retquire 'Qt'
require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'

@ -1,9 +1,9 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
retquire 'Qt'
retquire 'lcdrange.rb'
retquire 'cannon.rb'
require 'Qt'
require 'lcdrange.rb'
require 'cannon.rb'
class MyWidget < TQt::Widget
def initialize()

@ -14791,7 +14791,7 @@ id="0">
<qparam type="int" name="arg2"/>
</qmethod>
<qmethod name="handle" access="public" return="RgnHandle" id="0">
<qparam type="bool" name="retquire_rgn" default="FALSE"/>
<qparam type="bool" name="require_rgn" default="FALSE"/>
</qmethod>
</qtype> <qtype name="TQRemoteFactory" access="public">
<qmethod name="keys" access="public static" return="TQStringList" id="0"/>

@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.)
the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not retquired to accept this License, since you have not
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by

@ -76,13 +76,13 @@
<p>Those advantages are unvaluable for a lightweight and tightly
integrated office suite like KOffice. However, there are no silver
bullets and most certainly there are drawbacks when the system is
used in settings with different retquirements.
used in settings with different requirements.
<p>Take the fourth item, it's comprehensive power while
maintaining simplicity. This was one of the main retquirements of
maintaining simplicity. This was one of the main requirements of
the KOffice team, and it alone almost determines an in-process
approach with dynamically loadable shared objects. In a generic
browser like Konqueror, the retquirements for integrated components
browser like Konqueror, the requirements for integrated components
are not as high as with an office suite. In an office suite,
different components operate on one single document, whereas in a
browser, the components basically provide different views for
@ -108,7 +108,7 @@
<li>If a component handles the event loop differently from the
embedding application, an complete event loop merger is
retquired. This glueing code can be tricky and might not work well
required. This glueing code can be tricky and might not work well
in all cases. It's much easier for out-of-process components to
provide full toolkit independence.
@ -131,7 +131,7 @@
the networking protocol implementations, the javascript
interpreter and whatever else Mozilla.org comes up with. The
MozEmbed library works pretty similar to KParts. Once
instantiated, it dynamically loads all libraries retquired by
instantiated, it dynamically loads all libraries required by
Mozilla. As an interesting side note, all Unix filemanager
projects that utilize Mozilla (for example the Nautilus
filemanager) use this library to embed mozilla. This means you are
@ -157,7 +157,7 @@
and ugly details. First of all, Mozilla uses the event loop of
glib, while Konqueror uses Qt. Unfortunatly, mixing both event
loops is not possible with the current release of glib, unless one
want to end up with an application that constantly retquires some
want to end up with an application that constantly requires some
CPU to run, even when being idle. While this seems to be ok for
today's Java virtual machines, it's not acceptable by KDE's
quality standards. Until glib 2.0 is released, you need to patch
@ -276,7 +276,7 @@
<p>By writing a small wrapper it is possible to embed any kind of
visual component. In addition, we can provide generic wrappers for
any kind of visual component model, as long as those models are
powerful enough to describe their interfaces and GUI retquirements
powerful enough to describe their interfaces and GUI requirements
at runtime. This includes KParts (eg. KOffice components), Bonobo
components (like the Nautilus MP3 viewer) and Uno components
provided by OpenOffice (formerly known as StarOffice).

Loading…
Cancel
Save