rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/kipi-plugins@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 94ec53c96c
commit ea3848d71d

@ -101,9 +101,9 @@ namespace KIPIAcquireImagesPlugin
#define NETACCESS_WIDGET
#endif
AcquireImageDialog::AcquireImageDialog( KIPI::Interface* interface, TQWidget *tqparent, const TQImage &img)
AcquireImageDialog::AcquireImageDialog( KIPI::Interface* interface, TQWidget *parent, const TQImage &img)
: KDialogBase( IconList, i18n("Save Target Image Options"), Help|Ok|Cancel,
Ok, tqparent, "AcquireImageDialog", true, false ), m_interface( interface )
Ok, parent, "AcquireImageDialog", true, false ), m_interface( interface )
{
KImageIO::registerFormats();
m_qimageScanned = img;

@ -68,7 +68,7 @@ class AcquireImageDialog : public KDialogBase
public:
AcquireImageDialog( KIPI::Interface* interface, TQWidget *tqparent=0, const TQImage &img=0);
AcquireImageDialog( KIPI::Interface* interface, TQWidget *parent=0, const TQImage &img=0);
~AcquireImageDialog();
private slots:

@ -52,8 +52,8 @@ typedef KGenericFactory<Plugin_AcquireImages> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_acquireimages,
Factory("kipiplugin_acquireimages"))
Plugin_AcquireImages::Plugin_AcquireImages(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "AcquireImages")
Plugin_AcquireImages::Plugin_AcquireImages(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "AcquireImages")
{
kdDebug( 51001 ) << "Plugin_AcquireImages plugin loaded" << endl;
}
@ -88,7 +88,7 @@ Plugin_AcquireImages::~Plugin_AcquireImages()
void Plugin_AcquireImages::slotActivate()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -144,7 +144,7 @@ void Plugin_AcquireImages::slotAcquireImageDone(const TQImage &img)
return;
}
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{

@ -40,7 +40,7 @@ class Plugin_AcquireImages : public KIPI::Plugin
public:
Plugin_AcquireImages(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_AcquireImages(TQObject *parent, const char* name, const TQStringList &args);
virtual ~Plugin_AcquireImages();
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* widget );

@ -67,8 +67,8 @@ extern "C"
namespace KIPIAcquireImagesPlugin
{
ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *tqparent, const char *name)
: KDialogBase(tqparent, name, false, i18n("Screenshot"),
ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent, const char *name)
: KDialogBase(parent, name, false, i18n("Screenshot"),
Help|User1|Close, Close, false, i18n("&New Snapshot")),
m_interface( interface )
{
@ -238,11 +238,11 @@ void ScreenGrabDialog::slotPerformGrab()
{
Window root;
Window child;
uint tqmask;
uint mask;
int rootX, rootY, winX, winY;
XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child,
&rootX, &rootY, &winX, &winY,
&tqmask);
&mask);
int x, y;
unsigned int w, h;

@ -68,7 +68,7 @@ class ScreenGrabDialog : public KDialogBase
public:
ScreenGrabDialog( KIPI::Interface* interface,
TQWidget *tqparent=0, const char *name=0);
TQWidget *parent=0, const char *name=0);
~ScreenGrabDialog();
private slots:

@ -97,9 +97,9 @@ namespace KIPIBatchProcessImagesPlugin
{
BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::Interface* interface,
TQString caption, TQWidget *tqparent )
TQString caption, TQWidget *parent )
: KDialogBase( KDialogBase::Plain, caption, Help|User1|Cancel,
Cancel, tqparent, "BatchProcessImagesDialog", false, false, i18n("&Start")),
Cancel, parent, "BatchProcessImagesDialog", false, false, i18n("&Start")),
m_selectedImageFiles( urlList), m_interface( interface )
{
// Init. Tmp folder

@ -83,7 +83,7 @@ Q_OBJECT
// Don't forget to add the 'm_Type' and 'm_labelType' implementation in the constructor of
// tqchildren dialog class.
BatchProcessImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQString caption, TQWidget *tqparent=0 );
BatchProcessImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQString caption, TQWidget *parent=0 );
~BatchProcessImagesDialog();
protected slots:

@ -36,9 +36,9 @@
namespace KIPIBatchProcessImagesPlugin
{
BatchProcessImagesItem::BatchProcessImagesItem(TQListView * tqparent, TQString const & pathSrc,
BatchProcessImagesItem::BatchProcessImagesItem(TQListView * parent, TQString const & pathSrc,
TQString const & nameSrc, TQString const & nameDest, TQString const & result)
: KListViewItem( tqparent, "", nameSrc, nameDest, result),
: KListViewItem( parent, "", nameSrc, nameDest, result),
_pathSrc(pathSrc), _nameSrc(nameSrc), _nameDest(nameDest), _result(result),
_overwrote( false ),
_reverseSort( false )

@ -42,7 +42,7 @@ class BatchProcessImagesItem : public KListViewItem
{
public:
BatchProcessImagesItem(TQListView * tqparent, TQString const & pathSrc, TQString const & nameSrc,
BatchProcessImagesItem(TQListView * parent, TQString const & pathSrc, TQString const & nameSrc,
TQString const & nameDest, TQString const & result);
~BatchProcessImagesItem();

@ -41,8 +41,8 @@
namespace KIPIBatchProcessImagesPlugin
{
BatchProcessImagesList::BatchProcessImagesList(TQWidget *tqparent, const char *name)
: KListView(tqparent, name)
BatchProcessImagesList::BatchProcessImagesList(TQWidget *parent, const char *name)
: KListView(parent, name)
{
setAcceptDrops(true);
setDropVisualizer(false);

@ -40,7 +40,7 @@ Q_OBJECT
TQ_OBJECT
public:
BatchProcessImagesList(TQWidget *tqparent=0, const char *name=0);
BatchProcessImagesList(TQWidget *parent=0, const char *name=0);
signals:
void addedDropItems(TQStringList filesPath);

@ -55,8 +55,8 @@
namespace KIPIBatchProcessImagesPlugin
{
BorderImagesDialog::BorderImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch-Bordering Images"), tqparent )
BorderImagesDialog::BorderImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch-Bordering Images"), parent )
{
// About data and help button.

@ -40,7 +40,7 @@ Q_OBJECT
public:
BorderImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
BorderImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~BorderImagesDialog();
private slots:

@ -47,8 +47,8 @@
namespace KIPIBatchProcessImagesPlugin
{
BorderOptionsDialog::BorderOptionsDialog(TQWidget *tqparent, int BorderType)
: KDialogBase( tqparent, "BorderOptionsDialog", true,
BorderOptionsDialog::BorderOptionsDialog(TQWidget *parent, int BorderType)
: KDialogBase( parent, "BorderOptionsDialog", true,
i18n("Border Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -39,7 +39,7 @@ Q_OBJECT
TQ_OBJECT
public:
BorderOptionsDialog(TQWidget *tqparent=0, int BorderType = 0);
BorderOptionsDialog(TQWidget *parent=0, int BorderType = 0);
~BorderOptionsDialog();
KIntNumInput *m_solidBorderWidth;

@ -54,8 +54,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ColorImagesDialog::ColorImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image-Color Processing"), tqparent )
ColorImagesDialog::ColorImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image-Color Processing"), parent )
{
// About data and help button.

@ -41,7 +41,7 @@ Q_OBJECT
public:
ColorImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
ColorImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~ColorImagesDialog();
private slots:

@ -47,8 +47,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ColorOptionsDialog::ColorOptionsDialog(TQWidget *tqparent, int ColorType)
: KDialogBase( tqparent, "ColorOptionsDialog", true,
ColorOptionsDialog::ColorOptionsDialog(TQWidget *parent, int ColorType)
: KDialogBase( parent, "ColorOptionsDialog", true,
i18n("Color Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
ColorOptionsDialog(TQWidget *tqparent=0, int ColorType = 0);
ColorOptionsDialog(TQWidget *parent=0, int ColorType = 0);
~ColorOptionsDialog();
TQComboBox *m_depthValue;

@ -60,8 +60,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ConvertImagesDialog::ConvertImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Convert Images"), tqparent )
ConvertImagesDialog::ConvertImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Convert Images"), parent )
{
// About data and help button.

@ -41,7 +41,7 @@ Q_OBJECT
public:
ConvertImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
ConvertImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~ConvertImagesDialog();
private slots:

@ -45,8 +45,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ConvertOptionsDialog::ConvertOptionsDialog(TQWidget *tqparent, int ImageFormatType)
: KDialogBase( tqparent, "ConvertOptionsDialog", true,
ConvertOptionsDialog::ConvertOptionsDialog(TQWidget *parent, int ImageFormatType)
: KDialogBase( parent, "ConvertOptionsDialog", true,
i18n("Image File Format Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -46,7 +46,7 @@ Q_OBJECT
TQ_OBJECT
public:
ConvertOptionsDialog(TQWidget *tqparent=0, int ImageFormatType = 0);
ConvertOptionsDialog(TQWidget *parent=0, int ImageFormatType = 0);
~ConvertOptionsDialog();
TQLabel *m_label_imageCompression;

@ -54,8 +54,8 @@
namespace KIPIBatchProcessImagesPlugin
{
EffectImagesDialog::EffectImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image Effects"), tqparent )
EffectImagesDialog::EffectImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image Effects"), parent )
{
// About data and help button.

@ -40,7 +40,7 @@ Q_OBJECT
public:
EffectImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
EffectImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~EffectImagesDialog();
private slots:

@ -46,8 +46,8 @@
namespace KIPIBatchProcessImagesPlugin
{
EffectOptionsDialog::EffectOptionsDialog(TQWidget *tqparent, int EffectType)
: KDialogBase( tqparent, "EffectOptionsDialog", true,
EffectOptionsDialog::EffectOptionsDialog(TQWidget *parent, int EffectType)
: KDialogBase( parent, "EffectOptionsDialog", true,
i18n("Effect Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -42,7 +42,7 @@ Q_OBJECT
TQ_OBJECT
public:
EffectOptionsDialog(TQWidget *tqparent=0, int EffectType = 0);
EffectOptionsDialog(TQWidget *parent=0, int EffectType = 0);
~EffectOptionsDialog();
KIntNumInput *m_latWidth;

@ -54,8 +54,8 @@
namespace KIPIBatchProcessImagesPlugin
{
FilterImagesDialog::FilterImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image Filtering"), tqparent )
FilterImagesDialog::FilterImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Image Filtering"), parent )
{
// About data and help button.
@ -105,7 +105,7 @@ FilterImagesDialog::FilterImagesDialog( KURL::List urlList, KIPI::Interface* int
"<b>Median</b>: apply a median filter to an image.<p>"
"<b>Noise reduction</b>: reduce noise in an image. <p>"
"<b>Sharpen</b>: sharpen the image with a Gaussian operator.<p>"
"<b>Unsharp</b>: sharpen the image with an unsharp tqmask operator.<p>");
"<b>Unsharp</b>: sharpen the image with an unsharp mask operator.<p>");
TQWhatsThis::add( m_Type, whatsThis );

@ -40,7 +40,7 @@ Q_OBJECT
public:
FilterImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
FilterImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~FilterImagesDialog();
private slots:

@ -46,8 +46,8 @@
namespace KIPIBatchProcessImagesPlugin
{
FilterOptionsDialog::FilterOptionsDialog(TQWidget *tqparent, int FilterType)
: KDialogBase( tqparent, "FilterOptionsDialog", true,
FilterOptionsDialog::FilterOptionsDialog(TQWidget *parent, int FilterType)
: KDialogBase( parent, "FilterOptionsDialog", true,
i18n("Filter Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
FilterOptionsDialog(TQWidget *tqparent=0, int FilterType = 0);
FilterOptionsDialog(TQWidget *parent=0, int FilterType = 0);
~FilterOptionsDialog();
TQComboBox *m_noiseType;

@ -79,8 +79,8 @@ int INIT_ZOOM_FACTOR;
ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, const TQString &tmpPath,
bool cropActionOrig, bool cropActionDest, const TQString &EffectName,
const TQString &FileName, TQWidget *tqparent)
: KDialogBase( tqparent, "PreviewDialog", true, i18n("Batch Process Preview (%1 - %2)").tqarg(EffectName)
const TQString &FileName, TQWidget *parent)
: KDialogBase( parent, "PreviewDialog", true, i18n("Batch Process Preview (%1 - %2)").tqarg(EffectName)
.tqarg(FileName), Help|Ok, Ok, true)
{
// About data and help button.
@ -194,8 +194,8 @@ void ImagePreview::slotZoomFactorValueChanged( int ZoomFactorValue )
m_previewDest->resizeImage( ZoomFactorValue * 5 );
}
PixmapView::PixmapView(bool cropAction, TQWidget *tqparent, const char *name)
: TQScrollView(tqparent, name)
PixmapView::PixmapView(bool cropAction, TQWidget *parent, const char *name)
: TQScrollView(parent, name)
{
m_cropAction = cropAction;
m_pix = NULL;

@ -57,7 +57,7 @@ Q_OBJECT
public:
PixmapView(bool cropAction, TQWidget *tqparent=0, const char *name=0);
PixmapView(bool cropAction, TQWidget *parent=0, const char *name=0);
~PixmapView();
void setImage(const TQString &ImagePath, const TQString &tmpPath);
@ -113,7 +113,7 @@ public:
ImagePreview(const TQString &fileOrig, const TQString &fileDest, const TQString &tmpPath,
bool cropActionOrig, bool cropActionDest, const TQString &EffectName,
const TQString &FileName, TQWidget *tqparent=0);
const TQString &FileName, TQWidget *parent=0);
~ImagePreview();
private slots:

@ -46,8 +46,8 @@
namespace KIPIBatchProcessImagesPlugin
{
OutputDialog::OutputDialog(TQWidget* tqparent, TQString caption, TQString Messages, TQString Header )
: KDialogBase( tqparent, "OutputDialog", true, caption, Help|User1|Ok, Ok, false,
OutputDialog::OutputDialog(TQWidget* parent, TQString caption, TQString Messages, TQString Header )
: KDialogBase( parent, "OutputDialog", true, caption, Help|User1|Ok, Ok, false,
i18n("Copy to Clip&board"))
{
// About data and help button.

@ -48,7 +48,7 @@ Q_OBJECT
public:
OutputDialog( TQWidget* tqparent=0, TQString caption=TQString(),
OutputDialog( TQWidget* parent=0, TQString caption=TQString(),
TQString Messages=TQString(), TQString Header=TQString() );
~OutputDialog();

@ -69,8 +69,8 @@ typedef KGenericFactory<Plugin_BatchProcessImages> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_batchprocessimages,
Factory("kipiplugin_batchprocessimages"))
Plugin_BatchProcessImages::Plugin_BatchProcessImages(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "BatchProcessImages")
Plugin_BatchProcessImages::Plugin_BatchProcessImages(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "BatchProcessImages")
{
kdDebug( 51001 ) << "Plugin_BatchProcessImages plugin loaded" << endl;
@ -153,7 +153,7 @@ void Plugin_BatchProcessImages::setup( TQWidget* widget )
addAction( m_action_recompressimages );
addAction( m_action_resizeimages );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !interface )
{
@ -204,7 +204,7 @@ Plugin_BatchProcessImages::~Plugin_BatchProcessImages()
void Plugin_BatchProcessImages::slotActivate()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{

@ -48,7 +48,7 @@ Q_OBJECT
TQ_OBJECT
public:
Plugin_BatchProcessImages(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_BatchProcessImages(TQObject *parent, const char* name, const TQStringList &args);
virtual ~Plugin_BatchProcessImages();
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* );

@ -53,8 +53,8 @@
namespace KIPIBatchProcessImagesPlugin
{
RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Recompress Images"), tqparent )
RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Recompress Images"), parent )
{
// About data and help button.

@ -40,7 +40,7 @@ Q_OBJECT
public:
RecompressImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
RecompressImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~RecompressImagesDialog();
private slots:

@ -45,8 +45,8 @@
namespace KIPIBatchProcessImagesPlugin
{
RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *tqparent)
: KDialogBase( tqparent, "RecompressOptionsDialog", true,
RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent)
: KDialogBase( parent, "RecompressOptionsDialog", true,
i18n("Recompression Options"), Ok|Cancel, Ok, false)
{
TQWidget* box = new TQWidget( this );

@ -46,7 +46,7 @@ Q_OBJECT
TQ_OBJECT
public:
RecompressOptionsDialog(TQWidget *tqparent=0);
RecompressOptionsDialog(TQWidget *parent=0);
~RecompressOptionsDialog();
TQLabel *m_label_JPEGimageCompression;

@ -46,9 +46,9 @@ namespace KIPIBatchProcessImagesPlugin
RenameImagesDialog::RenameImagesDialog(const KURL::List& images,
KIPI::Interface* interface,
TQWidget* tqparent)
TQWidget* parent)
: KDialogBase( KDialogBase::Plain, "Rename Images", Help|User1|Close,
Close, tqparent, "RenameImages",
Close, parent, "RenameImages",
false, false, i18n("&Start"))
{
// About data and help button.

@ -52,7 +52,7 @@ public:
RenameImagesDialog(const KURL::List& images,
KIPI::Interface* interface,
TQWidget* tqparent);
TQWidget* parent);
~RenameImagesDialog();
private:

@ -75,10 +75,10 @@ extern "C"
namespace KIPIBatchProcessImagesPlugin
{
RenameImagesWidget::RenameImagesWidget(TQWidget *tqparent,
RenameImagesWidget::RenameImagesWidget(TQWidget *parent,
KIPI::Interface* interface,
const KURL::List& urlList)
: RenameImagesBase(tqparent),
: RenameImagesBase(parent),
m_interface(interface),
m_urlList(urlList)
{

@ -60,7 +60,7 @@ public:
BYDATE
};
RenameImagesWidget(TQWidget *tqparent, KIPI::Interface* interface,
RenameImagesWidget(TQWidget *parent, KIPI::Interface* interface,
const KURL::List& urlList);
~RenameImagesWidget();

@ -55,8 +55,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ResizeImagesDialog::ResizeImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Resize Images"), tqparent )
ResizeImagesDialog::ResizeImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *parent )
: BatchProcessImagesDialog( urlList, interface, i18n("Batch Resize Images"), parent )
{
// About data and help button.

@ -40,7 +40,7 @@ Q_OBJECT
public:
ResizeImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *tqparent=0 );
ResizeImagesDialog( KURL::List images, KIPI::Interface* interface, TQWidget *parent=0 );
~ResizeImagesDialog();
private slots:

@ -48,8 +48,8 @@
namespace KIPIBatchProcessImagesPlugin
{
ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *tqparent, int ResizeType)
: KDialogBase( tqparent, "ResizeOptionsDialog", true,
ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType)
: KDialogBase( parent, "ResizeOptionsDialog", true,
i18n("Image-Resize Options"), Ok|Cancel, Ok, false)
{
m_Type = ResizeType;

@ -48,7 +48,7 @@ Q_OBJECT
public:
ResizeOptionsDialog(TQWidget *tqparent=0, int ResizeType = 0);
ResizeOptionsDialog(TQWidget *parent=0, int ResizeType = 0);
~ResizeOptionsDialog();
TQLabel *m_label_size;

@ -32,8 +32,8 @@
namespace KIPICalendarPlugin {
CalEvents::CalEvents(TQWidget *tqparent, const char *name)
: CalEventsBase(tqparent, name)
CalEvents::CalEvents(TQWidget *parent, const char *name)
: CalEventsBase(parent, name)
{
KIconLoader * icons = new KIconLoader( TQString( "MenuDlg" ) );
ohBtn->setPixmap( icons->loadIcon( TQString( "fileopen" ), KIcon::Toolbar ) );

@ -37,7 +37,7 @@ class CalEvents : public CalEventsBase
Q_OBJECT
TQ_OBJECT
public:
CalEvents(TQWidget *tqparent = 0, const char *name = 0);
CalEvents(TQWidget *parent = 0, const char *name = 0);
~CalEvents();

@ -299,9 +299,9 @@ void CalPainter::paint(bool useDeviceMetrics)
delete painter;
}
CalBlockPainter::CalBlockPainter(TQObject *tqparent, int year, int month,
CalBlockPainter::CalBlockPainter(TQObject *parent, int year, int month,
const KURL& imagePath, int angle, CalFormatter *formatter, TQPainter *painter)
: TQObject(tqparent), painter_(painter)
: TQObject(parent), painter_(painter)
{
int width = 0;
int height = 0;

@ -69,7 +69,7 @@ class CalBlockPainter : public TQObject
public:
CalBlockPainter(TQObject *tqparent, int year, int month,
CalBlockPainter(TQObject *parent, int year, int month,
const KURL& imagePath, int angle, CalFormatter* formatter, TQPainter *painter);
~CalBlockPainter();

@ -47,8 +47,8 @@
namespace KIPICalendarPlugin
{
CalSelect::CalSelect(KIPI::Interface* interface, TQWidget *tqparent, const char* name)
: TQWidget(tqparent, name)
CalSelect::CalSelect(KIPI::Interface* interface, TQWidget *parent, const char* name)
: TQWidget(parent, name)
{
mwVector_ = new TQPtrVector<MonthWidget>(MAX_MONTHS);
monthBoxLayout_ = NULL;

@ -45,7 +45,7 @@ class CalSelect : public TQWidget
public:
CalSelect( KIPI::Interface* interface, TQWidget *tqparent, const char* name=0);
CalSelect( KIPI::Interface* interface, TQWidget *parent, const char* name=0);
~CalSelect();
private:

@ -54,8 +54,8 @@
namespace KIPICalendarPlugin
{
CalTemplate::CalTemplate(TQWidget* tqparent, const char* name)
: TQWidget(tqparent, name)
CalTemplate::CalTemplate(TQWidget* parent, const char* name)
: TQWidget(parent, name)
{
TQGridLayout *mainLayout = new TQGridLayout(this, 1, 1, 5, 5);

@ -48,7 +48,7 @@ class CalTemplate : public TQWidget
public:
CalTemplate(TQWidget* tqparent, const char* name=0);
CalTemplate(TQWidget* parent, const char* name=0);
~CalTemplate();
private:

@ -45,8 +45,8 @@
namespace KIPICalendarPlugin
{
CalWidget::CalWidget(TQWidget *tqparent)
: TQWidget(tqparent,0,TQt::WRepaintNoErase|TQt::WResizeNoErase)
CalWidget::CalWidget(TQWidget *parent)
: TQWidget(parent,0,TQt::WRepaintNoErase|TQt::WResizeNoErase)
{
tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
calPainter_ = 0;

@ -38,7 +38,7 @@ class CalWidget : public TQWidget
{
public:
CalWidget(TQWidget *tqparent);
CalWidget(TQWidget *parent);
~CalWidget();
void recreate();

@ -68,8 +68,8 @@
namespace KIPICalendarPlugin
{
CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *tqparent )
: KWizard(tqparent, 0, false, TQt::WDestructiveClose),
CalWizard::CalWizard( KIPI::Interface* interface, TQWidget *parent )
: KWizard(parent, 0, false, TQt::WDestructiveClose),
interface_( interface )
{
cSettings_ = new CalSettings();

@ -64,7 +64,7 @@ class CalWizard : public KWizard
public:
CalWizard( KIPI::Interface* interface, TQWidget *tqparent=0L );
CalWizard( KIPI::Interface* interface, TQWidget *parent=0L );
~CalWizard();
private:

@ -59,8 +59,8 @@
namespace KIPICalendarPlugin
{
MonthWidget::MonthWidget( KIPI::Interface* interface, TQWidget *tqparent, int month)
: TQFrame(tqparent), interface_( interface )
MonthWidget::MonthWidget( KIPI::Interface* interface, TQWidget *parent, int month)
: TQFrame(parent), interface_( interface )
{
setAcceptDrops(true);
month_ = month;

@ -49,7 +49,7 @@ class MonthWidget : public TQFrame
public:
MonthWidget( KIPI::Interface* interface, TQWidget *tqparent, int month);
MonthWidget( KIPI::Interface* interface, TQWidget *parent, int month);
~MonthWidget();
KURL imagePath();

@ -45,10 +45,10 @@ typedef KGenericFactory<Plugin_Calendar> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_calendar,
Factory("kipiplugin_calendar"))
Plugin_Calendar::Plugin_Calendar(TQObject *tqparent,
Plugin_Calendar::Plugin_Calendar(TQObject *parent,
const char*,
const TQStringList &)
: KIPI::Plugin(Factory::instance(), tqparent, "Calendar")
: KIPI::Plugin(Factory::instance(), parent, "Calendar")
{
kdDebug( 51001 ) << "Loaded Plugin_Calendar" << endl;
}
@ -74,7 +74,7 @@ Plugin_Calendar::~Plugin_Calendar()
void Plugin_Calendar::slotActivate()
{
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !interface )
{

@ -38,7 +38,7 @@ class Plugin_Calendar : public KIPI::Plugin
public:
Plugin_Calendar(TQObject *tqparent,
Plugin_Calendar(TQObject *parent,
const char* name,
const TQStringList &args);
~Plugin_Calendar();

@ -69,8 +69,8 @@ extern "C"
namespace KIPICDArchivingPlugin
{
CDArchiving::CDArchiving( KIPI::Interface* interface, TQObject *tqparent, KAction *action_cdarchiving )
: TQObject(tqparent)
CDArchiving::CDArchiving( KIPI::Interface* interface, TQObject *parent, KAction *action_cdarchiving )
: TQObject(parent)
{
KImageIO::registerFormats();
const KAboutData *data = KApplication::kApplication()->aboutData();
@ -86,7 +86,7 @@ CDArchiving::CDArchiving( KIPI::Interface* interface, TQObject *tqparent, KActio
m_actionCDArchiving = action_cdarchiving;
m_interface = interface;
m_parent = tqparent;
m_parent = parent;
}

@ -70,7 +70,7 @@ class CDArchiving : public TQObject
public:
CDArchiving( KIPI::Interface* interface, TQObject *tqparent=0,
CDArchiving( KIPI::Interface* interface, TQObject *parent=0,
KAction *action_cdarchiving=0 );
~CDArchiving();

@ -84,9 +84,9 @@ namespace KIPICDArchivingPlugin
KIO::filesize_t TargetMediaSize;
CDArchivingDialog::CDArchivingDialog( KIPI::Interface* interface, TQWidget *tqparent)
CDArchivingDialog::CDArchivingDialog( KIPI::Interface* interface, TQWidget *parent)
: KDialogBase( IconList, i18n("Configure Archive to CD"), Help|Ok|Cancel, Ok,
tqparent, "CDArchivingDialog", true, false ), m_interface( interface )
parent, "CDArchivingDialog", true, false ), m_interface( interface )
{
setCaption(i18n("Create CD/DVD Archive"));
setupSelection();

@ -74,7 +74,7 @@ class CDArchivingDialog : public KDialogBase
public:
CDArchivingDialog( KIPI::Interface* interface, TQWidget *tqparent=0);
CDArchivingDialog( KIPI::Interface* interface, TQWidget *parent=0);
~CDArchivingDialog();
TQString getK3bBinPathName() const;

@ -48,8 +48,8 @@ K_EXPORT_COMPONENT_FACTORY( kipiplugin_cdarchiving,
Factory("kipiplugin_cdarchiving"))
// -----------------------------------------------------------
Plugin_CDArchiving::Plugin_CDArchiving(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "CDArchiving")
Plugin_CDArchiving::Plugin_CDArchiving(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "CDArchiving")
{
kdDebug( 51001 ) << "Plugin_CDArchiving plugin loaded" << endl;
}
@ -86,7 +86,7 @@ void Plugin_CDArchiving::slotActivate()
{
m_progressDlg = 0;
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !interface )
{

@ -48,7 +48,7 @@ class Plugin_CDArchiving : public KIPI::Plugin
TQ_OBJECT
public:
Plugin_CDArchiving(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_CDArchiving(TQObject *parent, const char* name, const TQStringList &args);
virtual ~Plugin_CDArchiving();
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* widget );

@ -77,9 +77,9 @@ namespace KIPIFindDupplicateImagesPlugin
class FindOriginalItem : public TQCheckListItem
{
public:
FindOriginalItem(TQListView * tqparent, TQString const & name, TQString const & fullpath,
FindOriginalItem(TQListView * parent, TQString const & name, TQString const & fullpath,
TQString const & album, TQString const & comments)
: TQCheckListItem( tqparent, name, TQCheckListItem::CheckBox), _name(name),
: TQCheckListItem( parent, name, TQCheckListItem::CheckBox), _name(name),
_fullpath(fullpath), _album (album), _comments (comments)
{}
@ -101,9 +101,9 @@ private:
class FindDuplicateItem : public TQCheckListItem
{
public:
FindDuplicateItem(TQListView * tqparent, TQString const & name, TQString const & fullpath,
FindDuplicateItem(TQListView * parent, TQString const & name, TQString const & fullpath,
TQString const & album, TQString const & comments)
: TQCheckListItem( tqparent, name, TQCheckListItem::CheckBox), _name(name),
: TQCheckListItem( parent, name, TQCheckListItem::CheckBox), _name(name),
_fullpath(fullpath), _album (album), _comments (comments)
{}
@ -122,9 +122,9 @@ private:
//////////////////////////////////// CONSTRUCTOR ////////////////////////////////////////////
DisplayCompare::DisplayCompare(TQWidget* tqparent, KIPI::Interface* interface,
DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface,
const TQDict < TQPtrVector < TQFile > >& cmp )
: KDialogBase( tqparent, "DisplayCompare", true, 0,
: KDialogBase( parent, "DisplayCompare", true, 0,
Help|User1|Close, Close, false, i18n("Delete")),
m_cmp(cmp), m_interface( interface )
{

@ -66,7 +66,7 @@ Q_OBJECT
public:
DisplayCompare(TQWidget* tqparent, KIPI::Interface* interface, const TQDict < TQPtrVector < TQFile > >& cmp);
DisplayCompare(TQWidget* parent, KIPI::Interface* interface, const TQDict < TQPtrVector < TQFile > >& cmp);
~DisplayCompare();
private slots :

@ -29,8 +29,8 @@
#include <kdebug.h>
#include <tqfileinfo.h>
KIPIFindDupplicateImagesPlugin::FastCompare::FastCompare( TQObject* tqparent )
:m_parent( tqparent )
KIPIFindDupplicateImagesPlugin::FastCompare::FastCompare( TQObject* parent )
:m_parent( parent )
{
}

@ -39,7 +39,7 @@ namespace KIPIFindDupplicateImagesPlugin
class FastCompare :public CompareOperation
{
public:
FastCompare( TQObject* tqparent );
FastCompare( TQObject* parent );
virtual TQDict < TQPtrVector < TQFile > > compare( const TQStringList& filesList );
protected:

@ -73,9 +73,9 @@
namespace KIPIFindDupplicateImagesPlugin
{
FindDuplicateDialog::FindDuplicateDialog( KIPI::Interface* interface, TQWidget *tqparent)
FindDuplicateDialog::FindDuplicateDialog( KIPI::Interface* interface, TQWidget *parent)
: KDialogBase( IconList, i18n("Configure"), Help|Ok|Cancel,
Ok, tqparent, "FindDuplicateDialog", true, false ),
Ok, parent, "FindDuplicateDialog", true, false ),
m_interface( interface )
{
setCaption(i18n("Find Duplicate Images"));

@ -63,7 +63,7 @@ class FindDuplicateDialog : public KDialogBase
public:
FindDuplicateDialog( KIPI::Interface* interface, TQWidget *tqparent=0);
FindDuplicateDialog( KIPI::Interface* interface, TQWidget *parent=0);
~FindDuplicateDialog();
int getFindMethod() const;

@ -74,13 +74,13 @@ namespace KIPIFindDupplicateImagesPlugin
//////////////////////////////////// CONSTRUCTOR ////////////////////////////////////////////
FindDuplicateImages::FindDuplicateImages( KIPI::Interface* interface, TQObject *tqparent)
: TQObject(tqparent), TQThread(), m_interface( interface ),
FindDuplicateImages::FindDuplicateImages( KIPI::Interface* interface, TQObject *parent)
: TQObject(parent), TQThread(), m_interface( interface ),
m_cacheDir(KGlobal::dirs()->saveLocation("cache", "kipi-findduplicate/")),
m_compareOp( 0 )
{
KImageIO::registerFormats();
parent_ = tqparent;
parent_ = parent;
}

@ -59,7 +59,7 @@ class FindDuplicateImages : public TQObject, public TQThread
TQ_OBJECT
public:
FindDuplicateImages( KIPI::Interface* interface, TQObject *tqparent=0);
FindDuplicateImages( KIPI::Interface* interface, TQObject *parent=0);
~FindDuplicateImages();
virtual void run();

@ -37,8 +37,8 @@
#include <kstandarddirs.h>
#include <math.h>
KIPIFindDupplicateImagesPlugin::FuzzyCompare::FuzzyCompare( TQObject* tqparent, const TQString& cacheDir )
:m_parent( tqparent ), m_cacheDir( cacheDir )
KIPIFindDupplicateImagesPlugin::FuzzyCompare::FuzzyCompare( TQObject* parent, const TQString& cacheDir )
:m_parent( parent ), m_cacheDir( cacheDir )
{
}

@ -41,7 +41,7 @@ class ImageSimilarityData;
class FuzzyCompare :public CompareOperation
{
public:
FuzzyCompare( TQObject* tqparent, const TQString& cacheDir );
FuzzyCompare( TQObject* parent, const TQString& cacheDir );
void setApproximateThreeshold( float approximateLevel ) { m_approximateLevel = approximateLevel; }
TQDict < TQPtrVector < TQFile > > compare(const TQStringList& filesList );

@ -56,8 +56,8 @@ typedef KGenericFactory<Plugin_FindImages> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_findimages,
Factory("kipiplugin_findimages"))
Plugin_FindImages::Plugin_FindImages(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "FindImages")
Plugin_FindImages::Plugin_FindImages(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "FindImages")
{
kdDebug( 51001 ) << "Plugin_FindImages plugin loaded" << endl;
}
@ -89,7 +89,7 @@ Plugin_FindImages::~Plugin_FindImages()
void Plugin_FindImages::slotFindDuplicateImages()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{

@ -47,7 +47,7 @@ Q_OBJECT
public:
Plugin_FindImages(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_FindImages(TQObject *parent, const char* name, const TQStringList &args);
~Plugin_FindImages();
virtual KIPI::Category category( KAction* action ) const;

@ -77,9 +77,9 @@
namespace KIPIFlickrExportPlugin
{
FlickrTalker::FlickrTalker(TQWidget* tqparent)
FlickrTalker::FlickrTalker(TQWidget* parent)
{
m_parent = tqparent;
m_parent = parent;
m_job = 0;
m_apikey = "49d585bafa0758cb5c58ab67198bf632";
m_secret = "34b39925e6273ffd";

@ -68,7 +68,7 @@ public:
public:
FlickrTalker(TQWidget* tqparent);
FlickrTalker(TQWidget* parent);
~FlickrTalker();
TQString getUserName();

@ -33,14 +33,14 @@
namespace KIPIFlickrExportPlugin
{
GAlbumViewItem::GAlbumViewItem(TQListView* tqparent, const TQString& name, const GAlbum& album)
: TQListViewItem(tqparent, name)
GAlbumViewItem::GAlbumViewItem(TQListView* parent, const TQString& name, const GAlbum& album)
: TQListViewItem(parent, name)
{
m_album = album;
}
GAlbumViewItem::GAlbumViewItem(TQListViewItem* tqparent, const TQString& name, const GAlbum& album)
: TQListViewItem(tqparent, name)
GAlbumViewItem::GAlbumViewItem(TQListViewItem* parent, const TQString& name, const GAlbum& album)
: TQListViewItem(parent, name)
{
m_album = album;
}

@ -40,8 +40,8 @@ class GAlbumViewItem : public TQListViewItem
public:
GAlbumViewItem(TQListView* tqparent, const TQString& name, const GAlbum& album);
GAlbumViewItem(TQListViewItem* tqparent, const TQString& name, const GAlbum& album);
GAlbumViewItem(TQListView* parent, const TQString& name, const GAlbum& album);
GAlbumViewItem(TQListViewItem* parent, const TQString& name, const GAlbum& album);
~GAlbumViewItem();
protected:

@ -62,8 +62,8 @@
namespace KIPIFlickrExportPlugin
{
FlickrWidget::FlickrWidget(TQWidget* tqparent, KIPI::Interface *iface)
: TQWidget(tqparent)
FlickrWidget::FlickrWidget(TQWidget* parent, KIPI::Interface *iface)
: TQWidget(parent)
{
setName("FlickrWidget");

@ -62,7 +62,7 @@ public:
public:
FlickrWidget(TQWidget* tqparent, KIPI::Interface *iface);
FlickrWidget(TQWidget* parent, KIPI::Interface *iface);
~FlickrWidget();
private slots:

@ -75,8 +75,8 @@
namespace KIPIFlickrExportPlugin
{
FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder, TQWidget *tqparent)
: KDialogBase(tqparent, 0, false, i18n("Export to Flickr Web Service"),
FlickrWindow::FlickrWindow(KIPI::Interface* interface, const TQString &tmpFolder, TQWidget *parent)
: KDialogBase(parent, 0, false, i18n("Export to Flickr Web Service"),
Help|User1|Close, Close, false)
{
m_tmp = tmpFolder;
@ -352,17 +352,17 @@ void FlickrWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
}
else
{
TQListViewItem* tqparent = m_albumDict.find( album.parent_ref_num );
if ( tqparent )
TQListViewItem* parent = m_albumDict.find( album.parent_ref_num );
if ( parent )
{
GAlbumViewItem* item = new GAlbumViewItem( tqparent, album.name,
GAlbumViewItem* item = new GAlbumViewItem( parent, album.name,
album);
item->setPixmap( 0, pix );
m_albumDict.insert( album.ref_num, item );
}
else
{
kdWarning() << "Failed to find tqparent for album "
kdWarning() << "Failed to find parent for album "
<< album.name
<< "with id " << album.ref_num;
}

@ -81,7 +81,7 @@ class FlickrWindow : public KDialogBase
public:
FlickrWindow(KIPI::Interface *interface, const TQString &tmpFolder, TQWidget *tqparent);
FlickrWindow(KIPI::Interface *interface, const TQString &tmpFolder, TQWidget *parent);
~FlickrWindow();
private slots:

@ -88,8 +88,8 @@ void ImagesListViewItem::setThumb(const TQPixmap& pix)
// ---------------------------------------------------------------------------
ImagesListView::ImagesListView(TQWidget *tqparent)
: TQListView(tqparent)
ImagesListView::ImagesListView(TQWidget *parent)
: TQListView(parent)
{
addColumn(i18n("Thumbnail"));
addColumn(i18n("File Name"));
@ -160,8 +160,8 @@ public:
KIPI::Interface *iface;
};
ImagesList::ImagesList(TQWidget* tqparent, KIPI::Interface *iface)
: TQWidget(tqparent)
ImagesList::ImagesList(TQWidget* parent, KIPI::Interface *iface)
: TQWidget(parent)
{
d = new ImagesPagePriv;
d->iface = iface;

@ -72,7 +72,7 @@ class ImagesListView : public TQListView
public:
ImagesListView(TQWidget *tqparent);
ImagesListView(TQWidget *parent);
~ImagesListView();
signals:
@ -94,7 +94,7 @@ class ImagesList : public TQWidget
public:
ImagesList(TQWidget* tqparent, KIPI::Interface *iface);
ImagesList(TQWidget* parent, KIPI::Interface *iface);
~ImagesList();
KURL::List imageUrls() const;

@ -40,9 +40,9 @@
namespace KIPIFlickrExportPlugin
{
FlickrLogin::FlickrLogin(TQWidget* tqparent, const TQString& header,
FlickrLogin::FlickrLogin(TQWidget* parent, const TQString& header,
const TQString& _name, const TQString& _passwd)
: TQDialog(tqparent)
: TQDialog(parent)
{
setSizeGripEnabled(false);

@ -40,7 +40,7 @@ class FlickrLogin : public TQDialog
public:
FlickrLogin(TQWidget* tqparent, const TQString& header,
FlickrLogin(TQWidget* parent, const TQString& header,
const TQString& _name=TQString(),
const TQString& _passwd=TQString());
~FlickrLogin();

@ -52,8 +52,8 @@ typedef KGenericFactory<Plugin_FlickrExport> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_flickrexport, Factory("kipiplugin_flickrexport"))
Plugin_FlickrExport::Plugin_FlickrExport(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "FlickrExport")
Plugin_FlickrExport::Plugin_FlickrExport(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "FlickrExport")
{
kdDebug(51001) << "Plugin_FlickrExport plugin loaded" << endl;
}
@ -70,7 +70,7 @@ void Plugin_FlickrExport::setup(TQWidget* widget)
actionCollection(),
"flickrexport");
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
@ -89,7 +89,7 @@ Plugin_FlickrExport::~Plugin_FlickrExport()
void Plugin_FlickrExport::slotActivate()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;

@ -38,7 +38,7 @@ class Plugin_FlickrExport : public KIPI::Plugin
public:
Plugin_FlickrExport(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_FlickrExport(TQObject *parent, const char* name, const TQStringList &args);
~Plugin_FlickrExport();
virtual KIPI::Category category(KAction* action) const;

@ -36,7 +36,7 @@ class GalleryList : public KDialogBase
public:
GalleryList(TQWidget *tqparent, Galleries* pGalleries, bool blnShowOpen = true);
GalleryList(TQWidget *parent, Galleries* pGalleries, bool blnShowOpen = true);
~GalleryList();
Gallery* GetGallery(void);

@ -45,8 +45,8 @@
namespace KIPIGalleryExportPlugin
{
GalleryTalker::GalleryTalker( TQWidget* tqparent )
: m_parent( tqparent ), m_job( 0 ), m_loggedIn( false )
GalleryTalker::GalleryTalker( TQWidget* parent )
: m_parent( parent ), m_job( 0 ), m_loggedIn( false )
{
}
@ -429,7 +429,7 @@ void GalleryTalker::parseResponseListAlbums(const TQByteArray &data)
if (iter != albumList.end())
(*iter).summary = value;
}
else if (key.startsWith("album.tqparent"))
else if (key.startsWith("album.parent"))
{
if (iter != albumList.end())
(*iter).parent_ref_num = value.toInt();
@ -479,7 +479,7 @@ void GalleryTalker::parseResponseListAlbums(const TQByteArray &data)
return;
}
// We need tqparent albums to come first for rest of the code to work
// We need parent albums to come first for rest of the code to work
qHeapSort(albumList);
emit signalAlbums( albumList );

@ -51,7 +51,7 @@ public:
GE_ADDPHOTO
};
GalleryTalker(TQWidget* tqparent);
GalleryTalker(TQWidget* parent);
~GalleryTalker();
static void setGallery2(bool usegallery2) {s_using_gallery2 = usegallery2;};

@ -30,12 +30,12 @@ class GAlbumViewItem : public TQListViewItem
{
public:
GAlbumViewItem(TQListView* tqparent, const TQString& name,
GAlbumViewItem(TQListView* parent, const TQString& name,
const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {}
GAlbumViewItem(TQListViewItem* tqparent, const TQString& name,
: TQListViewItem(parent, name), album(_album) {}
GAlbumViewItem(TQListViewItem* parent, const TQString& name,
const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {}
: TQListViewItem(parent, name), album(_album) {}
GAlbum album;

@ -42,8 +42,8 @@
namespace KIPIGalleryExportPlugin
{
GalleryWidget::GalleryWidget( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "GalleryWidget" );

@ -37,7 +37,7 @@ class GalleryWidget : public TQWidget
public:
GalleryWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
GalleryWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~GalleryWidget();
private slots:

@ -68,8 +68,8 @@
namespace KIPIGalleryExportPlugin
{
GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *tqparent, Galleries* pGalleries)
: KDialogBase(tqparent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galleries* pGalleries)
: KDialogBase(parent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
m_interface(interface),
mpGalleries(pGalleries)
{
@ -300,17 +300,17 @@ void GalleryWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
}
else
{
TQListViewItem* tqparent = m_albumDict.find( album.parent_ref_num );
if ( tqparent )
TQListViewItem* parent = m_albumDict.find( album.parent_ref_num );
if ( parent )
{
GAlbumViewItem* item = new GAlbumViewItem( tqparent, album.title,
GAlbumViewItem* item = new GAlbumViewItem( parent, album.title,
album);
item->setPixmap( 0, pix );
m_albumDict.insert( album.ref_num, item );
}
else
{
kdWarning() << "Failed to find tqparent for album "
kdWarning() << "Failed to find parent for album "
<< album.name
<< " with id " << album.ref_num << "\n";
}

@ -57,7 +57,7 @@ class GalleryWindow : public KDialogBase
public:
GalleryWindow(KIPI::Interface *interface, TQWidget *tqparent, Galleries* pGalleries);
GalleryWindow(KIPI::Interface *interface, TQWidget *parent, Galleries* pGalleries);
~GalleryWindow();
private:

@ -47,10 +47,10 @@ typedef KGenericFactory<Plugin_GalleryExport> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_galleryexport,
Factory("kipiplugin_galleryexport"))
Plugin_GalleryExport::Plugin_GalleryExport(TQObject *tqparent,
Plugin_GalleryExport::Plugin_GalleryExport(TQObject *parent,
const char*,
const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "GalleryExport"),
: KIPI::Plugin(Factory::instance(), parent, "GalleryExport"),
mpGalleries(0)
{
kdDebug(51001) << "Plugin_GalleryExport plugin loaded"
@ -63,7 +63,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget)
KIPI::Plugin::setup(widget);
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
@ -122,7 +122,7 @@ Plugin_GalleryExport::~Plugin_GalleryExport()
void Plugin_GalleryExport::slotSync()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@ -135,7 +135,7 @@ void Plugin_GalleryExport::slotSync()
void Plugin_GalleryExport::slotConfigure()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@ -148,7 +148,7 @@ void Plugin_GalleryExport::slotConfigure()
void Plugin_GalleryExport::slotCollectionSettings()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@ -160,7 +160,7 @@ void Plugin_GalleryExport::slotCollectionSettings()
void Plugin_GalleryExport::slotImageSettings()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;

@ -40,7 +40,7 @@ class Plugin_GalleryExport : public KIPI::Plugin
public:
Plugin_GalleryExport(TQObject *tqparent,
Plugin_GalleryExport(TQObject *parent,
const char* name,
const TQStringList &args);
~Plugin_GalleryExport();

@ -83,11 +83,11 @@ public:
GPSMapWidget *worldMap;
};
GPSEditDialog::GPSEditDialog(TQWidget* tqparent, const GPSDataContainer& gpsData,
GPSEditDialog::GPSEditDialog(TQWidget* parent, const GPSDataContainer& gpsData,
const TQString& fileName, bool hasGPSInfo)
: KDialogBase(Plain, i18n("%1 - Edit Geographical Coordinates").tqarg(fileName),
Help|Ok|Cancel, Ok,
tqparent, 0, true, false)
parent, 0, true, false)
{
d = new GPSEditDialogDialogPrivate;
d->hasGPSInfo = hasGPSInfo;

@ -43,7 +43,7 @@ class GPSEditDialog : public KDialogBase
public:
GPSEditDialog(TQWidget* tqparent, const GPSDataContainer& gpsData,
GPSEditDialog(TQWidget* parent, const GPSDataContainer& gpsData,
const TQString& fileName, bool hasGPSInfo);
~GPSEditDialog();

@ -54,8 +54,8 @@ public:
TQString fileName;
};
GPSMapWidget::GPSMapWidget(TQWidget* tqparent)
: KHTMLPart(tqparent)
GPSMapWidget::GPSMapWidget(TQWidget* parent)
: KHTMLPart(parent)
{
d = new GPSMapWidgetPrivate;

@ -44,7 +44,7 @@ class GPSMapWidget : public KHTMLPart
public:
GPSMapWidget(TQWidget* tqparent);
GPSMapWidget(TQWidget* parent);
~GPSMapWidget();
void setGPSPosition(const TQString& lat, const TQString& lon);

@ -103,10 +103,10 @@ public:
GPSDataParser gpxParser;
};
GPSSyncDialog::GPSSyncDialog( KIPI::Interface* interface, TQWidget* tqparent)
GPSSyncDialog::GPSSyncDialog( KIPI::Interface* interface, TQWidget* parent)
: KDialogBase(Plain, i18n("Geolocation"),
Help|User1|User2|User3|Apply|Close, Close,
tqparent, 0, true, false)
parent, 0, true, false)
{
d = new GPSSyncDialogPriv;
d->interface = interface;

@ -49,7 +49,7 @@ class GPSSyncDialog :public KDialogBase
public:
GPSSyncDialog(KIPI::Interface* interface, TQWidget* tqparent);
GPSSyncDialog(KIPI::Interface* interface, TQWidget* parent);
~GPSSyncDialog();
void setImages(const KURL::List& images);

@ -59,8 +59,8 @@ namespace KIPIGPSSyncPlugin
kmlExport::kmlExport(KIPI::Interface* interface)
{
m_interface = interface;
TQWidget* tqparent = KApplication::kApplication()->mainWidget();
m_progressDialog = new KIPI::BatchProgressDialog(tqparent, i18n("Generating KML file..."));
TQWidget* parent = KApplication::kApplication()->mainWidget();
m_progressDialog = new KIPI::BatchProgressDialog(parent, i18n("Generating KML file..."));
}
kmlExport::~kmlExport()
@ -75,15 +75,15 @@ bool kmlExport::createDir(TQDir dir)
{
if (dir.exists()) return true;
TQDir tqparent = dir;
tqparent.cdUp();
bool ok = createDir(tqparent);
TQDir parent = dir;
parent.cdUp();
bool ok = createDir(parent);
if (!ok)
{
logError(i18n("Could not create '%1").tqarg(tqparent.path()));
logError(i18n("Could not create '%1").tqarg(parent.path()));
return false;
}
return tqparent.mkdir(dir.dirName());
return parent.mkdir(dir.dirName());
}
/*!
@ -450,8 +450,8 @@ void kmlExport::generate()
if (defectImage)
{
/** @todo if defectImage==count there are no pictures exported, does it worst to continue? */
TQWidget* tqparent = KApplication::kApplication()->mainWidget();
KMessageBox::information(tqparent, i18n("No position data for 1 picture",
TQWidget* parent = KApplication::kApplication()->mainWidget();
KMessageBox::information(parent, i18n("No position data for 1 picture",
"No position data for %n pictures", defectImage));
}

@ -144,7 +144,7 @@ private:
/*!
* \fn KIPIKMLExport::kmlExport::addKmlElement(TQDomElement target, TQString tag)
* Add a new element
* @param target the tqparent element to which add the element
* @param target the parent element to which add the element
* @param tag the new element name
* @return the New element
*/
@ -158,7 +158,7 @@ private:
/*!
* \fn KIPIKMLExport::kmlExport::addKmlTextElement(TQDomElement target, TQString tag, TQString text)
* Add a new element with a text
* @param target the tqparent element to which add the element
* @param target the parent element to which add the element
* @param tag the new element name
* @param text the text content of the new element
* @return the New element
@ -175,7 +175,7 @@ private:
/*!
* \fn KIPIKMLExport::kmlExport::addKmlHtmlElement(TQDomElement target, TQString tag, TQString text)
* Add a new element with html content (html entities are escaped and text is wrapped in a CDATA section)
* @param target the tqparent element to which add the element
* @param target the parent element to which add the element
* @param tag the new element name
* @param text the HTML content of the new element
* @return the New element

@ -59,13 +59,13 @@ namespace KIPIGPSSyncPlugin
{
/*
* Constructs a KIPIKMLExport::KMLExportConfig which is a child of 'tqparent', with the
* Constructs a KIPIKMLExport::KMLExportConfig which is a child of 'parent', with the
* name 'name'.'
*/
KMLExportConfig::KMLExportConfig( TQWidget* tqparent, const char* name)
KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name)
: KDialogBase(Plain, i18n("KML Export"),
Help|Ok|Cancel, Ok,
tqparent, 0, true, false)
parent, 0, true, false)
{
if ( !name ) setName( "KMLExportConfig" );
tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0,

@ -56,7 +56,7 @@ class KMLExportConfig : public KDialogBase
public:
explicit KMLExportConfig( TQWidget* tqparent = 0, const char* name = 0);
explicit KMLExportConfig( TQWidget* parent = 0, const char* name = 0);
~KMLExportConfig();
public:

@ -55,14 +55,14 @@ TQString KMLGPSDataParser::lineString()
}
/*!
\fn void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackLine(TQDomElement &tqparent, TQDomDocument &root, int altitudeMode)
\fn void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackLine(TQDomElement &parent, TQDomDocument &root, int altitudeMode)
*/
void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackLine(TQDomElement &tqparent, TQDomDocument &root, int altitudeMode)
void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackLine(TQDomElement &parent, TQDomDocument &root, int altitudeMode)
{
kmlDocument = &root;
// add the linetrack
TQDomElement kmlPlacemark = addKmlElement(tqparent, "Placemark");
TQDomElement kmlPlacemark = addKmlElement(parent, "Placemark");
addKmlTextElement(kmlPlacemark, "name", i18n("Track"));
TQDomElement kmlLineString = addKmlElement(kmlPlacemark, "LineString");
addKmlTextElement(kmlLineString, "coordinates", lineString());
@ -82,16 +82,16 @@ void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackLine(TQDomElement &tqparent
}
/*!
\fn void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackPoints(TQDomElement &tqparent, TQDomDocument &root, int timeZone, int altitudeMode)
\fn void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackPoints(TQDomElement &parent, TQDomDocument &root, int timeZone, int altitudeMode)
*/
void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackPoints(TQDomElement &tqparent, TQDomDocument &root,
void KIPIGPSSyncPlugin::KMLGPSDataParser::CreateTrackPoints(TQDomElement &parent, TQDomDocument &root,
int timeZone, int altitudeMode)
{
kmlDocument = &root;
kdDebug( 51001 ) << "creation d'un trackpoint" << endl;
// create the points
TQDomElement kmlPointsFolder = addKmlElement(tqparent, "Folder");
TQDomElement kmlPointsFolder = addKmlElement(parent, "Folder");
addKmlTextElement(kmlPointsFolder, "name", i18n("Points"));
addKmlTextElement(kmlPointsFolder, "visibility", "0");
addKmlTextElement(kmlPointsFolder, "open", "0");

@ -50,19 +50,19 @@ public:
*/
TQString lineString();
/*! Create a KML Element that will contain the linetrace of the GPS
* @param tqparent the TQDomElement to which the track will be added
* @param parent the TQDomElement to which the track will be added
* @param root the TQDomDocument used to create all elements
* @param altitudeMode altitude mode of the line and points
*/
void CreateTrackLine(TQDomElement &tqparent, TQDomDocument &root, int altitudeMode);
void CreateTrackLine(TQDomElement &parent, TQDomDocument &root, int altitudeMode);
/*! Create a KML Element that will contain the points and of the GPS
* @param tqparent the TQDomElement to which the track will be added
* @param parent the TQDomElement to which the track will be added
* @param root the TQDomDocument used to create all elements
* @param timeZone the Timezone of the pictures
* @param altitudeMode altitude mode of the line and points
*/
void CreateTrackPoints(TQDomElement &tqparent, TQDomDocument &root, int timeZone, int altitudeMode);
void CreateTrackPoints(TQDomElement &parent, TQDomDocument &root, int timeZone, int altitudeMode);
private:
@ -73,7 +73,7 @@ private:
/*!
\fn TQDomElement KIPIGPSSyncPlugin::KMLGPSDataParser::addKmlElement(TQDomElement target, TQString tag)
* Add a new element
* @param target the tqparent element to which add the element
* @param target the parent element to which add the element
* @param tag the new element name
* @return the New element
*/
@ -87,7 +87,7 @@ private:
/*!
\fn TQDomElement KIPIGPSSyncPlugin::KMLGPSDataParser::addKmlTextElement(TQDomElement target, TQString tag, TQString text)
* Add a new element with a text
* @param target the tqparent element to which add the element
* @param target the parent element to which add the element
* @param tag the new element name
* @param text the text content of the new element
* @return the New element

@ -60,8 +60,8 @@ typedef KGenericFactory<Plugin_GPSSync> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_gpssync, Factory("kipiplugin_gpssync"))
Plugin_GPSSync::Plugin_GPSSync(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "GPSSync")
Plugin_GPSSync::Plugin_GPSSync(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "GPSSync")
{
kdDebug( 51001 ) << "Plugin_GPSSync plugin loaded" << endl;
}
@ -112,7 +112,7 @@ void Plugin_GPSSync::setup( TQWidget* widget )
addAction( m_actionKMLExport );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !m_interface )
{

@ -39,7 +39,7 @@ class Plugin_GPSSync : public KIPI::Plugin
public:
Plugin_GPSSync(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_GPSSync(TQObject *parent, const char* name, const TQStringList &args);
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* );

@ -45,10 +45,10 @@ typedef KGenericFactory<Plugin_HelloWorld> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_helloworld,
Factory("kipiplugin_helloworld"));
Plugin_HelloWorld::Plugin_HelloWorld(TQObject *tqparent,
Plugin_HelloWorld::Plugin_HelloWorld(TQObject *parent,
const char*,
const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "HelloWorld")
: KIPI::Plugin( Factory::instance(), parent, "HelloWorld")
{
kdDebug( 51001 ) << "Plugin_HelloWorld plugin loaded" << endl;
}
@ -68,7 +68,7 @@ void Plugin_HelloWorld::setup( TQWidget* widget )
addAction( m_actionHelloWorld );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !m_interface )
{

@ -36,10 +36,10 @@ class Plugin_HelloWorld : public KIPI::Plugin
public:
// Notice the constructor
// takes three arguments TQObject *tqparent (the tqparent of this object),
// takes three arguments TQObject *parent (the parent of this object),
// const char* name (the name of this object) and
// const TQStringList &args (the arguments passed).
Plugin_HelloWorld(TQObject *tqparent,
Plugin_HelloWorld(TQObject *parent,
const char* name,
const TQStringList &args);

@ -54,7 +54,7 @@ public:
* This method should return a TQWidget representing the parameter,
* initialized with value.
*/
virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const = 0;
virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const = 0;
/**
* The opposite of createWidget: given a widget previously created with

@ -31,8 +31,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
namespace KIPIHTMLExport {
TQWidget* ColorThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const {
KColorButton* button = new KColorButton(tqparent);
TQWidget* ColorThemeParameter::createWidget(TQWidget* parent, const TQString& value) const {
KColorButton* button = new KColorButton(parent);
TQColor color(value);
button->setColor(color);
return button;

@ -36,7 +36,7 @@ namespace KIPIHTMLExport {
*/
class ColorThemeParameter : public AbstractThemeParameter {
public:
virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const;
virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const;
virtual TQString valueFromWidget(TQWidget*) const;
};

@ -59,8 +59,8 @@ void IntThemeParameter::init(const TQCString& internalName, const KConfigBase* c
}
TQWidget* IntThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const {
TQSpinBox* spinBox = new TQSpinBox(tqparent);
TQWidget* IntThemeParameter::createWidget(TQWidget* parent, const TQString& value) const {
TQSpinBox* spinBox = new TQSpinBox(parent);
spinBox->setValue(value.toInt());
spinBox->setMinValue(d->mMinValue);
spinBox->setMaxValue(d->mMaxValue);

@ -40,7 +40,7 @@ public:
~IntThemeParameter();
virtual void init(const TQCString& internalName, const KConfigBase* configFile);
virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const;
virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const;
virtual TQString valueFromWidget(TQWidget*) const;
private:

@ -63,8 +63,8 @@ void ListThemeParameter::init(const TQCString& internalName, const KConfigBase*
}
}
TQWidget* ListThemeParameter::createWidget(TQWidget* tqparent, const TQString& widgetDefaultValue) const {
TQComboBox* comboBox = new TQComboBox(tqparent);
TQWidget* ListThemeParameter::createWidget(TQWidget* parent, const TQString& widgetDefaultValue) const {
TQComboBox* comboBox = new TQComboBox(parent);
TQStringList::ConstIterator
it = d->mOrderedValueList.begin(),

@ -36,7 +36,7 @@ public:
~ListThemeParameter();
virtual void init(const TQCString& internalName, const KConfigBase* configFile);
virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const;
virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const;
virtual TQString valueFromWidget(TQWidget*) const;
private:

@ -49,8 +49,8 @@ struct Plugin::Private {
};
Plugin::Plugin(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "HTMLExport")
Plugin::Plugin(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "HTMLExport")
{
d=new Private;
d->mAction=0;
@ -72,17 +72,17 @@ void Plugin::setup( TQWidget* widget ) {
void Plugin::slotActivate() {
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
Q_ASSERT(interface);
GalleryInfo info;
info.readConfig();
TQWidget* tqparent=KApplication::kApplication()->mainWidget();
Wizard wizard(tqparent, interface, &info);
TQWidget* parent=KApplication::kApplication()->mainWidget();
Wizard wizard(parent, interface, &info);
if (wizard.exec()==TQDialog::Rejected) return;
info.writeConfig();
KIPI::BatchProgressDialog* progressDialog=new KIPI::BatchProgressDialog(tqparent, i18n("Generating gallery..."));
KIPI::BatchProgressDialog* progressDialog=new KIPI::BatchProgressDialog(parent, i18n("Generating gallery..."));
Generator generator(interface, &info, progressDialog);
progressDialog->show();

@ -36,7 +36,7 @@ class Plugin : public KIPI::Plugin {
TQ_OBJECT
public:
Plugin(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin(TQObject *parent, const char* name, const TQStringList &args);
virtual ~Plugin();
KIPI::Category category( KAction* action ) const;

@ -29,8 +29,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
namespace KIPIHTMLExport {
TQWidget* StringThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const {
TQLineEdit* edit = new TQLineEdit(tqparent);
TQWidget* StringThemeParameter::createWidget(TQWidget* parent, const TQString& value) const {
TQLineEdit* edit = new TQLineEdit(parent);
edit->setText(value);
return edit;

@ -31,7 +31,7 @@ namespace KIPIHTMLExport {
*/
class StringThemeParameter : public AbstractThemeParameter {
public:
virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const;
virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const;
virtual TQString valueFromWidget(TQWidget*) const;
};

@ -159,14 +159,14 @@ struct Wizard::Private {
}
// Add spacer at the end, so that widgets aren't spread on the whole
// tqparent height
// parent height
TQSpacerItem* spacer = new TQSpacerItem(1, 1, TQSizePolicy::Minimum, TQSizePolicy::Expanding);
tqlayout->addItem(spacer, tqlayout->numRows(), 0);
}
};
Wizard::Wizard(TQWidget* tqparent, KIPI::Interface* interface, GalleryInfo* info)
: KWizard(tqparent)
Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info)
: KWizard(parent)
{
d=new Private;
d->mInfo=info;

@ -39,7 +39,7 @@ class Wizard : public KWizard {
Q_OBJECT
TQ_OBJECT
public:
Wizard(TQWidget* tqparent, KIPI::Interface* interface, GalleryInfo* info);
Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info);
~Wizard();
protected slots:

@ -38,8 +38,8 @@ typedef KGenericFactory<Plugin_viewer> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_viewer,
Factory("kipiplugin_viewer"))
Plugin_viewer::Plugin_viewer( TQObject *tqparent, const char* name, const TQStringList& )
:KIPI::Plugin::Plugin( Factory::instance(), tqparent, name )
Plugin_viewer::Plugin_viewer( TQObject *parent, const char* name, const TQStringList& )
:KIPI::Plugin::Plugin( Factory::instance(), parent, name )
{
kdDebug(51001) << "image viewer plugin loaded" << endl;
}
@ -48,7 +48,7 @@ void Plugin_viewer::setup( TQWidget* widget )
{
KIPI::Plugin::setup( widget );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -87,7 +87,7 @@ KIPI::Category Plugin_viewer::category( KAction* action ) const
*/
void Plugin_viewer::slotActivate()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{

@ -40,7 +40,7 @@ class Plugin_viewer :public KIPI::Plugin
Q_OBJECT
TQ_OBJECT
public:
Plugin_viewer( TQObject *tqparent, const char* name, const TQStringList& );
Plugin_viewer( TQObject *parent, const char* name, const TQStringList& );
virtual void setup( TQWidget* widget );
virtual KIPI::Category category( KAction* action ) const;

@ -27,8 +27,8 @@ using namespace IpodExport;
/////////////////////////////////////////////////////////////////////////////////////////////
ImageList::ImageList( ListType type, TQWidget *tqparent, const char *name )
: KListView( tqparent, name )
ImageList::ImageList( ListType type, TQWidget *parent, const char *name )
: KListView( parent, name )
, m_type( type )
{
if( type == ImageList::UploadType )

@ -37,7 +37,7 @@ class ImageList : public KListView
public:
enum ListType { UploadType, IpodType };
ImageList( ListType=UploadType, TQWidget *tqparent=0, const char *name=0 );
ImageList( ListType=UploadType, TQWidget *parent=0, const char *name=0 );
ListType getType() const { return m_type; }

@ -29,8 +29,8 @@ namespace IpodExport
{
public:
ImageListItem( TQListView *tqparent, TQString const & pathSrc, TQString const & name )
: KListViewItem( tqparent, TQString()/*set below*/, name )
ImageListItem( TQListView *parent, TQString const & pathSrc, TQString const & name )
: KListViewItem( parent, TQString()/*set below*/, name )
, m_pathSrc( pathSrc )
{
setText( 0, pathSrc.section('/', -2, -2) );

@ -57,9 +57,9 @@ UploadDialog::UploadDialog(
#if KIPI_PLUGIN
KIPI::Interface* interface,
#endif
TQString caption, TQWidget *tqparent )
TQString caption, TQWidget *parent )
: KDialogBase( KDialogBase::Plain, caption, /*Help|*/Close,
Cancel, tqparent, "TripodDialog", false, false )
Cancel, parent, "TripodDialog", false, false )
#if KIPI_PLUGIN
, m_interface( interface )
#endif
@ -506,7 +506,7 @@ bool UploadDialog::deleteIpodPhoto( IpodPhotoItem *photo )
if( !photo )
return false;
IpodAlbumItem *album = static_cast<IpodAlbumItem *>( photo->tqparent() );
IpodAlbumItem *album = static_cast<IpodAlbumItem *>( photo->parent() );
if( !album )
return false;

@ -55,7 +55,7 @@ class UploadDialog : public KDialogBase
#if KIPI_PLUGIN
KIPI::Interface* interface,
#endif
TQString caption, TQWidget *tqparent=0 );
TQString caption, TQWidget *parent=0 );
~UploadDialog()
{

@ -22,8 +22,8 @@
using namespace IpodExport;
IpodHeader::IpodHeader( TQWidget *tqparent, const char *name, WFlags f )
: TQFrame( tqparent, name, f )
IpodHeader::IpodHeader( TQWidget *parent, const char *name, WFlags f )
: TQFrame( parent, name, f )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 10/*margin*/, 5/*spacing*/ );

@ -28,7 +28,7 @@ class IpodHeader : public TQFrame
TQ_OBJECT
public:
IpodHeader( TQWidget *tqparent=0, const char *name=0, WFlags f=0 );
IpodHeader( TQWidget *parent=0, const char *name=0, WFlags f=0 );
~IpodHeader() { }
enum ViewType { NoIpod, IncompatibleIpod, ValidIpod };

@ -22,8 +22,8 @@ using namespace IpodExport;
/// Class IpodAlbumItem
////////////////////////////////////////////
IpodAlbumItem::IpodAlbumItem( TQListView *tqparent, TQListViewItem *after, Itdb_PhotoAlbum *pa )
: KListViewItem( tqparent, after )
IpodAlbumItem::IpodAlbumItem( TQListView *parent, TQListViewItem *after, Itdb_PhotoAlbum *pa )
: KListViewItem( parent, after )
, m_photoAlbum( pa )
{
// don't use setName, as it writes to the ipod
@ -55,9 +55,9 @@ void IpodAlbumItem::setName( const TQString & name )
/// Class IpodPhotoItem
////////////////////////////////////////////
IpodPhotoItem::IpodPhotoItem( IpodAlbumItem *tqparent, IpodPhotoItem *after,
IpodPhotoItem::IpodPhotoItem( IpodAlbumItem *parent, IpodPhotoItem *after,
Itdb_Artwork *art )
: KListViewItem( tqparent, after )
: KListViewItem( parent, after )
, m_artwork( art )
{
}

@ -26,7 +26,7 @@ namespace IpodExport
class IpodAlbumItem : public KListViewItem
{
public:
IpodAlbumItem( TQListView *tqparent, TQListViewItem *after, Itdb_PhotoAlbum *pa );
IpodAlbumItem( TQListView *parent, TQListViewItem *after, Itdb_PhotoAlbum *pa );
TQString name() const { return m_name; }
Itdb_PhotoAlbum *photoAlbum() const { return m_photoAlbum; }
@ -42,7 +42,7 @@ namespace IpodExport
class IpodPhotoItem : public KListViewItem
{
public:
IpodPhotoItem( IpodAlbumItem *tqparent, IpodPhotoItem *after, Itdb_Artwork *art );
IpodPhotoItem( IpodAlbumItem *parent, IpodPhotoItem *after, Itdb_Artwork *art );
Itdb_Artwork *artwork() const { return m_artwork; }
void setArtwork( Itdb_Artwork *art );

@ -36,8 +36,8 @@ typedef KGenericFactory<Plugin_iPodExport> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_ipodexport, Factory("kipiplugin_ipodexport"));
Plugin_iPodExport::Plugin_iPodExport( TQObject *tqparent, const char*, const TQStringList& )
: KIPI::Plugin( Factory::instance(), tqparent, "iPodExport")
Plugin_iPodExport::Plugin_iPodExport( TQObject *parent, const char*, const TQStringList& )
: KIPI::Plugin( Factory::instance(), parent, "iPodExport")
{
kdDebug( 51001 ) << "Plugin_iPodExport plugin loaded" << endl;
@ -54,7 +54,7 @@ void Plugin_iPodExport::setup( TQWidget* widget )
addAction( m_actionImageUpload );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
}
KIPI::Category Plugin_iPodExport::category( KAction* action ) const

@ -25,7 +25,7 @@ class Plugin_iPodExport : public KIPI::Plugin
TQ_OBJECT
public:
Plugin_iPodExport( TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_iPodExport( TQObject *parent, const char* name, const TQStringList &args);
~Plugin_iPodExport() { }
virtual KIPI::Category category( KAction* action ) const;

@ -48,8 +48,8 @@
namespace KIPIJPEGLossLessPlugin
{
ActionThread::ActionThread( KIPI::Interface* interface, TQObject *tqparent)
: TQThread(), m_parent(tqparent), m_interface( interface )
ActionThread::ActionThread( KIPI::Interface* interface, TQObject *parent)
: TQThread(), m_parent(parent), m_interface( interface )
{
}

@ -58,7 +58,7 @@ class ActionThread : public TQThread
{
public:
ActionThread( KIPI::Interface* interface, TQObject *tqparent);
ActionThread( KIPI::Interface* interface, TQObject *parent);
~ActionThread();
void rotate(const KURL::List& urlList, RotateAction val);

@ -59,8 +59,8 @@ typedef KGenericFactory<Plugin_JPEGLossless> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_jpeglossless,
Factory("kipiplugin_jpeglossless"))
Plugin_JPEGLossless::Plugin_JPEGLossless(TQObject *tqparent, const char*, const TQStringList &)
: KIPI::Plugin( Factory::instance(), tqparent, "JPEGLossless")
Plugin_JPEGLossless::Plugin_JPEGLossless(TQObject *parent, const char*, const TQStringList &)
: KIPI::Plugin( Factory::instance(), parent, "JPEGLossless")
{
m_total = 0;
m_current = 0;
@ -140,7 +140,7 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
addAction( m_action_FlipImage );
addAction( m_action_Convert2GrayScale );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -318,7 +318,7 @@ void Plugin_JPEGLossless::slotCancel()
{
m_thread->cancel();
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -455,7 +455,7 @@ void Plugin_JPEGLossless::customEvent(TQCustomEvent *event)
m_progressDlg = 0;
}
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -484,7 +484,7 @@ KIPI::Category Plugin_JPEGLossless::category( KAction* action ) const
KURL::List Plugin_JPEGLossless::images()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{

@ -47,7 +47,7 @@ class Plugin_JPEGLossless : public KIPI::Plugin
public:
Plugin_JPEGLossless(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_JPEGLossless(TQObject *parent, const char* name, const TQStringList &args);
~Plugin_JPEGLossless();
virtual KIPI::Category category( KAction* action ) const;

@ -73,8 +73,8 @@ extern "C"
namespace KIPIJPEGLossLessPlugin
{
Utils::Utils(TQObject *tqparent)
: TQObject(tqparent)
Utils::Utils(TQObject *parent)
: TQObject(parent)
{
}

@ -42,7 +42,7 @@ class Utils : public TQObject
public:
Utils(TQObject *tqparent);
Utils(TQObject *parent);
~Utils();
bool updateMetadataImageMagick(const TQString& src, TQString& err);

@ -27,14 +27,14 @@
namespace KIPIKameraKlientPlugin
{
CameraFolderItem::CameraFolderItem(KListView* tqparent, const TQString& name) : KListViewItem(tqparent, name) {
CameraFolderItem::CameraFolderItem(KListView* parent, const TQString& name) : KListViewItem(parent, name) {
setPixmap(0, SmallIcon("folder"));
virtualFolder_ = true;
count_ = 0;
name_ = name;
}
CameraFolderItem::CameraFolderItem(KListViewItem* tqparent, const TQString& folderName, const TQString& folderPath) : KListViewItem(tqparent, folderName) {
CameraFolderItem::CameraFolderItem(KListViewItem* parent, const TQString& folderName, const TQString& folderPath) : KListViewItem(parent, folderName) {
setPixmap(0, SmallIcon("folder"));
folderName_ = folderName;
folderPath_ = folderPath;

@ -30,8 +30,8 @@ namespace KIPIKameraKlientPlugin
class CameraFolderItem : public KListViewItem {
public:
CameraFolderItem(KListView* tqparent, const TQString& name);
CameraFolderItem(KListViewItem* tqparent, const TQString& folderName, const TQString& folderPath);
CameraFolderItem(KListView* parent, const TQString& name);
CameraFolderItem(KListViewItem* parent, const TQString& folderName, const TQString& folderPath);
~CameraFolderItem();
TQString folderName();
TQString folderPath();

@ -29,7 +29,7 @@
namespace KIPIKameraKlientPlugin
{
CameraFolderView::CameraFolderView(TQWidget* tqparent) : KListView(tqparent) {
CameraFolderView::CameraFolderView(TQWidget* parent) : KListView(parent) {
addColumn(i18n("Camera Folders"));
setFullWidth(true);
setDragEnabled(false);

@ -37,7 +37,7 @@ class CameraFolderView : public KListView {
TQ_OBJECT
public:
CameraFolderView(TQWidget* tqparent);
CameraFolderView(TQWidget* parent);
~CameraFolderView();
void addVirtualFolder(const TQString& name);
void addRootFolder(const TQString& folder);

@ -60,8 +60,8 @@ const char* CameraIconItem::new_xpm[] = {
TQPixmap* CameraIconItem::newEmblem = 0;
CameraIconItem::CameraIconItem(ThumbView* tqparent, const GPFileItemInfo* fileInfo, const TQPixmap& pixmap)
: ThumbItem(tqparent, fileInfo->name, pixmap), fileInfo_(fileInfo) {
CameraIconItem::CameraIconItem(ThumbView* parent, const GPFileItemInfo* fileInfo, const TQPixmap& pixmap)
: ThumbItem(parent, fileInfo->name, pixmap), fileInfo_(fileInfo) {
pixWidth_ = pixmap.width();
pixHeight_ = pixmap.height();
loadNewEmblem();

@ -40,7 +40,7 @@ class CameraIconItem : public ThumbItem {
friend class CameraIconView;
public:
CameraIconItem(ThumbView* tqparent, const GPFileItemInfo* fileInfo, const TQPixmap& pixmap);
CameraIconItem(ThumbView* parent, const GPFileItemInfo* fileInfo, const TQPixmap& pixmap);
~CameraIconItem();
const GPFileItemInfo* fileInfo();
void setPixmap(const TQImage& thumb);

@ -56,7 +56,7 @@ public:
TQPixmap unknownPix;
};
CameraIconView::CameraIconView(TQWidget *tqparent) : ThumbView(tqparent) {
CameraIconView::CameraIconView(TQWidget *parent) : ThumbView(parent) {
d = new CameraIconViewPrivate;
setThumbnailSize();
}

@ -43,7 +43,7 @@ class CameraIconView : public ThumbView {
TQ_OBJECT
public:
CameraIconView(TQWidget *tqparent);
CameraIconView(TQWidget *parent);
~CameraIconView();
void setThumbnailSize();
CameraIconItem* addItem(const GPFileItemInfo* fileInfo);

@ -44,7 +44,7 @@ class CameraListPrivate {
bool modified;
};
CameraList::CameraList(TQObject *tqparent, const TQString& file) : TQObject(tqparent) {
CameraList::CameraList(TQObject *parent, const TQString& file) : TQObject(parent) {
d = new CameraListPrivate;
d->clist.setAutoDelete(true);
d->file = file;

@ -38,7 +38,7 @@ class CameraList : public TQObject {
TQ_OBJECT
public:
CameraList(TQObject *tqparent, const TQString& file);
CameraList(TQObject *parent, const TQString& file);
~CameraList();
bool load();
bool close();

@ -51,8 +51,8 @@
namespace KIPIKameraKlientPlugin
{
CameraSelection::CameraSelection(TQWidget* tqparent)
: KDialogBase(tqparent, 0, true, i18n("Camera Selection"),
CameraSelection::CameraSelection(TQWidget* parent)
: KDialogBase(parent, 0, true, i18n("Camera Selection"),
Help|Ok|Cancel, Ok, true)
{
// About data and help button.

@ -48,7 +48,7 @@ class CameraSelection : public KDialogBase
public:
CameraSelection( TQWidget* tqparent = 0 );
CameraSelection( TQWidget* parent = 0 );
~CameraSelection();
void setCamera(const TQString& model, const TQString& port);

@ -43,8 +43,8 @@
namespace KIPIKameraKlientPlugin
{
GPController::GPController(TQObject *tqparent, const CameraType& ctype) : TQObject(tqparent) {
parent_ = tqparent;
GPController::GPController(TQObject *parent, const CameraType& ctype) : TQObject(parent) {
parent_ = parent;
camera_ = new GPCamera(TQString(ctype.model().latin1()), TQString(ctype.port().latin1()));
close_ = false;
connect(GPMessages::gpMessagesWrapper(), TQT_SIGNAL(statusChanged(const TQString&)),

@ -43,7 +43,7 @@ class GPController : public TQObject, public TQThread {
TQ_OBJECT
public:
GPController(TQObject *tqparent, const CameraType& ctype);
GPController(TQObject *parent, const CameraType& ctype);
~GPController();
void requestInitialize();

@ -29,10 +29,10 @@
namespace KIPIKameraKlientPlugin
{
GPEventFilter::GPEventFilter(TQObject* tqparent)
: TQObject(tqparent) {
tqparent->installEventFilter(this);
view_ = static_cast<CameraUI *>(TQT_TQWIDGET(tqparent));
GPEventFilter::GPEventFilter(TQObject* parent)
: TQObject(parent) {
parent->installEventFilter(this);
view_ = static_cast<CameraUI *>(TQT_TQWIDGET(parent));
}
GPEventFilter::~GPEventFilter() {

@ -40,7 +40,7 @@ class GPEventFilter : public TQObject {
TQ_OBJECT
public:
GPEventFilter(TQObject *tqparent);
GPEventFilter(TQObject *parent);
~GPEventFilter();
protected:

@ -33,7 +33,7 @@
namespace KIPIKameraKlientPlugin
{
GPFileItemContainer::GPFileItemContainer(TQObject *tqparent, CameraFolderView *folderView, CameraIconView *iconView) : TQObject(tqparent) {
GPFileItemContainer::GPFileItemContainer(TQObject *parent, CameraFolderView *folderView, CameraIconView *iconView) : TQObject(parent) {
folderView_ = folderView;
iconView_ = iconView;
folderDict_.setAutoDelete(true);

@ -44,7 +44,7 @@ class GPFileItemContainer : public TQObject {
TQ_OBJECT
public:
GPFileItemContainer(TQObject *tqparent, CameraFolderView *folderView, CameraIconView *iconView);
GPFileItemContainer(TQObject *parent, CameraFolderView *folderView, CameraIconView *iconView);
~GPFileItemContainer();
void addVirtualFolder(const TQString& title);

@ -39,8 +39,8 @@
typedef KGenericFactory<Plugin_KameraKlient> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_kameraklient, Factory("kipiplugin_kameraklient"))
Plugin_KameraKlient::Plugin_KameraKlient(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "KameraKlient") {
Plugin_KameraKlient::Plugin_KameraKlient(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "KameraKlient") {
kdDebug() << "KameraKlient KIPI Plugin loaded" << endl;
}

@ -35,7 +35,7 @@ Q_OBJECT
TQ_OBJECT
public:
Plugin_KameraKlient(TQObject *tqparent, const char* name, const TQStringList& args);
Plugin_KameraKlient(TQObject *parent, const char* name, const TQStringList& args);
~Plugin_KameraKlient();
virtual void setup(TQWidget* widget);
virtual KIPI::Category category(KAction*) const;

@ -31,7 +31,7 @@
namespace KIPIKameraKlientPlugin
{
SavefileDialog::SavefileDialog(const TQString& file, TQWidget *tqparent, const char* name, bool modal) : TQDialog(tqparent, name, modal) {
SavefileDialog::SavefileDialog(const TQString& file, TQWidget *parent, const char* name, bool modal) : TQDialog(parent, name, modal) {
TQFileInfo fileInfo(file);
setCaption(i18n("File Already Exists"));
TQLabel *descLbl = new TQLabel(i18n("The file '%1' already exists!").tqarg(fileInfo.absFilePath()), this);

@ -32,7 +32,7 @@ Q_OBJECT
public:
enum Operation { Rename, Skip, SkipAll, Overwrite, OverwriteAll, None };
SavefileDialog(const TQString& file, TQWidget *tqparent=0, const char* name=0, bool modal=true);
SavefileDialog(const TQString& file, TQWidget *parent=0, const char* name=0, bool modal=true);
~SavefileDialog();
Operation saveFileOperation();
TQString renameFile();

@ -56,8 +56,8 @@
namespace KIPIKameraKlientPlugin
{
SetupCamera::SetupCamera(TQWidget* tqparent, const char* name)
: KDialogBase(tqparent, name, true, i18n("Setup Cameras"),
SetupCamera::SetupCamera(TQWidget* parent, const char* name)
: KDialogBase(parent, name, true, i18n("Setup Cameras"),
Help|Ok|Cancel, Ok, true)
{
// About data and help button.

@ -44,7 +44,7 @@ class SetupCamera : public KDialogBase
public:
SetupCamera(TQWidget* tqparent = 0, const char* name = 0);
SetupCamera(TQWidget* parent = 0, const char* name = 0);
~SetupCamera();
void applySettings();

@ -31,7 +31,7 @@ namespace KIPIKameraKlientPlugin
class ThumbItemLineEdit : public TQTextEdit {
public:
ThumbItemLineEdit(const TQString& text, TQWidget* tqparent, ThumbItem* item);
ThumbItemLineEdit(const TQString& text, TQWidget* parent, ThumbItem* item);
private:
void keyPressEvent(TQKeyEvent *e);
@ -40,8 +40,8 @@ private:
TQString startText;
};
ThumbItemLineEdit::ThumbItemLineEdit(const TQString& text, TQWidget* tqparent, ThumbItem* item)
: TQTextEdit(tqparent), thumbItem(item), startText(text) {
ThumbItemLineEdit::ThumbItemLineEdit(const TQString& text, TQWidget* parent, ThumbItem* item)
: TQTextEdit(parent), thumbItem(item), startText(text) {
setFrameStyle(TQFrame::Plain | TQFrame::Box);
setLineWidth(1);
@ -88,8 +88,8 @@ class ThumbItemPrivate {
TQString key;
};
ThumbItem::ThumbItem(ThumbView* tqparent, const TQString& text, const TQPixmap& pixmap) {
view = tqparent;
ThumbItem::ThumbItem(ThumbView* parent, const TQString& text, const TQPixmap& pixmap) {
view = parent;
next = 0;
prev = 0;
renameBox = 0;

@ -37,7 +37,7 @@ class ThumbItem {
public:
ThumbItem(ThumbView* tqparent,
ThumbItem(ThumbView* parent,
const TQString& text,
const TQPixmap& pixmap);
virtual ~ThumbItem();

@ -92,7 +92,7 @@ static int cmpItems( const void *n1, const void *n2 ) {
}
ThumbView::ThumbView(TQWidget* tqparent, const char* name, WFlags fl) : TQScrollView(tqparent, name, TQt::WStaticContents | fl) {
ThumbView::ThumbView(TQWidget* parent, const char* name, WFlags fl) : TQScrollView(parent, name, TQt::WStaticContents | fl) {
setBackgroundMode(TQt::NoBackground);
viewport()->setBackgroundMode(TQt::NoBackground);
viewport()->setFocusProxy(this);

@ -39,7 +39,7 @@ class ThumbView : public TQScrollView {
public:
ThumbView(TQWidget* tqparent=0, const char* name=0,
ThumbView(TQWidget* parent=0, const char* name=0,
WFlags fl=0);
~ThumbView();

@ -73,10 +73,10 @@ public:
KIPIPlugins::KPAboutData *about;
};
CommentEditDialog::CommentEditDialog(TQWidget* tqparent)
CommentEditDialog::CommentEditDialog(TQWidget* parent)
: KDialogBase(Plain, i18n("Edit Image Caption"),
Help|Ok|Cancel, Ok,
tqparent, 0, true, true)
parent, 0, true, true)
{
d = new CommentEditDialogDialogPrivate;

@ -43,7 +43,7 @@ class CommentEditDialog : public KDialogBase
public:
CommentEditDialog(TQWidget* tqparent);
CommentEditDialog(TQWidget* parent);
~CommentEditDialog();
bool syncJFIFCommentIsChecked();

@ -71,10 +71,10 @@ public:
KIPIPlugins::KPAboutData *about;
};
CommentRemoveDialog::CommentRemoveDialog(TQWidget* tqparent)
CommentRemoveDialog::CommentRemoveDialog(TQWidget* parent)
: KDialogBase(Plain, i18n("Remove Image Captions"),
Help|Ok|Cancel, Ok,
tqparent, 0, true, true)
parent, 0, true, true)
{
d = new CommentRemoveDialogDialogPrivate;

@ -39,7 +39,7 @@ class CommentRemoveDialog : public KDialogBase
public:
CommentRemoveDialog(TQWidget* tqparent);
CommentRemoveDialog(TQWidget* parent);
~CommentRemoveDialog();
bool removeHOSTCommentIsChecked();

@ -87,17 +87,17 @@ public:
MetadataCheckBox *customRenderedCheck;
};
EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFAdjust::EXIFAdjust(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFAdjustPriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 6, 2, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 6, 2, KDialog::spacingHint());
// --------------------------------------------------------
d->brightnessCheck = new TQCheckBox(i18n("Brightness (APEX):"), tqparent);
d->brightnessEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, tqparent);
d->brightnessCheck = new TQCheckBox(i18n("Brightness (APEX):"), parent);
d->brightnessEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, parent);
grid->addMultiCellWidget(d->brightnessCheck, 0, 0, 0, 0);
grid->addMultiCellWidget(d->brightnessEdit, 0, 0, 2, 2);
TQWhatsThis::add(d->brightnessEdit, i18n("<p>Set here the brightness adjustment value in APEX unit "
@ -105,8 +105,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
// --------------------------------------------------------
d->gainControlCheck = new MetadataCheckBox(i18n("Gain Control:"), tqparent);
d->gainControlCB = new TQComboBox(false, tqparent);
d->gainControlCheck = new MetadataCheckBox(i18n("Gain Control:"), parent);
d->gainControlCB = new TQComboBox(false, parent);
d->gainControlCB->insertItem(i18n("None"), 0);
d->gainControlCB->insertItem(i18n("Low gain up"), 1);
d->gainControlCB->insertItem(i18n("High gain up"), 2);
@ -119,8 +119,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
// --------------------------------------------------------
d->contrastCheck = new MetadataCheckBox(i18n("Contrast:"), tqparent);
d->contrastCB = new TQComboBox(false, tqparent);
d->contrastCheck = new MetadataCheckBox(i18n("Contrast:"), parent);
d->contrastCB = new TQComboBox(false, parent);
d->contrastCB->insertItem(i18n("Normal"), 0);
d->contrastCB->insertItem(i18n("Soft"), 1);
d->contrastCB->insertItem(i18n("Hard"), 2);
@ -131,8 +131,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
// --------------------------------------------------------
d->saturationCheck = new MetadataCheckBox(i18n("Saturation:"), tqparent);
d->saturationCB = new TQComboBox(false, tqparent);
d->saturationCheck = new MetadataCheckBox(i18n("Saturation:"), parent);
d->saturationCB = new TQComboBox(false, parent);
d->saturationCB->insertItem(i18n("Normal"), 0);
d->saturationCB->insertItem(i18n("Low"), 1);
d->saturationCB->insertItem(i18n("High"), 2);
@ -143,8 +143,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
// --------------------------------------------------------
d->sharpnessCheck = new MetadataCheckBox(i18n("Sharpness:"), tqparent);
d->sharpnessCB = new TQComboBox(false, tqparent);
d->sharpnessCheck = new MetadataCheckBox(i18n("Sharpness:"), parent);
d->sharpnessCB = new TQComboBox(false, parent);
d->sharpnessCB->insertItem(i18n("Normal"), 0);
d->sharpnessCB->insertItem(i18n("Soft"), 1);
d->sharpnessCB->insertItem(i18n("Hard"), 2);
@ -155,8 +155,8 @@ EXIFAdjust::EXIFAdjust(TQWidget* tqparent)
// --------------------------------------------------------
d->customRenderedCheck = new MetadataCheckBox(i18n("Custom rendered:"), tqparent);
d->customRenderedCB = new TQComboBox(false, tqparent);
d->customRenderedCheck = new MetadataCheckBox(i18n("Custom rendered:"), parent);
d->customRenderedCB = new TQComboBox(false, parent);
d->customRenderedCB->insertItem(i18n("Normal process"), 0);
d->customRenderedCB->insertItem(i18n("Custom process"), 1);
grid->addMultiCellWidget(d->customRenderedCheck, 5, 5, 0, 0);

@ -40,7 +40,7 @@ class EXIFAdjust : public TQWidget
public:
EXIFAdjust(TQWidget* tqparent);
EXIFAdjust(TQWidget* parent);
~EXIFAdjust();
void applyMetadata(TQByteArray& exifData);

@ -91,11 +91,11 @@ public:
KLineEdit *copyrightEdit;
};
EXIFCaption::EXIFCaption(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFCaption::EXIFCaption(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFCaptionPriv;
TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() );
TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() );
// EXIF only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -103,8 +103,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->documentNameCheck = new TQCheckBox(i18n("Document name (*):"), tqparent);
d->documentNameEdit = new KLineEdit(tqparent);
d->documentNameCheck = new TQCheckBox(i18n("Document name (*):"), parent);
d->documentNameEdit = new KLineEdit(parent);
d->documentNameEdit->setValidator(asciiValidator);
vlay->addWidget(d->documentNameCheck);
vlay->addWidget(d->documentNameEdit);
@ -114,8 +114,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->imageDescCheck = new TQCheckBox(i18n("Image description (*):"), tqparent);
d->imageDescEdit = new KLineEdit(tqparent);
d->imageDescCheck = new TQCheckBox(i18n("Image description (*):"), parent);
d->imageDescEdit = new KLineEdit(parent);
d->imageDescEdit->setValidator(asciiValidator);
vlay->addWidget(d->imageDescCheck);
vlay->addWidget(d->imageDescEdit);
@ -124,8 +124,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->artistCheck = new TQCheckBox(i18n("Artist (*):"), tqparent);
d->artistEdit = new KLineEdit(tqparent);
d->artistCheck = new TQCheckBox(i18n("Artist (*):"), parent);
d->artistEdit = new KLineEdit(parent);
d->artistEdit->setValidator(asciiValidator);
vlay->addWidget(d->artistCheck);
vlay->addWidget(d->artistEdit);
@ -134,8 +134,8 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->copyrightCheck = new TQCheckBox(i18n("Copyright (*):"), tqparent);
d->copyrightEdit = new KLineEdit(tqparent);
d->copyrightCheck = new TQCheckBox(i18n("Copyright (*):"), parent);
d->copyrightEdit = new KLineEdit(parent);
d->copyrightEdit->setValidator(asciiValidator);
vlay->addWidget(d->copyrightCheck);
vlay->addWidget(d->copyrightEdit);
@ -144,18 +144,18 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->userCommentCheck = new TQCheckBox(i18n("Caption:"), tqparent);
d->userCommentEdit = new KTextEdit(tqparent);
d->userCommentCheck = new TQCheckBox(i18n("Caption:"), parent);
d->userCommentEdit = new KTextEdit(parent);
TQWhatsThis::add(d->userCommentEdit, i18n("<p>Enter the image's caption. "
"This field is not limited. UTF8 encoding "
"will be used to save the text."));
d->syncHOSTCommentCheck = new TQCheckBox(i18n("Sync captions entered through %1")
.tqarg(KApplication::kApplication()->aboutData()->appName()),
tqparent);
d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), tqparent);
parent);
d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), parent);
d->syncIPTCCaptionCheck = new TQCheckBox(i18n("Sync IPTC caption (warning: limited to 2000 printable "
"Ascii characters set)"), tqparent);
"Ascii characters set)"), parent);
vlay->addWidget(d->userCommentCheck);
vlay->addWidget(d->userCommentEdit);
@ -169,7 +169,7 @@ EXIFCaption::EXIFCaption(TQWidget* tqparent)
"<b><a href='http://en.wikipedia.org/wiki/EXIF'>EXIF</a></b> "
"text tags marked by (*) only support printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set.</b>"), tqparent);
"characters set.</b>"), parent);
vlay->addWidget(note);
vlay->addStretch();

@ -41,7 +41,7 @@ class EXIFCaption : public TQWidget
public:
EXIFCaption(TQWidget* tqparent);
EXIFCaption(TQWidget* parent);
~EXIFCaption();
void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData);

@ -91,25 +91,25 @@ public:
KDateTimeWidget *dateDigitalizedSel;
};
EXIFDateTime::EXIFDateTime(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFDateTime::EXIFDateTime(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFDateTimePriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 9, 3, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 9, 3, KDialog::spacingHint());
// --------------------------------------------------------
d->dateCreatedCheck = new TQCheckBox(i18n("Creation date and time"), tqparent);
d->dateCreatedSubSecCheck = new TQCheckBox(i18n("Creation sub-second"), tqparent);
d->dateCreatedSel = new KDateTimeWidget(tqparent);
d->dateCreatedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent);
d->dateCreatedCheck = new TQCheckBox(i18n("Creation date and time"), parent);
d->dateCreatedSubSecCheck = new TQCheckBox(i18n("Creation sub-second"), parent);
d->dateCreatedSel = new KDateTimeWidget(parent);
d->dateCreatedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent);
d->dateCreatedSel->setDateTime(TQDateTime::tqcurrentDateTime());
d->syncHOSTDateCheck = new TQCheckBox(i18n("Sync creation date entered through %1")
.tqarg(KApplication::kApplication()->aboutData()->appName()),
tqparent);
d->syncIPTCDateCheck = new TQCheckBox(i18n("Sync IPTC creation date"), tqparent);
KSeparator *line = new KSeparator(Qt::Horizontal, tqparent);
parent);
d->syncIPTCDateCheck = new TQCheckBox(i18n("Sync IPTC creation date"), parent);
KSeparator *line = new KSeparator(Qt::Horizontal, parent);
grid->addMultiCellWidget(d->dateCreatedCheck, 0, 0, 0, 0);
grid->addMultiCellWidget(d->dateCreatedSubSecCheck, 0, 0, 1, 2);
@ -126,10 +126,10 @@ EXIFDateTime::EXIFDateTime(TQWidget* tqparent)
// --------------------------------------------------------
d->dateOriginalCheck = new TQCheckBox(i18n("Original date and time"), tqparent);
d->dateOriginalSubSecCheck = new TQCheckBox(i18n("Original sub-second"), tqparent);
d->dateOriginalSel = new KDateTimeWidget(tqparent);
d->dateOriginalSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent);
d->dateOriginalCheck = new TQCheckBox(i18n("Original date and time"), parent);
d->dateOriginalSubSecCheck = new TQCheckBox(i18n("Original sub-second"), parent);
d->dateOriginalSel = new KDateTimeWidget(parent);
d->dateOriginalSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent);
d->dateOriginalSel->setDateTime(TQDateTime::tqcurrentDateTime());
grid->addMultiCellWidget(d->dateOriginalCheck, 5, 5, 0, 0);
grid->addMultiCellWidget(d->dateOriginalSubSecCheck, 5, 5, 1, 2);
@ -143,10 +143,10 @@ EXIFDateTime::EXIFDateTime(TQWidget* tqparent)
// --------------------------------------------------------
d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date and time"), tqparent);
d->dateDigitalizedSubSecCheck = new TQCheckBox(i18n("Digitization sub-second"), tqparent);
d->dateDigitalizedSel = new KDateTimeWidget(tqparent);
d->dateDigitalizedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, tqparent);
d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date and time"), parent);
d->dateDigitalizedSubSecCheck = new TQCheckBox(i18n("Digitization sub-second"), parent);
d->dateDigitalizedSel = new KDateTimeWidget(parent);
d->dateDigitalizedSubSecEdit = new KIntSpinBox(0, 999, 1, 0, 10, parent);
d->dateDigitalizedSel->setDateTime(TQDateTime::tqcurrentDateTime());
grid->addMultiCellWidget(d->dateDigitalizedCheck, 7, 7, 0, 0);
grid->addMultiCellWidget(d->dateDigitalizedSubSecCheck, 7, 7, 1, 2);

@ -41,7 +41,7 @@ class EXIFDateTime : public TQWidget
public:
EXIFDateTime(TQWidget* tqparent);
EXIFDateTime(TQWidget* parent);
~EXIFDateTime();
void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData);

@ -118,12 +118,12 @@ public:
MetadataCheckBox *subjectDistanceTypeCheck;
};
EXIFDevice::EXIFDevice(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFDevice::EXIFDevice(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFDevicePriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 16, 5, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 16, 5, KDialog::spacingHint());
// EXIF only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -131,8 +131,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->makeCheck = new TQCheckBox(i18n("Device manufacturer (*):"), tqparent);
d->makeEdit = new KLineEdit(tqparent);
d->makeCheck = new TQCheckBox(i18n("Device manufacturer (*):"), parent);
d->makeEdit = new KLineEdit(parent);
d->makeEdit->setValidator(asciiValidator);
grid->addMultiCellWidget(d->makeCheck, 0, 0, 0, 0);
grid->addMultiCellWidget(d->makeEdit, 0, 0, 2, 5);
@ -141,8 +141,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->modelCheck = new TQCheckBox(i18n("Device model (*):"), tqparent);
d->modelEdit = new KLineEdit(tqparent);
d->modelCheck = new TQCheckBox(i18n("Device model (*):"), parent);
d->modelEdit = new KLineEdit(parent);
d->modelEdit->setValidator(asciiValidator);
grid->addMultiCellWidget(d->modelCheck, 1, 1, 0, 0);
grid->addMultiCellWidget(d->modelEdit, 1, 1, 2, 5);
@ -151,8 +151,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), tqparent);
d->deviceTypeCB = new TQComboBox(false, tqparent);
d->deviceTypeCheck = new MetadataCheckBox(i18n("Device type:"), parent);
d->deviceTypeCB = new TQComboBox(false, parent);
d->deviceTypeCB->insertItem(i18n("Film scanner"), 0);
d->deviceTypeCB->insertItem(i18n("Reflection print scanner"), 1);
d->deviceTypeCB->insertItem(i18n("Digital still camera"), 2);
@ -164,18 +164,18 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
KActiveLabel *warning = new KActiveLabel(i18n("<b>Warning: EXIF <b><a href="
"'http://en.wikipedia.org/wiki/Exchangeable_image_file_format#MakerNote_Information'>"
"Makernotes</a></b> can be unreadable if you set "
"wrong device manufacturer/model description.</b>"), tqparent);
"wrong device manufacturer/model description.</b>"), parent);
KSeparator *line = new KSeparator(Qt::Horizontal, tqparent);
KSeparator *line = new KSeparator(Qt::Horizontal, parent);
grid->addMultiCellWidget(warning, 3, 3, 0, 5);
grid->addMultiCellWidget(line, 4, 4, 0, 5);
// --------------------------------------------------------
d->exposureTimeCheck = new TQCheckBox(i18n("Exposure time (seconds):"), tqparent);
d->exposureTimeNumEdit = new KIntSpinBox(1, 100000, 1, 1, 10, tqparent);
d->exposureTimeDenEdit = new KIntSpinBox(1, 100000, 1, 1, 10, tqparent);
TQLabel *exposureLabel = new TQLabel("/", tqparent);
d->exposureTimeCheck = new TQCheckBox(i18n("Exposure time (seconds):"), parent);
d->exposureTimeNumEdit = new KIntSpinBox(1, 100000, 1, 1, 10, parent);
d->exposureTimeDenEdit = new KIntSpinBox(1, 100000, 1, 1, 10, parent);
TQLabel *exposureLabel = new TQLabel("/", parent);
exposureLabel->tqsetAlignment (TQt::AlignRight|TQt::AlignVCenter);
grid->addMultiCellWidget(d->exposureTimeCheck, 5, 5, 0, 0);
grid->addMultiCellWidget(d->exposureTimeNumEdit, 5, 5, 2, 2);
@ -186,8 +186,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), tqparent);
d->exposureProgramCB = new TQComboBox(false, tqparent);
d->exposureProgramCheck = new MetadataCheckBox(i18n("Exposure program:"), parent);
d->exposureProgramCB = new TQComboBox(false, parent);
d->exposureProgramCB->insertItem(i18n("Not defined"), 0);
d->exposureProgramCB->insertItem(i18n("Manual"), 1);
d->exposureProgramCB->insertItem(i18n("Auto"), 2);
@ -204,8 +204,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), tqparent);
d->exposureModeCB = new TQComboBox(false, tqparent);
d->exposureModeCheck = new MetadataCheckBox(i18n("Exposure mode:"), parent);
d->exposureModeCB = new TQComboBox(false, parent);
d->exposureModeCB->insertItem(i18n("Auto"), 0);
d->exposureModeCB->insertItem(i18n("Manual"), 1);
d->exposureModeCB->insertItem(i18n("Auto bracket"), 2);
@ -219,20 +219,20 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->exposureBiasCheck = new TQCheckBox(i18n("Exposure bias (APEX):"), tqparent);
d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, tqparent);
d->exposureBiasCheck = new TQCheckBox(i18n("Exposure bias (APEX):"), parent);
d->exposureBiasEdit = new KDoubleSpinBox(-99.99, 99.99, 0.1, 0.0, 2, parent);
grid->addMultiCellWidget(d->exposureBiasCheck, 8, 8, 0, 0);
grid->addMultiCellWidget(d->exposureBiasEdit, 8, 8, 2, 2);
TQWhatsThis::add(d->exposureBiasEdit, i18n("<p>Set here the exposure bias value in APEX unit "
"used by camera to take the picture."));
KSeparator *line2 = new KSeparator(Qt::Horizontal, tqparent);
KSeparator *line2 = new KSeparator(Qt::Horizontal, parent);
grid->addMultiCellWidget(line2, 9, 9, 0, 5);
// --------------------------------------------------------
d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), tqparent);
d->meteringModeCB = new TQComboBox(false, tqparent);
d->meteringModeCheck = new MetadataCheckBox(i18n("Metering mode:"), parent);
d->meteringModeCB = new TQComboBox(false, parent);
d->meteringModeCB->insertItem(i18n("Unknown"), 0);
d->meteringModeCB->insertItem(i18n("Average"), 1);
d->meteringModeCB->insertItem(i18n("Center weighted average"), 2);
@ -248,8 +248,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), tqparent);
d->ISOSpeedCB = new TQComboBox(false, tqparent);
d->ISOSpeedCheck = new MetadataCheckBox(i18n("Sensitivity (ISO):"), parent);
d->ISOSpeedCB = new TQComboBox(false, parent);
d->ISOSpeedCB->insertItem("10", 0);
d->ISOSpeedCB->insertItem("12", 1);
d->ISOSpeedCB->insertItem("16", 2);
@ -293,8 +293,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), tqparent);
d->sensingMethodCB = new TQComboBox(false, tqparent);
d->sensingMethodCheck = new MetadataCheckBox(i18n("Sensing method:"), parent);
d->sensingMethodCB = new TQComboBox(false, parent);
d->sensingMethodCB->insertItem(i18n("Not defined"), 0);
d->sensingMethodCB->insertItem(i18n("One-chip color area"), 1);
d->sensingMethodCB->insertItem(i18n("Two-chip color area"), 2);
@ -309,8 +309,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), tqparent);
d->sceneTypeCB = new TQComboBox(false, tqparent);
d->sceneTypeCheck = new MetadataCheckBox(i18n("Scene capture type:"), parent);
d->sceneTypeCB = new TQComboBox(false, parent);
d->sceneTypeCB->insertItem(i18n("Standard"), 0);
d->sceneTypeCB->insertItem(i18n("Landscape"), 1);
d->sceneTypeCB->insertItem(i18n("Portrait"), 2);
@ -322,8 +322,8 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
// --------------------------------------------------------
d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), tqparent);
d->subjectDistanceTypeCB = new TQComboBox(false, tqparent);
d->subjectDistanceTypeCheck = new MetadataCheckBox(i18n("Subject distance type:"), parent);
d->subjectDistanceTypeCB = new TQComboBox(false, parent);
d->subjectDistanceTypeCB->insertItem(i18n("Unknow"), 0);
d->subjectDistanceTypeCB->insertItem(i18n("Macro"), 1);
d->subjectDistanceTypeCB->insertItem(i18n("Close view"), 2);
@ -339,7 +339,7 @@ EXIFDevice::EXIFDevice(TQWidget* tqparent)
"<b><a href='http://en.wikipedia.org/wiki/EXIF'>EXIF</a></b> "
"text tags marked by (*) only support printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set.</b>"), tqparent);
"characters set.</b>"), parent);
grid->addMultiCellWidget(note, 15, 15, 0, 5);
grid->setColStretch(1, 10);

@ -40,7 +40,7 @@ class EXIFDevice : public TQWidget
public:
EXIFDevice(TQWidget* tqparent);
EXIFDevice(TQWidget* parent);
~EXIFDevice();
void applyMetadata(TQByteArray& exifData);

@ -120,11 +120,11 @@ public:
KIPIPlugins::KPAboutData *about;
};
EXIFEditDialog::EXIFEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface)
EXIFEditDialog::EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface)
: KDialogBase(IconList, TQString(),
urls.count() > 1 ? Help|User1|User2|Stretch|Ok|Apply|Close
: Help|Stretch|Ok|Apply|Close,
Ok, tqparent, 0, true, true,
Ok, parent, 0, true, true,
KStdGuiItem::guiItem(KStdGuiItem::Forward),
KStdGuiItem::guiItem(KStdGuiItem::Back) )
{

@ -49,7 +49,7 @@ class EXIFEditDialog : public KDialogBase
public:
EXIFEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface);
EXIFEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface);
~EXIFEditDialog();
public slots:

@ -145,17 +145,17 @@ public:
MetadataCheckBox *maxApertureCheck;
};
EXIFLens::EXIFLens(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFLens::EXIFLens(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFLensPriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 5, 2, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 5, 2, KDialog::spacingHint());
// --------------------------------------------------------
d->focalLengthCheck = new TQCheckBox(i18n("Focal length (mm):"), tqparent);
d->focalLengthEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 50.0, 1, tqparent);
d->focalLengthCheck = new TQCheckBox(i18n("Focal length (mm):"), parent);
d->focalLengthEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 50.0, 1, parent);
grid->addMultiCellWidget(d->focalLengthCheck, 0, 0, 0, 0);
grid->addMultiCellWidget(d->focalLengthEdit, 0, 0, 2, 2);
TQWhatsThis::add(d->focalLengthEdit, i18n("<p>Set here the lens focal length in milimeters "
@ -163,8 +163,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent)
// --------------------------------------------------------
d->focalLength35mmCheck = new TQCheckBox(i18n("Focal length in 35mm film (mm):"), tqparent);
d->focalLength35mmEdit = new KIntSpinBox(1, 10000, 1, 1, 10, tqparent);
d->focalLength35mmCheck = new TQCheckBox(i18n("Focal length in 35mm film (mm):"), parent);
d->focalLength35mmEdit = new KIntSpinBox(1, 10000, 1, 1, 10, parent);
grid->addMultiCellWidget(d->focalLength35mmCheck, 1, 1, 0, 0);
grid->addMultiCellWidget(d->focalLength35mmEdit, 1, 1, 2, 2);
TQWhatsThis::add(d->focalLength35mmEdit, i18n("<p>Set here equivalent focal length assuming "
@ -173,8 +173,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent)
// --------------------------------------------------------
d->digitalZoomRatioCheck = new TQCheckBox(i18n("Digital zoom ratio:"), tqparent);
d->digitalZoomRatioEdit = new KDoubleSpinBox(0.0, 100.0, 0.1, 1.0, 1, tqparent);
d->digitalZoomRatioCheck = new TQCheckBox(i18n("Digital zoom ratio:"), parent);
d->digitalZoomRatioEdit = new KDoubleSpinBox(0.0, 100.0, 0.1, 1.0, 1, parent);
grid->addMultiCellWidget(d->digitalZoomRatioCheck, 2, 2, 0, 0);
grid->addMultiCellWidget(d->digitalZoomRatioEdit, 2, 2, 2, 2);
TQWhatsThis::add(d->digitalZoomRatioEdit, i18n("<p>Set here the digital zoom ratio "
@ -182,8 +182,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent)
// --------------------------------------------------------
d->apertureCheck = new MetadataCheckBox(i18n("Lens aperture (f-number):"), tqparent);
d->apertureCB = new TQComboBox(false, tqparent);
d->apertureCheck = new MetadataCheckBox(i18n("Lens aperture (f-number):"), parent);
d->apertureCB = new TQComboBox(false, parent);
d->apertureCB->insertStringList(d->apertureValues);
grid->addMultiCellWidget(d->apertureCheck, 3, 3, 0, 0);
grid->addMultiCellWidget(d->apertureCB, 3, 3, 2, 2);
@ -192,8 +192,8 @@ EXIFLens::EXIFLens(TQWidget* tqparent)
// --------------------------------------------------------
d->maxApertureCheck = new MetadataCheckBox(i18n("Max. lens aperture (f-number):"), tqparent);
d->maxApertureCB = new TQComboBox(false, tqparent);
d->maxApertureCheck = new MetadataCheckBox(i18n("Max. lens aperture (f-number):"), parent);
d->maxApertureCB = new TQComboBox(false, parent);
d->maxApertureCB->insertStringList(d->apertureValues);
grid->addMultiCellWidget(d->maxApertureCheck, 4, 4, 0, 0);
grid->addMultiCellWidget(d->maxApertureCB, 4, 4, 2, 2);

@ -40,7 +40,7 @@ class EXIFLens : public TQWidget
public:
EXIFLens(TQWidget* tqparent);
EXIFLens(TQWidget* parent);
~EXIFLens();
void applyMetadata(TQByteArray& exifData);

@ -123,17 +123,17 @@ public:
MetadataCheckBox *whiteBalanceCheck;
};
EXIFLight::EXIFLight(TQWidget* tqparent)
: TQWidget(tqparent)
EXIFLight::EXIFLight(TQWidget* parent)
: TQWidget(parent)
{
d = new EXIFLightPriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 4, 3, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 4, 3, KDialog::spacingHint());
// --------------------------------------------------------
d->lightSourceCheck = new MetadataCheckBox(i18n("Light source:"), tqparent);
d->lightSourceCB = new TQComboBox(false, tqparent);
d->lightSourceCheck = new MetadataCheckBox(i18n("Light source:"), parent);
d->lightSourceCB = new TQComboBox(false, parent);
d->lightSourceCB->insertItem(i18n("Unknown"), 0);
d->lightSourceCB->insertItem(i18n("Daylight"), 1);
d->lightSourceCB->insertItem(i18n("Fluorescent"), 2);
@ -162,8 +162,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent)
// --------------------------------------------------------
d->flashModeCheck = new MetadataCheckBox(i18n("Flash mode:"), tqparent);
d->flashModeCB = new TQComboBox(false, tqparent);
d->flashModeCheck = new MetadataCheckBox(i18n("Flash mode:"), parent);
d->flashModeCB = new TQComboBox(false, parent);
for (EXIFLightPriv::FlashModeMap::Iterator it = d->flashModeMap.begin();
it != d->flashModeMap.end(); ++it )
@ -176,8 +176,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent)
// --------------------------------------------------------
d->flashEnergyCheck = new TQCheckBox(i18n("Flash energy (BCPS):"), tqparent);
d->flashEnergyEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 1.0, 1, tqparent);
d->flashEnergyCheck = new TQCheckBox(i18n("Flash energy (BCPS):"), parent);
d->flashEnergyEdit = new KDoubleSpinBox(1.0, 10000.0, 1.0, 1.0, 1, parent);
grid->addMultiCellWidget(d->flashEnergyCheck, 2, 2, 0, 0);
grid->addMultiCellWidget(d->flashEnergyEdit, 2, 2, 2, 2);
TQWhatsThis::add(d->flashEnergyEdit, i18n("<p>Set here the flash energy used to take the picture "
@ -188,8 +188,8 @@ EXIFLight::EXIFLight(TQWidget* tqparent)
// --------------------------------------------------------
d->whiteBalanceCheck = new MetadataCheckBox(i18n("White balance:"), tqparent);
d->whiteBalanceCB = new TQComboBox(false, tqparent);
d->whiteBalanceCheck = new MetadataCheckBox(i18n("White balance:"), parent);
d->whiteBalanceCB = new TQComboBox(false, parent);
d->whiteBalanceCB->insertItem(i18n("Auto"), 0);
d->whiteBalanceCB->insertItem(i18n("Manual"), 1);
grid->addMultiCellWidget(d->whiteBalanceCheck, 3, 3, 0, 0);

@ -40,7 +40,7 @@ class EXIFLight : public TQWidget
public:
EXIFLight(TQWidget* tqparent);
EXIFLight(TQWidget* parent);
~EXIFLight();
void applyMetadata(TQByteArray& exifData);

@ -87,11 +87,11 @@ public:
KLineEdit *headlineEdit;
};
IPTCCaption::IPTCCaption(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCCaption::IPTCCaption(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCCaptionPriv;
TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() );
TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() );
// IPTC only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -99,14 +99,14 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->captionCheck = new TQCheckBox(i18n("Caption:"), tqparent);
d->captionEdit = new KTextEdit(tqparent);
d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), tqparent);
d->captionCheck = new TQCheckBox(i18n("Caption:"), parent);
d->captionEdit = new KTextEdit(parent);
d->syncJFIFCommentCheck = new TQCheckBox(i18n("Sync JFIF Comment section"), parent);
d->syncHOSTCommentCheck = new TQCheckBox(i18n("Sync caption entered through %1")
.tqarg(KApplication::kApplication()->aboutData()->appName()),
tqparent);
d->syncEXIFCommentCheck = new TQCheckBox(i18n("Sync EXIF Comment"), tqparent);
KSeparator *line = new KSeparator(Qt::Horizontal, tqparent);
parent);
d->syncEXIFCommentCheck = new TQCheckBox(i18n("Sync EXIF Comment"), parent);
KSeparator *line = new KSeparator(Qt::Horizontal, parent);
/* d->captionEdit->setValidator(asciiValidator);
d->captionEdit->setMaxLength(2000);*/
@ -121,8 +121,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->writerCheck = new TQCheckBox(i18n("Caption Writer:"), tqparent);
d->writerEdit = new KLineEdit(tqparent);
d->writerCheck = new TQCheckBox(i18n("Caption Writer:"), parent);
d->writerEdit = new KLineEdit(parent);
d->writerEdit->setValidator(asciiValidator);
d->writerEdit->setMaxLength(32);
vlay->addWidget(d->writerCheck);
@ -132,8 +132,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->headlineCheck = new TQCheckBox(i18n("Headline:"), tqparent);
d->headlineEdit = new KLineEdit(tqparent);
d->headlineCheck = new TQCheckBox(i18n("Headline:"), parent);
d->headlineEdit = new KLineEdit(parent);
d->headlineEdit->setValidator(asciiValidator);
d->headlineEdit->setMaxLength(256);
vlay->addWidget(d->headlineCheck);
@ -143,8 +143,8 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent)
// --------------------------------------------------------
d->specialInstructionCheck = new TQCheckBox(i18n("Special Instructions:"), tqparent);
d->specialInstructionEdit = new KTextEdit(tqparent);
d->specialInstructionCheck = new TQCheckBox(i18n("Special Instructions:"), parent);
d->specialInstructionEdit = new KTextEdit(parent);
/* d->specialInstructionEdit->setValidator(asciiValidator);
d->specialInstructionEdit->setMaxLength(256);*/
vlay->addWidget(d->specialInstructionCheck);
@ -159,7 +159,7 @@ IPTCCaption::IPTCCaption(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
vlay->addWidget(note);
vlay->addStretch();

@ -40,7 +40,7 @@ class IPTCCaption : public TQWidget
public:
IPTCCaption(TQWidget* tqparent);
IPTCCaption(TQWidget* parent);
~IPTCCaption();
void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData);

@ -79,11 +79,11 @@ public:
KListBox *subCategoriesBox;
};
IPTCCategories::IPTCCategories(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCCategories::IPTCCategories(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCCategoriesPriv;
TQGridLayout *grid = new TQGridLayout(tqparent, 6, 1, 0, KDialog::spacingHint());
TQGridLayout *grid = new TQGridLayout(parent, 6, 1, 0, KDialog::spacingHint());
grid->tqsetAlignment( TQt::AlignTop );
// IPTC only accept printable Ascii char.
@ -92,26 +92,26 @@ IPTCCategories::IPTCCategories(TQWidget* tqparent)
// --------------------------------------------------------
d->categoryCheck = new TQCheckBox(i18n("Identify subject of content (3 chars max):"), tqparent);
d->categoryEdit = new KLineEdit(tqparent);
d->categoryCheck = new TQCheckBox(i18n("Identify subject of content (3 chars max):"), parent);
d->categoryEdit = new KLineEdit(parent);
d->categoryEdit->setValidator(asciiValidator);
d->categoryEdit->setMaxLength(3);
TQWhatsThis::add(d->categoryEdit, i18n("<p>Set here the category of content. This field is limited "
"to 3 ASCII characters."));
d->subCategoriesCheck = new TQCheckBox(i18n("Supplemental categories:"), tqparent);
d->subCategoriesCheck = new TQCheckBox(i18n("Supplemental categories:"), parent);
d->subCategoryEdit = new KLineEdit(tqparent);
d->subCategoryEdit = new KLineEdit(parent);
d->subCategoryEdit->setValidator(asciiValidator);
d->subCategoryEdit->setMaxLength(32);
TQWhatsThis::add(d->subCategoryEdit, i18n("<p>Enter here a new supplemental category of content. "
"This field is limited to 32 ASCII characters."));
d->subCategoriesBox = new KListBox(tqparent);
d->subCategoriesBox = new KListBox(parent);
d->subCategoriesBox->setVScrollBarMode(TQScrollView::AlwaysOn);
d->addSubCategoryButton = new TQPushButton( i18n("&Add"), tqparent);
d->delSubCategoryButton = new TQPushButton( i18n("&Delete"), tqparent);
d->addSubCategoryButton = new TQPushButton( i18n("&Add"), parent);
d->delSubCategoryButton = new TQPushButton( i18n("&Delete"), parent);
d->addSubCategoryButton->setIconSet(SmallIcon("add"));
d->delSubCategoryButton->setIconSet(SmallIcon("remove"));
d->delSubCategoryButton->setEnabled(false);
@ -131,7 +131,7 @@ IPTCCategories::IPTCCategories(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
note->setMaximumWidth(150);
grid->addMultiCellWidget(note, 5, 5, 1, 1);

@ -40,7 +40,7 @@ class IPTCCategories : public TQWidget
public:
IPTCCategories(TQWidget* tqparent);
IPTCCategories(TQWidget* parent);
~IPTCCategories();
void applyMetadata(TQByteArray& iptcData);

@ -84,11 +84,11 @@ public:
KLineEdit *contactEdit;
};
IPTCCredits::IPTCCredits(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCCredits::IPTCCredits(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCCreditsPriv;
TQVBoxLayout *vlay = new TQVBoxLayout( tqparent, 0, KDialog::spacingHint() );
TQVBoxLayout *vlay = new TQVBoxLayout( parent, 0, KDialog::spacingHint() );
// IPTC only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -96,8 +96,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->copyrightCheck = new TQCheckBox(i18n("Copyright:"), tqparent);
d->copyrightEdit = new KLineEdit(tqparent);
d->copyrightCheck = new TQCheckBox(i18n("Copyright:"), parent);
d->copyrightEdit = new KLineEdit(parent);
d->copyrightEdit->setValidator(asciiValidator);
d->copyrightEdit->setMaxLength(128);
vlay->addWidget(d->copyrightCheck);
@ -107,8 +107,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->bylineCheck = new TQCheckBox(i18n("Byline:"), tqparent);
d->bylineEdit = new KLineEdit(tqparent);
d->bylineCheck = new TQCheckBox(i18n("Byline:"), parent);
d->bylineEdit = new KLineEdit(parent);
d->bylineEdit->setValidator(asciiValidator);
d->bylineEdit->setMaxLength(32);
vlay->addWidget(d->bylineCheck);
@ -118,8 +118,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->bylineTitleCheck = new TQCheckBox(i18n("Byline Title:"), tqparent);
d->bylineTitleEdit = new KLineEdit(tqparent);
d->bylineTitleCheck = new TQCheckBox(i18n("Byline Title:"), parent);
d->bylineTitleEdit = new KLineEdit(parent);
d->bylineTitleEdit->setValidator(asciiValidator);
d->bylineTitleEdit->setMaxLength(32);
vlay->addWidget(d->bylineTitleCheck);
@ -129,8 +129,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->creditCheck = new TQCheckBox(i18n("Credit:"), tqparent);
d->creditEdit = new KLineEdit(tqparent);
d->creditCheck = new TQCheckBox(i18n("Credit:"), parent);
d->creditEdit = new KLineEdit(parent);
d->creditEdit->setValidator(asciiValidator);
d->creditEdit->setMaxLength(32);
vlay->addWidget(d->creditCheck);
@ -140,8 +140,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->sourceCheck = new TQCheckBox(i18n("Source:"), tqparent);
d->sourceEdit = new KLineEdit(tqparent);
d->sourceCheck = new TQCheckBox(i18n("Source:"), parent);
d->sourceEdit = new KLineEdit(parent);
d->sourceEdit->setValidator(asciiValidator);
d->sourceEdit->setMaxLength(32);
vlay->addWidget(d->sourceCheck);
@ -151,8 +151,8 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
// --------------------------------------------------------
d->contactCheck = new TQCheckBox(i18n("Contact:"), tqparent);
d->contactEdit = new KLineEdit(tqparent);
d->contactCheck = new TQCheckBox(i18n("Contact:"), parent);
d->contactEdit = new KLineEdit(parent);
d->contactEdit->setValidator(asciiValidator);
d->contactEdit->setMaxLength(128);
vlay->addWidget(d->contactCheck);
@ -167,7 +167,7 @@ IPTCCredits::IPTCCredits(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
vlay->addWidget(note);
vlay->addStretch();

@ -40,7 +40,7 @@ class IPTCCredits : public TQWidget
public:
IPTCCredits(TQWidget* tqparent);
IPTCCredits(TQWidget* parent);
~IPTCCredits();
void applyMetadata(TQByteArray& iptcData);

@ -100,24 +100,24 @@ public:
KTimeWidget *timeDigitalizedSel;
};
IPTCDateTime::IPTCDateTime(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCDateTime::IPTCDateTime(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCDateTimePriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 11, 2, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 11, 2, KDialog::spacingHint());
// --------------------------------------------------------
d->dateCreatedCheck = new TQCheckBox(i18n("Creation date"), tqparent);
d->timeCreatedCheck = new TQCheckBox(i18n("Creation time"), tqparent);
d->dateCreatedSel = new KDateWidget(tqparent);
d->timeCreatedSel = new KTimeWidget(tqparent);
d->dateCreatedCheck = new TQCheckBox(i18n("Creation date"), parent);
d->timeCreatedCheck = new TQCheckBox(i18n("Creation time"), parent);
d->dateCreatedSel = new KDateWidget(parent);
d->timeCreatedSel = new KTimeWidget(parent);
d->syncHOSTDateCheck = new TQCheckBox(i18n("Sync creation date entered through %1")
.tqarg(KApplication::kApplication()->aboutData()->appName()),
tqparent);
d->syncEXIFDateCheck = new TQCheckBox(i18n("Sync EXIF creation date"), tqparent);
KSeparator *line = new KSeparator(Qt::Horizontal, tqparent);
parent);
d->syncEXIFDateCheck = new TQCheckBox(i18n("Sync EXIF creation date"), parent);
KSeparator *line = new KSeparator(Qt::Horizontal, parent);
d->dateCreatedSel->setDate(TQDate::tqcurrentDate());
d->timeCreatedSel->setTime(TQTime::currentTime());
grid->addMultiCellWidget(d->dateCreatedCheck, 0, 0, 0, 0);
@ -134,10 +134,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent)
// --------------------------------------------------------
d->dateReleasedCheck = new TQCheckBox(i18n("Release date"), tqparent);
d->timeReleasedCheck = new TQCheckBox(i18n("Release time"), tqparent);
d->dateReleasedSel = new KDateWidget(tqparent);
d->timeReleasedSel = new KTimeWidget(tqparent);
d->dateReleasedCheck = new TQCheckBox(i18n("Release date"), parent);
d->timeReleasedCheck = new TQCheckBox(i18n("Release time"), parent);
d->dateReleasedSel = new KDateWidget(parent);
d->timeReleasedSel = new KTimeWidget(parent);
d->dateReleasedSel->setDate(TQDate::tqcurrentDate());
d->timeReleasedSel->setTime(TQTime::currentTime());
grid->addMultiCellWidget(d->dateReleasedCheck, 5, 5, 0, 0);
@ -151,10 +151,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent)
// --------------------------------------------------------
d->dateExpiredCheck = new TQCheckBox(i18n("Expiration date"), tqparent);
d->timeExpiredCheck = new TQCheckBox(i18n("Expiration time"), tqparent);
d->dateExpiredSel = new KDateWidget(tqparent);
d->timeExpiredSel = new KTimeWidget(tqparent);
d->dateExpiredCheck = new TQCheckBox(i18n("Expiration date"), parent);
d->timeExpiredCheck = new TQCheckBox(i18n("Expiration time"), parent);
d->dateExpiredSel = new KDateWidget(parent);
d->timeExpiredSel = new KTimeWidget(parent);
d->dateExpiredSel->setDate(TQDate::tqcurrentDate());
d->timeExpiredSel->setTime(TQTime::currentTime());
grid->addMultiCellWidget(d->dateExpiredCheck, 7, 7, 0, 0);
@ -168,10 +168,10 @@ IPTCDateTime::IPTCDateTime(TQWidget* tqparent)
// --------------------------------------------------------
d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date"), tqparent);
d->timeDigitalizedCheck = new TQCheckBox(i18n("Digitization time"), tqparent);
d->dateDigitalizedSel = new KDateWidget(tqparent);
d->timeDigitalizedSel = new KTimeWidget(tqparent);
d->dateDigitalizedCheck = new TQCheckBox(i18n("Digitization date"), parent);
d->timeDigitalizedCheck = new TQCheckBox(i18n("Digitization time"), parent);
d->dateDigitalizedSel = new KDateWidget(parent);
d->timeDigitalizedSel = new KTimeWidget(parent);
d->dateDigitalizedSel->setDate(TQDate::tqcurrentDate());
d->timeDigitalizedSel->setTime(TQTime::currentTime());
grid->addMultiCellWidget(d->dateDigitalizedCheck, 9, 9, 0, 0);

@ -40,7 +40,7 @@ class IPTCDateTime : public TQWidget
public:
IPTCDateTime(TQWidget* tqparent);
IPTCDateTime(TQWidget* parent);
~IPTCDateTime();
void applyMetadata(TQByteArray& exifData, TQByteArray& iptcData);

@ -128,11 +128,11 @@ public:
KIPIPlugins::KPAboutData *about;
};
IPTCEditDialog::IPTCEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface)
IPTCEditDialog::IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface)
: KDialogBase(IconList, TQString(),
urls.count() > 1 ? Help|User1|User2|Stretch|Ok|Apply|Close
: Help|Stretch|Ok|Apply|Close,
Ok, tqparent, 0, true, true,
Ok, parent, 0, true, true,
KStdGuiItem::guiItem(KStdGuiItem::Forward),
KStdGuiItem::guiItem(KStdGuiItem::Back) )
{

@ -44,7 +44,7 @@ class IPTCEditDialog : public KDialogBase
public:
IPTCEditDialog(TQWidget* tqparent, KURL::List urls, KIPI::Interface *iface);
IPTCEditDialog(TQWidget* parent, KURL::List urls, KIPI::Interface *iface);
~IPTCEditDialog();
public slots:

@ -75,11 +75,11 @@ public:
KListBox *keywordsBox;
};
IPTCKeywords::IPTCKeywords(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCKeywords::IPTCKeywords(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCKeywordsPriv;
TQGridLayout *grid = new TQGridLayout(tqparent, 5, 2, 0, KDialog::spacingHint());
TQGridLayout *grid = new TQGridLayout(parent, 5, 2, 0, KDialog::spacingHint());
grid->tqsetAlignment( TQt::AlignTop );
// IPTC only accept printable Ascii char.
@ -88,19 +88,19 @@ IPTCKeywords::IPTCKeywords(TQWidget* tqparent)
// --------------------------------------------------------
d->keywordsCheck = new TQCheckBox(i18n("Use information retrieval words:"), tqparent);
d->keywordsCheck = new TQCheckBox(i18n("Use information retrieval words:"), parent);
d->keywordEdit = new KLineEdit(tqparent);
d->keywordEdit = new KLineEdit(parent);
d->keywordEdit->setValidator(asciiValidator);
d->keywordEdit->setMaxLength(64);
TQWhatsThis::add(d->keywordEdit, i18n("<p>Enter here a new keyword. "
"This field is limited to 64 ASCII characters."));
d->keywordsBox = new KListBox(tqparent);
d->keywordsBox = new KListBox(parent);
d->keywordsBox->setVScrollBarMode(TQScrollView::AlwaysOn);
d->addKeywordButton = new TQPushButton( i18n("&Add"), tqparent);
d->delKeywordButton = new TQPushButton( i18n("&Delete"), tqparent);
d->addKeywordButton = new TQPushButton( i18n("&Add"), parent);
d->delKeywordButton = new TQPushButton( i18n("&Delete"), parent);
d->addKeywordButton->setIconSet(SmallIcon("add"));
d->delKeywordButton->setIconSet(SmallIcon("remove"));
d->delKeywordButton->setEnabled(false);
@ -118,7 +118,7 @@ IPTCKeywords::IPTCKeywords(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
note->setMaximumWidth(150);
grid->addMultiCellWidget(note, 4, 4, 1, 1);

@ -40,7 +40,7 @@ class IPTCKeywords : public TQWidget
public:
IPTCKeywords(TQWidget* tqparent);
IPTCKeywords(TQWidget* parent);
~IPTCKeywords();
void applyMetadata(TQByteArray& iptcData);

@ -353,12 +353,12 @@ public:
MetadataCheckBox *countryCheck;
};
IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCOrigin::IPTCOrigin(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCOriginPriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 12, 2, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 12, 2, KDialog::spacingHint());
// IPTC only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -366,8 +366,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->objectNameCheck = new TQCheckBox(i18n("Object name:"), tqparent);
d->objectNameEdit = new KLineEdit(tqparent);
d->objectNameCheck = new TQCheckBox(i18n("Object name:"), parent);
d->objectNameEdit = new KLineEdit(parent);
d->objectNameEdit->setValidator(asciiValidator);
d->objectNameEdit->setMaxLength(64);
TQWhatsThis::add(d->objectNameEdit, i18n("<p>Set here the shorthand reference of content. "
@ -375,8 +375,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->locationCheck = new TQCheckBox(i18n("Location:"), tqparent);
d->locationEdit = new KLineEdit(tqparent);
d->locationCheck = new TQCheckBox(i18n("Location:"), parent);
d->locationEdit = new KLineEdit(parent);
d->locationEdit->setValidator(asciiValidator);
d->locationEdit->setMaxLength(64);
TQWhatsThis::add(d->locationEdit, i18n("<p>Set here the full country name referenced by the content. "
@ -385,8 +385,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->cityCheck = new TQCheckBox(i18n("City:"), tqparent);
d->cityEdit = new KLineEdit(tqparent);
d->cityCheck = new TQCheckBox(i18n("City:"), parent);
d->cityEdit = new KLineEdit(parent);
d->cityEdit->setValidator(asciiValidator);
d->cityEdit->setMaxLength(32);
TQWhatsThis::add(d->cityEdit, i18n("<p>Set here the city of content origin. "
@ -394,8 +394,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->sublocationCheck = new TQCheckBox(i18n("Sublocation:"), tqparent);
d->sublocationEdit = new KLineEdit(tqparent);
d->sublocationCheck = new TQCheckBox(i18n("Sublocation:"), parent);
d->sublocationEdit = new KLineEdit(parent);
d->sublocationEdit->setValidator(asciiValidator);
d->sublocationEdit->setMaxLength(32);
TQWhatsThis::add(d->sublocationEdit, i18n("<p>Set here the content location within city. "
@ -403,8 +403,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->provinceCheck = new TQCheckBox(i18n("State/Province:"), tqparent);
d->provinceEdit = new KLineEdit(tqparent);
d->provinceCheck = new TQCheckBox(i18n("State/Province:"), parent);
d->provinceEdit = new KLineEdit(parent);
d->provinceEdit->setValidator(asciiValidator);
d->provinceEdit->setMaxLength(32);
TQWhatsThis::add(d->provinceEdit, i18n("<p>Set here the Province or State of content origin. "
@ -412,8 +412,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->countryCheck = new MetadataCheckBox(i18n("Country:"), tqparent);
d->countryCB = new TQComboBox(false, tqparent);
d->countryCheck = new MetadataCheckBox(i18n("Country:"), parent);
d->countryCB = new TQComboBox(false, parent);
for (IPTCOriginPriv::CountryCodeMap::Iterator it = d->countryCodeMap.begin();
it != d->countryCodeMap.end(); ++it )
@ -425,8 +425,8 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
// --------------------------------------------------------
d->originalTransCheck = new TQCheckBox(i18n("Original transmission reference:"), tqparent);
d->originalTransEdit = new KLineEdit(tqparent);
d->originalTransCheck = new TQCheckBox(i18n("Original transmission reference:"), parent);
d->originalTransEdit = new KLineEdit(parent);
d->originalTransEdit->setValidator(asciiValidator);
d->originalTransEdit->setMaxLength(32);
TQWhatsThis::add(d->originalTransEdit, i18n("<p>Set here the location of original content transmission. "
@ -439,7 +439,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
// --------------------------------------------------------
@ -447,7 +447,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
grid->addMultiCellWidget(d->objectNameEdit, 1, 1, 0, 2);
grid->addMultiCellWidget(d->locationCheck, 2, 2, 0, 0);
grid->addMultiCellWidget(d->locationEdit, 2, 2, 1, 2);
grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, tqparent), 3, 3, 0, 2);
grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, parent), 3, 3, 0, 2);
grid->addMultiCellWidget(d->cityCheck, 4, 4, 0, 0);
grid->addMultiCellWidget(d->cityEdit, 4, 4, 1, 2);
grid->addMultiCellWidget(d->sublocationCheck, 5, 5, 0, 0);
@ -456,7 +456,7 @@ IPTCOrigin::IPTCOrigin(TQWidget* tqparent)
grid->addMultiCellWidget(d->provinceEdit, 6, 6, 1, 2);
grid->addMultiCellWidget(d->countryCheck, 7, 7, 0, 0);
grid->addMultiCellWidget(d->countryCB, 7, 7, 1, 2);
grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, tqparent), 8, 8, 0, 2);
grid->addMultiCellWidget(new KSeparator(Qt::Horizontal, parent), 8, 8, 0, 2);
grid->addMultiCellWidget(d->originalTransCheck, 9, 9, 0, 2);
grid->addMultiCellWidget(d->originalTransEdit, 10, 10, 0, 2);
grid->addMultiCellWidget(note, 11, 11, 0, 2);

@ -40,7 +40,7 @@ class IPTCOrigin : public TQWidget
public:
IPTCOrigin(TQWidget* tqparent);
IPTCOrigin(TQWidget* parent);
~IPTCOrigin();
void applyMetadata(TQByteArray& iptcData);

@ -88,12 +88,12 @@ public:
MetadataCheckBox *objectAttributeCheck;
};
IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCtqStatus::IPTCtqStatus(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCStatusPriv;
TQGridLayout* grid = new TQGridLayout(tqparent, 11, 2, KDialog::spacingHint());
TQGridLayout* grid = new TQGridLayout(parent, 11, 2, KDialog::spacingHint());
// IPTC only accept printable Ascii char.
TQRegExp asciiRx("[\x20-\x7F]+$");
@ -101,8 +101,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->statusCheck = new TQCheckBox(i18n("Edit tqStatus:"), tqparent);
d->statusEdit = new KLineEdit(tqparent);
d->statusCheck = new TQCheckBox(i18n("Edit tqStatus:"), parent);
d->statusEdit = new KLineEdit(parent);
d->statusEdit->setValidator(asciiValidator);
d->statusEdit->setMaxLength(64);
grid->addMultiCellWidget(d->statusCheck, 0, 0, 0, 2);
@ -112,8 +112,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->priorityCheck = new MetadataCheckBox(i18n("Priority:"), tqparent);
d->priorityCB = new TQComboBox(false, tqparent);
d->priorityCheck = new MetadataCheckBox(i18n("Priority:"), parent);
d->priorityCB = new TQComboBox(false, parent);
d->priorityCB->insertItem(i18n("0: None"), 0);
d->priorityCB->insertItem(i18n("1: High"), 1);
d->priorityCB->insertItem("2", 2);
@ -129,8 +129,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->objectCycleCheck = new MetadataCheckBox(i18n("Object Cycle:"), tqparent);
d->objectCycleCB = new TQComboBox(false, tqparent);
d->objectCycleCheck = new MetadataCheckBox(i18n("Object Cycle:"), parent);
d->objectCycleCB = new TQComboBox(false, parent);
d->objectCycleCB->insertItem(i18n("Morning"), 0);
d->objectCycleCB->insertItem(i18n("Afternoon"), 1);
d->objectCycleCB->insertItem(i18n("Evening"), 2);
@ -140,9 +140,9 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->objectTypeCheck = new MetadataCheckBox(i18n("Object Type:"), tqparent);
d->objectTypeCB = new TQComboBox(false, tqparent);
d->objectTypeDescEdit = new KLineEdit(tqparent);
d->objectTypeCheck = new MetadataCheckBox(i18n("Object Type:"), parent);
d->objectTypeCB = new TQComboBox(false, parent);
d->objectTypeDescEdit = new KLineEdit(parent);
d->objectTypeDescEdit->setValidator(asciiValidator);
d->objectTypeDescEdit->setMaxLength(64);
d->objectTypeCB->insertItem(i18n("News"), 0);
@ -157,9 +157,9 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->objectAttributeCheck = new MetadataCheckBox(i18n("Object Attribute:"), tqparent);
d->objectAttributeCB = new TQComboBox(false, tqparent);
d->objectAttributeDescEdit = new KLineEdit(tqparent);
d->objectAttributeCheck = new MetadataCheckBox(i18n("Object Attribute:"), parent);
d->objectAttributeCB = new TQComboBox(false, parent);
d->objectAttributeDescEdit = new KLineEdit(parent);
d->objectAttributeDescEdit->setValidator(asciiValidator);
d->objectAttributeDescEdit->setMaxLength(64);
d->objectAttributeCB->insertItem(i18n("Current"), 0);
@ -193,8 +193,8 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
// --------------------------------------------------------
d->JobIDCheck = new TQCheckBox(i18n("Job Identification:"), tqparent);
d->JobIDEdit = new KLineEdit(tqparent);
d->JobIDCheck = new TQCheckBox(i18n("Job Identification:"), parent);
d->JobIDEdit = new KLineEdit(parent);
d->JobIDEdit->setValidator(asciiValidator);
d->JobIDEdit->setMaxLength(32);
grid->addMultiCellWidget(d->JobIDCheck, 8, 8, 0, 2);
@ -209,7 +209,7 @@ IPTCtqStatus::IPTCtqStatus(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
grid->addMultiCellWidget(note, 10, 10, 0, 2);
grid->setColStretch(2, 10);

@ -40,7 +40,7 @@ class IPTCtqStatus : public TQWidget
public:
IPTCtqStatus(TQWidget* tqparent);
IPTCtqStatus(TQWidget* parent);
~IPTCtqStatus();
void applyMetadata(TQByteArray& iptcData);

@ -75,11 +75,11 @@ public:
KListBox *subjectsBox;
};
IPTCSubjects::IPTCSubjects(TQWidget* tqparent)
: TQWidget(tqparent)
IPTCSubjects::IPTCSubjects(TQWidget* parent)
: TQWidget(parent)
{
d = new IPTCSubjectsPriv;
TQGridLayout *grid = new TQGridLayout(tqparent, 5, 2, 0, KDialog::spacingHint());
TQGridLayout *grid = new TQGridLayout(parent, 5, 2, 0, KDialog::spacingHint());
grid->tqsetAlignment( TQt::AlignTop );
// IPTC only accept printable Ascii char.
@ -88,19 +88,19 @@ IPTCSubjects::IPTCSubjects(TQWidget* tqparent)
// --------------------------------------------------------
d->subjectsCheck = new TQCheckBox(i18n("Use structured definition of the subject matter:"), tqparent);
d->subjectsCheck = new TQCheckBox(i18n("Use structured definition of the subject matter:"), parent);
d->subjectEdit = new KLineEdit(tqparent);
d->subjectEdit = new KLineEdit(parent);
d->subjectEdit->setValidator(asciiValidator);
d->subjectEdit->setMaxLength(236);
TQWhatsThis::add(d->subjectEdit, i18n("<p>Enter here a new subject. "
"This field is limited to 236 ASCII characters."));
d->subjectsBox = new KListBox(tqparent);
d->subjectsBox = new KListBox(parent);
d->subjectsBox->setVScrollBarMode(TQScrollView::AlwaysOn);
d->addSubjectButton = new TQPushButton( i18n("&Add"), tqparent);
d->delSubjectButton = new TQPushButton( i18n("&Delete"), tqparent);
d->addSubjectButton = new TQPushButton( i18n("&Add"), parent);
d->delSubjectButton = new TQPushButton( i18n("&Delete"), parent);
d->addSubjectButton->setIconSet(SmallIcon("add"));
d->delSubjectButton->setIconSet(SmallIcon("remove"));
d->delSubjectButton->setEnabled(false);
@ -118,7 +118,7 @@ IPTCSubjects::IPTCSubjects(TQWidget* tqparent)
"text tags only support the printable "
"<b><a href='http://en.wikipedia.org/wiki/Ascii'>ASCII</a></b> "
"characters set and limit strings size. "
"Use contextual help for details.</b>"), tqparent);
"Use contextual help for details.</b>"), parent);
note->setMaximumWidth(150);
grid->addMultiCellWidget(note, 4, 4, 1, 1);

@ -40,7 +40,7 @@ class IPTCSubjects : public TQWidget
public:
IPTCSubjects(TQWidget* tqparent);
IPTCSubjects(TQWidget* parent);
~IPTCSubjects();
void applyMetadata(TQByteArray& iptcData);

@ -31,8 +31,8 @@
namespace KIPIMetadataEditPlugin
{
MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* tqparent)
: TQCheckBox(text, tqparent)
MetadataCheckBox::MetadataCheckBox(const TQString& text, TQWidget* parent)
: TQCheckBox(text, parent)
{
m_valid = true;

@ -40,7 +40,7 @@ class MetadataCheckBox : public TQCheckBox
public:
MetadataCheckBox(const TQString& text, TQWidget* tqparent);
MetadataCheckBox(const TQString& text, TQWidget* parent);
~MetadataCheckBox();
void setValid(bool v);

@ -55,8 +55,8 @@ typedef KGenericFactory<Plugin_MetadataEdit> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_metadataedit, Factory("kipiplugin_metadataedit"))
Plugin_MetadataEdit::Plugin_MetadataEdit(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "MetadataEdit")
Plugin_MetadataEdit::Plugin_MetadataEdit(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "MetadataEdit")
{
kdDebug( 51001 ) << "Plugin_MetadataEdit plugin loaded" << endl;
}
@ -140,7 +140,7 @@ void Plugin_MetadataEdit::setup( TQWidget* widget )
addAction( m_actionMetadataEdit );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !m_interface )
{

@ -36,7 +36,7 @@ class Plugin_MetadataEdit : public KIPI::Plugin
public:
Plugin_MetadataEdit(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_MetadataEdit(TQObject *parent, const char* name, const TQStringList &args);
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* );

@ -43,7 +43,7 @@ namespace KIPIMPEGEncoderPlugin
///////////////////////////////// CONSTRUCTOR ///////////////////////////////////////////////
CheckBinProg::CheckBinProg(TQObject *tqparent)
CheckBinProg::CheckBinProg(TQObject *parent)
{
config = new KConfig("kipirc");
config->setGroup("MPEGEncoder Settings");

@ -37,7 +37,7 @@ Q_OBJECT
TQ_OBJECT
public:
CheckBinProg(TQObject *tqparent=0);
CheckBinProg(TQObject *parent=0);
virtual ~CheckBinProg();
int findExecutables( void );

@ -116,7 +116,7 @@
# Add a video type command line option (PAL, NTSC, SECAM).
# Remove '-F' option (frame rate value -> fixed by video type option)
# Add an exiting test of input image files before encoding.
# Add an exiting test of input audio files and tqmask file before encoding.
# Add an exiting test of input audio files and mask file before encoding.
# Add an exiting test if verbosity level is unknown.
# Add image sequence duration value test.
# Add an implementation for don't used a default 'black.png' file. ImageMagick create a

@ -108,9 +108,9 @@ namespace KIPIMPEGEncoderPlugin
class ImageItem : public TQListBoxText
{
public:
ImageItem(TQListBox * tqparent, TQString const & name, TQString const & comments, TQString const & path,
ImageItem(TQListBox * parent, TQString const & name, TQString const & comments, TQString const & path,
TQString const & album)
: TQListBoxText(tqparent), _name(name), _comments(comments), _path(path), _album(album)
: TQListBoxText(parent), _name(name), _comments(comments), _path(path), _album(album)
{}
TQString comments() { return _comments; }
@ -129,8 +129,8 @@ private:
/////////////////////////////////////////////////////////////////////////////////////////////
ListImageItems::ListImageItems(TQWidget *tqparent, const char *name)
: KListBox(tqparent, name)
ListImageItems::ListImageItems(TQWidget *parent, const char *name)
: KListBox(parent, name)
{
setSelectionMode (TQListBox::Extended);
setAcceptDrops(true);
@ -179,8 +179,8 @@ void ListImageItems::dropEvent(TQDropEvent *e)
/////////////////////////////// CONSTRUCTOR /////////////////////////////////////////////////
KImg2mpgData::KImg2mpgData(KIPI::Interface* interface, TQWidget *tqparent, const char *name)
: KImg2mpgBase(tqparent, name), m_interface( interface )
KImg2mpgData::KImg2mpgData(KIPI::Interface* interface, TQWidget *parent, const char *name)
: KImg2mpgBase(parent, name), m_interface( interface )
{
m_TmpFolderConfig = "";
m_Proc = 0L;

@ -80,7 +80,7 @@ Q_OBJECT
TQ_OBJECT
public:
ListImageItems(TQWidget *tqparent=0, const char *name=0);
ListImageItems(TQWidget *parent=0, const char *name=0);
signals:
void addedDropItems(KURL::List filesUrl);
@ -98,7 +98,7 @@ Q_OBJECT
public:
KImg2mpgData( KIPI::Interface* interface, TQWidget* tqparent = 0, const char * name = 0 );
KImg2mpgData( KIPI::Interface* interface, TQWidget* parent = 0, const char * name = 0 );
virtual ~KImg2mpgData();
void show();

@ -29,8 +29,8 @@ namespace KIPIMPEGEncoderPlugin
/////////////////////////////////////////////////////////////////////////////////////////////
KShowDebuggingOutput::KShowDebuggingOutput(TQString Messages, TQString Header, TQString Foot, TQWidget* tqparent )
: KDialog( tqparent, "debugViewDialog", true )
KShowDebuggingOutput::KShowDebuggingOutput(TQString Messages, TQString Header, TQString Foot, TQWidget* parent )
: KDialog( parent, "debugViewDialog", true )
{
setCaption( i18n("Debugging Output") );

@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
KShowDebuggingOutput( TQString Messages, TQString Header, TQString Foot, TQWidget* tqparent );
KShowDebuggingOutput( TQString Messages, TQString Header, TQString Foot, TQWidget* parent );
~KShowDebuggingOutput();
public slots:

@ -47,8 +47,8 @@ namespace KIPIMPEGEncoderPlugin
////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////
OptionsDialog::OptionsDialog(TQWidget *tqparent)
: KDialogBase( tqparent, "MPEGEncoderOptionsDialog", true,
OptionsDialog::OptionsDialog(TQWidget *parent)
: KDialogBase( parent, "MPEGEncoderOptionsDialog", true,
i18n("MPEG Encoder Plugin Settings"), Ok|Cancel, Ok, false)
{
Icons = new KIconLoader( TQString( "MenuDlg" ) );

@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
OptionsDialog(TQWidget *tqparent=0);
OptionsDialog(TQWidget *parent=0);
~OptionsDialog();
KLineEdit* IMBinFolderEditFilename;

@ -49,8 +49,8 @@ typedef KGenericFactory<Plugin_Mpegencoder> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_mpegencoder,
Factory("kipiplugin_mpegencoder"))
Plugin_Mpegencoder::Plugin_Mpegencoder(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "MPEGEncoder")
Plugin_Mpegencoder::Plugin_Mpegencoder(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "MPEGEncoder")
{
kdDebug( 51001 ) << "Plugin_Mpegencoder plugin loaded" << endl;
}
@ -76,7 +76,7 @@ Plugin_Mpegencoder::~Plugin_Mpegencoder()
void Plugin_Mpegencoder::slotActivate()
{
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !interface )
{

@ -35,7 +35,7 @@ Q_OBJECT
public:
Plugin_Mpegencoder(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_Mpegencoder(TQObject *parent, const char* name, const TQStringList &args);
virtual ~Plugin_Mpegencoder();
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* widget );

@ -41,9 +41,9 @@
namespace KIPIPicasawebExportPlugin
{
PicasawebLogin::PicasawebLogin(TQWidget* tqparent, const TQString& header,
PicasawebLogin::PicasawebLogin(TQWidget* parent, const TQString& header,
const TQString& _name, const TQString& _passwd)
: TQDialog(tqparent)
: TQDialog(parent)
{
setSizeGripEnabled(false);

@ -40,7 +40,7 @@ class PicasawebLogin : public TQDialog
public:
PicasawebLogin(TQWidget* tqparent, const TQString& header, const TQString& _name=TQString(),
PicasawebLogin(TQWidget* parent, const TQString& header, const TQString& _name=TQString(),
const TQString& _passwd=TQString());
~PicasawebLogin();

@ -82,8 +82,8 @@ class PicasawebLogin;
namespace KIPIPicasawebExportPlugin
{
PicasawebTalker::PicasawebTalker( TQWidget* tqparent )
: m_parent( tqparent ), m_job( 0 )
PicasawebTalker::PicasawebTalker( TQWidget* parent )
: m_parent( parent ), m_job( 0 )
{
m_apikey="49d585bafa0758cb5c58ab67198bf632";
m_secret="34b39925e6273ffd";

@ -75,7 +75,7 @@ public:
public:
PicasawebTalker(TQWidget* tqparent);
PicasawebTalker(TQWidget* parent);
~PicasawebTalker();
TQValueList <PicasaWebAlbum> * m_albumsList;

@ -40,11 +40,11 @@ class GAlbumViewItem : public TQListViewItem
public:
GAlbumViewItem(TQListView* tqparent, const TQString& name, const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {};
GAlbumViewItem(TQListView* parent, const TQString& name, const GAlbum& _album)
: TQListViewItem(parent, name), album(_album) {};
GAlbumViewItem(TQListViewItem* tqparent, const TQString& name, const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {};
GAlbumViewItem(TQListViewItem* parent, const TQString& name, const GAlbum& _album)
: TQListViewItem(parent, name), album(_album) {};
~GAlbumViewItem() {};

@ -52,8 +52,8 @@
namespace KIPIPicasawebExportPlugin
{
PicasawebWidget::PicasawebWidget(TQWidget* tqparent, const char* name, WFlags fl)
: UploadWidget(tqparent, name, fl)
PicasawebWidget::PicasawebWidget(TQWidget* parent, const char* name, WFlags fl)
: UploadWidget(parent, name, fl)
{
if ( !name )
setName("PicasawebWidget");

@ -52,7 +52,7 @@ class PicasawebWidget : public UploadWidget
public:
PicasawebWidget(TQWidget* tqparent=0, const char* name=0, WFlags fl= 0);
PicasawebWidget(TQWidget* parent=0, const char* name=0, WFlags fl= 0);
~PicasawebWidget();
private slots:

@ -80,7 +80,7 @@
namespace KIPIPicasawebExportPlugin
{
PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmpFolder, TQWidget* /*tqparent*/)
PicasawebWindow::PicasawebWindow(KIPI::Interface* interface, const TQString &tmpFolder, TQWidget* /*parent*/)
: KDialogBase(0, 0, false, i18n("Export to Picasa Web Service"), Help|Close, Close, false),
m_tmp(tmpFolder)
{

@ -81,7 +81,7 @@ class PicasawebWindow : public KDialogBase
public:
PicasawebWindow(KIPI::Interface *interface, const TQString &tmpFolder,TQWidget *tqparent);
PicasawebWindow(KIPI::Interface *interface, const TQString &tmpFolder,TQWidget *parent);
~PicasawebWindow();
void getToken(TQString& username, TQString& password);

@ -53,8 +53,8 @@ typedef KGenericFactory<Plugin_PicasawebExport> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_picasawebexport, Factory("kipiplugin_picasawebexport"))
Plugin_PicasawebExport::Plugin_PicasawebExport(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "PicasawebExport")
Plugin_PicasawebExport::Plugin_PicasawebExport(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "PicasawebExport")
{
kdDebug(51001) << "Plugin_PicasawebExport plugin loaded" << endl;
}
@ -71,7 +71,7 @@ void Plugin_PicasawebExport::setup(TQWidget* widget)
actionCollection(),
"picasawebexport");
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
@ -90,7 +90,7 @@ Plugin_PicasawebExport::~Plugin_PicasawebExport()
void Plugin_PicasawebExport::slotActivate()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError(51000) << "Kipi interface is null!" << endl;

@ -42,7 +42,7 @@ class Plugin_PicasawebExport : public KIPI::Plugin
public:
Plugin_PicasawebExport(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_PicasawebExport(TQObject *parent, const char* name, const TQStringList &args);
~Plugin_PicasawebExport();
virtual KIPI::Category category(KAction* action) const;

@ -36,8 +36,8 @@ extern "C"
namespace KIPIPrintWizardPlugin
{
CropFrame::CropFrame(TQWidget *tqparent=0, const char *name=0)
: TQWidget(tqparent, name)
CropFrame::CropFrame(TQWidget *parent=0, const char *name=0)
: TQWidget(parent, name)
{
m_mouseDown = false;
}

@ -36,7 +36,7 @@ class CropFrame : public TQWidget
TQ_OBJECT
public:
CropFrame(TQWidget *tqparent, const char *name);
CropFrame(TQWidget *parent, const char *name);
~CropFrame();
void init(TPhoto *photo, int width, int height, bool autoRotate, bool paint = true);
void setColor(TQColor);

@ -78,8 +78,8 @@ inline int buttonGroupSelectedId(const TQButtonGroup* group)
}
FrmPrintWizard::FrmPrintWizard(TQWidget *tqparent, const char *name )
: FrmPrintWizardBase(tqparent, name)
FrmPrintWizard::FrmPrintWizard(TQWidget *parent, const char *name )
: FrmPrintWizardBase(parent, name)
{
// enable help buttons
for(int i = 0; i < pageCount(); ++i)

@ -113,7 +113,7 @@ private:
public:
FrmPrintWizard(TQWidget *tqparent=0, const char *name=0);
FrmPrintWizard(TQWidget *parent=0, const char *name=0);
~FrmPrintWizard();
void print( KURL::List fileList, TQString tempPath);
TQRect * getLayout(int photoIndex);

@ -53,8 +53,8 @@ typedef KGenericFactory<Plugin_PrintWizard> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_printwizard,
Factory("kipiplugin_printwizard"))
Plugin_PrintWizard::Plugin_PrintWizard(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "PrintWizard")
Plugin_PrintWizard::Plugin_PrintWizard(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "PrintWizard")
{
kdDebug( 51001 ) << "Plugin_PrintWizard plugin loaded"
<< endl;
@ -74,7 +74,7 @@ void Plugin_PrintWizard::setup( TQWidget* widget )
addAction( m_printAction );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !m_interface )
{

@ -34,7 +34,7 @@ class Plugin_PrintWizard : public KIPI::Plugin
public:
Plugin_PrintWizard(TQObject *tqparent,
Plugin_PrintWizard(TQObject *parent,
const char* name,
const TQStringList &args);
~Plugin_PrintWizard();

@ -74,7 +74,7 @@ bool launchExternalApp(TQStringList &args)
return process.start();
}
bool checkTempPath(TQWidget *tqparent, TQString tempPath)
bool checkTempPath(TQWidget *parent, TQString tempPath)
{
// does the temp path exist?
TQDir tempDir(tempPath);
@ -82,7 +82,7 @@ bool checkTempPath(TQWidget *tqparent, TQString tempPath)
{
if (!tempDir.mkdir(tempDir.path()))
{
KMessageBox::sorry(tqparent,
KMessageBox::sorry(parent,
i18n("Unable to create a temporary folder; "
"please make sure you have proper permissions to this folder and try again."));
return false;

@ -29,7 +29,7 @@ int MIN(int a, int b);
int MAX(int a, int b);
bool launchExternalApp(TQStringList &args);
bool checkTempPath(TQWidget *tqparent, TQString tempPath);
bool checkTempPath(TQWidget *parent, TQString tempPath);
} // NameSpace KIPIPrintWizardPlugin

@ -54,8 +54,8 @@ extern "C"
namespace KIPIRawConverterPlugin
{
ActionThread::ActionThread(TQObject *tqparent)
: TQThread(), m_parent(tqparent)
ActionThread::ActionThread(TQObject *parent)
: TQThread(), m_parent(parent)
{
}

@ -54,7 +54,7 @@ class ActionThread : public TQThread
public:
ActionThread(TQObject *tqparent);
ActionThread(TQObject *parent);
~ActionThread();
void setRawDecodingSettings(KDcrawIface::RawDecodingSettings rawDecodingSettings,

@ -83,7 +83,7 @@ extern "C"
namespace KIPIRawConverterPlugin
{
BatchDialog::BatchDialog(TQWidget* /*tqparent*/)
BatchDialog::BatchDialog(TQWidget* /*parent*/)
: KDialogBase(0, 0, false, i18n("Raw Images Batch Converter"),
Help|Default|User1|User2|Close, Close, true,
i18n("Con&vert"), i18n("&Abort"))

@ -65,7 +65,7 @@ Q_OBJECT
public:
BatchDialog(TQWidget *tqparent);
BatchDialog(TQWidget *parent);
~BatchDialog();
void addItems(const TQStringList& itemList);

@ -72,8 +72,8 @@ typedef KGenericFactory<Plugin_RawConverter> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_rawconverter,
Factory("kipiplugin_rawconverter"))
Plugin_RawConverter::Plugin_RawConverter(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "RawConverter")
Plugin_RawConverter::Plugin_RawConverter(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "RawConverter")
{
kdDebug( 51001 ) << "Loaded RawConverter" << endl;
}
@ -100,7 +100,7 @@ void Plugin_RawConverter::setup( TQWidget* widget )
addAction( singleAction_ );
addAction( batchAction_ );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -147,7 +147,7 @@ bool Plugin_RawConverter::checkBinaries()
void Plugin_RawConverter::slotActivateSingle()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if (!interface)
{
@ -180,7 +180,7 @@ void Plugin_RawConverter::slotActivateSingle()
void Plugin_RawConverter::slotActivateBatch()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if (!interface)
{

@ -38,7 +38,7 @@ class Plugin_RawConverter : public KIPI::Plugin
public:
Plugin_RawConverter(TQObject *tqparent,
Plugin_RawConverter(TQObject *parent,
const char* name,
const TQStringList &args);
~Plugin_RawConverter();

@ -62,8 +62,8 @@ public:
TQImage image;
};
PreviewWidget::PreviewWidget(TQWidget *tqparent)
: TQFrame(tqparent, 0, TQt::WRepaintNoErase)
PreviewWidget::PreviewWidget(TQWidget *parent)
: TQFrame(parent, 0, TQt::WRepaintNoErase)
{
d = new PreviewWidgetPriv;
setFrameStyle(TQFrame::GroupBoxPanel|TQFrame::Plain);

@ -46,7 +46,7 @@ class PreviewWidget : public TQFrame
public:
PreviewWidget(TQWidget *tqparent);
PreviewWidget(TQWidget *parent);
~PreviewWidget();
void load(const TQString& file);

@ -68,8 +68,8 @@ public:
TQRadioButton *promptButton;
};
SaveSettingsWidget::SaveSettingsWidget(TQWidget *tqparent)
: TQWidget(tqparent, 0, TQt::WDestructiveClose)
SaveSettingsWidget::SaveSettingsWidget(TQWidget *parent)
: TQWidget(parent, 0, TQt::WDestructiveClose)
{
d = new SaveSettingsWidgetPriv;
TQGridLayout* settingsBoxLayout = new TQGridLayout(this, 3, 1, KDialog::spacingHint());

@ -55,7 +55,7 @@ public:
public:
SaveSettingsWidget(TQWidget *tqparent);
SaveSettingsWidget(TQWidget *parent);
~SaveSettingsWidget();
SaveSettingsWidget::OutputFormat fileFormat();

@ -79,7 +79,7 @@ extern "C"
namespace KIPIRawConverterPlugin
{
SingleDialog::SingleDialog(const TQString& file, TQWidget */*tqparent*/)
SingleDialog::SingleDialog(const TQString& file, TQWidget */*parent*/)
: KDialogBase(0, 0, false, i18n("Raw Image Converter"),
Help|Default|User1|User2|User3|Close, Close, true,
i18n("&Preview"), i18n("Con&vert"), i18n("&Abort"))

@ -59,7 +59,7 @@ class SingleDialog : public KDialogBase
public:
SingleDialog(const TQString& file, TQWidget *tqparent);
SingleDialog(const TQString& file, TQWidget *parent);
~SingleDialog();
protected:

@ -45,10 +45,10 @@
namespace KIPISendimagesPlugin
{
listImagesErrorDialog::listImagesErrorDialog(TQWidget* tqparent, TQString Caption,
listImagesErrorDialog::listImagesErrorDialog(TQWidget* parent, TQString Caption,
const TQString &Mess1, const TQString &Mess2,
KURL::List ListOfiles)
: KDialogBase( Caption, Yes|No|Cancel, Yes, Cancel, tqparent,
: KDialogBase( Caption, Yes|No|Cancel, Yes, Cancel, parent,
"listImagesErrorDialog", true, false )
{
TQWidget* box = new TQWidget( this );

@ -40,7 +40,7 @@ class listImagesErrorDialog : public KDialogBase
public:
listImagesErrorDialog(TQWidget* tqparent, TQString Caption,
listImagesErrorDialog(TQWidget* parent, TQString Caption,
const TQString &Mess1, const TQString &Mess2,
KURL::List ListOfiles);

@ -62,8 +62,8 @@ K_EXPORT_COMPONENT_FACTORY( kipiplugin_sendimages,
Factory("kipiplugin_sendimages"))
// -----------------------------------------------------------
Plugin_SendImages::Plugin_SendImages(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "SendImages")
Plugin_SendImages::Plugin_SendImages(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "SendImages")
{
kdDebug( 51001 ) << "Plugin_SendImages plugin loaded" << endl;
@ -83,7 +83,7 @@ void Plugin_SendImages::setup( TQWidget* widget )
addAction( m_action_sendimages );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() );
KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !interface )
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@ -106,7 +106,7 @@ void Plugin_SendImages::slotActivate()
{
m_progressDlg = 0;
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
kdError( 51000 ) << "Kipi interface is null!" << endl;

@ -44,7 +44,7 @@ Q_OBJECT
public:
Plugin_SendImages(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_SendImages(TQObject *parent, const char* name, const TQStringList &args);
~Plugin_SendImages();
virtual KIPI::Category category( KAction* action ) const;

@ -80,14 +80,14 @@ namespace KIPISendimagesPlugin
///Constructor: saves system handoff parameters in member variables
SendImages::SendImages(KIPI::Interface* interface, const TQString &tmpFolder,
const KIPI::ImageCollection& imagesCollection, TQObject *tqparent)
: TQObject(tqparent), TQThread()
const KIPI::ImageCollection& imagesCollection, TQObject *parent)
: TQObject(parent), TQThread()
{
m_invokedBefore = false;
m_interface = interface;
m_tmp = tmpFolder;
m_collection = imagesCollection;
m_parent = tqparent;
m_parent = parent;
m_mozillaTimer = new TQTimer(this);
KImageIO::registerFormats();

@ -59,7 +59,7 @@ public:
///Constructor: saves system handoff parameters in member variables
SendImages(KIPI::Interface* interface, const TQString &tmpFolder,
const KIPI::ImageCollection& imagesCollection, TQObject *tqparent=0);
const KIPI::ImageCollection& imagesCollection, TQObject *parent=0);
///Destructor
~SendImages();

@ -81,8 +81,8 @@ class ImageItem : public TQListBoxText
{
public:
ImageItem(TQListBox * tqparent, TQString const & comments, KURL const & url)
: TQListBoxText(tqparent), _comments(comments), _url(url)
ImageItem(TQListBox * parent, TQString const & comments, KURL const & url)
: TQListBoxText(parent), _comments(comments), _url(url)
{}
TQString comments() { return _comments; }
@ -97,8 +97,8 @@ private:
KURL _url;
};
ListImageItems::ListImageItems(TQWidget *tqparent, const char *name)
: KListBox(tqparent, name)
ListImageItems::ListImageItems(TQWidget *parent, const char *name)
: KListBox(parent, name)
{
setSelectionMode (TQListBox::Extended);
setAcceptDrops(true);
@ -135,10 +135,10 @@ void ListImageItems::dropEvent(TQDropEvent *e)
emit addedDropItems(FilesPath);
}
SendImagesDialog::SendImagesDialog(TQWidget *tqparent, KIPI::Interface* interface,
SendImagesDialog::SendImagesDialog(TQWidget *parent, KIPI::Interface* interface,
const KIPI::ImageCollection& images )
: KDialogBase( IconList, i18n("Email Images Options"), Help|Ok|Cancel,
Ok, tqparent, "SendImagesDialog", false, true )
Ok, parent, "SendImagesDialog", false, true )
{
m_interface = interface;
m_thumbJob = 0;

@ -69,7 +69,7 @@ class ListImageItems : public KListBox
public:
ListImageItems(TQWidget *tqparent=0, const char *name=0);
ListImageItems(TQWidget *parent=0, const char *name=0);
signals:
@ -89,7 +89,7 @@ class SendImagesDialog : public KDialogBase
public:
SendImagesDialog(TQWidget *tqparent, KIPI::Interface* interface,
SendImagesDialog(TQWidget *parent, KIPI::Interface* interface,
const KIPI::ImageCollection& images );
~SendImagesDialog();

@ -54,8 +54,8 @@
namespace KIPISimpleViewerExportPlugin
{
FirstRunDlg::FirstRunDlg(TQWidget *tqparent)
: KDialogBase(tqparent, 0, true, i18n("Flash Export"),
FirstRunDlg::FirstRunDlg(TQWidget *parent)
: KDialogBase(parent, 0, true, i18n("Flash Export"),
Help|Ok|Cancel, Ok, true)
{
enableButtonOK(false);

@ -57,7 +57,7 @@ class FirstRunDlg : public KDialogBase
public:
FirstRunDlg(TQWidget *tqparent=0);
FirstRunDlg(TQWidget *parent=0);
~FirstRunDlg();
/**

@ -44,8 +44,8 @@
typedef KGenericFactory<Plugin_SimpleViewer> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_simpleviewer, Factory("kipiplugin_simpleviewer"))
Plugin_SimpleViewer::Plugin_SimpleViewer(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "SimpleViewer")
Plugin_SimpleViewer::Plugin_SimpleViewer(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin(Factory::instance(), parent, "SimpleViewer")
{
kdDebug( 51001 ) << "Plugin_SimpleViewer plugin loaded" << endl;
}
@ -64,7 +64,7 @@ void Plugin_SimpleViewer::setup( TQWidget* widget )
addAction( m_actionSimpleViewer );
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
if ( !m_interface )
{
kdError( 51000 ) << "Kipi interface is null!" << endl;

@ -37,7 +37,7 @@ class Plugin_SimpleViewer : public KIPI::Plugin
public:
Plugin_SimpleViewer(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_SimpleViewer(TQObject *parent, const char* name, const TQStringList &args);
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* widget );

@ -79,9 +79,9 @@ namespace KIPISimpleViewerExportPlugin
const int maxThumbSize = 45;
const TQString viewer("viewer.swf");
void SimpleViewerExport::run(KIPI::Interface* interface, TQObject *tqparent)
void SimpleViewerExport::run(KIPI::Interface* interface, TQObject *parent)
{
SimpleViewerExport *plugin = new SimpleViewerExport(interface, tqparent);
SimpleViewerExport *plugin = new SimpleViewerExport(interface, parent);
if(!plugin->checkSimpleViewer())
{
@ -98,8 +98,8 @@ void SimpleViewerExport::run(KIPI::Interface* interface, TQObject *tqparent)
delete plugin;
}
SimpleViewerExport::SimpleViewerExport(KIPI::Interface* interface, TQObject *tqparent)
: TQObject(tqparent)
SimpleViewerExport::SimpleViewerExport(KIPI::Interface* interface, TQObject *parent)
: TQObject(parent)
{
m_interface = interface;
m_configDlg = 0;

@ -60,11 +60,11 @@ class SimpleViewerExport : public TQObject
public:
static void run( KIPI::Interface* interface, TQObject *tqparent=0 );
static void run( KIPI::Interface* interface, TQObject *parent=0 );
private:
SimpleViewerExport( KIPI::Interface* interface, TQObject *tqparent=0 );
SimpleViewerExport( KIPI::Interface* interface, TQObject *parent=0 );
~SimpleViewerExport();
bool configure();

@ -65,9 +65,9 @@
namespace KIPISimpleViewerExportPlugin
{
SVEDialog::SVEDialog(KIPI::Interface* interface, TQWidget *tqparent)
SVEDialog::SVEDialog(KIPI::Interface* interface, TQWidget *parent)
: KDialogBase( IconList, i18n("Flash Export"), Help|Ok|Cancel, Ok,
tqparent, "SimpleViewerExportDialog", true, true ),
parent, "SimpleViewerExportDialog", true, true ),
m_interface( interface )
{
selectionPage();

@ -61,7 +61,7 @@ class SVEDialog : public KDialogBase
public:
SVEDialog( KIPI::Interface* interface, TQWidget *tqparent=0);
SVEDialog( KIPI::Interface* interface, TQWidget *parent=0);
~SVEDialog();
void readConfig();

@ -48,9 +48,9 @@ int KBEffect::m_numKBEffectRepeated = 0;
// -------------------------------------------------------------------------
KBEffect::KBEffect(SlideShowKB *tqparent, bool needFadeIn) {
KBEffect::KBEffect(SlideShowKB *parent, bool needFadeIn) {
this->slideWidget = tqparent;
this->slideWidget = parent;
this->m_needFadeIn = needFadeIn;
}
@ -99,8 +99,8 @@ KBEffect::Type KBEffect::chooseKBEffect(KBEffect::Type oldType) {
// -------------------------------------------------------------------------
FadeKBEffect::FadeKBEffect(SlideShowKB *tqparent, bool needFadeIn):
KBEffect(tqparent, needFadeIn)
FadeKBEffect::FadeKBEffect(SlideShowKB *parent, bool needFadeIn):
KBEffect(parent, needFadeIn)
{
m_img[0] = image(0);
}
@ -138,8 +138,8 @@ void FadeKBEffect::advanceTime(float step) {
// -------------------------------------------------------------------------
BlendKBEffect::BlendKBEffect(SlideShowKB *tqparent, bool needFadeIn):
KBEffect(tqparent, needFadeIn)
BlendKBEffect::BlendKBEffect(SlideShowKB *parent, bool needFadeIn):
KBEffect(parent, needFadeIn)
{
m_img[0] = image(0);
m_img[1] = 0;

@ -39,7 +39,7 @@ public:
typedef enum { Fade, Blend } Type;
KBEffect(SlideShowKB *tqparent, bool m_needFadeIn = true);
KBEffect(SlideShowKB *parent, bool m_needFadeIn = true);
virtual ~KBEffect();
virtual void advanceTime(float step) = 0;
@ -73,7 +73,7 @@ class FadeKBEffect: public KBEffect
public:
FadeKBEffect(SlideShowKB *tqparent, bool m_needFadeIn = true);
FadeKBEffect(SlideShowKB *parent, bool m_needFadeIn = true);
virtual ~FadeKBEffect();
virtual void advanceTime(float step);
@ -88,7 +88,7 @@ class BlendKBEffect: public KBEffect
public:
BlendKBEffect(SlideShowKB *tqparent, bool m_needFadeIn = true);
BlendKBEffect(SlideShowKB *parent, bool m_needFadeIn = true);
virtual ~BlendKBEffect();
virtual void advanceTime(float step);

@ -43,8 +43,8 @@
namespace KIPISlideShowPlugin
{
ListImageItems::ListImageItems(TQWidget *tqparent, const char *name)
: KListBox(tqparent, name)
ListImageItems::ListImageItems(TQWidget *parent, const char *name)
: KListBox(parent, name)
{
setSelectionMode (TQListBox::Extended);
setAcceptDrops(true);

@ -42,9 +42,9 @@ class ImageItem : public TQListBoxText
public:
ImageItem(TQListBox * tqparent, TQString const & name, TQString const & comments, TQString const & path,
ImageItem(TQListBox * parent, TQString const & name, TQString const & comments, TQString const & path,
TQString const & album)
: TQListBoxText(tqparent), _name(name), _comments(comments), _path(path), _album(album)
: TQListBoxText(parent), _name(name), _comments(comments), _path(path), _album(album)
{}
TQString comments() { return _comments; }
@ -68,7 +68,7 @@ class ListImageItems : public KListBox
public:
ListImageItems(TQWidget *tqparent=0, const char *name=0);
ListImageItems(TQWidget *parent=0, const char *name=0);
signals:

@ -68,9 +68,9 @@ typedef KGenericFactory<Plugin_SlideShow> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_slideshow, Factory("kipiplugin_slideshow"));
Plugin_SlideShow::Plugin_SlideShow(TQObject *tqparent, const char*,
Plugin_SlideShow::Plugin_SlideShow(TQObject *parent, const char*,
const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "SlideShow")
: KIPI::Plugin( Factory::instance(), parent, "SlideShow")
{
kdDebug( 51001 ) << "Plugin_SlideShow plugin loaded"
<< endl;
@ -88,7 +88,7 @@ void Plugin_SlideShow::setup( TQWidget* widget )
actionCollection(),
"slideshow");
m_interface = dynamic_cast< KIPI::Interface* >( tqparent() );
m_interface = dynamic_cast< KIPI::Interface* >( parent() );
m_urlList = new KURL::List();
@ -149,7 +149,7 @@ void Plugin_SlideShow::slotAlbumChanged(bool anyAlbum)
return;
}
KIPI::Interface* m_interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* m_interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !m_interface )
{
kdError( 51000 ) << "Kipi m_interface is null!" << endl;

@ -42,7 +42,7 @@ class Plugin_SlideShow : public KIPI::Plugin
public:
Plugin_SlideShow(TQObject *tqparent, const char* name,
Plugin_SlideShow(TQObject *parent, const char* name,
const TQStringList &args);
~Plugin_SlideShow();

@ -75,9 +75,9 @@ namespace KIPISlideShowPlugin
{
SlideShowConfig::SlideShowConfig(bool allowSelectedOnly, KIPI::Interface * interface,
TQWidget *tqparent, const char* name, bool ImagesHasComments,
TQWidget *parent, const char* name, bool ImagesHasComments,
KURL::List *urlList)
: SlideShowConfigBase(tqparent, name)
: SlideShowConfigBase(parent, name)
{
// About data and help button.

@ -55,7 +55,7 @@ class SlideShowConfig : public SlideShowConfigBase
public:
SlideShowConfig(bool allowSelectedOnly, KIPI::Interface* interface,
TQWidget *tqparent, const char* name, bool ImagesHasComments,
TQWidget *parent, const char* name, bool ImagesHasComments,
KURL::List* urlList);
~SlideShowConfig();

@ -41,8 +41,8 @@
namespace KIPISlideShowPlugin
{
ToolBar::ToolBar(TQWidget* tqparent)
: TQWidget(tqparent)
ToolBar::ToolBar(TQWidget* parent)
: TQWidget(parent)
{
TQHBoxLayout* lay = new TQHBoxLayout(this);
m_playBtn = new TQToolButton(this);

@ -40,7 +40,7 @@ class ToolBar : public TQWidget
public:
ToolBar(TQWidget* tqparent);
ToolBar(TQWidget* parent);
~ToolBar();
bool canHide() const;

@ -30,12 +30,12 @@ class GAlbumViewItem : public TQListViewItem
{
public:
GAlbumViewItem(TQListView* tqparent, const TQString& name,
GAlbumViewItem(TQListView* parent, const TQString& name,
const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {}
GAlbumViewItem(TQListViewItem* tqparent, const TQString& name,
: TQListViewItem(parent, name), album(_album) {}
GAlbumViewItem(TQListViewItem* parent, const TQString& name,
const GAlbum& _album)
: TQListViewItem(tqparent, name), album(_album) {}
: TQListViewItem(parent, name), album(_album) {}
GAlbum album;

@ -42,8 +42,8 @@
namespace KIPIGalleryExportPlugin
{
GalleryWidget::GalleryWidget( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "GalleryWidget" );

@ -37,7 +37,7 @@ class GalleryWidget : public TQWidget
public:
GalleryWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
GalleryWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~GalleryWidget();
private slots:

@ -68,8 +68,8 @@
namespace KIPIGalleryExportPlugin
{
GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *tqparent, Galleries* pGalleries)
: KDialogBase(tqparent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galleries* pGalleries)
: KDialogBase(parent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
m_interface(interface),
mpGalleries(pGalleries)
{
@ -285,17 +285,17 @@ void GalleryWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
}
else
{
TQListViewItem* tqparent = m_albumDict.find( album.parent_ref_num );
if ( tqparent )
TQListViewItem* parent = m_albumDict.find( album.parent_ref_num );
if ( parent )
{
GAlbumViewItem* item = new GAlbumViewItem( tqparent, album.title,
GAlbumViewItem* item = new GAlbumViewItem( parent, album.title,
album);
item->setPixmap( 0, pix );
m_albumDict.insert( album.ref_num, item );
}
else
{
kdWarning() << "Failed to find tqparent for album "
kdWarning() << "Failed to find parent for album "
<< album.name
<< " with id " << album.ref_num << "\n";
}

@ -57,7 +57,7 @@ class GalleryWindow : public KDialogBase
public:
GalleryWindow(KIPI::Interface *interface, TQWidget *tqparent, Galleries* pGalleries);
GalleryWindow(KIPI::Interface *interface, TQWidget *parent, Galleries* pGalleries);
~GalleryWindow();
private:

@ -68,7 +68,7 @@ namespace KIPI2
virtual const Item* addItem() = 0;
private:
// Store for tqparent
// Store for parent
Collection* mpParent;
// Store the features that this collection supports

@ -44,10 +44,10 @@ K_EXPORT_COMPONENT_FACTORY(kipiplugin_sync,
Factory("kipiplugin_sync"))
Plugin_Sync::Plugin_Sync(TQObject *tqparent,
Plugin_Sync::Plugin_Sync(TQObject *parent,
const char*,
const TQStringList&)
: KIPI::Plugin(Factory::instance(), tqparent, "Sync"),
: KIPI::Plugin(Factory::instance(), parent, "Sync"),
mpSinks(NULL)
{
kdDebug(51001) << "Plugin_Sync plugin loaded"
@ -63,7 +63,7 @@ void Plugin_Sync::setup(TQWidget* widget)
// Standard initialisation for Kipi Plugins
KIPI::Plugin::setup(widget);
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
@ -122,7 +122,7 @@ Plugin_Sync::~Plugin_Sync()
void Plugin_Sync::slotSync()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@ -137,7 +137,7 @@ void Plugin_Sync::slotSync()
void Plugin_Sync::slotConfigure()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError(51000) << "Kipi interface is null!" << endl;
@ -152,7 +152,7 @@ void Plugin_Sync::slotConfigure()
void Plugin_Sync::slotSettingsCollection()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError(51000) << "Kipi interface is null!" << endl;
@ -165,7 +165,7 @@ void Plugin_Sync::slotSettingsCollection()
void Plugin_Sync::slotSettingsImage()
{
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError(51000) << "Kipi interface is null!" << endl;

@ -438,7 +438,7 @@ void GallerySink::parseResponseListAlbums(const TQByteArray &data)
if (iter != albumList.end())
(*iter).summary = value;
}
else if (key.startsWith("album.tqparent"))
else if (key.startsWith("album.parent"))
{
if (iter != albumList.end())
(*iter).parent_ref_num = value.toInt();
@ -484,7 +484,7 @@ void GallerySink::parseResponseListAlbums(const TQByteArray &data)
return;
}
// We need tqparent albums to come first for rest of the code to work
// We need parent albums to come first for rest of the code to work
qHeapSort(albumList);
emit signalAlbums( albumList );

@ -46,8 +46,8 @@ typedef KGenericFactory<Plugin_TimeAdjust> Factory;
K_EXPORT_COMPONENT_FACTORY( kipiplugin_timeadjust,
Factory("kipiplugin_timeadjust"))
Plugin_TimeAdjust::Plugin_TimeAdjust(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "TimeAdjust")
Plugin_TimeAdjust::Plugin_TimeAdjust(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "TimeAdjust")
{
kdDebug( 51001 ) << "Plugin_TimeAdjust plugin loaded" << endl;
}
@ -68,7 +68,7 @@ void Plugin_TimeAdjust::setup(TQWidget* widget)
addAction(m_actionTimeAjust);
m_interface = dynamic_cast< KIPI::Interface* >(tqparent());
m_interface = dynamic_cast< KIPI::Interface* >(parent());
if (!m_interface)
{

@ -37,7 +37,7 @@ class Plugin_TimeAdjust : public KIPI::Plugin
public:
Plugin_TimeAdjust(TQObject *tqparent, const char* name, const TQStringList &args);
Plugin_TimeAdjust(TQObject *parent, const char* name, const TQStringList &args);
virtual KIPI::Category category( KAction* action ) const;
virtual void setup( TQWidget* );

@ -146,9 +146,9 @@ public:
KIPIPlugins::KPAboutData *about;
};
TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* tqparent)
TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent)
: KDialogBase(Plain, i18n("Adjust Time & Date"), Help|Ok|Cancel,
Ok, tqparent, 0, true, true)
Ok, parent, 0, true, true)
{
d = new TimeAdjustDialogPrivate;
d->interface = interface;

@ -50,7 +50,7 @@ class TimeAdjustDialog :public KDialogBase
public:
TimeAdjustDialog(KIPI::Interface* interface, TQWidget* tqparent);
TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent);
~TimeAdjustDialog();
void setImages(const KURL::List& images);

@ -56,8 +56,8 @@ K_EXPORT_COMPONENT_FACTORY( kipiplugin_wallpaper,
/////////////////////////////////////////////////////////////////////////////////////////////////////
Plugin_WallPaper::Plugin_WallPaper(TQObject *tqparent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), tqparent, "WallPaper")
Plugin_WallPaper::Plugin_WallPaper(TQObject *parent, const char*, const TQStringList&)
: KIPI::Plugin( Factory::instance(), parent, "WallPaper")
{
kdDebug( 51001 ) << "Plugin_WallPaper plugin loaded" << endl;
}
@ -132,7 +132,7 @@ void Plugin_WallPaper::setup( TQWidget* widget )
addAction( m_action_Background );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -217,7 +217,7 @@ void Plugin_WallPaper::setWallpaper(int tqlayout)
if (tqlayout>SCALE_AND_CROP || tqlayout < CENTER)
return;
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( tqparent() );
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
if ( !interface )
{
@ -237,7 +237,7 @@ void Plugin_WallPaper::setWallpaper(int tqlayout)
}
else
{
// PENDING We need a way to get a tqparent widget
// PENDING We need a way to get a parent widget
// Sun, 06 Jun 2004 - Aur<75>ien
KMessageBox::information( TQT_TQWIDGET(kapp->activeWindow()), i18n(

@ -45,7 +45,7 @@
public:
Plugin_WallPaper(TQObject *tqparent,
Plugin_WallPaper(TQObject *parent,
const char* name,
const TQStringList &args);
virtual KIPI::Category category( KAction* action ) const;

Loading…
Cancel
Save