~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

Viewing changes to noatun/modules/winskin/waLabel.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  standard Button for winamp Skin
 
3
  Copyright (C) 1999  Martin Vogt
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU General Public License as published by
 
7
  the Free Software Foundation.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
#ifndef __WABPS_H
 
14
#define __WABPS_H
 
15
 
 
16
#include <qpainter.h>
 
17
#include "waWidget.h"
 
18
 
 
19
class WaLabel : public WaWidget {
 
20
    Q_OBJECT 
 
21
 
 
22
  public:
 
23
     WaLabel(int mapping);
 
24
    ~WaLabel();
 
25
 
 
26
    void setText(const QString &text);
 
27
    QString text() const { return _text; }
 
28
 
 
29
  private:
 
30
    void paintEvent(QPaintEvent *);
 
31
 
 
32
    QPixmap *completePixmap;
 
33
    QString _text;
 
34
 
 
35
 
 
36
  private slots:
 
37
    void pixmapChange();
 
38
};
 
39
#endif