diff options
Diffstat (limited to 'lib/ksavealldialog.cpp')
-rw-r--r-- | lib/ksavealldialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ksavealldialog.cpp b/lib/ksavealldialog.cpp index 3b168a4a..0dde858b 100644 --- a/lib/ksavealldialog.cpp +++ b/lib/ksavealldialog.cpp @@ -32,7 +32,7 @@ namespace { -class CheckURL : public QCheckListItem +class CheckURL : public TQCheckListItem { public: CheckURL( TQListView * lv, KURL const & url ) @@ -49,8 +49,8 @@ private: } -KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * parent ) : - KDialogBase( parent, "SaveAllDialog", true, i18n("Save Modified Files?"), +KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * tqparent ) : + KDialogBase( tqparent, "SaveAllDialog", true, i18n("Save Modified Files?"), Ok | User1 | Close ) { TQVBox *top = makeVBoxMainWidget(); @@ -62,7 +62,7 @@ KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List co _listview->header()->hide(); _listview->setResizeMode( TQListView::LastColumn ); - setButtonOK( KGuiItem( i18n("Save &Selected"), TQString::null, i18n("Saves all selected files") ) ); + setButtonOK( KGuiItem( i18n("Save &Selected"), TQString(), i18n("Saves all selected files") ) ); setButtonText( User1, i18n("Save &None") ); setButtonText( Close, KStdGuiItem::cancel().text() ); setButtonTip( User1, i18n("Lose all modifications") ); @@ -71,7 +71,7 @@ KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List co KURL::List::ConstIterator it = filelist.begin(); while ( it != filelist.end() ) { - if ( !ignorelist.contains( *it ) ) + if ( !ignorelist.tqcontains( *it ) ) { TQCheckListItem * x = new CheckURL( _listview, *it ); x->setOn( true ); @@ -140,8 +140,8 @@ KURL::List KSaveSelectDialog::filesNotToSave( ) } -KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* parent ) : - KDialogBase( parent, "SaveAllDialog", true, i18n("Save Modified Files?"), +KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* tqparent ) : + KDialogBase( tqparent, "SaveAllDialog", true, i18n("Save Modified Files?"), Ok | User1 | Close ) { m_result = Cancel; @@ -153,7 +153,7 @@ KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* parent lb->setMinimumHeight( lb->fontMetrics().height() * 5 ); lb->insertStringList( filenames ); - setButtonOK( KGuiItem( i18n("Save &All"), TQString::null, i18n("Saves all modified files") ) ); + setButtonOK( KGuiItem( i18n("Save &All"), TQString(), i18n("Saves all modified files") ) ); setButtonText( User1, i18n("Save &None") ); setButtonText( Close, KStdGuiItem::cancel().text() ); setButtonTip( User1, i18n("Lose all modifications") ); |