diff options
Diffstat (limited to 'kdgantt/itemAttributeDialog.ui.h')
-rw-r--r-- | kdgantt/itemAttributeDialog.ui.h | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/kdgantt/itemAttributeDialog.ui.h b/kdgantt/itemAttributeDialog.ui.h index 9ce60bdb..3ab24af8 100644 --- a/kdgantt/itemAttributeDialog.ui.h +++ b/kdgantt/itemAttributeDialog.ui.h @@ -22,8 +22,8 @@ ** licensing are not clear to you. ** ** As a special exception, permission is given to link this program - ** with any edition of Qt, and distribute the resulting executable, - ** without including the source code for Qt in the source distribution. + ** with any edition of TQt, and distribute the resulting executable, + ** without including the source code for TQt in the source distribution. ** **********************************************************************/ @@ -31,12 +31,12 @@ /**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** -** If you wish to add, delete or rename slots use Qt Designer which will +** If you wish to add, delete or rename slots use TQt Designer which will ** update this file, preserving your code. Create an init() slot in place of ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include <qcolordialog.h> +#include <tqcolordialog.h> void itemAttributeDialog::init( ) { @@ -49,12 +49,12 @@ void itemAttributeDialog::init( ) void itemAttributeDialog::ChangeText_clicked() { if ( !myItem) return; - QColor c = QColorDialog::getColor( myItem->textColor(), this ); + TQColor c = TQColorDialog::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(); + ChangeText->tqrepaint(); } @@ -62,10 +62,10 @@ void itemAttributeDialog::ChangeStart_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( st, this ); + TQColor c = TQColorDialog::getColor( st, this ); if ( c.isValid() ) { st = c; ChangeStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); @@ -79,10 +79,10 @@ void itemAttributeDialog::ChangeMiddle_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( mi, this ); + TQColor c = TQColorDialog::getColor( mi, this ); if ( c.isValid() ) { mi = c; ChangeMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); @@ -95,10 +95,10 @@ void itemAttributeDialog::ChangeEnd_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->colors( st, mi, en ); - QColor c = QColorDialog::getColor( en, this ); + TQColor c = TQColorDialog::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; + item->tqshapes( start, middle, end ); + 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 ); @@ -272,10 +272,10 @@ void itemAttributeDialog::HighStart_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( st, this ); + TQColor c = TQColorDialog::getColor( st, this ); if ( c.isValid() ) { st = c; HighStart->setPixmap( KDGanttView::getPixmap( start, st, backgroundColor(), 10 ) ); @@ -289,10 +289,10 @@ void itemAttributeDialog::HighMiddle_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( mi, this ); + TQColor c = TQColorDialog::getColor( mi, this ); if ( c.isValid() ) { mi = c; HighMiddle->setPixmap( KDGanttView::getPixmap( middle, mi, backgroundColor(), 10 ) ); @@ -306,10 +306,10 @@ void itemAttributeDialog::HighEnd_clicked() { if ( !myItem) return; KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); - QColor st, mi, en; + myItem->tqshapes( start, middle, end ); + TQColor st, mi, en; myItem->highlightColors( st, mi, en ); - QColor c = QColorDialog::getColor( en, this ); + TQColor c = TQColorDialog::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,27 +399,27 @@ 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 ); + myItem->tqshapes( start, middle, end ); start = KDGanttViewItem::stringToShape( s ); myItem->setShapes( start, middle, end ); reset( myItem ); } -void itemAttributeDialog::MiddleBox_activated( const QString & s ) +void itemAttributeDialog::MiddleBox_activated( const TQString & s ) { KDGanttViewItem::Shape start, middle, end; - myItem->shapes( start, middle, end ); + myItem->tqshapes( start, middle, end ); middle = KDGanttViewItem::stringToShape( s ); myItem->setShapes( start, middle, end ); reset( myItem ); @@ -427,10 +427,10 @@ 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 ); + myItem->tqshapes( start, middle, end ); end = KDGanttViewItem::stringToShape( s ); myItem->setShapes( start, middle, end ); reset( myItem ); @@ -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() ); } |