From 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:55:10 -0600 Subject: Remove additional unneeded tq method conversions --- keduca/keduca/keducaview.cpp | 4 ++-- keduca/keducabuilder/kcontroladdeditbase.ui | 20 ++++++++++---------- keduca/keducabuilder/kcontrolheaderbase.ui | 18 +++++++++--------- keduca/keducabuilder/keducabuilder.cpp | 4 ++-- keduca/keducabuilder/keducaeditorstartdialog.cpp | 2 +- keduca/keducabuilder/ktagcombobox.cpp | 6 +++--- keduca/libkeduca/kgallerydialogbase.ui | 2 +- 7 files changed, 28 insertions(+), 28 deletions(-) (limited to 'keduca') diff --git a/keduca/keduca/keducaview.cpp b/keduca/keduca/keducaview.cpp index 97a46e35..9a6813d5 100644 --- a/keduca/keduca/keducaview.cpp +++ b/keduca/keduca/keducaview.cpp @@ -209,7 +209,7 @@ void KEducaView::showRecord() // SHOW QUESTION ******************************************************************* _questionText->setPixmap( _keducaFile->getPicturePixmap() ); questionTextTemp = "
" - + i18n("Question %1").tqarg(_keducaFileIndex) + ""; + + i18n("Question %1").arg(_keducaFileIndex) + ""; if( _keducaFile->getTotalPoints() > 0 ) questionTextTemp += "" @@ -266,7 +266,7 @@ void KEducaView::showRecord() KMessageBox::information( this, i18n( "You have %1 seconds to complete this question.\n\n" "Press OK when you are ready." ) - .tqarg( _keducaFile->getQuestion(FileRead::TQF_TIME) ) ); + .arg( _keducaFile->getQuestion(FileRead::TQF_TIME) ) ); } int timeout = _keducaFile->getQuestionInt(FileRead::TQF_TIME); diff --git a/keduca/keducabuilder/kcontroladdeditbase.ui b/keduca/keducabuilder/kcontroladdeditbase.ui index a2a92780..da846f6c 100644 --- a/keduca/keducabuilder/kcontroladdeditbase.ui +++ b/keduca/keducabuilder/kcontroladdeditbase.ui @@ -160,7 +160,7 @@ &Question: - + AlignTop|AlignRight @@ -174,7 +174,7 @@ &Type: - + AlignVCenter|AlignRight @@ -188,7 +188,7 @@ &Picture: - + AlignVCenter|AlignRight @@ -227,7 +227,7 @@ P&oint: - + AlignVCenter|AlignRight @@ -241,7 +241,7 @@ Ti&me: - + AlignVCenter|AlignRight @@ -255,7 +255,7 @@ T&ip: - + AlignVCenter|AlignRight @@ -274,7 +274,7 @@ &Explain: - + AlignTop|AlignRight @@ -552,7 +552,7 @@ &Answer: - + AlignTop|AlignRight @@ -566,7 +566,7 @@ &Value: - + AlignVCenter|AlignRight @@ -605,7 +605,7 @@ &Points: - + AlignVCenter|AlignRight diff --git a/keduca/keducabuilder/kcontrolheaderbase.ui b/keduca/keducabuilder/kcontrolheaderbase.ui index 242b9358..77b29513 100644 --- a/keduca/keducabuilder/kcontrolheaderbase.ui +++ b/keduca/keducabuilder/kcontrolheaderbase.ui @@ -139,7 +139,7 @@ Title: - + AlignVCenter|AlignRight @@ -150,7 +150,7 @@ Language: - + AlignVCenter|AlignRight @@ -161,7 +161,7 @@ Category: - + AlignVCenter|AlignRight @@ -172,7 +172,7 @@ Type: - + AlignVCenter|AlignRight @@ -223,7 +223,7 @@ Level: - + AlignVCenter|AlignRight @@ -262,7 +262,7 @@ Default picture: - + AlignJustify|AlignVCenter @@ -291,7 +291,7 @@ Name: - + AlignVCenter|AlignRight @@ -317,7 +317,7 @@ Web page: - + AlignVCenter|AlignRight @@ -328,7 +328,7 @@ Email: - + AlignVCenter|AlignRight diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp index 88db1b59..32911960 100644 --- a/keduca/keducabuilder/keducabuilder.cpp +++ b/keduca/keducabuilder/keducabuilder.cpp @@ -284,7 +284,7 @@ bool KEducaBuilder::currentFileMayBeReplaced() int res = KMessageBox::warningYesNoCancel( widget(), // ask the user to save i18n( "The document \"%1\" has been modified.\n" - "Do you want to save it?" ).tqarg( _keducaFile->getCurrentURL().fileName() ), + "Do you want to save it?" ).arg( _keducaFile->getCurrentURL().fileName() ), i18n( "Save Document?" ), KStdGuiItem::save(), KStdGuiItem::discard() ); switch (res) { @@ -485,7 +485,7 @@ void KEducaBuilder::slotFilePrint() TQString file = _keducaFile->getCurrentURL().fileName(); if (file.isEmpty()) file = i18n("Test"); - if(printer->setup(this, i18n("Print %1").tqarg(file))) + if(printer->setup(this, i18n("Print %1").arg(file))) { TQPaintDeviceMetrics metrics(printer); TQPainter p; diff --git a/keduca/keducabuilder/keducaeditorstartdialog.cpp b/keduca/keducabuilder/keducaeditorstartdialog.cpp index 01bbc260..22e196e7 100644 --- a/keduca/keducabuilder/keducaeditorstartdialog.cpp +++ b/keduca/keducabuilder/keducaeditorstartdialog.cpp @@ -62,7 +62,7 @@ void KEducaEditorStartDialog::buildRecentFilesList() // read file list for( unsigned int i = 1 ; i <= _maxRecentDocumentItems ; i++ ) { - key = TQString( "File%1" ).tqarg( i ); + key = TQString( "File%1" ).arg( i ); value = config->readEntry( key, TQString() ); if (!value.isNull()) diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp index 8c317255..081d4254 100644 --- a/keduca/keducabuilder/ktagcombobox.cpp +++ b/keduca/keducabuilder/ktagcombobox.cpp @@ -84,7 +84,7 @@ void KTagComboBox::internalActivate( int index ) if (_current == index) return; _current = index; emit activated( index ); - tqrepaint(); + repaint(); } void KTagComboBox::internalHighlight( int index ) @@ -158,7 +158,7 @@ void KTagComboBox::changeItem( const TQString &text, int index ) { _popup->changeItem( text, index); if (index == _current) - tqrepaint(); + repaint(); } void KTagComboBox::paintEvent( TQPaintEvent * ev) @@ -210,7 +210,7 @@ void KTagComboBox::setCurrentItem(int i) { if (i < 0 || i >= count()) return; _current = i; - tqrepaint(); + repaint(); } void KTagComboBox::setCurrentItem(const TQString &code) diff --git a/keduca/libkeduca/kgallerydialogbase.ui b/keduca/libkeduca/kgallerydialogbase.ui index 44b60949..3c23a6dd 100644 --- a/keduca/libkeduca/kgallerydialogbase.ui +++ b/keduca/libkeduca/kgallerydialogbase.ui @@ -45,7 +45,7 @@ Name: - + AlignVCenter -- cgit v1.2.1