summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/test/kbase/KBase.java
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 11:29:06 +0900
committerMichele Calgaro <[email protected]>2024-01-14 20:32:49 +0900
commit1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch)
tree8d37ac85ad8a529697fc81479852a039de534b8e /tdejava/koala/test/kbase/KBase.java
parent673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff)
downloadtdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.tar.gz
tdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
Diffstat (limited to 'tdejava/koala/test/kbase/KBase.java')
-rw-r--r--tdejava/koala/test/kbase/KBase.java28
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"));