diff options
Diffstat (limited to 'kdgantt/itemAttributeDialog.ui.h')
-rw-r--r-- | kdgantt/itemAttributeDialog.ui.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/kdgantt/itemAttributeDialog.ui.h b/kdgantt/itemAttributeDialog.ui.h index 9ce60bdb9..2ca8b6718 100644 --- a/kdgantt/itemAttributeDialog.ui.h +++ b/kdgantt/itemAttributeDialog.ui.h @@ -36,7 +36,7 @@ ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include <qcolordialog.h> +#include <tqcolordialog.h> void itemAttributeDialog::init( ) { @@ -49,10 +49,10 @@ void itemAttributeDialog::init( ) void itemAttributeDialog::ChangeText_clicked() { if ( !myItem) return; - QColor c = QColorDialog::getColor( myItem->textColor(), this ); + TQColor c = QColorDialog::getColor( myItem->textColor(), this ); if ( c.isValid() ) myItem->setTextColor( c ); - QPixmap * pix = (QPixmap *)ChangeText->pixmap(); + TQPixmap * pix = (TQPixmap *)ChangeText->pixmap(); pix->fill( myItem->textColor() ); ChangeText->repaint(); } @@ -63,9 +63,9 @@ void itemAttributeDialog::ChangeStart_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( st, this ); + TQColor c = QColorDialog::getColor( st, this ); if ( c.isValid() ) { st = c; ChangeStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); @@ -80,9 +80,9 @@ void itemAttributeDialog::ChangeMiddle_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( mi, this ); + TQColor c = QColorDialog::getColor( mi, this ); if ( c.isValid() ) { mi = c; ChangeMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); @@ -96,9 +96,9 @@ void itemAttributeDialog::ChangeEnd_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( en, this ); + TQColor c = QColorDialog::getColor( en, this ); if ( c.isValid() ) { en = c; ChangeEnd->setPixmap( KDGanttView::getPixmap( end, en, backgroundColor(), 10 ) ); @@ -237,15 +237,15 @@ void itemAttributeDialog::reset( KDGanttViewItem * item ) TimeEdit1->setTime( item->startTime().time() ); if ( item->pixmap() != 0 ) setIcon( *(item->pixmap()) ); - setCaption( "Properties of " + ((QListViewItem*)item)->text(0) ); - itemName->setText(((QListViewItem*)item)->text(0) ); + setCaption( "Properties of " + ((TQListViewItem*)item)->text(0) ); + itemName->setText(((TQListViewItem*)item)->text(0) ); // DateEdit1->setRange(item->startTime().date().addYears(-10), item->endTime().date() ); // DateEdit3->setRange(item->startTime().date(), item->endTime().date().addYears(10)); LineEdit1->setText( item->text() ); KDGanttViewItem::Shape start, middle, end; item->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; item->colors( st, mi, en ); ChangeStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); ChangeMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); @@ -254,9 +254,9 @@ void itemAttributeDialog::reset( KDGanttViewItem * item ) HighStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); HighMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); HighEnd->setPixmap( KDGanttView::getPixmap( end, en, backgroundColor(), 10 ) ); - ChangeText->setPixmap(QPixmap( 16,16 )); - QPixmap * pix; - pix = (QPixmap *)ChangeText->pixmap(); + ChangeText->setPixmap(TQPixmap( 16,16 )); + TQPixmap * pix; + pix = (TQPixmap *)ChangeText->pixmap(); pix->fill( item->textColor() ); StartBox->setCurrentItem((int)start ); MiddleBox->setCurrentItem((int)middle ); @@ -273,9 +273,9 @@ void itemAttributeDialog::HighStart_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( st, this ); + TQColor c = QColorDialog::getColor( st, this ); if ( c.isValid() ) { st = c; HighStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); @@ -290,9 +290,9 @@ void itemAttributeDialog::HighMiddle_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( mi, this ); + TQColor c = QColorDialog::getColor( mi, this ); if ( c.isValid() ) { mi = c; HighMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); @@ -307,9 +307,9 @@ void itemAttributeDialog::HighEnd_clicked() if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); - QColor st, mi, en; + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( en, this ); + TQColor c = QColorDialog::getColor( en, this ); if ( c.isValid() ) { en = c; HighEnd->setPixmap( KDGanttView::getPixmap( end, en, backgroundColor(), 10 ) ); @@ -319,10 +319,10 @@ void itemAttributeDialog::HighEnd_clicked() } -void itemAttributeDialog::DateEdit1_valueChanged( const QDate & ) +void itemAttributeDialog::DateEdit1_valueChanged( const TQDate & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit1->date() ); dt.setTime( TimeEdit1->time() ); if ( dt.isValid() ) @@ -333,10 +333,10 @@ void itemAttributeDialog::DateEdit1_valueChanged( const QDate & ) } -void itemAttributeDialog::TimeEdit1_valueChanged( const QTime & ) +void itemAttributeDialog::TimeEdit1_valueChanged( const TQTime & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit1->date() ); dt.setTime( TimeEdit1->time() ); if ( dt.isValid() ) { @@ -347,10 +347,10 @@ void itemAttributeDialog::TimeEdit1_valueChanged( const QTime & ) } -void itemAttributeDialog::DateEdit2_valueChanged( const QDate & ) +void itemAttributeDialog::DateEdit2_valueChanged( const TQDate & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit2->date() ); dt.setTime( TimeEdit2->time() ); if ( dt.isValid() ) { @@ -360,10 +360,10 @@ void itemAttributeDialog::DateEdit2_valueChanged( const QDate & ) } -void itemAttributeDialog::TimeEdit2_valueChanged( const QTime & ) +void itemAttributeDialog::TimeEdit2_valueChanged( const TQTime & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit2->date() ); dt.setTime( TimeEdit2->time() ); if ( dt.isValid() ) { @@ -373,10 +373,10 @@ void itemAttributeDialog::TimeEdit2_valueChanged( const QTime & ) } -void itemAttributeDialog::DateEdit3_valueChanged( const QDate & ) +void itemAttributeDialog::DateEdit3_valueChanged( const TQDate & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit3->date() ); dt.setTime( TimeEdit3->time() ); if ( dt.isValid() ) { @@ -386,10 +386,10 @@ void itemAttributeDialog::DateEdit3_valueChanged( const QDate & ) } -void itemAttributeDialog::TimeEdit3_valueChanged( const QTime & ) +void itemAttributeDialog::TimeEdit3_valueChanged( const TQTime & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit3->date() ); dt.setTime( TimeEdit3->time() ); if ( dt.isValid() ) { @@ -399,14 +399,14 @@ void itemAttributeDialog::TimeEdit3_valueChanged( const QTime & ) } -void itemAttributeDialog::LineEdit1_textChanged( const QString & ) +void itemAttributeDialog::LineEdit1_textChanged( const TQString & ) { if ( !myItem) return; myItem->setText(LineEdit1->text()); } -void itemAttributeDialog::StartBox_activated( const QString & s ) +void itemAttributeDialog::StartBox_activated( const TQString & s ) { KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); @@ -416,7 +416,7 @@ void itemAttributeDialog::StartBox_activated( const QString & s ) } -void itemAttributeDialog::MiddleBox_activated( const QString & s ) +void itemAttributeDialog::MiddleBox_activated( const TQString & s ) { KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); @@ -427,7 +427,7 @@ void itemAttributeDialog::MiddleBox_activated( const QString & s ) } -void itemAttributeDialog::EndBox_activated( const QString & s ) +void itemAttributeDialog::EndBox_activated( const TQString & s ) { KDGanttViewItem::Shape start, middle, end; myItem->shapes( start, middle, end ); @@ -438,10 +438,10 @@ void itemAttributeDialog::EndBox_activated( const QString & s ) } -void itemAttributeDialog::DateEdit4_valueChanged( const QDate & ) +void itemAttributeDialog::DateEdit4_valueChanged( const TQDate & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit4->date() ); dt.setTime( TimeEdit4->time() ); if ( dt.isValid() ) { @@ -451,10 +451,10 @@ void itemAttributeDialog::DateEdit4_valueChanged( const QDate & ) } -void itemAttributeDialog::TimeEdit4_valueChanged( const QTime & ) +void itemAttributeDialog::TimeEdit4_valueChanged( const TQTime & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit4->date() ); dt.setTime( TimeEdit4->time() ); if ( dt.isValid() ) { @@ -464,10 +464,10 @@ void itemAttributeDialog::TimeEdit4_valueChanged( const QTime & ) } -void itemAttributeDialog::DateEdit5_valueChanged( const QDate & ) +void itemAttributeDialog::DateEdit5_valueChanged( const TQDate & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit5->date() ); dt.setTime( TimeEdit5->time() ); if ( dt.isValid() ) { @@ -477,10 +477,10 @@ void itemAttributeDialog::DateEdit5_valueChanged( const QDate & ) } -void itemAttributeDialog::TimeEdit5_valueChanged( const QTime & ) +void itemAttributeDialog::TimeEdit5_valueChanged( const TQTime & ) { if ( !myItem) return; - QDateTime dt; + TQDateTime dt; dt.setDate( DateEdit5->date() ); dt.setTime( TimeEdit5->time() ); if ( dt.isValid() ) { @@ -491,10 +491,10 @@ void itemAttributeDialog::TimeEdit5_valueChanged( const QTime & ) -void itemAttributeDialog::itemName_textChanged( const QString & ) +void itemAttributeDialog::itemName_textChanged( const TQString & ) { if ( !myItem) return; - ((QListViewItem*)myItem)->setText( 0, itemName->text() ); + ((TQListViewItem*)myItem)->setText( 0, itemName->text() ); setCaption( "Properties of " + itemName->text() ); } |