summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-05 16:39:08 -0600
committerTimothy Pearson <[email protected]>2011-12-05 16:39:08 -0600
commitc410ec66cc4b4c62e450ced0df9197709b19f527 (patch)
tree92a41595890413374b4e92c771e5188c9da605a5 /qtjava/javalib/examples
parent5efb4bb52888eefcf27750194953d14b0a616b89 (diff)
downloadtdebindings-c410ec66cc4b4c62e450ced0df9197709b19f527.tar.gz
tdebindings-c410ec66cc4b4c62e450ced0df9197709b19f527.zip
Fix aboutTQt
Diffstat (limited to 'qtjava/javalib/examples')
-rw-r--r--qtjava/javalib/examples/application/ApplicationWindow.java6
-rw-r--r--qtjava/javalib/examples/helpviewer/HelpWindow.java6
-rw-r--r--qtjava/javalib/examples/mdi/ApplicationWindow.java6
-rw-r--r--qtjava/javalib/examples/menu/MenuExample.java6
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" );
}