diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 22:47:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 18:48:33 +0900 |
commit | bc3ec7f21b4197ee86022f3a51392372facec7da (patch) | |
tree | 3b45578dfed4b861189220edddabaab0e02b2ea6 | |
parent | d28f47b55c0d34b0a1ad63dada960d5e6edc063a (diff) | |
download | kipi-plugins-bc3ec7f21b4197ee86022f3a51392372facec7da.tar.gz kipi-plugins-bc3ec7f21b4197ee86022f3a51392372facec7da.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ee8fe2c90471205b32e5abbfe46f5f6d295429a9)
33 files changed, 93 insertions, 93 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 2db09a6..d789b14 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1141,7 +1141,7 @@ fi if test "$kde_qtver" = "3"; then cat >> conftest.$ac_ext <<EOF (void)QStyleFactory::create(TQString::null); - QCursor c(Qt::WhatsThisCursor); + QCursor c(TQt::WhatsThisCursor); EOF fi cat >> conftest.$ac_ext <<EOF diff --git a/kipi-plugins/acquireimages/acquireimagedialog.cpp b/kipi-plugins/acquireimages/acquireimagedialog.cpp index 40e8e31..6ffc3c1 100644 --- a/kipi-plugins/acquireimages/acquireimagedialog.cpp +++ b/kipi-plugins/acquireimages/acquireimagedialog.cpp @@ -226,7 +226,7 @@ void AcquireImageDialog::setupImageOptions(void) //--------------------------------------------- TQGroupBox * groupBox2 = new TQGroupBox( i18n("Saving Options"), page_setupImageOptions ); - groupBox2->setColumnLayout(0, Qt::Vertical ); + groupBox2->setColumnLayout(0, TQt::Vertical ); groupBox2->layout()->setSpacing( 6 ); groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The saving options of the target image.") ); @@ -326,7 +326,7 @@ void AcquireImageDialog::setupAlbumsList(void) //--------------------------------------------- TQGroupBox * groupBox2 = new TQGroupBox( i18n("Album Description"), page_setupAlbumsList ); - groupBox2->setColumnLayout(0, Qt::Vertical ); + groupBox2->setColumnLayout(0, TQt::Vertical ); groupBox2->layout()->setSpacing( 6 ); groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The description of the current Album in the selection list.") ); @@ -386,7 +386,7 @@ void AcquireImageDialog::slotAlbumSelected( const KURL &url ) { comments = (*albumIt).comment(); category = (*albumIt).category(); - date = (*albumIt).date().toString( Qt::LocalDate ); + date = (*albumIt).date().toString( TQt::LocalDate ); items.setNum((*albumIt).images().count()); } diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp index d29ae8d..5b32281 100644 --- a/kipi-plugins/acquireimages/screenshotdialog.cpp +++ b/kipi-plugins/acquireimages/screenshotdialog.cpp @@ -301,7 +301,7 @@ bool ScreenGrabDialog::eventFilter( TQObject* o, TQEvent* e) if ( TQWidget::mouseGrabber() != m_grabber ) return false; - if ( me->button() == Qt::LeftButton ) + if ( me->button() == TQt::LeftButton ) slotPerformGrab(); } diff --git a/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp b/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp index 209d1fa..6fc1c28 100644 --- a/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp +++ b/kipi-plugins/batchprocessimages/batchprocessimagesdialog.cpp @@ -121,7 +121,7 @@ BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::In //--------------------------------------------- TQHBoxLayout *hlay = new TQHBoxLayout( dvlay ); - groupBox1 = new TQGroupBox( 0, Qt::Vertical, box ); + groupBox1 = new TQGroupBox( 0, TQt::Vertical, box ); groupBox1->layout()->setSpacing(KDialog::spacingHint()); groupBox1->layout()->setMargin(KDialog::marginHint()); TQGridLayout* grid = new TQGridLayout( groupBox1->layout(), 2, 3); @@ -155,7 +155,7 @@ BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::In //--------------------------------------------- - groupBox2 = new TQGroupBox( 2, Qt::Horizontal, i18n("File Operations"), box ); + groupBox2 = new TQGroupBox( 2, TQt::Horizontal, i18n("File Operations"), box ); m_labelOverWrite = new TQLabel (i18n("Overwrite mode:"), groupBox2); m_overWriteMode = new TQComboBox( false, groupBox2 ); diff --git a/kipi-plugins/batchprocessimages/imagepreview.cpp b/kipi-plugins/batchprocessimages/imagepreview.cpp index 5bedd14..ca419d3 100644 --- a/kipi-plugins/batchprocessimages/imagepreview.cpp +++ b/kipi-plugins/batchprocessimages/imagepreview.cpp @@ -123,13 +123,13 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c h1->addSpacing( 5 ); TQGridLayout* g1 = new TQGridLayout( v1, 1, 2 ); - TQGroupBox * groupBoxZoomFactor = new TQGroupBox( 2, Qt::Horizontal, i18n("Zoom Factor"), box ); + TQGroupBox * groupBoxZoomFactor = new TQGroupBox( 2, TQt::Horizontal, i18n("Zoom Factor"), box ); LCDZoomFactorValue = new TQLCDNumber (4, groupBoxZoomFactor, "ZoomFactorLCDvalue"); LCDZoomFactorValue->setSegmentStyle ( TQLCDNumber::Flat ); LCDZoomFactorValue->display( TQString::number(INIT_ZOOM_FACTOR * 5) ); TQWhatsThis::add( LCDZoomFactorValue, i18n("<p>The zoom factor value, as a percentage.")); - ZoomFactorSlider = new TQSlider (1, 20, 1, INIT_ZOOM_FACTOR, Qt::Horizontal, + ZoomFactorSlider = new TQSlider (1, 20, 1, INIT_ZOOM_FACTOR, TQt::Horizontal, groupBoxZoomFactor, "ZoomFactorSlider"); ZoomFactorSlider->setTracking ( false ); ZoomFactorSlider->setTickInterval ( 5 ); @@ -137,14 +137,14 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c g1->addWidget( groupBoxZoomFactor, 0, 0); TQGridLayout* g2 = new TQGridLayout( v1, 1, 2 ); - TQGroupBox * groupBox1 = new TQGroupBox( 1, Qt::Horizontal, i18n("Original Image"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 1, TQt::Horizontal, i18n("Original Image"), box ); m_previewOrig = new PixmapView(cropActionOrig, groupBox1); TQWhatsThis::add( m_previewOrig, i18n("<p>This is the original image preview. You can use the mouse " "wheel to change the zoom factor. Click in and use the mouse " "to move the image.")); g2->addWidget( groupBox1 , 0, 0); - TQGroupBox * groupBox2 = new TQGroupBox( 1, Qt::Horizontal, i18n("Destination Image"), box ); + TQGroupBox * groupBox2 = new TQGroupBox( 1, TQt::Horizontal, i18n("Destination Image"), box ); m_previewDest = new PixmapView(cropActionDest, groupBox2); TQWhatsThis::add( m_previewDest, i18n("<p>This is the destination image preview. You can use the " "mouse wheel to change the zoom factor. Click in and use the " @@ -356,7 +356,7 @@ void PixmapView::contentsWheelEvent( TQWheelEvent * e ) void PixmapView::contentsMousePressEvent ( TQMouseEvent * e ) { - if ( e->button() == Qt::LeftButton ) + if ( e->button() == TQt::LeftButton ) { m_xpos = e->x(); m_ypos = e->y(); @@ -371,7 +371,7 @@ void PixmapView::contentsMouseReleaseEvent ( TQMouseEvent * /*e*/ ) void PixmapView::contentsMouseMoveEvent( TQMouseEvent * e ) { - if ( e->state() == Qt::LeftButton ) + if ( e->state() == TQt::LeftButton ) { uint newxpos = e->x(); uint newypos = e->y(); diff --git a/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp b/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp index e3e4de4..71e1c16 100644 --- a/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/recompressoptionsdialog.cpp @@ -56,7 +56,7 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent) // JPEG file format. - TQGroupBox * groupBox1 = new TQGroupBox( 2, Qt::Horizontal, i18n("JPEG File Format"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 2, TQt::Horizontal, i18n("JPEG File Format"), box ); m_label_JPEGimageCompression = new TQLabel (i18n("Image compression level:"), groupBox1); m_JPEGCompression = new KIntNumInput(75, groupBox1); @@ -82,7 +82,7 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent) // PNG File format. - TQGroupBox * groupBox2 = new TQGroupBox( 2, Qt::Horizontal, i18n("PNG File Format"), box ); + TQGroupBox * groupBox2 = new TQGroupBox( 2, TQt::Horizontal, i18n("PNG File Format"), box ); m_label_PNGimageCompression = new TQLabel (i18n("Image compression level:"), groupBox2); m_PNGCompression = new KIntNumInput(75, groupBox2); @@ -101,7 +101,7 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent) // TIFF File format. - TQGroupBox * groupBox3 = new TQGroupBox( 2, Qt::Horizontal, i18n("TIFF File Format"), box ); + TQGroupBox * groupBox3 = new TQGroupBox( 2, TQt::Horizontal, i18n("TIFF File Format"), box ); m_label_TIFFimageCompression = new TQLabel (i18n("Image compression algorithm:"), groupBox3); m_TIFFCompressionAlgo = new TQComboBox( false, groupBox3 ); @@ -115,7 +115,7 @@ RecompressOptionsDialog::RecompressOptionsDialog(TQWidget *parent) // TGA File format. - TQGroupBox * groupBox4 = new TQGroupBox( 2, Qt::Horizontal, i18n("TGA File Format"), box ); + TQGroupBox * groupBox4 = new TQGroupBox( 2, TQt::Horizontal, i18n("TGA File Format"), box ); m_label_TGAimageCompression = new TQLabel (i18n("Image compression algorithm:"), groupBox4); m_TGACompressionAlgo = new TQComboBox( false, groupBox4 ); diff --git a/kipi-plugins/batchprocessimages/renameimageswidget.cpp b/kipi-plugins/batchprocessimages/renameimageswidget.cpp index d2a3f99..0167745 100644 --- a/kipi-plugins/batchprocessimages/renameimageswidget.cpp +++ b/kipi-plugins/batchprocessimages/renameimageswidget.cpp @@ -252,7 +252,7 @@ void RenameImagesWidget::sortList(int intSortOrder) { KURL url(item->pathSrc()); KIPI::ImageInfo info = m_interface->info(url); - item->setKey(info.time().toString(Qt::ISODate), false); + item->setKey(info.time().toString(TQt::ISODate), false); break; } } diff --git a/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp b/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp index c11b739..4306f4e 100644 --- a/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp +++ b/kipi-plugins/batchprocessimages/resizeoptionsdialog.cpp @@ -60,7 +60,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) if (m_Type == 0) // Proportional (1 dim.) { - TQGroupBox * groupBox1 = new TQGroupBox( 1, Qt::Horizontal, i18n("Resize Options"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 1, TQt::Horizontal, i18n("Resize Options"), box ); m_size = new KIntNumInput(640, groupBox1); m_size->setRange(10, 10000, 1, true ); @@ -108,7 +108,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) if (m_Type == 1) // Proportional (2 dim.) { - TQGroupBox * groupBox1 = new TQGroupBox( 2, Qt::Horizontal, i18n("Size Settings"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 2, TQt::Horizontal, i18n("Size Settings"), box ); m_label_Width = new TQLabel (i18n("Width (pixels):"), groupBox1); m_Width = new KIntNumInput(1024, groupBox1); @@ -130,7 +130,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) dvlay->addWidget( groupBox1 ); - TQGroupBox * groupBox2 = new TQGroupBox( 2, Qt::Horizontal, i18n("Rendering Settings"), box ); + TQGroupBox * groupBox2 = new TQGroupBox( 2, TQt::Horizontal, i18n("Rendering Settings"), box ); m_label_bgColor = new TQLabel(i18n("Background color:"), groupBox2); TQColor bgColor = TQColor( 0, 0, 0 ); // Black per default. @@ -173,7 +173,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) if (m_Type == 2) // Non proportional { - TQGroupBox * groupBox1 = new TQGroupBox( 1, Qt::Horizontal, i18n("Resize Options"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 1, TQt::Horizontal, i18n("Resize Options"), box ); m_fixedWidth = new KIntNumInput(640, groupBox1); m_fixedWidth->setRange(10, 10000, 1, true ); @@ -224,7 +224,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) "all printing settings can be customized.")); dvlay->addWidget( m_customSettings ); - TQGroupBox * groupBox1 = new TQGroupBox( 2, Qt::Horizontal, i18n("Printing Standard Settings"), box ); + TQGroupBox * groupBox1 = new TQGroupBox( 2, TQt::Horizontal, i18n("Printing Standard Settings"), box ); m_label_paperSize = new TQLabel (i18n("Paper size (cm):"), groupBox1); m_paperSize = new TQComboBox( false, groupBox1 ); @@ -256,7 +256,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) dvlay->addWidget( groupBox1 ); - TQGroupBox * groupBox2 = new TQGroupBox( 2, Qt::Horizontal, i18n("Printing Custom Settings"), box ); + TQGroupBox * groupBox2 = new TQGroupBox( 2, TQt::Horizontal, i18n("Printing Custom Settings"), box ); m_label_customXSize = new TQLabel (i18n("Paper width (cm):"), groupBox2); m_customXSize = new KIntNumInput(10, groupBox2); @@ -280,7 +280,7 @@ ResizeOptionsDialog::ResizeOptionsDialog(TQWidget *parent, int ResizeType) dvlay->addWidget( groupBox2 ); - TQGroupBox * groupBox3 = new TQGroupBox( 2, Qt::Horizontal, i18n("Rendering Settings"), box ); + TQGroupBox * groupBox3 = new TQGroupBox( 2, TQt::Horizontal, i18n("Rendering Settings"), box ); m_label_backgroundColor = new TQLabel(i18n("Background color:"), groupBox3); TQColor backgroundColor = TQColor( 255, 255, 255 ); // White per default. diff --git a/kipi-plugins/calendar/calselect.cpp b/kipi-plugins/calendar/calselect.cpp index fbe2fd0..e3662a4 100644 --- a/kipi-plugins/calendar/calselect.cpp +++ b/kipi-plugins/calendar/calselect.cpp @@ -85,7 +85,7 @@ void CalSelect::setupView( KIPI::Interface* interface ) // ---------------------------------------------------------------- TQGroupBox *monthBox = new TQGroupBox(i18n("Select Images"), this); - monthBox->setColumnLayout(0, Qt::Vertical ); + monthBox->setColumnLayout(0, TQt::Vertical ); monthBox->layout()->setSpacing( 6 ); monthBox->layout()->setMargin( 11 ); diff --git a/kipi-plugins/calendar/caltemplate.cpp b/kipi-plugins/calendar/caltemplate.cpp index 6894ec5..c9e581a 100644 --- a/kipi-plugins/calendar/caltemplate.cpp +++ b/kipi-plugins/calendar/caltemplate.cpp @@ -64,7 +64,7 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) previewSize_ = 300; TQGroupBox *boxPreview_ = new TQGroupBox( i18n("Preview"), this ); - boxPreview_->setColumnLayout(0, Qt::Vertical); + boxPreview_->setColumnLayout(0, TQt::Vertical); boxPreview_->layout()->setMargin( 5 ); TQVBoxLayout *previewLayout = new TQVBoxLayout(boxPreview_->layout()); @@ -76,7 +76,7 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) // --------------------------------------------------------------- TQGroupBox *gbox = new TQGroupBox( i18n("Settings"), this ); - gbox->setColumnLayout(0, Qt::Vertical ); + gbox->setColumnLayout(0, TQt::Vertical ); gbox->layout()->setSpacing( 11 ); gbox->layout()->setMargin( 6 ); TQVBoxLayout* gboxLayout = new TQVBoxLayout( gbox->layout() ); @@ -135,7 +135,7 @@ CalTemplate::CalTemplate(TQWidget* parent, const char* name) hlayout->addWidget(new TQLabel(i18n("Image to text ratio:"), gbox)); - sliderRatio_ = new TQSlider(50,300,5,100,Qt::Horizontal,gbox); + sliderRatio_ = new TQSlider(50,300,5,100,TQt::Horizontal,gbox); hlayout->addWidget( sliderRatio_ ); gboxLayout->addLayout( hlayout ); diff --git a/kipi-plugins/calendar/calwizard.cpp b/kipi-plugins/calendar/calwizard.cpp index c125180..38047aa 100644 --- a/kipi-plugins/calendar/calwizard.cpp +++ b/kipi-plugins/calendar/calwizard.cpp @@ -265,7 +265,7 @@ void CalWizard::slotPageSelected(const TQString&) CalParams& params = cSettings_->calParams; - // Qt::Orientation + // Orientation switch (params.imgPos) { case(CalParams::Top): { printer_->setOrientation(KPrinter::Portrait); diff --git a/kipi-plugins/calendar/monthwidget.cpp b/kipi-plugins/calendar/monthwidget.cpp index fd5181a..5433900 100644 --- a/kipi-plugins/calendar/monthwidget.cpp +++ b/kipi-plugins/calendar/monthwidget.cpp @@ -174,12 +174,12 @@ void MonthWidget::mouseReleaseEvent(TQMouseEvent* e) { if (!contentsRect().contains(e->pos())) return; - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { KURL url = KIPI::ImageDialog::getImageURL(this, interface_); setImage(url); } - else if (e->button() == Qt::RightButton) { + else if (e->button() == TQt::RightButton) { imagePath_ = TQString(""); CalSettings::instance()->setImage(month_,imagePath_); delete pixmap_; diff --git a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp index 73a0362..62ea6ba 100644 --- a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp +++ b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp @@ -146,7 +146,7 @@ void CDArchivingDialog::setupSelection(void) //--------------------------------------------- - TQGroupBox * groupBox3 = new TQGroupBox( 2, Qt::Horizontal, + TQGroupBox * groupBox3 = new TQGroupBox( 2, TQt::Horizontal, i18n("Target Media Information"), page_setupSelection ); groupBox3->layout()->setSpacing( 6 ); @@ -538,7 +538,7 @@ void CDArchivingDialog::setupBurning(void) //--------------------------------------------- TQGroupBox * groupBoxAdvancedOptions = new TQGroupBox( i18n("Advanced Burning Options"), page_burning ); - groupBoxAdvancedOptions->setColumnLayout(0, Qt::Vertical ); + groupBoxAdvancedOptions->setColumnLayout(0, TQt::Vertical ); groupBoxAdvancedOptions->layout()->setSpacing( 6 ); groupBoxAdvancedOptions->layout()->setMargin( 11 ); diff --git a/kipi-plugins/findimages/displaycompare.cpp b/kipi-plugins/findimages/displaycompare.cpp index a2e8a73..946b850 100644 --- a/kipi-plugins/findimages/displaycompare.cpp +++ b/kipi-plugins/findimages/displaycompare.cpp @@ -166,7 +166,7 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface, //--------------------------------------------- - GroupBox1 = new TQGroupBox( 1, Qt::Horizontal, i18n("Original Files"), box ); + GroupBox1 = new TQGroupBox( 1, TQt::Horizontal, i18n("Original Files"), box ); GroupBox1->layout()->setSpacing( 6 ); GroupBox1->layout()->setMargin( 11 ); @@ -201,7 +201,7 @@ DisplayCompare::DisplayCompare(TQWidget* parent, KIPI::Interface* interface, //--------------------------------------------- - GroupBox2 = new TQGroupBox( 1, Qt::Horizontal, i18n("Similar Files"), box ); + GroupBox2 = new TQGroupBox( 1, TQt::Horizontal, i18n("Similar Files"), box ); GroupBox2->layout()->setSpacing( 6 ); GroupBox2->layout()->setMargin( 11 ); diff --git a/kipi-plugins/findimages/finddupplicatedialog.cpp b/kipi-plugins/findimages/finddupplicatedialog.cpp index b4ecdf8..a1d043a 100644 --- a/kipi-plugins/findimages/finddupplicatedialog.cpp +++ b/kipi-plugins/findimages/finddupplicatedialog.cpp @@ -144,7 +144,7 @@ void FindDuplicateDialog::setupPageMethod(void) //--------------------------------------------- - TQGroupBox * groupBox1 = new TQGroupBox( 2, Qt::Horizontal, i18n("Method"), page_setupMethod ); + TQGroupBox * groupBox1 = new TQGroupBox( 2, TQt::Horizontal, i18n("Method"), page_setupMethod ); groupBox1->layout()->setSpacing( 6 ); groupBox1->layout()->setMargin( 11 ); @@ -174,7 +174,7 @@ void FindDuplicateDialog::setupPageMethod(void) //--------------------------------------------- - TQGroupBox * groupBox2 = new TQGroupBox( 1, Qt::Horizontal, i18n("Cache Maintenance"), page_setupMethod ); + TQGroupBox * groupBox2 = new TQGroupBox( 1, TQt::Horizontal, i18n("Cache Maintenance"), page_setupMethod ); new TQLabel(i18n("The find-duplicate-images process uses a cache folder for images' fingerprints\n" "to speed up the analysis of items from Albums."), groupBox2); diff --git a/kipi-plugins/flickrexport/flickrwidget.cpp b/kipi-plugins/flickrexport/flickrwidget.cpp index dc42a43..90e479d 100644 --- a/kipi-plugins/flickrexport/flickrwidget.cpp +++ b/kipi-plugins/flickrexport/flickrwidget.cpp @@ -108,7 +108,7 @@ FlickrWidget::FlickrWidget(TQWidget* parent, KIPI::Interface *iface) // ------------------------------------------------------------------------ TQGroupBox* optionsBox = new TQGroupBox(i18n("Override Default Options"), settingsBox); - optionsBox->setColumnLayout(0, Qt::Vertical); + optionsBox->setColumnLayout(0, TQt::Vertical); optionsBox->layout()->setSpacing(KDialog::spacingHint()); optionsBox->layout()->setMargin(KDialog::spacingHint()); TQGridLayout* optionsBoxLayout = new TQGridLayout(optionsBox->layout(), 5, 3); @@ -156,7 +156,7 @@ FlickrWidget::FlickrWidget(TQWidget* parent, KIPI::Interface *iface) // ------------------------------------------------------------------------ TQGroupBox* accountBox = new TQGroupBox(i18n("Account"), settingsBox); - accountBox->setColumnLayout(0, Qt::Vertical); + accountBox->setColumnLayout(0, TQt::Vertical); accountBox->layout()->setSpacing(KDialog::spacingHint()); accountBox->layout()->setMargin(KDialog::spacingHint()); TQGridLayout* accountBoxLayout = new TQGridLayout(accountBox->layout(), 1, 3); diff --git a/kipi-plugins/galleryexport/gallerywidget.cpp b/kipi-plugins/galleryexport/gallerywidget.cpp index 7cd47e5..2b9b7b5 100644 --- a/kipi-plugins/galleryexport/gallerywidget.cpp +++ b/kipi-plugins/galleryexport/gallerywidget.cpp @@ -98,7 +98,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl ) TQGroupBox* optionsBox = new TQGroupBox(i18n("Override Default Options"), rightButtonGroup); - optionsBox->setColumnLayout(0, Qt::Vertical); + optionsBox->setColumnLayout(0, TQt::Vertical); optionsBox->layout()->setSpacing(5); optionsBox->layout()->setMargin(5); TQGridLayout* optionsBoxLayout = new TQGridLayout(optionsBox->layout()); diff --git a/kipi-plugins/gpssync/gpsdataparser.cpp b/kipi-plugins/gpssync/gpsdataparser.cpp index 66d7bd0..5da4b2b 100644 --- a/kipi-plugins/gpssync/gpsdataparser.cpp +++ b/kipi-plugins/gpssync/gpsdataparser.cpp @@ -246,7 +246,7 @@ bool GPSDataParser::loadGPXFile(const KURL& url) // Get GPS point time stamp. If not available continue to next point. TQString time = trkptMetaElem.text(); if (time.isEmpty()) continue; - ptDateTime = TQDateTime::fromString(time, Qt::ISODate); + ptDateTime = TQDateTime::fromString(time, TQt::ISODate); } if (trkptMetaElem.tagName() == TQString("ele")) { diff --git a/kipi-plugins/gpssync/gpslistviewitem.cpp b/kipi-plugins/gpssync/gpslistviewitem.cpp index 551729e..cea50c4 100644 --- a/kipi-plugins/gpssync/gpslistviewitem.cpp +++ b/kipi-plugins/gpssync/gpslistviewitem.cpp @@ -138,7 +138,7 @@ void GPSListViewItem::setDateTime(const TQDateTime& date) if (date.isValid()) { d->date = date; - setText(2, date.toString(Qt::LocalDate)); + setText(2, date.toString(TQt::LocalDate)); } else { diff --git a/kipi-plugins/gpssync/gpssyncdialog.cpp b/kipi-plugins/gpssync/gpssyncdialog.cpp index 210ebdb..818f097 100644 --- a/kipi-plugins/gpssync/gpssyncdialog.cpp +++ b/kipi-plugins/gpssync/gpssyncdialog.cpp @@ -144,7 +144,7 @@ GPSSyncDialog::GPSSyncDialog( KIPI::Interface* interface, TQWidget* parent) // --------------------------------------------------------------- - TQGroupBox *settingsBox = new TQGroupBox(0, Qt::Vertical, i18n("Settings"), plainPage()); + TQGroupBox *settingsBox = new TQGroupBox(0, TQt::Vertical, i18n("Settings"), plainPage()); TQGridLayout *settingsBoxLayout = new TQGridLayout(settingsBox->layout(), 8, 1, KDialog::spacingHint()); diff --git a/kipi-plugins/gpssync/kmlexportconfig.cpp b/kipi-plugins/gpssync/kmlexportconfig.cpp index 59b2bac..1169f87 100644 --- a/kipi-plugins/gpssync/kmlexportconfig.cpp +++ b/kipi-plugins/gpssync/kmlexportconfig.cpp @@ -74,12 +74,12 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name) // -------------------------------------------------------------- // Target preferences - TargetPreferenceGroupBox = new TQGroupBox(0, Qt::Vertical, i18n( "Target Preferences" ), plainPage()); + TargetPreferenceGroupBox = new TQGroupBox(0, TQt::Vertical, i18n( "Target Preferences" ), plainPage()); TargetPreferenceGroupBoxLayout = new TQGridLayout( TargetPreferenceGroupBox->layout(), 6, 5, KDialog::spacingHint()); TargetPreferenceGroupBoxLayout->setAlignment( TQt::AlignTop ); // target type - buttonGroupTargetType = new TQButtonGroup(0, Qt::Vertical, i18n( "Target Type" ), TargetPreferenceGroupBox, "buttonGroupTargetType" ); + buttonGroupTargetType = new TQButtonGroup(0, TQt::Vertical, i18n( "Target Type" ), TargetPreferenceGroupBox, "buttonGroupTargetType" ); buttonGroupTargetTypeLayout = new TQGridLayout( buttonGroupTargetType->layout(), 2, 1, KDialog::spacingHint() ); buttonGroupTargetTypeLayout->setAlignment( TQt::AlignTop ); @@ -144,8 +144,8 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name) // -------------------------------------------------------------- // Sizes - TQGroupBox *SizeGroupBox = new TQGroupBox(0, Qt::Vertical, i18n( "Sizes" ), plainPage() ); - SizeGroupBox->setColumnLayout(0, Qt::Vertical ); + TQGroupBox *SizeGroupBox = new TQGroupBox(0, TQt::Vertical, i18n( "Sizes" ), plainPage() ); + SizeGroupBox->setColumnLayout(0, TQt::Vertical ); SizeGroupBoxLayout = new TQGridLayout( SizeGroupBox->layout(), 2, 3, KDialog::spacingHint() ); SizeGroupBoxLayout->setAlignment( TQt::AlignTop ); @@ -175,7 +175,7 @@ KMLExportConfig::KMLExportConfig( TQWidget* parent, const char* name) // -------------------------------------------------------------- // GPX Tracks - TQGroupBox *GPXTracksGroupBox = new TQGroupBox(0, Qt::Vertical, i18n( "GPX Tracks" ), plainPage()); + TQGroupBox *GPXTracksGroupBox = new TQGroupBox(0, TQt::Vertical, i18n( "GPX Tracks" ), plainPage()); TQGridLayout *GPXTracksGroupBoxLayout = new TQGridLayout(GPXTracksGroupBox->layout(), 5, 4, KDialog::spacingHint()); GPXTracksGroupBoxLayout->setAlignment( TQt::AlignTop ); diff --git a/kipi-plugins/kameraklient/cameraselection.cpp b/kipi-plugins/kameraklient/cameraselection.cpp index dbc78e4..6b3ace5 100644 --- a/kipi-plugins/kameraklient/cameraselection.cpp +++ b/kipi-plugins/kameraklient/cameraselection.cpp @@ -85,7 +85,7 @@ CameraSelection::CameraSelection(TQWidget* parent) TQGroupBox* mainBox = new TQGroupBox(page); mainBox->setTitle(i18n("Camera Configuration")); - mainBox->setColumnLayout(0, Qt::Vertical ); + mainBox->setColumnLayout(0, TQt::Vertical ); mainBox->layout()->setSpacing( 5 ); mainBox->layout()->setMargin( 5 ); TQGridLayout* mainBoxLayout = new TQGridLayout(mainBox->layout()); @@ -112,7 +112,7 @@ CameraSelection::CameraSelection(TQWidget* parent) TQGroupBox* portPathBox = new TQGroupBox(mainBox); portPathBox->setTitle( i18n("Camera Port Path")); - portPathBox->setColumnLayout(0, Qt::Vertical ); + portPathBox->setColumnLayout(0, TQt::Vertical ); portPathBox->layout()->setSpacing( 5 ); portPathBox->layout()->setMargin( 5 ); TQVBoxLayout* portPathBoxLayout = new TQVBoxLayout( portPathBox->layout() ); diff --git a/kipi-plugins/kameraklient/setupcamera.cpp b/kipi-plugins/kameraklient/setupcamera.cpp index b390464..a115fd6 100644 --- a/kipi-plugins/kameraklient/setupcamera.cpp +++ b/kipi-plugins/kameraklient/setupcamera.cpp @@ -89,7 +89,7 @@ SetupCamera::SetupCamera(TQWidget* parent, const char* name) //--------------------------------------------- TQGroupBox* groupBox = new TQGroupBox(page, "groupBox"); - groupBox->setColumnLayout(0, Qt::Vertical); + groupBox->setColumnLayout(0, TQt::Vertical); groupBox->layout()->setSpacing(5); groupBox->layout()->setMargin(5); diff --git a/kipi-plugins/kameraklient/thumbview.cpp b/kipi-plugins/kameraklient/thumbview.cpp index 56fa1b5..fe3fe54 100644 --- a/kipi-plugins/kameraklient/thumbview.cpp +++ b/kipi-plugins/kameraklient/thumbview.cpp @@ -491,7 +491,7 @@ void ThumbView::contentsMouseMoveEvent(TQMouseEvent *e) { if (!e) { return; } - if (e->state() == Qt::NoButton) { + if (e->state() == TQt::NoButton) { return; } // Dragging ? @@ -575,14 +575,14 @@ void ThumbView::contentsMouseReleaseEvent(TQMouseEvent *e) { delete d->rubber; d->rubber = 0; } - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { ThumbItem *item = findItem(e->pos()); if (item) { emit signalRightButtonClicked(item, e->globalPos()); } else { emit signalRightButtonClicked(e->globalPos()); } - } else if ((e->button() == Qt::LeftButton) && !(e->state() & TQt::ShiftButton) && !(e->state() & TQt::ControlButton)) { + } else if ((e->button() == TQt::LeftButton) && !(e->state() & TQt::ShiftButton) && !(e->state() & TQt::ControlButton)) { if (d->pressedMoved) { d->pressedMoved = false; return; diff --git a/kipi-plugins/metadataedit/exifdatetime.cpp b/kipi-plugins/metadataedit/exifdatetime.cpp index fc98ee5..c51c25b 100644 --- a/kipi-plugins/metadataedit/exifdatetime.cpp +++ b/kipi-plugins/metadataedit/exifdatetime.cpp @@ -274,7 +274,7 @@ void EXIFDateTime::readMetadata(TQByteArray& exifData) datetimeStr = exiv2Iface.getExifTagString("Exif.Image.DateTime", false); if (!datetimeStr.isEmpty()) { - datetime = TQDateTime::fromString(datetimeStr, Qt::ISODate); + datetime = TQDateTime::fromString(datetimeStr, TQt::ISODate); if (datetime.isValid()) { d->dateCreatedSel->setDateTime(datetime); @@ -305,7 +305,7 @@ void EXIFDateTime::readMetadata(TQByteArray& exifData) datetimeStr = exiv2Iface.getExifTagString("Exif.Photo.DateTimeOriginal", false); if (!datetimeStr.isEmpty()) { - datetime = TQDateTime::fromString(datetimeStr, Qt::ISODate); + datetime = TQDateTime::fromString(datetimeStr, TQt::ISODate); if (datetime.isValid()) { d->dateOriginalSel->setDateTime(datetime); @@ -334,7 +334,7 @@ void EXIFDateTime::readMetadata(TQByteArray& exifData) datetimeStr = exiv2Iface.getExifTagString("Exif.Photo.DateTimeDigitized", false); if (!datetimeStr.isEmpty()) { - datetime = TQDateTime::fromString(datetimeStr, Qt::ISODate); + datetime = TQDateTime::fromString(datetimeStr, TQt::ISODate); if (datetime.isValid()) { d->dateDigitalizedSel->setDateTime(datetime); @@ -375,9 +375,9 @@ void EXIFDateTime::applyMetadata(TQByteArray& exifData, TQByteArray& iptcData) if (syncIPTCDateIsChecked()) { exiv2Iface.setIptcTagString("Iptc.Application2.DateCreated", - d->dateCreatedSel->dateTime().date().toString(Qt::ISODate)); + d->dateCreatedSel->dateTime().date().toString(TQt::ISODate)); exiv2Iface.setIptcTagString("Iptc.Application2.TimeCreated", - d->dateCreatedSel->dateTime().time().toString(Qt::ISODate)); + d->dateCreatedSel->dateTime().time().toString(TQt::ISODate)); } } else diff --git a/kipi-plugins/metadataedit/iptcdatetime.cpp b/kipi-plugins/metadataedit/iptcdatetime.cpp index 6339729..a61b508 100644 --- a/kipi-plugins/metadataedit/iptcdatetime.cpp +++ b/kipi-plugins/metadataedit/iptcdatetime.cpp @@ -318,7 +318,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->dateCreatedCheck->setChecked(false); if (!dateStr.isEmpty()) { - date = TQDate::fromString(dateStr, Qt::ISODate); + date = TQDate::fromString(dateStr, TQt::ISODate); if (date.isValid()) { d->dateCreatedSel->setDate(date); @@ -333,7 +333,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->timeCreatedCheck->setChecked(false); if (!timeStr.isEmpty()) { - time = TQTime::fromString(timeStr, Qt::ISODate); + time = TQTime::fromString(timeStr, TQt::ISODate); if (time.isValid()) { d->timeCreatedSel->setTime(time); @@ -349,7 +349,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->dateReleasedCheck->setChecked(false); if (!dateStr.isEmpty()) { - date = TQDate::fromString(dateStr, Qt::ISODate); + date = TQDate::fromString(dateStr, TQt::ISODate); if (date.isValid()) { d->dateReleasedSel->setDate(date); @@ -362,7 +362,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->timeReleasedCheck->setChecked(false); if (!timeStr.isEmpty()) { - time = TQTime::fromString(timeStr, Qt::ISODate); + time = TQTime::fromString(timeStr, TQt::ISODate); if (time.isValid()) { d->timeReleasedSel->setTime(time); @@ -378,7 +378,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->dateExpiredCheck->setChecked(false); if (!dateStr.isEmpty()) { - date = TQDate::fromString(dateStr, Qt::ISODate); + date = TQDate::fromString(dateStr, TQt::ISODate); if (date.isValid()) { d->dateExpiredSel->setDate(date); @@ -391,7 +391,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->timeExpiredCheck->setChecked(false); if (!timeStr.isEmpty()) { - time = TQTime::fromString(timeStr, Qt::ISODate); + time = TQTime::fromString(timeStr, TQt::ISODate); if (time.isValid()) { d->timeExpiredSel->setTime(time); @@ -407,7 +407,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->dateDigitalizedCheck->setChecked(false); if (!dateStr.isEmpty()) { - date = TQDate::fromString(dateStr, Qt::ISODate); + date = TQDate::fromString(dateStr, TQt::ISODate); if (date.isValid()) { d->dateDigitalizedSel->setDate(date); @@ -420,7 +420,7 @@ void IPTCDateTime::readMetadata(TQByteArray& iptcData) d->timeDigitalizedCheck->setChecked(false); if (!timeStr.isEmpty()) { - time = TQTime::fromString(timeStr, Qt::ISODate); + time = TQTime::fromString(timeStr, TQt::ISODate); if (time.isValid()) { d->timeDigitalizedSel->setTime(time); @@ -441,7 +441,7 @@ void IPTCDateTime::applyMetadata(TQByteArray& exifData, TQByteArray& iptcData) if (d->dateCreatedCheck->isChecked()) { exiv2Iface.setIptcTagString("Iptc.Application2.DateCreated", - d->dateCreatedSel->date().toString(Qt::ISODate)); + d->dateCreatedSel->date().toString(TQt::ISODate)); if (syncEXIFDateIsChecked()) { exiv2Iface.setExifTagString("Exif.Image.DateTime", @@ -453,43 +453,43 @@ void IPTCDateTime::applyMetadata(TQByteArray& exifData, TQByteArray& iptcData) if (d->dateReleasedCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.ReleaseDate", - d->dateReleasedSel->date().toString(Qt::ISODate)); + d->dateReleasedSel->date().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.ReleaseDate"); if (d->dateExpiredCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.ExpirationDate", - d->dateExpiredSel->date().toString(Qt::ISODate)); + d->dateExpiredSel->date().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.ExpirationDate"); if (d->dateDigitalizedCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.DigitizationDate", - d->dateDigitalizedSel->date().toString(Qt::ISODate)); + d->dateDigitalizedSel->date().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.DigitizationDate"); if (d->timeCreatedCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.TimeCreated", - d->timeCreatedSel->time().toString(Qt::ISODate)); + d->timeCreatedSel->time().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.TimeCreated"); if (d->timeReleasedCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.ReleaseTime", - d->timeReleasedSel->time().toString(Qt::ISODate)); + d->timeReleasedSel->time().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.ReleaseTime"); if (d->timeExpiredCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.ExpirationTime", - d->timeExpiredSel->time().toString(Qt::ISODate)); + d->timeExpiredSel->time().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.ExpirationTime"); if (d->timeDigitalizedCheck->isChecked()) exiv2Iface.setIptcTagString("Iptc.Application2.DigitizationTime", - d->timeDigitalizedSel->time().toString(Qt::ISODate)); + d->timeDigitalizedSel->time().toString(TQt::ISODate)); else exiv2Iface.removeIptcTag("Iptc.Application2.DigitizationTime"); diff --git a/kipi-plugins/mpegencoder/optionsdialog.cpp b/kipi-plugins/mpegencoder/optionsdialog.cpp index c8f7dc6..1cf73c0 100644 --- a/kipi-plugins/mpegencoder/optionsdialog.cpp +++ b/kipi-plugins/mpegencoder/optionsdialog.cpp @@ -63,7 +63,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent) // ImageMagick binary programs folder - TQGroupBox* IMBinFolderGroup = new TQGroupBox( 3, Qt::Horizontal, i18n( "ImageMagick Binary Programs Path" ), box); + TQGroupBox* IMBinFolderGroup = new TQGroupBox( 3, TQt::Horizontal, i18n( "ImageMagick Binary Programs Path" ), box); g1->addWidget( IMBinFolderGroup, 1, 1, TQt::AlignLeft); IMBinFolderEditFilename = new KLineEdit( IMBinFolderGroup ); IMBinFolderEditFilename->setMinimumWidth( 300 ); @@ -73,7 +73,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent) // MjpegTools binary programs folder - TQGroupBox* MJBinFolderGroup = new TQGroupBox( 3, Qt::Horizontal, i18n( "MjpegTools Binary Programs Path" ), box); + TQGroupBox* MJBinFolderGroup = new TQGroupBox( 3, TQt::Horizontal, i18n( "MjpegTools Binary Programs Path" ), box); g1->addWidget( MJBinFolderGroup, 2, 1, TQt::AlignLeft); MJBinFolderEditFilename = new KLineEdit( MJBinFolderGroup ); MJBinFolderEditFilename->setMinimumWidth( 300 ); diff --git a/kipi-plugins/printwizard/cropframe.cpp b/kipi-plugins/printwizard/cropframe.cpp index 5608f81..b6b5c71 100644 --- a/kipi-plugins/printwizard/cropframe.cpp +++ b/kipi-plugins/printwizard/cropframe.cpp @@ -231,7 +231,7 @@ void CropFrame::paintEvent (TQPaintEvent *) void CropFrame::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { m_mouseDown = true; this->mouseMoveEvent(e); @@ -241,7 +241,7 @@ void CropFrame::mousePressEvent(TQMouseEvent *e) void CropFrame::mouseReleaseEvent(TQMouseEvent *e) { - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) m_mouseDown = false; } diff --git a/kipi-plugins/sendimages/sendimagesdialog.cpp b/kipi-plugins/sendimages/sendimagesdialog.cpp index aa8aeb8..d8cfa87 100644 --- a/kipi-plugins/sendimages/sendimagesdialog.cpp +++ b/kipi-plugins/sendimages/sendimagesdialog.cpp @@ -266,7 +266,7 @@ void SendImagesDialog::setupImagesList(void) "button or use the drag-and-drop.")); grid->addMultiCellWidget(m_ImagesFilesListBox, 0, 2, 0, 1); - KButtonBox* imagesListButtonBox = new KButtonBox( m_groupBoxImageList,Qt::Vertical ); + KButtonBox* imagesListButtonBox = new KButtonBox( m_groupBoxImageList,TQt::Vertical ); TQPushButton* m_addImagesButton = imagesListButtonBox->addButton ( i18n( "&Add ..." ) ); TQWhatsThis::add( m_addImagesButton, i18n("<p>Add images to the list.") ); TQPushButton* m_remImagesButton = imagesListButtonBox->addButton ( i18n( "&Remove" )); @@ -286,7 +286,7 @@ void SendImagesDialog::setupImagesList(void) //--------------------------------------------- TQGroupBox * groupBox2 = new TQGroupBox( i18n("Image Description"), page_setupImagesList ); - groupBox2->setColumnLayout(0, Qt::Vertical ); + groupBox2->setColumnLayout(0, TQt::Vertical ); groupBox2->layout()->setSpacing( 6 ); groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The description of the currently selected image on the list.") ); @@ -433,7 +433,7 @@ void SendImagesDialog::setupEmailOptions(void) //--------------------------------------------- TQGroupBox * groupBox2 = new TQGroupBox( i18n("Image Properties"), page_setupEmailOptions ); - groupBox2->setColumnLayout(0, Qt::Vertical ); + groupBox2->setColumnLayout(0, TQt::Vertical ); groupBox2->layout()->setSpacing( 6 ); groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The properties of images to send.") ); diff --git a/kipi-plugins/slideshow/slideshow.cpp b/kipi-plugins/slideshow/slideshow.cpp index 5f4e040..3757aee 100644 --- a/kipi-plugins/slideshow/slideshow.cpp +++ b/kipi-plugins/slideshow/slideshow.cpp @@ -591,13 +591,13 @@ void SlideShow::mousePressEvent(TQMouseEvent *e) if (m_endOfShow) slotClose(); - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { m_timer->stop(); m_toolBar->setPaused(true); slotNext(); } - else if (e->button() == Qt::RightButton && m_fileIndex-1 >= 0) + else if (e->button() == TQt::RightButton && m_fileIndex-1 >= 0) { m_timer->stop(); m_toolBar->setPaused(true); diff --git a/kipi-plugins/slideshow/slideshowgl.cpp b/kipi-plugins/slideshow/slideshowgl.cpp index eec567b..1046d2d 100644 --- a/kipi-plugins/slideshow/slideshowgl.cpp +++ b/kipi-plugins/slideshow/slideshowgl.cpp @@ -284,13 +284,13 @@ void SlideShowGL::mousePressEvent(TQMouseEvent *e) if (m_endOfShow) slotClose(); - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { m_timer->stop(); m_toolBar->setPaused(true); slotNext(); } - else if (e->button() == Qt::RightButton && m_fileIndex-1 >= 0) + else if (e->button() == TQt::RightButton && m_fileIndex-1 >= 0) { m_timer->stop(); m_toolBar->setPaused(true); diff --git a/kipi-plugins/sync/gallerywidget.cpp b/kipi-plugins/sync/gallerywidget.cpp index 320f7b3..b154638 100644 --- a/kipi-plugins/sync/gallerywidget.cpp +++ b/kipi-plugins/sync/gallerywidget.cpp @@ -98,7 +98,7 @@ GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl ) TQGroupBox* optionsBox = new TQGroupBox(i18n("Override Default Options"), rightButtonGroup); - optionsBox->setColumnLayout(0, Qt::Vertical); + optionsBox->setColumnLayout(0, TQt::Vertical); optionsBox->layout()->setSpacing(5); optionsBox->layout()->setMargin(5); TQGridLayout* optionsBoxLayout = new TQGridLayout(optionsBox->layout()); diff --git a/kipi-plugins/timeadjust/timeadjustdialog.cpp b/kipi-plugins/timeadjust/timeadjustdialog.cpp index 433a3bf..03b6093 100644 --- a/kipi-plugins/timeadjust/timeadjustdialog.cpp +++ b/kipi-plugins/timeadjust/timeadjustdialog.cpp @@ -179,7 +179,7 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent) // -- Adjustment type ------------------------------------------------------------ TQVGroupBox *adjGB = new TQVGroupBox(i18n("Adjustment Type"), plainPage()); - d->adjustTypeGrp = new TQButtonGroup(1, Qt::Horizontal, adjGB); + d->adjustTypeGrp = new TQButtonGroup(1, TQt::Horizontal, adjGB); d->add = new TQRadioButton(i18n("Add"), d->adjustTypeGrp); d->subtract = new TQRadioButton(i18n("Subtract"), d->adjustTypeGrp); d->exif = new TQRadioButton(i18n("Set file date to EXIF/IPTC creation date"), d->adjustTypeGrp); @@ -398,9 +398,9 @@ void TimeAdjustDialog::setImages(const KURL::List& images) void TimeAdjustDialog::slotUpdateExample() { - TQString oldDate = d->exampleDate.toString(Qt::LocalDate); + TQString oldDate = d->exampleDate.toString(TQt::LocalDate); TQDateTime date = updateTime(KURL(), d->exampleDate); - TQString newDate = date.toString(Qt::LocalDate); + TQString newDate = date.toString(TQt::LocalDate); d->exampleAdj->setText(i18n("<b>%1</b><br>would, for example, " "change into<br><b>%2</b>") .arg(oldDate).arg(newDate)); @@ -465,9 +465,9 @@ void TimeAdjustDialog::slotOk() if (d->syncIPTCDateCheck->isChecked()) { ret &= exiv2Iface.setIptcTagString("Iptc.Application2.DateCreated", - dateTime.date().toString(Qt::ISODate)); + dateTime.date().toString(TQt::ISODate)); ret &= exiv2Iface.setIptcTagString("Iptc.Application2.TimeCreated", - dateTime.time().toString(Qt::ISODate)); + dateTime.time().toString(TQt::ISODate)); } ret &= exiv2Iface.save(url.path()); |