summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchopenrequest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /ktouch/src/ktouchopenrequest.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchopenrequest.cpp')
-rw-r--r--ktouch/src/ktouchopenrequest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktouch/src/ktouchopenrequest.cpp b/ktouch/src/ktouchopenrequest.cpp
index eb82f3f8..1a293f23 100644
--- a/ktouch/src/ktouchopenrequest.cpp
+++ b/ktouch/src/ktouchopenrequest.cpp
@@ -26,8 +26,8 @@
#include "ktouchopenrequest.h"
#include "ktouchopenrequest.moc"
-KTouchOpenRequest::KTouchOpenRequest(TQWidget* parent, const char* name, bool modal, WFlags fl)
-: KTouchOpenRequestDlg(parent,name, modal,fl)
+KTouchOpenRequest::KTouchOpenRequest(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+: KTouchOpenRequestDlg(tqparent,name, modal,fl)
{
}
@@ -79,7 +79,7 @@ void KTouchOpenRequest::okBtnClicked() {
if (presetRadioBtn->isChecked())
m_url = presetCombo->currentText();
if (newRadioBtn->isChecked())
- m_url = TQString::null;
+ m_url = TQString();
if (openFileRadioBtn->isChecked()) {
if (openFileEdit->text().isEmpty()) {
KMessageBox::error(this, i18n("Please select or enter a file name."));
@@ -113,7 +113,7 @@ void KTouchOpenRequest::radioBtnChanged() {
void KTouchOpenRequest::browseBtnClicked() {
- KURL tmp = KFileDialog::getOpenURL(TQString::null, TQString::null, this, i18n("Select Training Lecture File") );
+ KURL tmp = KFileDialog::getOpenURL(TQString(), TQString(), this, i18n("Select Training Lecture File") );
if (!tmp.isEmpty())
openFileEdit->setText(tmp.url());
}