diff options
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); |