diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:28:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:28:33 +0900 |
| commit | 1df632a0e6e550a5a100247c6b4713078e78f413 (patch) | |
| tree | e8577c3d310285ebb4c8beea37998f408286bda3 /tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp | |
| parent | 012b00740f33c01949c88d7ea97e2dee81fabb41 (diff) | |
| download | experimental-1df632a0e6e550a5a100247c6b4713078e78f413.tar.gz experimental-1df632a0e6e550a5a100247c6b4713078e78f413.zip | |
Removed unnecessary and/or TDE-unrelated code.r14.0.7
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp')
| -rw-r--r-- | tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp b/tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp deleted file mode 100644 index 97adb8d..0000000 --- a/tqtinterface/qt4/tools/linguist/tutorial/tt3/mainwindow.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************** -** -** Implementation of MainWindow class, translation tutorial 3 -** -****************************************************************/ - -#include "mainwindow.h" -#include "printpanel.h" - -#include <tqaccel.h> -#include <tqapplication.h> -#include <tqmenubar.h> -#include <tqmessagebox.h> -#include <tqpopupmenu.h> - -MainWindow::MainWindow( TQWidget *parent, const char *name ) - : TQMainWindow( parent, name ) -{ - setCaption( tqtr("Troll Print 1.0") ); - - PrintPanel *pp = new PrintPanel( this ); - setCentralWidget( pp ); - - TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( tqtr("E&xit"), tqApp, TQT_SLOT(quit()), - tqtr("Ctrl+Q", "Quit") ); - TQPopupMenu *help = new TQPopupMenu( this ); - help->insertItem( tqtr("&About"), this, TQT_SLOT(about()), Qt::Key_F1 ); - help->insertItem( tqtr("About &TQt"), this, TQT_SLOT(aboutTQt()) ); - - menuBar()->insertItem( tqtr("&File"), file ); - menuBar()->insertSeparator(); - menuBar()->insertItem( tqtr("&Help"), help ); - menuBar()->setSeparator( TQMenuBar::InWindowsStyle ); -} - -void MainWindow::about() -{ - TQMessageBox::information( this, tqtr("About Troll Print 1.0"), - tqtr("Troll Print 1.0.\n\n" - "Copyright 1999 Macroshaft, Inc.") ); -} - -void MainWindow::aboutTQt() -{ - TQMessageBox::aboutTQt( this ); -} |
