00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "kwindowsystem.h"
00022
00023 #include <kiconloader.h>
00024 #include <klocale.h>
00025 #include <kuniqueapplication.h>
00026 #include <kxerrorhandler.h>
00027 #include <QtGui/QBitmap>
00028 #include <QDesktopWidget>
00029 #include <QtGui/QDialog>
00030 #include <QtDBus/QtDBus>
00031 #include <kdebug.h>
00032
00033 int KWindowSystem::currentDesktop()
00034 {
00035 return 1;
00036 }
00037
00038 int KWindowSystem::numberOfDesktops()
00039 {
00040 return 1;
00041 }
00042
00043 void KWindowSystem::setCurrentDesktop( int desktop )
00044 {
00045 kDebug() << "KWindowSystem::setCurrentDesktop( int desktop ) isn't yet implemented!";
00046
00047 }
00048
00049 void KWindowSystem::setOnAllDesktops( WId win, bool b )
00050 {
00051 kDebug() << "KWindowSystem::setOnAllDesktops( WId win, bool b ) isn't yet implemented!";
00052
00053 }
00054
00055 void KWindowSystem::setOnDesktop( WId win, int desktop )
00056 {
00057
00058 kDebug() << "KWindowSystem::setOnDesktop( WId win, int desktop ) isn't yet implemented!";
00059 }
00060
00061 WId KWindowSystem::activeWindow()
00062 {
00063
00064 kDebug() << "WId KWindowSystem::activeWindow() isn't yet implemented!";
00065 return 0;
00066 }
00067
00068 void KWindowSystem::activateWindow( WId win, long time )
00069 {
00070
00071 kDebug() << "KWindowSystem::activateWindow( WId win, long time )isn't yet implemented!";
00072 }
00073
00074 void KWindowSystem::forceActiveWindow( WId win, long time )
00075 {
00076
00077 kDebug() << "KWindowSystem::forceActiveWindow( WId win, long time ) isn't yet implemented!";
00078 }
00079
00080 void KWindowSystem::demandAttention( WId win, bool set )
00081 {
00082
00083 kDebug() << "KWindowSystem::demandAttention( WId win, bool set ) isn't yet implemented!";
00084 }
00085
00086 QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale )
00087 {
00088 kDebug() << "QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale ) isn't yet implemented!";
00089 return QPixmap();
00090 }
00091
00092
00093 QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale, int flags )
00094 {
00095 kDebug() << "QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale, int flags ) isn't yet implemented!";
00096 return QPixmap();
00097 }
00098
00099 void KWindowSystem::setIcons( WId win, const QPixmap& icon, const QPixmap& miniIcon )
00100 {
00101
00102 kDebug() << "KWindowSystem::setIcons( WId win, const QPixmap& icon, const QPixmap& miniIcon ) isn't yet implemented!";
00103 }
00104
00105
00106 void KWindowSystem::setState( WId win, unsigned long state )
00107 {
00108
00109 kDebug() << "KWindowSystem::setState( WId win, unsigned long state ) isn't yet implemented!";
00110 }
00111
00112 void KWindowSystem::clearState( WId win, unsigned long state )
00113 {
00114
00115 kDebug() << "KWindowSystem::clearState( WId win, unsigned long state ) isn't yet implemented!";
00116 }
00117
00118 void KWindowSystem::minimizeWindow( WId win, bool animation)
00119 {
00120
00121 kDebug() << "KWindowSystem::minimizeWindow( WId win, bool animation) isn't yet implemented!";
00122 }
00123
00124 void KWindowSystem::unminimizeWindow( WId win, bool animation )
00125 {
00126
00127 kDebug() << "KWindowSystem::unminimizeWindow( WId win, bool animation ) isn't yet implemented!";
00128 }
00129
00130 void KWindowSystem::raiseWindow( WId win )
00131 {
00132
00133 kDebug() << "KWindowSystem::raiseWindow( WId win ) isn't yet implemented!";
00134 }
00135
00136 void KWindowSystem::lowerWindow( WId win )
00137 {
00138
00139 kDebug() << "KWindowSystem::lowerWindow( WId win ) isn't yet implemented!";
00140 }
00141
00142 bool KWindowSystem::compositingActive()
00143 {
00144 return false;
00145 }
00146
00147 QRect KWindowSystem::workArea( int desktop )
00148 {
00149
00150 kDebug() << "QRect KWindowSystem::workArea( int desktop ) isn't yet implemented!";
00151 return QRect();
00152 }
00153
00154 QRect KWindowSystem::workArea( const QList<WId>& exclude, int desktop )
00155 {
00156
00157 kDebug() << "QRect KWindowSystem::workArea( const QList<WId>& exclude, int desktop ) isn't yet implemented!";
00158 return QRect();
00159 }
00160
00161 QString KWindowSystem::desktopName( int desktop )
00162 {
00163 return i18n("Desktop %1", desktop );
00164 }
00165
00166 void KWindowSystem::setDesktopName( int desktop, const QString& name )
00167 {
00168 kDebug() << "KWindowSystem::setDesktopName( int desktop, const QString& name ) isn't yet implemented!";
00169
00170 }
00171
00172 bool KWindowSystem::showingDesktop()
00173 {
00174 return false;
00175 }
00176
00177 void KWindowSystem::setUserTime( WId win, long time )
00178 {
00179 kDebug() << "KWindowSystem::setUserTime( WId win, long time ) isn't yet implemented!";
00180
00181 }
00182
00183 bool KWindowSystem::icccmCompliantMappingState()
00184 {
00185 return false;
00186 }
00187
00188 void KWindowSystem::connectNotify( const char* signal )
00189 {
00190 kDebug() << "connectNotify( const char* signal ) isn't yet implemented!";
00191
00192 }
00193
00194 void KWindowSystem::setExtendedStrut( WId win, int left_width, int left_start, int left_end,
00195 int right_width, int right_start, int right_end, int top_width, int top_start, int top_end,
00196 int bottom_width, int bottom_start, int bottom_end )
00197 {
00198 kDebug() << "KWindowSystem::setExtendedStrut isn't yet implemented!";
00199
00200 }
00201 void KWindowSystem::setStrut( WId win, int left, int right, int top, int bottom )
00202 {
00203 kDebug() << "KWindowSystem::setStrut isn't yet implemented!";
00204
00205 }
00206
00207 QString KWindowSystem::readNameProperty( WId window, unsigned long atom )
00208 {
00209
00210 kDebug() << "QString KWindowSystem::readNameProperty( WId window, unsigned long atom ) isn't yet implemented!";
00211 return QString();
00212 }
00213
00214 void KWindowSystem::doNotManage( const QString& title )
00215 {
00216
00217 kDebug() << "KWindowSystem::doNotManage( const QString& title ) isn't yet implemented!";
00218 }
00219
00220 QList<WId> KWindowSystem::stackingOrder()
00221 {
00222
00223 QList<WId> lst;
00224 kDebug() << "QList<WId> KWindowSystem::stackingOrder() isn't yet implemented!";
00225 return lst;
00226 }
00227
00228 const QList<WId>& KWindowSystem::windows()
00229 {
00230
00231 static QList<WId> lst;
00232 kDebug() << "const QList<WId>& KWindowSystem::windows() isn't yet implemented!";
00233 return lst;
00234 }
00235
00236 void KWindowSystem::setType( WId win, NET::WindowType windowType )
00237 {
00238
00239 kDebug() << "setType( WId win, NET::WindowType windowType ) isn't yet implemented!";
00240 }
00241
00242 #include "kwindowsystem.moc"
00243