diff options
Diffstat (limited to 'qtjava/javalib/examples')
4 files changed, 12 insertions, 12 deletions
diff --git a/qtjava/javalib/examples/application/ApplicationWindow.java b/qtjava/javalib/examples/application/ApplicationWindow.java index 8e393df2..f214d240 100644 --- a/qtjava/javalib/examples/application/ApplicationWindow.java +++ b/qtjava/javalib/examples/application/ApplicationWindow.java @@ -159,7 +159,7 @@ public class ApplicationWindow extends TQMainWindow { menuBar().insertSeparator(); menuBar().insertItem("&Help", help); help.insertItem("&About", this, SLOT("about()"), new TQKeySequence(Key_F1), -1, -1); - help.insertItem("About &Qt", this, SLOT("aboutQt()")); + help.insertItem("About &Qt", this, SLOT("aboutTQt()")); help.insertSeparator(); help.insertItem("What's &This", this, SLOT("whatsThis()"), new TQKeySequence(SHIFT+Key_F1), -1, -1); @@ -312,7 +312,7 @@ public class ApplicationWindow extends TQMainWindow { } - private void aboutQt() { - TQMessageBox.aboutQt(this, "Qt Application Example"); + private void aboutTQt() { + TQMessageBox.aboutTQt(this, "Qt Application Example"); } } diff --git a/qtjava/javalib/examples/helpviewer/HelpWindow.java b/qtjava/javalib/examples/helpviewer/HelpWindow.java index 1da9c337..d220d35e 100644 --- a/qtjava/javalib/examples/helpviewer/HelpWindow.java +++ b/qtjava/javalib/examples/helpviewer/HelpWindow.java @@ -79,7 +79,7 @@ HelpWindow( String home_, String _path, TQPopupMenu help = new TQPopupMenu( this ); help.insertItem( tr("&About ..."), this, SLOT(" about()") ); - help.insertItem( tr("About &Qt ..."), this, SLOT(" aboutQt()") ); + help.insertItem( tr("About &Qt ..."), this, SLOT(" aboutTQt()") ); hist = new TQPopupMenu( this ); Iterator it = history.iterator(); @@ -232,9 +232,9 @@ void about() } -void aboutQt() +void aboutTQt() { - TQMessageBox.aboutQt( this, "TQBrowser" ); + TQMessageBox.aboutTQt( this, "TQBrowser" ); } void openFile() diff --git a/qtjava/javalib/examples/mdi/ApplicationWindow.java b/qtjava/javalib/examples/mdi/ApplicationWindow.java index a2d3cbbc..624dfa4a 100644 --- a/qtjava/javalib/examples/mdi/ApplicationWindow.java +++ b/qtjava/javalib/examples/mdi/ApplicationWindow.java @@ -172,7 +172,7 @@ ApplicationWindow() menuBar().insertItem( "&Help", help ); help.insertItem( "&About", this, SLOT("about()"), new TQKeySequence(Key_F1)); - help.insertItem( "About &Qt", this, SLOT("aboutQt()")); + help.insertItem( "About &Qt", this, SLOT("aboutTQt()")); help.insertSeparator(); help.insertItem( "What's &This", this, SLOT("whatsThis()"), new TQKeySequence(SHIFT+Key_F1)); @@ -251,9 +251,9 @@ void about() } -void aboutQt() +void aboutTQt() { - TQMessageBox.aboutQt( this, "Qt Application Example" ); + TQMessageBox.aboutTQt( this, "Qt Application Example" ); } diff --git a/qtjava/javalib/examples/menu/MenuExample.java b/qtjava/javalib/examples/menu/MenuExample.java index 1c4e7231..c7b72ce7 100644 --- a/qtjava/javalib/examples/menu/MenuExample.java +++ b/qtjava/javalib/examples/menu/MenuExample.java @@ -182,7 +182,7 @@ MenuExample( TQWidget parent, String name ) TQPopupMenu help = new TQPopupMenu( this ); help.insertItem( "&About", this, SLOT("about()"), new TQKeySequence(CTRL+Key_H) ); - help.insertItem( "About &Qt", this, SLOT("aboutQt()") ); + help.insertItem( "About &Qt", this, SLOT("aboutTQt()") ); menu = new TQMenuBar( this ); menu.insertItem( "&File", file ); @@ -275,9 +275,9 @@ void about() } -void aboutQt() +void aboutTQt() { - TQMessageBox.aboutQt( this, "Qt Menu Example" ); + TQMessageBox.aboutTQt( this, "Qt Menu Example" ); } |