Changeset View
Changeset View
Standalone View
Standalone View
data/update_default_rules.cpp
Show All 16 Lines | |||||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | 20 | | |||
21 | // read additional window rules and add them to kwinrulesrc | 21 | // read additional window rules and add them to kwinrulesrc | ||
22 | 22 | | |||
23 | #include <kconfig.h> | 23 | #include <kconfig.h> | ||
24 | #include <kconfiggroup.h> | 24 | #include <kconfiggroup.h> | ||
25 | #include <QtDBus/QtDBus> | 25 | #include <QtDBus> | ||
26 | #include <QtCore/QStandardPaths> | 26 | #include <QStandardPaths> | ||
27 | #include <QDebug> | 27 | #include <QDebug> | ||
28 | 28 | | |||
29 | int main( int argc, char* argv[] ) | 29 | int main( int argc, char* argv[] ) | ||
30 | { | 30 | { | ||
31 | if( argc != 2 ) | 31 | if( argc != 2 ) | ||
32 | return 1; | 32 | return 1; | ||
33 | 33 | | |||
34 | QCoreApplication::setApplicationName ("kwin_update_default_rules"); | 34 | QCoreApplication::setApplicationName ("kwin_update_default_rules"); | ||
Show All 35 Lines |