diff options
Diffstat (limited to 'kaboodle/view.cpp')
-rw-r--r-- | kaboodle/view.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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")); |