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 14 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]") _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.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; return *this;
} }

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

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

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

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

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

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

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

@ -48,7 +48,7 @@
application. application.
The origin of all your communication with the host application is 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. pointer given to your plugin during construction.
Selection of images can be obtained using 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) KIPI::Plugin::Plugin( KInstance* instance, TQObject *parent, const char* name)
: TQObject( tqparent, name) : TQObject( parent, name)
{ {
d=new Private; d=new Private;
d->m_instance=instance; d->m_instance=instance;

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

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

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

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

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

Loading…
Cancel
Save