rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libkipi@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 4927c6aa39
commit a2efd488a8

@ -673,7 +673,7 @@ KDStream& KDStream::operator<<( const TQPixmap& pixmap )
{
_output += TQString("TQPixmap[null=%1,width=%2,heigth=%3,depth=%4,hasMask=%5,hasAlpha=%6]")
.tqarg(pixmap.isNull()).tqarg(pixmap.width()).tqarg(pixmap.height())
.tqarg(pixmap.depth()).tqarg(pixmap.tqmask() != 0).tqarg(pixmap.hasAlpha() );
.tqarg(pixmap.depth()).tqarg(pixmap.mask() != 0).tqarg(pixmap.hasAlpha() );
return *this;
}

@ -72,8 +72,8 @@ namespace KIPI
class BatchProgressItem : public KListViewItem
{
public:
BatchProgressItem(KListView * tqparent, TQListViewItem *after, const TQString &message, int messageType)
: KListViewItem( tqparent, after), m_messagetype(messageType)
BatchProgressItem(KListView * parent, TQListViewItem *after, const TQString &message, int messageType)
: KListViewItem( parent, after), m_messagetype(messageType)
{
// Set the icon.
@ -135,8 +135,8 @@ struct BatchProgressDialog::Private {
/////////////////////////////////// CONSTRUCTOR ////////////////////////////////////////////
BatchProgressDialog::BatchProgressDialog( TQWidget *tqparent, const TQString &caption )
: KDialogBase( tqparent, "KIPIBatchProgressDialog", true /* modal */,
BatchProgressDialog::BatchProgressDialog( TQWidget *parent, const TQString &caption )
: KDialogBase( parent, "KIPIBatchProgressDialog", true /* modal */,
caption, Cancel)
{
d = new Private;

@ -57,7 +57,7 @@ Q_OBJECT
public:
BatchProgressDialog( TQWidget *tqparent=0, const TQString &caption=TQString() );
BatchProgressDialog( TQWidget *parent=0, const TQString &caption=TQString() );
~BatchProgressDialog();
void addedAction(const TQString &text, int type);

@ -53,8 +53,8 @@ class ImageCollectionItem : public TQCheckListItem
{
public:
ImageCollectionItem(ImageCollectionSelector* selector,
TQListView * tqparent, ImageCollection collection)
: TQCheckListItem( tqparent, collection.name(), TQCheckListItem::CheckBox),
TQListView * parent, ImageCollection collection)
: TQCheckListItem( parent, collection.name(), TQCheckListItem::CheckBox),
_imageCollection(collection), _selector(selector)
{}
@ -83,8 +83,8 @@ struct ImageCollectionSelector::Private {
};
ImageCollectionSelector::ImageCollectionSelector(TQWidget* tqparent, Interface* interface, const char* name)
: TQWidget(tqparent, name)
ImageCollectionSelector::ImageCollectionSelector(TQWidget* parent, Interface* interface, const char* name)
: TQWidget(parent, name)
{
d=new Private;
d->_interface=interface;

@ -50,7 +50,7 @@ Q_OBJECT
public:
ImageCollectionSelector(TQWidget* tqparent, Interface*, const char* name=0);
ImageCollectionSelector(TQWidget* parent, Interface*, const char* name=0);
~ImageCollectionSelector();
TQValueList<ImageCollection> selectedImageCollections() const;

@ -57,8 +57,8 @@ namespace KIPI
{
struct AlbumLVI : public KListViewItem {
AlbumLVI(KListView* tqparent, const KIPI::ImageCollection& album)
: KListViewItem(tqparent, album.name())
AlbumLVI(KListView* parent, const KIPI::ImageCollection& album)
: KListViewItem(parent, album.name())
, _album(album) {}
const KIPI::ImageCollection& _album;
@ -66,8 +66,8 @@ struct AlbumLVI : public KListViewItem {
struct ImageLVI : public KListViewItem {
ImageLVI(KListView* tqparent, const KURL& url)
: KListViewItem(tqparent, url.fileName()), _url(url) {}
ImageLVI(KListView* parent, const KURL& url)
: KListViewItem(parent, url.fileName()), _url(url) {}
KURL _url;
};
@ -85,10 +85,10 @@ struct ImageDialog::Private {
};
ImageDialog::ImageDialog(TQWidget* tqparent, KIPI::Interface* interface,
ImageDialog::ImageDialog(TQWidget* parent, KIPI::Interface* interface,
bool singleSelection)
: KDialogBase(KDialogBase::Plain, i18n("Select Image From Album"), Help|Ok|Cancel,
Ok, tqparent, "album-dialog", true, true)
Ok, parent, "album-dialog", true, true)
{
d = new Private;
d->_interface=interface;
@ -198,8 +198,8 @@ KURL::List ImageDialog::urls() const
return d->_urls;
}
KURL ImageDialog::getImageURL(TQWidget* tqparent, KIPI::Interface* interface) {
ImageDialog dlg(tqparent, interface, true);
KURL ImageDialog::getImageURL(TQWidget* parent, KIPI::Interface* interface) {
ImageDialog dlg(parent, interface, true);
if (dlg.exec() == TQDialog::Accepted) {
return dlg.url();
} else {
@ -207,9 +207,9 @@ KURL ImageDialog::getImageURL(TQWidget* tqparent, KIPI::Interface* interface) {
}
}
KURL::List ImageDialog::getImageURLs(TQWidget* tqparent, Interface* interface)
KURL::List ImageDialog::getImageURLs(TQWidget* parent, Interface* interface)
{
ImageDialog dlg(tqparent, interface, false);
ImageDialog dlg(parent, interface, false);
if (dlg.exec() == TQDialog::Accepted)
return dlg.urls();
else

@ -95,8 +95,8 @@
*/
KIPI::Interface::Interface(TQObject *tqparent, const char *name )
: TQObject(tqparent, name)
KIPI::Interface::Interface(TQObject *parent, const char *name )
: TQObject(parent, name)
{
}

@ -62,7 +62,7 @@ namespace KIPI
TQ_OBJECT
public:
Interface(TQObject *tqparent, const char *name=0);
Interface(TQObject *parent, const char *name=0);
virtual ~Interface();
virtual ImageCollection currentAlbum() = 0;

@ -48,7 +48,7 @@
application.
The origin of all your communication with the host application is
\ref KIPI::Interface. You obtain a pointer to this by casting the tqparent
\ref KIPI::Interface. You obtain a pointer to this by casting the parent
pointer given to your plugin during construction.
Selection of images can be obtained using

@ -43,8 +43,8 @@ struct KIPI::Plugin::Private {
};
KIPI::Plugin::Plugin( KInstance* instance, TQObject *tqparent, const char* name)
: TQObject( tqparent, name)
KIPI::Plugin::Plugin( KInstance* instance, TQObject *parent, const char* name)
: TQObject( parent, name)
{
d=new Private;
d->m_instance=instance;

@ -56,12 +56,12 @@ namespace KIPI
class LIBKIPI_EXPORT Plugin : public TQObject
{
public:
Plugin( KInstance* instance, TQObject *tqparent, const char* name);
Plugin( KInstance* instance, TQObject *parent, const char* name);
virtual ~Plugin();
virtual void setup( TQWidget* widget ) = 0;
KActionPtrList actions( TQWidget* tqparent = 0 );
KActionCollection* actionCollection( TQWidget* tqparent = 0 );
KActionPtrList actions( TQWidget* parent = 0 );
KActionCollection* actionCollection( TQWidget* parent = 0 );
virtual Category category( KAction* action ) const = 0;
protected:

@ -306,17 +306,17 @@ PluginLoader* PluginLoader::instance()
// ConfigWidget
//
//---------------------------------------------------------------------
ConfigWidget* PluginLoader::configWidget( TQWidget* tqparent )
ConfigWidget* PluginLoader::configWidget( TQWidget* parent )
{
return new ConfigWidget( tqparent );
return new ConfigWidget( parent );
}
class PluginCheckBox :public TQCheckBox
{
public:
PluginCheckBox( PluginLoader::Info* info, TQWidget* tqparent )
: TQCheckBox( info->comment(), tqparent ), info( info )
PluginCheckBox( PluginLoader::Info* info, TQWidget* parent )
: TQCheckBox( info->comment(), parent ), info( info )
{
setChecked( info->shouldLoad() );
}
@ -330,8 +330,8 @@ struct ConfigWidget::Private
};
ConfigWidget::ConfigWidget( TQWidget* tqparent )
:TQScrollView( tqparent, "KIPI::PluginLoader::ConfigWidget" )
ConfigWidget::ConfigWidget( TQWidget* parent )
:TQScrollView( parent, "KIPI::PluginLoader::ConfigWidget" )
{
d=new Private;
TQWidget* top = new TQWidget( viewport() );

@ -65,7 +65,7 @@ namespace KIPI
virtual ~PluginLoader();
void loadPlugins();
static PluginLoader* instance();
ConfigWidget* configWidget( TQWidget* tqparent );
ConfigWidget* configWidget( TQWidget* parent );
typedef TQValueList<Info*> PluginList;
@ -91,7 +91,7 @@ namespace KIPI
Q_OBJECT
TQ_OBJECT
public:
ConfigWidget( TQWidget* tqparent );
ConfigWidget( TQWidget* parent );
~ConfigWidget();
public slots:
void apply();

@ -61,8 +61,8 @@ struct KIPI::UploadWidget::Private
This widget is used to specify an upload directory for new images.
*/
KIPI::UploadWidget::UploadWidget( KIPI::Interface* interface, TQWidget* tqparent, const char* name )
: TQWidget( tqparent, name )
KIPI::UploadWidget::UploadWidget( KIPI::Interface* interface, TQWidget* parent, const char* name )
: TQWidget( parent, name )
{
d = new Private;

@ -48,7 +48,7 @@ namespace KIPI
TQ_OBJECT
public:
UploadWidget( KIPI::Interface* interface, TQWidget* tqparent, const char* name = 0 );
UploadWidget( KIPI::Interface* interface, TQWidget* parent, const char* name = 0 );
~UploadWidget();
KURL path() const;

Loading…
Cancel
Save