diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:29:06 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:45:40 +0900 |
| commit | faf33629bb6562a6f43f930afafe4b22e9cdb60b (patch) | |
| tree | 8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /tdejava/koala/test/kbase/KBase.java | |
| parent | 0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff) | |
| download | tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdejava/koala/test/kbase/KBase.java')
| -rw-r--r-- | tdejava/koala/test/kbase/KBase.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tdejava/koala/test/kbase/KBase.java b/tdejava/koala/test/kbase/KBase.java index e556adfc..af9e83e7 100644 --- a/tdejava/koala/test/kbase/KBase.java +++ b/tdejava/koala/test/kbase/KBase.java @@ -84,22 +84,22 @@ public KBase() /** initializes the TDEActions of the application */ protected void initActions() { - fileNewWindow = new TDEAction(tr("New &Window"), "", new TDEShortcut(), this, SLOT("slotFileNewWindow()"), actionCollection(),"file_new_window"); - fileNew = KStdAction.openNew(this, SLOT("slotFileNew()"), actionCollection()); - fileOpen = KStdAction.open(this, SLOT("slotFileOpen()"), actionCollection()); - fileOpenRecent = (TDERecentFilesAction) KStdAction.openRecent(this, SLOT("slotFileOpenRecent(KURL)"), actionCollection()); - fileSave = KStdAction.save(this, SLOT("slotFileSave()"), actionCollection()); - fileSaveAs = KStdAction.saveAs(this, SLOT("slotFileSaveAs()"), actionCollection()); + fileNewWindow = new TDEAction(tr("New &Window"), "", new TDEShortcut(), this, TQ_SLOT("slotFileNewWindow()"), actionCollection(),"file_new_window"); + fileNew = KStdAction.openNew(this, TQ_SLOT("slotFileNew()"), actionCollection()); + fileOpen = KStdAction.open(this, TQ_SLOT("slotFileOpen()"), actionCollection()); + fileOpenRecent = (TDERecentFilesAction) KStdAction.openRecent(this, TQ_SLOT("slotFileOpenRecent(KURL)"), actionCollection()); + fileSave = KStdAction.save(this, TQ_SLOT("slotFileSave()"), actionCollection()); + fileSaveAs = KStdAction.saveAs(this, TQ_SLOT("slotFileSaveAs()"), actionCollection()); // this one crashes for me... -// fileClose = KStdAction.close(this, SLOT(slotFileClose()), actionCollection()); - filePrint = KStdAction.print(this, SLOT("slotFilePrint()"), actionCollection()); - fileQuit = KStdAction.quit(this, SLOT("slotFileQuit()"), actionCollection()); - editCut = KStdAction.cut(this, SLOT("slotEditCut()"), actionCollection()); - editCopy = KStdAction.copy(this, SLOT("slotEditCopy()"), actionCollection()); - editPaste = KStdAction.paste(this, SLOT("slotEditPaste()"), actionCollection()); +// fileClose = KStdAction.close(this, TQ_SLOT(slotFileClose()), actionCollection()); + filePrint = KStdAction.print(this, TQ_SLOT("slotFilePrint()"), actionCollection()); + fileQuit = KStdAction.quit(this, TQ_SLOT("slotFileQuit()"), actionCollection()); + editCut = KStdAction.cut(this, TQ_SLOT("slotEditCut()"), actionCollection()); + editCopy = KStdAction.copy(this, TQ_SLOT("slotEditCopy()"), actionCollection()); + editPaste = KStdAction.paste(this, TQ_SLOT("slotEditPaste()"), actionCollection()); createStandardStatusBarAction(); -// viewToolBar = KStdAction.showToolbar(this, SLOT("slotViewToolBar()"), actionCollection()); - viewStatusBar = KStdAction.showStatusbar(this, SLOT("slotViewStatusBar()"), actionCollection()); +// viewToolBar = KStdAction.showToolbar(this, TQ_SLOT("slotViewToolBar()"), actionCollection()); + viewStatusBar = KStdAction.showStatusbar(this, TQ_SLOT("slotViewStatusBar()"), actionCollection()); fileNewWindow.setToolTip(tr("Opens a new application window")); fileNew.setToolTip(tr("Creates a new document")); |
