diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kdejava/koala/test/khelpers/KHelpers.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/test/khelpers/KHelpers.java')
-rw-r--r-- | kdejava/koala/test/khelpers/KHelpers.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdejava/koala/test/khelpers/KHelpers.java b/kdejava/koala/test/khelpers/KHelpers.java index 3ab345c0..fbc3fb54 100644 --- a/kdejava/koala/test/khelpers/KHelpers.java +++ b/kdejava/koala/test/khelpers/KHelpers.java @@ -23,7 +23,7 @@ public class KHelpers extends KMainWindow { protected int idfilenew; protected int idfileopen; protected int idfilesave; - protected int idfilequit; + protected int idfiletquit; // reference to the application KApplication kapp; @@ -36,18 +36,18 @@ public class KHelpers extends KMainWindow { // get a reference to the application kapp = KApplication.kApplication(); - QPopupMenu file = new QPopupMenu(this); + TQPopupMenu file = new TQPopupMenu(this); idfilenew = file.insertItem("&New"); idfileopen = file.insertItem("&Open..."); idfilesave = file.insertItem("&Save"); - idfilequit = file.insertItem("&Quit", kapp, SLOT("closeAllWindows()")); + idfiletquit = file.insertItem("&Quit", kapp, SLOT("closeAllWindows()")); connect ( file, SIGNAL( "highlighted(int)"), this, SLOT( "slotMenuEntryHelp (int)")); menuBar().insertItem("&File",file); - QPopupMenu help = helpMenu("KHelpers\n" + + TQPopupMenu help = helpMenu("KHelpers\n" + "Copyright (C) 2000 By Joe Developer\n\n" + "KHelpers demonstates a few of the ways " + "that your application can provide help to a user"); @@ -60,11 +60,11 @@ public class KHelpers extends KMainWindow { // Create the statusbar statusBar(); - QLabel clientarea = new QLabel(this); + TQLabel clientarea = new TQLabel(this); clientarea.setBackgroundColor(Qt.white()); - QToolTip.add(clientarea, "Functionless client area"); - QWhatsThis.add(clientarea,"This client area doesn't do anything."); + TQToolTip.add(clientarea, "Functionless client area"); + TQWhatsThis.add(clientarea,"This client area doesn't do anything."); setCentralWidget(clientarea); @@ -86,7 +86,7 @@ public class KHelpers extends KMainWindow { statusBar().message("Save the current document.",HelpMessageTime); } - else if (id == idfilequit) { + else if (id == idfiletquit) { statusBar().message("Quit the application.",HelpMessageTime); |