File: onlyqt.h

package info (click to toggle)
muse 0.5.2-1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,740 kB
  • ctags: 9,446
  • sloc: cpp: 83,520; sh: 7,034; makefile: 871; ansic: 140
file content (41 lines) | stat: -rw-r--r-- 1,128 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//=========================================================
//  MusE
//  Linux Music Editor
//  $Id: onlyqt.h,v 1.2 2001/11/20 15:19:31 muse Exp $
//
//  (C) Copyright 2000 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __ONLYQT_H__
#define __ONLYQT_H__

#include <qapplication.h>
#include <qtoolbar.h>
#include <qmenubar.h>
#include <qmainwindow.h>

//---------------------------------------------------------
//   MainWindow
//---------------------------------------------------------

class MainWindow : public QMainWindow {
      Q_OBJECT
   public:
      MainWindow(QWidget* parent=0, const char* name=0,
         WFlags f = WType_TopLevel )
        : QMainWindow(parent, name, f) {}
      };

//---------------------------------------------------------
//   ToolBar
//---------------------------------------------------------

class ToolBar : public QToolBar {
      Q_OBJECT
   public:
      ToolBar(const QString& label, QMainWindow* parent, const char* name = 0)
        : QToolBar(label, parent, QMainWindow::Top, false, name) {}
      };

#endif      // __ONLYQT_H__