From bf280726d5d22f33d33e4f9e771220c725249407 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kfloppy/floppy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kfloppy/floppy.cpp') diff --git a/kfloppy/floppy.cpp b/kfloppy/floppy.cpp index 18851bc..3eef4ef 100644 --- a/kfloppy/floppy.cpp +++ b/kfloppy/floppy.cpp @@ -22,7 +22,7 @@ */ -#include +#include #include #include #include @@ -288,7 +288,7 @@ FloppyData::FloppyData(TQWidget * parent, const char * name) frame = new TQLabel( this, "NewsWindow" ); frame->setFrameStyle(TQFrame::Panel | TQFrame::Sunken); - frame->tqsetAlignment(WordBreak|ExpandTabs); + frame->setAlignment(WordBreak|ExpandTabs); TQWhatsThis::add( frame, i18n("This is the status window, where error messages are displayed.") ); @@ -497,7 +497,7 @@ void FloppyData::format(){ if (KMessageBox::warningContinueCancel( this, i18n("Formatting will erase all data on the device:
%1
" "(Please check the correctness of the device name.)
" - "Are you sure you wish to proceed?
").tqarg( currentComboBoxDevice ) + "Are you sure you wish to proceed?").arg( currentComboBoxDevice ) , i18n("Proceed?") ) != KMessageBox::Continue) { return; @@ -539,7 +539,7 @@ void FloppyData::format(){ formatActions = new KFActionQueue(TQT_TQOBJECT(this)); connect(formatActions,TQT_SIGNAL(status(const TQString &,int)), - this,TQT_SLOT(formattqStatus(const TQString &,int))); + this,TQT_SLOT(formatStatus(const TQString &,int))); connect(formatActions,TQT_SIGNAL(done(KFAction *,bool)), this,TQT_SLOT(reset())); @@ -642,7 +642,7 @@ void FloppyData::format(){ formatActions->exec(); } -void FloppyData::formattqStatus(const TQString &s,int p) +void FloppyData::formatStatus(const TQString &s,int p) { kdDebug(2002) << "FloppyData::formatStatus: " << s << " : " << p << endl; if (!s.isEmpty()) -- cgit v1.2.1