You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
418 B
20 lines
418 B
15 years ago
|
#include "kcustommenueditor.h"
|
||
|
#include <kapplication.h>
|
||
|
#include <klocale.h>
|
||
12 years ago
|
#include <tdeconfig.h>
|
||
15 years ago
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
13 years ago
|
KLocale::setMainCatalogue("tdelibs");
|
||
12 years ago
|
TDEApplication app(argc, argv, "KCustomMenuEditorTest");
|
||
15 years ago
|
KCustomMenuEditor editor(0);
|
||
12 years ago
|
TDEConfig *cfg = new TDEConfig("kdesktop_custom_menu2");
|
||
15 years ago
|
editor.load(cfg);
|
||
|
if (editor.exec())
|
||
|
{
|
||
|
editor.save(cfg);
|
||
|
cfg->sync();
|
||
|
}
|
||
|
}
|
||
|
|