package QComboBox; use strict; use vars qw($VERSION @ISA @EXPORT); require Exporter; require DynaLoader; require QGlobal; require QPixmap; require QWidget; @ISA = qw(Exporter DynaLoader QWidget); @EXPORT = qw(%Policy); $VERSION = '0.01'; bootstrap QComboBox $VERSION; 1; __END__ =head1 NAME QComboBox - Interface to the Qt QComboBox class =head1 SYNOPSIS C Inherits QWidget. Requires QPixmap. =head2 Member functions new, autoResize, changeItem, count, currentItem, insertionPolicy, insertItem, insertStrList, maxCount, pixmap, removeItem, setAutoResize, setCurrentItem, setInsertionPolicy, setMaxCount, setSizeLimit, sizeLimit, text =head1 DESCRIPTION The only significant change is insertStrList(). For obvious reasons, this function cannot be directly converted to Perl because of it's list argument. Perl simplifies the matter greatly by allowing a simple argument-list change to C. Just set the C argument to -1 of you want it the items to be appended. =head1 EXPORTED The C<%Policy> hash is exported into the user's namespace. It contains all the constants that were referenced through QComboBox:: in C++. =head1 CAVEATS If there is sufficient demand, I'm more than willing to change the insertStrList() arguments to make index the last argument and defaulted to -1. This would break scripts, so be warned. =head1 AUTHOR Ashley Winters