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 /ktalkd/kcmktalkd/soundpage.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 'ktalkd/kcmktalkd/soundpage.cpp')
-rw-r--r-- | ktalkd/kcmktalkd/soundpage.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ktalkd/kcmktalkd/soundpage.cpp b/ktalkd/kcmktalkd/soundpage.cpp index 289b180f..8e812a58 100644 --- a/ktalkd/kcmktalkd/soundpage.cpp +++ b/ktalkd/kcmktalkd/soundpage.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 1998 David Faure, [email protected] * - * Requires the Qt widget libraries, available at no cost at + * Requires the TQt widget libraries, available at no cost at * http://www.troll.no/ * * This program is free software; you can redistribute it and/or modify @@ -44,9 +44,9 @@ /* Lots of stuff taken from syssound.cpp */ -KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name, +KSoundPageConfig::KSoundPageConfig( TQWidget *tqparent, const char* name, KSimpleConfig *_config, KSimpleConfig *_announceconfig) - : KCModule (parent, name) + : KCModule (tqparent, name) { if (!_config) { delete_config = true; @@ -66,7 +66,7 @@ KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name, extprg_box->setColumnLayout( 0, Qt::Horizontal ); toplay->addWidget(extprg_box); - TQGridLayout* l = new TQGridLayout(extprg_box->layout()); + TQGridLayout* l = new TQGridLayout(extprg_box->tqlayout()); extprg_edit = new KURLRequester(extprg_box); l->addWidget(extprg_edit, 2, 4); @@ -90,7 +90,7 @@ KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name, TQBoxLayout* lay = new TQVBoxLayout(sound_box, 10, 10); - int edit_h = client_edit->height(); // The height of a QLineEdit + int edit_h = client_edit->height(); // The height of a TQLineEdit sound_list = new TQListBox(sound_box); sound_list->setMinimumHeight( 3 * edit_h ); @@ -193,7 +193,7 @@ void KSoundPageConfig::sound_listDropEvent(TQDropEvent* e){ if (url.path().right(4).upper() != ".WAV") { TQString msg = i18n("%1\ndoes not appear "\ - "to be a WAV file.").arg(url.path()); + "to be a WAV file.").tqarg(url.path()); KMessageBox::sorry(this, msg, i18n("Improper File Extension")); @@ -203,7 +203,7 @@ void KSoundPageConfig::sound_listDropEvent(TQDropEvent* e){ if (!addToSound_List(url.path())) { // did not add file because it is already in the list - TQString msg = i18n("The file %1 is already in the list").arg(url.path()); + TQString msg = i18n("The file %1 is already in the list").tqarg(url.path()); KMessageBox::information(this, msg, i18n("File Already in List")); |