summaryrefslogtreecommitdiffstats
path: root/kaboodle
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
commit83fbc82a101309e171089f0d5ed080f82a367345 (patch)
treec7b61083b6e2d4bfceaace9a7f018181ea36afec /kaboodle
parentb248983f92b865ef74636ab5a673ae3a88f79c20 (diff)
downloadtdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz
tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kaboodle')
-rw-r--r--kaboodle/player.cpp4
-rw-r--r--kaboodle/userinterface.cpp2
-rw-r--r--kaboodle/view.cpp12
-rw-r--r--kaboodle/view.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/kaboodle/player.cpp b/kaboodle/player.cpp
index 0d384ded..70517c2d 100644
--- a/kaboodle/player.cpp
+++ b/kaboodle/player.cpp
@@ -244,8 +244,8 @@ void Kaboodle::Player::tickerTimeout(void)
if(extension)
emit setStatusBarText(i18n("Playing %1 - %2")
- .tqarg(current.prettyURL())
- .tqarg(positionString() + "/" + lengthString()));
+ .arg(current.prettyURL())
+ .arg(positionString() + "/" + lengthString()));
}
updateTitle();
diff --git a/kaboodle/userinterface.cpp b/kaboodle/userinterface.cpp
index 10f7e56e..2308f31d 100644
--- a/kaboodle/userinterface.cpp
+++ b/kaboodle/userinterface.cpp
@@ -35,7 +35,7 @@
#include <kstdaction.h>
#include <kurldrag.h>
#include <tqdragobject.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlcdnumber.h>
#include <tqvbox.h>
#include <kkeydialog.h>
diff --git a/kaboodle/view.cpp b/kaboodle/view.cpp
index 437af5b0..0b586843 100644
--- a/kaboodle/view.cpp
+++ b/kaboodle/view.cpp
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kvideowidget.h>
#include <tqdragobject.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqtoolbutton.h>
#include <tqtooltip.h>
@@ -80,10 +80,10 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
sliderBox->setFocusPolicy(TQ_ClickFocus);
sliderBox->setAcceptDrops(true);
- TQHBoxLayout *tqlayout = new TQHBoxLayout(sliderBox);
- tqlayout->setSpacing(KDialog::spacingHint());
- tqlayout->setMargin(0);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(sliderBox);
+ layout->setSpacing(KDialog::spacingHint());
+ layout->setMargin(0);
+ layout->setAutoAdd(true);
playButton = createButton(BarIconSet("1rightarrow"), i18n("Play"), player, TQT_SLOT(play()), sliderBox);
pauseButton = createButton(BarIconSet("player_pause"), i18n("Pause"), player, TQT_SLOT(pause()), sliderBox);
@@ -99,7 +99,7 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
labelFont.setBold(true);
TQFontMetrics labelFontMetrics(labelFont);
elapsedLabel->setFont(labelFont);
- elapsedLabel->tqsetAlignment(AlignCenter | AlignVCenter | ExpandTabs);
+ elapsedLabel->setAlignment(AlignCenter | AlignVCenter | ExpandTabs);
elapsedLabel->setFixedHeight(labelFontMetrics.height());
elapsedLabel->setMinimumWidth(labelFontMetrics.width("00:00"));
diff --git a/kaboodle/view.h b/kaboodle/view.h
index 75ed28b4..284f5621 100644
--- a/kaboodle/view.h
+++ b/kaboodle/view.h
@@ -29,7 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kurl.h>
#include <tqevent.h>
#include <tqhbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlcdnumber.h>
#include <tqwidget.h>