[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kttt/src
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2004-06-08 22:21:58
Message-ID: 20040608222158.1B35C126C7 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
setupGUI, 2 lines of code less, 649 bytes of binary less
M +2 -4 kttt.cpp 1.17
--- kdenonbeta/kttt/src/kttt.cpp #1.16:1.17
@@ -36,10 +36,8 @@ kttt::kttt() : KMainWindow(0, "kttt")
KStdAction::configureNotifications(this, SLOT(configureNotifications()), \
actionCollection());
- KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), \
actionCollection());
KStdAction::preferences(this, SLOT(configureSettings()), \
actionCollection());
- createStandardStatusBarAction();
- setAutoSaveSettings("general");
- createGUI();
+ statusBar(); /* create the statusbar so that setupGUI creates the menu entry \
*/ + setupGUI(Keys | StatusBar | Save | Create);
show();
connect(p_board, SIGNAL(statusBarMessage(const QString&)), statusBar(), \
SLOT(message(const QString&)));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic