diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kget/dlgDirectories.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/dlgDirectories.cpp')
-rw-r--r-- | kget/dlgDirectories.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kget/dlgDirectories.cpp b/kget/dlgDirectories.cpp index a373cc67..7d429757 100644 --- a/kget/dlgDirectories.cpp +++ b/kget/dlgDirectories.cpp @@ -42,8 +42,8 @@ #include "dlgDirectories.h" #include <kapplication.h> -DlgDirectories::DlgDirectories(TQWidget * parent) - : DlgDirectoriesBase(parent) +DlgDirectories::DlgDirectories(TQWidget * tqparent) + : DlgDirectoriesBase(tqparent) { connect( le_ext, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotDirectoryChanged( ) ) ); connect( le_dir, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotDirectoryChanged( ) ) ); @@ -86,7 +86,7 @@ void DlgDirectories::addEntry() TQString ext = le_ext->text(); TQString dir = le_dir->url(); - if (ext.contains(",") || dir.contains(",") || ext.isEmpty() || dir.isEmpty()) { + if (ext.tqcontains(",") || dir.tqcontains(",") || ext.isEmpty() || dir.isEmpty()) { KMessageBox::error(this, i18n("Each row consists of exactly one\nextension type and one folder."), i18n("Error")); return; } @@ -94,7 +94,7 @@ void DlgDirectories::addEntry() TQDir f(dir); if (!f.exists()) { - KMessageBox::error(this, i18n("Folder does not exist:\n%1").arg(dir), i18n("Error")); + KMessageBox::error(this, i18n("Folder does not exist:\n%1").tqarg(dir), i18n("Error")); return; } @@ -122,7 +122,7 @@ void DlgDirectories::changeEntry() TQString ext = le_ext->text(); TQString dir = le_dir->url(); - if (ext.contains(",") || dir.contains(",") || ext.isEmpty() || dir.isEmpty()) { + if (ext.tqcontains(",") || dir.tqcontains(",") || ext.isEmpty() || dir.isEmpty()) { KMessageBox::error(this, i18n("Each row consists of exactly one\nextension type and one folder."), i18n("Error")); return; } @@ -130,7 +130,7 @@ void DlgDirectories::changeEntry() TQDir f(dir); if (!f.exists()) { - KMessageBox::error(this, i18n("Folder does not exist:\n%1").arg(dir), i18n("Error")); + KMessageBox::error(this, i18n("Folder does not exist:\n%1").tqarg(dir), i18n("Error")); return; } |