~schumski-deactivatedaccount-deactivatedaccount/k3b/master

« back to all changes in this revision

Viewing changes to src/k3bflatbutton.h

  • Committer: Sebastian Trueg
  • Date: 2009-02-22 22:39:42 UTC
  • Revision ID: git-v1:6dd604da258355f5620f2f59e0ddb7c52e625553
I finally did it: I moved all K3b classes into the K3b namespace. Now this might sound like completely useless (and it actually is, too)
but I like it better this way and it also forced me to look at nearly each source file to fix the things that my crude scripting skills
did not catch properly.
And on the way I also cleaned up the code, used QFlags a few more times and introduced some d-pointers.

svn path=/trunk/extragear/multimedia/k3b/; revision=930262

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
/**
31
31
   @author Sebastian Trueg
32
32
*/
33
 
class K3bFlatButton : public QFrame
 
33
namespace K3b {
 
34
class FlatButton : public QFrame
34
35
{
35
36
    Q_OBJECT
36
37
 
37
38
public:
38
 
    K3bFlatButton( QWidget *parent = 0);
39
 
    K3bFlatButton( const QString& text, QWidget *parent = 0 );
40
 
    K3bFlatButton( QAction*, QWidget *parent = 0);
 
39
    FlatButton( QWidget *parent = 0);
 
40
    FlatButton( const QString& text, QWidget *parent = 0 );
 
41
    FlatButton( QAction*, QWidget *parent = 0);
41
42
  
42
 
    ~K3bFlatButton();
 
43
    ~FlatButton();
43
44
 
44
45
    QSize sizeHint() const;
45
46
 
75
76
 
76
77
    bool m_hover;
77
78
};
 
79
}
78
80
 
79
81
#endif