summaryrefslogtreecommitdiffstats
path: root/src/generalinfowidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
commit1623fe64102c18ab098b79656b80f28cef840756 (patch)
tree78f35fef11ea3dbbca1ba4c99937736a1a0894cf /src/generalinfowidget.cpp
parentb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (diff)
downloadtdevelop-1623fe64102c18ab098b79656b80f28cef840756.tar.gz
tdevelop-1623fe64102c18ab098b79656b80f28cef840756.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.
Diffstat (limited to 'src/generalinfowidget.cpp')
-rw-r--r--src/generalinfowidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/generalinfowidget.cpp b/src/generalinfowidget.cpp
index e30734e8..d60619f0 100644
--- a/src/generalinfowidget.cpp
+++ b/src/generalinfowidget.cpp
@@ -9,7 +9,7 @@
***************************************************************************/
#include <klineedit.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqcombobox.h>
#include <tqlabel.h>
#include <tqfileinfo.h>
@@ -92,7 +92,7 @@ void GeneralInfoWidget::configureinUpdateVersion( TQString configureinpath, TQSt
TQFile configurein(configureinpath);
if ( !configurein.open( IO_ReadOnly ) ){
- KMessageBox::error(this, i18n("Could not open %1 for reading.").arg(configureinpath));
+ KMessageBox::error(this, i18n("Could not open %1 for reading.").tqarg(configureinpath));
return;
}
@@ -152,7 +152,7 @@ void GeneralInfoWidget::configureinUpdateVersion( TQString configureinpath, TQSt
// write our changes..
TQFile configureout(configureinpath);
if ( !configureout.open( IO_WriteOnly ) ){
- KMessageBox::error(this, i18n("Could not open %1 for writing.").arg(configureinpath));
+ KMessageBox::error(this, i18n("Could not open %1 for writing.").tqarg(configureinpath));
return ;
}
TQTextStream output( &configureout);
@@ -217,13 +217,13 @@ void GeneralInfoWidget::slotProjectDirectoryChanged( const TQString& text ) {
else if(isProjectDirectoryAbsolute() && text[0] != '/')
{
setProjectDirectoryError(
- i18n("'%1' is not an absolute path.").arg(
+ i18n("'%1' is not an absolute path.").tqarg(
project_directory_edit->text()));
}
else if(!isProjectDirectoryAbsolute() && text[0] == '/')
{
setProjectDirectoryError(
- i18n("'%1' is not a relative path.").arg(
+ i18n("'%1' is not a relative path.").tqarg(
project_directory_edit->text()));
}
else
@@ -231,11 +231,11 @@ void GeneralInfoWidget::slotProjectDirectoryChanged( const TQString& text ) {
TQFileInfo info(projectDirectory());
if(!info.exists())
setProjectDirectoryError(
- i18n("'%1' does not exist.").arg(
+ i18n("'%1' does not exist.").tqarg(
project_directory_edit->text()));
else if(!info.isDir())
setProjectDirectoryError(
- i18n("'%1' is not a directory.").arg(
+ i18n("'%1' is not a directory.").tqarg(
project_directory_edit->text()));
else
setProjectDirectorySuccess();
@@ -261,10 +261,10 @@ void GeneralInfoWidget::setProjectDirectorySuccess() {
project_directory_diagnostic_icon->setPixmap(SmallIcon("ok"));
if(isProjectDirectoryAbsolute())
project_directory_diagnostic_label->setText(
- i18n("'%1' is a valid project directory.").arg(projectDirectory()));
+ i18n("'%1' is a valid project directory.").tqarg(projectDirectory()));
else
project_directory_diagnostic_label->setText(
- i18n("'%1' is a valid project directory.").arg(projectDirectory()));
+ i18n("'%1' is a valid project directory.").tqarg(projectDirectory()));
}
TQString makeRelativePath(const TQString& fromPath, const TQString& toPath)