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/kbase/KBase.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/test/kbase/KBase.java')
-rw-r--r-- | kdejava/koala/test/kbase/KBase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdejava/koala/test/kbase/KBase.java b/kdejava/koala/test/kbase/KBase.java index abbf784c..ed584dcd 100644 --- a/kdejava/koala/test/kbase/KBase.java +++ b/kdejava/koala/test/kbase/KBase.java @@ -52,7 +52,7 @@ public class KBase extends KMainWindow /** construtor of KBase, calls all init functions to create the application. */ -public KBase(QWidget parent, String name) +public KBase(TQWidget parent, String name) { super(parent, name, 0); KApplication kapp = KApplication.kApplication(); @@ -222,7 +222,7 @@ protected void readOptions() // initialize the recent file list fileOpenRecent.loadEntries(config,"Recent Files"); - QSize size=config.readSizeEntry("Geometry", null); + TQSize size=config.readSizeEntry("Geometry", null); if(!size.isEmpty()) { resize(size); @@ -273,7 +273,7 @@ protected void readProperties(KConfig _cfg) doc.openDocument(_url); doc.setModified(); setCaption(_url.fileName(),true); - QFile.remove(tempname); + TQFile.remove(tempname); } } else @@ -401,7 +401,7 @@ public void slotFileSaveAs() { slotStatusMsg(tr("Saving file with a new filename...")); - KURL url=KFileDialog.getSaveURL(QDir.currentDirPath(), + KURL url=KFileDialog.getSaveURL(TQDir.currentDirPath(), tr("*|All files"), this, tr("Save as...")); if(!url.isEmpty()) { @@ -428,7 +428,7 @@ public void slotFilePrint() { slotStatusMsg(tr("Printing...")); - QPrinter printer = new QPrinter(); + TQPrinter printer = new TQPrinter(); if (printer.setup(this)) { view.print(printer); |